Toshiba AD268 User Manual

UM-TS02∗∗∗-E026
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
PROGRAMMABLE CONTROLLER
PROSEC
ANALOG I/O MODULES
AD268 / DA264 / TC218
USER’S MANUAL
T2-series
Important Information
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
Misuse of this equipment can result in property damage or human injury. Because controlled system applications vary widely, you should satisfy yourself as to the acceptability of this equipment for your intended purpose. In no event will Toshiba Corporation be responsible or liable for either indirect or consequential dam age or inju ry that may result from the use of this equipment.
No patent liability is assumed by Toshiba Corporation with respect to use of information, illustrations, circuits, equipment or ex amples of applic ation in this publication.
Toshiba Corporation reserves the right to make changes and improvements to this publication and/or related products at any time without notice. No obligation shall be incurred other than as noted in this publication.
This publication is copyrighted and contains proprietary material. No part of this book may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means elect rical, mechanical, photocopying, recordi ng, or otherwise without obtaining prior written permission from Toshiba Corporation.
© TOSHIB A Corpor ation 2001, All rights reserved
Publication number: UM-TS02∗∗∗-E026 1st edition December 2001, 2nd edition September 2002
Safety Precautions
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
The AD268, DA264, and TC218 are the analog input/output modules for Toshiba’s Programmable Controller PROSEC T2-series (T2/T2E/T2N). Read this manual thoroughly before using this module. Also, keep this manual and related manuals so that you can read them anytime while this module is in operation.
Safety Symbols
The following safety symbols are used on the product and/or in the related manuals. Pay attention to the information preceded by the following symbols for safety.
!
WARNING
!
CAUTION
Safety Pr ecau tion s
Turn off power to the PLC (T2, T2E or T2N) and to this module (AD268, DA264 or TC218) before removing or mounting this module. Failure to do so can cause electrical shock or damage to this product.
Read the Safety Precautions described in the T2, T2E or T2N User’s Manual before using this module.
Follow the instructions described in this manual and in the T2, T2E or T2N User’s Manual when installing and wiring this module.
Indicates a potentially hazardous situation which, if not avoided, could result in death o r serious injury.
Indicates a potentially hazardous situation which, if not avoided, may result in minor or moderate injury. It may also be used to alert against unsafe p r actices.
!
CAUTION
This module has been designed for the T2/T2E/T2N. Use your AD268/DA264/TC218 only on the T2-series PLC rack.
These modules consume the internal 5 Vdc power as shown below.
AD268 ... 300 mA DA264 ... 230 mA
TC218 ... 300 mA Confirm that the total 5 Vdc consumed current per one power supply module is within the limit (2.5 A). If it exceeds the limit, the T2/T2E/T2N cannot operate properly and this may cause unsafe situation.
User’s Manual
1
About This Manual
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
About This Manual
This manual describes the specification and the operations of Toshiba's analog I/O modules (AD268, DA264 and TC218) for PROSEC T2 series programmable controllers. Read this manual carefully for your correct operation of these modules.
This manual consists in three parts.
Part 1 ... 8 channel analog input module AD268 Part 2 ... 4 channel analog output module DA264 Part 3 ... 8 channel thermocouple input module TC218
Related Manual
The following related manuals are available for your reference.
T2E User's Manual (UM-TS02E∗∗
This manual describes the configuration, specification, installation, wiring, and maintenance of the basic hardware of the programmable controller T2E. The functions of the T2E and how to use them, and the information necessary for creating user program are also described.
T2N User's Manual (UM-TS02N∗∗
This manual describes the configuration, specification, installation, wiring, and maintenance of the basic hardware of the programmable controller T2N. The functions of the T2N and how to use them, and the information necessary for creating user program are also described.
T-series Inst r u ct ion Set (UM-TS03∗∗∗
This manual describes the detailed specifications of instructions for Toshiba's T-series programmable controllers.
Note: In this manual, the T2 series programmable controllers (T2, T2E, and T2N) are called as
T2 for ease of explanation.
∗∗-E001)
∗∗∗∗
∗∗-E001)
∗∗∗∗
∗∗∗-E004)
∗∗∗∗∗∗
2
Analog I/O Modules (AD268 / DA264 / TC218)
Table of Contents
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
Table of Contents
Safety Precautions ............................................................................................................ 1
About This Manual ............................................................................................................ 2
Part 1 8 Channel Analog Input Module AD268
1. Introduction …………….……………………………………………………………….… 8
1.1 AD268 functions ............………………..…………………….………………………… 8
1.2 External fea tures …......…………………………………………………………………. 9
2. Specifications ….………………………………………………………………………... 10
2.1 Specifications .................…………….……………………………………………….. 10
2.2 Internal block diagram ………….......………………………………………………… 11
3. Input Type Setting ….........……………………………………………………………... 12
3.1 Jumper plug setting ........…………….……………………………………………….. 12
3.2 Parameter setting b y software ….....………...……………………………………… 13
4. Wiring ………………..…………………………………………………………………… 14
4.1 Terminal arrangement …….......…………..…………………………………………. 14
4.2 Signal wiring …..………………………………………………………………………. 15
4.3 Wiring precautions ………...…………………………………………………………. 16
5. I/O Allocation and Programming …………………………………………………… 17
5.1 Alloca tio n to th e T2 registers ……………..…………………………………………. 17
5.2 A/D conversion data …….......................……………………………………………. 18
5.3 Programming ……................................……………………………………………. 23
6. Parameters ……..................…......…………………………………………………… 24
6.1 Memory map …...........………………………………………………………………… 24
6.2 Parameter setting procedure ….........……..………………………………………… 30
6.3 Sample program for sett ing the parameters …..………………………………..… 31
7. Troubleshooting ….…....……………………………………………………………… 32
7.1 RAS information ……...............…........……………………………………………… 32
7.2 Troubleshooting ................................................................................................. 33
User’s Manual
3
Table of Contents
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
Part 2 4 Channel Analog Output Module DA264
1. Introduction …………….……………………………………………………………….… 36
1.1 DA264 functions............………………..…………………….………………………… 36
1.2 External fea tures…......…………………………………………………………………. 37
2. Specifications ….………………………………………………………………………... 38
2.1 Specifications .................…………….……………………………………………….. 38
2.2 Internal block diagram ………….......………………………………………………… 39
3. Output Type Setting ….........……………………………………………………………... 40
3.1 Parameter setting b y software ….....………...……………………………………… 40
4. Wiring ………………..…………………………………………………………………… 41
4.1 Terminal arrangement …….......…………..…………………………………………. 41
4.2 Signal wiring …..………………………………………………………………………. 42
4.3 Wiring precautions ………...…………………………………………………………. 43
5. I/O Allocation and Programming …………………………………………………… 44
5.1 Alloca tio n to the T2 registers ……………..…………………………………………. 44
5.2 D/A conversion data …….......................……………………………………………. 45
5.3 Programming ……................................……………………………………………. 50
6. Parameters …..................….…......…………………………………………………… 51
6.1 Memory map …...........………………………………………………………………… 51
6.2 S a mp le program to access the parameters …..……..…………………………..… 55
7. Troubleshooting ….…....……………………………………………………………… 56
7.1 RAS information ……...............…........……………………………………………… 56
7.2 Troubleshooting ................................................................................................. 56
4
Analog I/O Modules (AD268 / DA264 / TC218)
Table of Contents
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
Part 3 8 Channel Thermocouple Input Module TC218
1. Introduction …………….……………………………………………………………….… 60
1.1 TC218 functions............………………..…………………….………………………… 60
1.2 External fea tures…......…………………………………………………………………. 61
2. Specifications ….………………………………………………………………………... 62
2.1 Specifications .................…………….……………………………………………….. 62
2.2 Internal block diagram ………….......………………………………………………… 63
3. Input Type Setting ….........……………………………………………………………... 64
3.1 Jumper plug setting ........…………….……………………………………………….. 64
3.2 Parameter setting b y software ….....………...……………………………………… 65
4. Wiring ………………..…………………………………………………………………… 66
4.1 Terminal arrangement …….......…………..…………………………………………. 66
4.2 Signal wiring …..………………………………………………………………………. 67
4.3 Wiring precautions ………...…………………………………………………………. 68
5. I/O Allocation and Programming …………………………………………………… 69
5.1 Alloca tio n to th e T2 registers ……………..…………………………………………. 69
5.2 A/D conversion data …….......................……………………………………………. 70
5.3 Programming ……................................……………………………………………. 74
6. Parameters …..................….…......…………………………………………………… 75
6.1 Memory map …...........………………………………………………………………… 75
6.2 Parameter setting procedure ….........……..………………………………………… 81
6.3 Sample program for sett ing the parameters …..………………………………..… 82
7. Troubleshooting ….…....……………………………………………………………… 83
7.1 RAS information ……...............…........……………………………………………… 83
7.2 Troubleshooting ................................................................................................. 84
User’s Manual
5
6
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
Analog I/O Modules (AD268 / DA264 / TC218)
Part 1
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
8 Channel Analog Input Module
AD268
1. Introduction, 8
2. Specifications, 10
3. Input Type Setting, 12
4. Wiring, 14
5. I/O Allocation and Programming, 17
6. Parameters, 24
7. Troubleshooting, 32
User’s Manual
7
1. Introduction
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
1. Introduction
The AD268 is an 8 channel analog input module for the T2 series programmable controllers. The AD268 converts external analog signals (voltage or current) into digital values cyclically so that the T2 can process the analog signals.
1.1 AD268 Functions
The AD268 has the following functions.
1) 8 channels input per module
2) Selectable input type
• ±5V
• ±10V
0 to 5V
0 to 10V
1 to 5V
0 to 20mA
4 to 20mA
3) 16-bit high-resolution A/D conversion
4) High-speed (1ms/channel) conversion cycle
5) Gain and offset calibration function
6) Input data averaging function
7) Unused channel skip function
PART 1 AD268
8
Analog I/O Modules (AD268 / DA264 / TC218)
PART 1 AD268
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
1.2 External features
1. Introduction
Model type AD268 Status indication LED
Removable term inal block
Analog input terminal
External power supply connection terminal Line ground and Frame ground terminal
Terminal block fixing screw 2-points
User’s Manual
9
2. Specifications
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
2. Specifications
This section describes the AD268 specifications. The general specification for the AD268 conforms to the specification for the T2 PLC.
2.1 Specifications
Item AD268
Input type Voltage input Current input
Bipolar
Input range
Unipolar
Input impedance Number of input channels 8 channels I/O allocation type X 8W (8 input registers XW are assigned) Resolution 16-bit
Overall accuracy Temperature drift
Conversion cycle Approx. 1ms/channel (Approx. 8m s/8 channels) Insulation resistance
Withstand voltage
Status indication 1 green LED (On when normal)
Special function
External power supply Internal 5Vdc current
consumption External connection 20-pin removable terminal block Weight Approx. 300g
-5 to 5V
-10 to 10V 0 to 5V 0 to 20mA 0 to 10V 1 to 5V 4 to 20mA 1M or more 250
±0.2% FS (at 25°C) ±0.5% FS (0 to 55°C) (FS: ±10V) ±100ppm/°C or less
10M or more
1500Vac - 1 minute (betw een logic and analog circuits) 500Vac - 1 minute (betw een analog circuit and external 24V) 1500Vac - 1 minute (betw een analog circuit and FG/LG)
Gain and offset calibration function Input data averaging function Unused channel skip function External 24Vdc power voltage drop detection
24Vdc ±10% - 120mA 300mA or less
PART 1 AD268
10
Analog I/O Modules (AD268 / DA264 / TC218)
PART 1 AD268
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
2.2 Internal block diagram
Jumper
1
P
CH1
N
2
3
2. Specifications
Buffer
Filter
LED
CH8
COM
P24
LG
Multiplexer
Jumper
1
P
N
2
3
Filter
Filter
DC/DC
Buffer
Regulator
AG
converter
+5V +15V
-15V
A/D conversion
T2 CPU
Internal control circuit
EEPROM
Optical isola t ion
FG
Voltage
check
circuit
The AD268 performs the following operations. The external analog signals come to th e buffer amplifier through the filter. The multiplexer sequentially selects CH1 to CH8 to convert the input analog signals into digital data via the A/D converte r. Th e converte d digital data reaches to the internal control circuit through optical isolator. Every time when the T2 CPU requests to read the converted data, the internal control circuit sends the data to the T2 CPU. The AD268's parameters are stored in the EEPROM.
User’s Manual
11
3. Input Type Setting
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
3. Input Type Setting
The AD268 supports multiple input ranges, ±5V, ±10V, 0 to 5V, 0 to 10V, 1 to 5V, 0 to 20mA, or 4 to 20mA. The input range is selected by jumper plug setting and the parameter writing by the T2 program .
The general flow for setting the input type is as follows. (1) Set the jumper plugs to select voltage input or current input.
(2) Mount the AD268 onto the T2 rack. (3) Turn on power to the T2 system. (4) Execute I/O all ocation. (5) Program the "input type setting program". (see the nex t page) (6) Turn the T2 to RUN mode.
3.1 Jumper plug setting
8 jumper plugs are provided on the AD268 board. The jumper plug setting is for selecting either voltage input or current input.
JP1 is for channel 1, JP2 is for channel 2, ... JP8 is for channel 8.
PART 1 AD268
Jumper plugs (JP1 to JP8)
Set the jumper plugs for each channel.
Side 1: Voltage input Side 3: Current input
The fa ct o ry se tting is voltage input (side 1).
Use a pair of tweezers to set the jumper plug.
Pay attention not to touch the components on
the board other than the jumper plug.
1
3
12
Analog I/O Modules (AD268 / DA264 / TC218)
PART 1 AD268
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
3. Input Type Setting
3.2 Parameter setting by software
The input range of the AD268 is specified by writing the following parameter data into the AD268's buffer memory. To access the buffer memory, T2 user program (READ and WRITE instructions) is requi red. When the parameter is set to the AD268, it is saved in the AD268's built-in EEPROM. Therefore, once the input type parameter is set, there is no need to execute the input type setting operation.
T2 CPU AD268
Buffer memory
WRITE
User program
READ
EEPROM
Input type parameter data:
Input typeParameter
data
0 0 to 5V 0 to 20mA 1 0 to 10V 2 1 to 5V 4 to 20mA 4 5
Voltage input Current input
±5V ±10V
AD268 buffer memory address:
H8018 Input type for channel 1 H8019 Input type for channel 2 H801A Input type for channel 3
H801B Input type for channel 4 H801C Input type for channel 5 H801D Input type for channel 6 H801E Input type for channel 7 H801F Input type f or channel 8
The fa ctory setting is
±10V range.
For details of the procedure to set the input type parameter, refer to section 6.
User’s Manual
13
4. Wiring
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
4. Wiring
4.1 Terminal arrangement
AD268 terminal block
1N 2
2N 4
3N 6
4N 8
5N 10
6N 12
7N 14
8N 16
COM 18
FG 20
PART 1 AD268
11P 32P 53P 74P
95P 11 6P 13 7P 15 8P 17 P24 19 LG
Terminal
No.
11P 21N 32P 42N 53P 63N 74P 84N
95P 10 5N 11 6P 12 6N 13 7P 14 7N 15 8P 16 8N 17 P24 External 24Vdc power (+) 18 COM External 24Vdc power (-) 19 LG Line filter ground 20 FG Frame ground
Signal
name
Function Channel 1 input Channel 2 input Channel 3 input Channel 4 input Channel 5 input Channel 6 input Channel 7 input Channel 8 input
14
Analog I/O Modules (AD268 / DA264 / TC218)
PART 1 AD268
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
4.2 Signal wiring
4. Wiring
Voltage input
Voltage source
+
V
-
Current input
Current source
+
↑↑↑↑
-
Shielded twisted-pair cable
Shielded twisted-pair cable
AD268
Set the jumper
plug to Side 1
1
nP
nN
AG -15V
Internal circui t
AD268
nP
nN
AG -15V
Internal circui t
2
3
250
AG
Set the jumper
plug to Side 3
1 2
3
250
AG
+15V
n : Channel number (1 to 8) AG : Analog ground FG : Frame ground
+15V
n : Channel number (1 to 8) AG : Analog ground FG : Frame ground
External 24Vdc power supply
+
24Vdc ±10%
-
(b) (a)
Normally connect LG and FG, then connect to ground. (a) However, depending on the condition, connect groundi ng individually by opening LG and FG. (b)
AD268
P24
COM
LG
FG
Internal circui t
+15V
DC/DC
converter
AG
-15V
User’s Manual
15
4. Wiring
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
4.3 Wiring precautions
(1) Use shielded twisted-pair cables for analog input signal lines and wire them in shortest
distance. Connect the cable shield to ground in shortest distance for EMC conformity. Normally the grounding method (a) is recommended. However, depending on the condition, method (b) or (c) may be useful for stable operation.
Analog input
(a)
(b)
module
FG
Analog input
module
FG
PART 1 AD268
Analog input
(c)
module
FG
(2) Separate the analog signal cable from other cables to prevent noise interference. (200mm
or more)
(3) This module requires 24Vdc power. Apply the 24Vdc power before (or at the same time)
applying T2s main power. Otherwise, this module detects the external 24Vdc error.
(4) If the external 24Vdc power for this module is not stable, the converte d data will not be
stable. In this case, use a dedicated 24Vdc power supply for this module.
(5) It is recommended to short the unused channels. Because if it is open for voltage input,
meaningless A/D conversion data will appear.
(6) If the converted data is not stable owing to electrical noise, it is recommended to use the
input averaging function to reduce the noise interference. For the averaging function, refer to section 6.
Analog I/O Modules (AD268 / DA264 / TC218)
16
PART 1 AD268
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
5. I/O Allocation and Programming
5. I/O Allocation and Programming
5.1 Allocation to the T2 registers
The I/O type of th e AD268 is "X 8 W". When the automatic I/O allocation operation is performed with a AD268 mounted on the rack, the AD268 is allocated as "X 8W". The AD268 occupies the 8 consecutive input (XW) registers of the T2. In this manual, these assigned I/O registers are expressed as XW(n), XW(n+1), ... XW(n+7).
The following figure shows an example of I/O allocation window of the T-PDS programming software. In this case, the AD268 is mounted in the slot 0 of base unit BU218.
DI32
PS261
PU234E
No slot
AD268
DO32
Vacant
Vacant
Vacant
Vacant
Vacant
In the above example, the AD268 is allocated on the unit-0, slot-0. And 8 I/O registers, XW000 to XW007 are assigned to the AD268.
Users Manual
17
5. I/O Allocation and Programming
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
5.2 A/D conversion data
The analog signals received by the AD268 are converted into the digital data in this module. These con v e rt e d digi tal data are read by T2 CPU in the batch I/O processing and stored in the assigned input registers as follows.
XW(n) ........ A/D conversion data for channel 1
XW(n+1) .... A/D conversion data for channel 2
XW(n+2) .... A/D conversion data for channel 3
XW(n+3) .... A/D conversion data for channel 4
XW(n+4) .... A/D conversion data for channel 5
XW(n+5) .... A/D conversion data for channel 6
XW(n+6) .... A/D conversion data for channel 7
XW(n+7) .... A/D conversion data for channel 8
The conversion data stored in the XW register is dependent on the input type as follows.
±±±±10V range:
PART 1 AD268
Input voltage
Upper limit +10. 2 V H7F80 32640
:: :
Full scale (positive) +1 0 V H7D00 32000
:: :
+0.3125 mV H0001 1
0 0 V H0000 0
-0.3125 mV HFFFF -1 :: :
Full scale (negative) - 10 V H8300 -32000
:: :
Lower limit -1 0 . 2 V H8080 -32640
Digital value
H3FFF
16383
0
+5.1196V-5.12V-10.2V
Hexadecimal Integer
+10V
Analog input
+10.2V
A/D conversion data
H7D00 32000
D = 3200 × A
HC000
-16384
H8300
-32000
D: Digital dat a A: Analog signal (V)
Resolution
0.3125 mV / bit
-10V
Analog I/O Modules (AD268 / DA264 / TC218)
18
PART 1 AD268
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
±±±±5V ra nge:
5. I/O Allocation and Programming
Input voltage
Upper limit +5 . 1196 V H3FFF 16383
:: :
Full scale (positive) +5 V H3E80 16000
:: :
+0.3125 mV H0001 1
0 0 V H0000 0
-0.3125 mV HFFFF -1 :: :
Full scale (negative) -5 V HC180 -16000
:: :
Lower limit -5 . 1 2 V HC000 -16384
Digital value
H3FFF
16383
+5V
0
+5.1196V-5.12V
HC180
-16000 Lower limit
HC000
-16384
Hexadecimal Integer
Upper limit
Analog input
+10.2V-10.2V
A/D conversion data
H3E80 16000
Resolution
0.3125 mV / bit
D = 3200 × A
D: Digital dat a A: Analog signal (V)
-5V
Users Manual
19
5. I/O Allocation and Programming
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
0 to 10V range:
PART 1 AD268
Input voltage
Upper limit +10. 2 V H7F80 32640
:: :
Full scale (positive) +1 0 V H7D00 32000
:: :
+0.3125 mV H0001 1
0 0 V H0000 0
Digital value
H3FFF
16383
0
-10.2V
+5.1196V
Hexadecimal Integer
+10
Analog input
+10.2V
A/D conversion data
H7D00
32000
D = 3200 × A
D: Digital dat a A: Analog signal (V)
Resolution
0.3125 mV / bit
Analog I/O Modules (AD268 / DA264 / TC218)
20
PART 1 AD268
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
0 to 5V / 0 to 20mA range:
5. I/O Allocation and Programming
Input voltage/current A/D conversion data
0 t o 5 V 0 t o 2 0 mA Hexadecimal Integer
Upper limit +5. 1196 V +20.479 mA H3FFF 16383
:: : :
Full scale (positive) +5 V +2 0 mA H3E80 16000
:: : :
+0.3125 mV +0.00125 mA H0001 1
0 0 V 0 mA H0000 0
Digital value
+5V
20mA
0 to 5V range:
D = 3200 × A
D: Digital data A: Analog signal (V)
0 to 20mA range:
Lower limit
-10.2V
H3FFF
16383
0
Upper limit
+5.1196V
20.479mA
H3E80
16000
Analog input
+10.2V
D = 800 × A
Resolution
0.3125 mV / bit
1.25 µA / bit
D: Digital dat a A: Analog signal (mA)
Users Manual
21
5. I/O Allocation and Programming
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
1 to 5V / 4 to 20mA range:
PART 1 AD268
Input voltage/current A/D conversion data
1 t o 5 V 4 t o 2 0 mA Hexadecimal Integer
Upper limit +5. 1196 V +20.479 mA H337F 13183
:: : :
Full scale (positive) +5 V +2 0 mA H3200 12800
:: : :
+1.0003125 V +4.00125 mA H0001 1
Lower limit 1 V 4 mA H0000 0
Digital value
+5V
20mA
1 to 5V range:
D = 3200 × A - 3200
H337F
13183
Lower limit
0
1V
4mA
Upper limit
Analog input value
+5.1196V
20.479mA
H3200
12800
+10.2V-10.2V
D: Digital dat a A: Analog signal (V)
4 to 20mA range:
D = 800 × A - 3200
Resolution
0.3125 mV / bit
1.25 µA / bit
D: Digital dat a A: Analog signal (mA)
Analog I/O Modules (AD268 / DA264 / TC218)
22
PART 1 AD268
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
5. I/O Allocation and Programming
5.3 Programming
To read the A/D conversion data, there is no need to use special instruction. The A/D conversion data are automatically stored in the assigned input registers (XW registers).
For example, when the AD268 is allocated to XW000 to XW007, the A/D conversion data of each channel is stored as follows.
XW000 : Channel 1 A/D conversion data XW001 : Channel 2 A/D conversion data XW002 : Channel 3 A/D conversion data XW003 : Channel 4 A/D conversion data XW004 : Channel 5 A/D conversion data XW005 : Channel 6 A/D conversion data XW006 : Channel 7 A/D conversion data XW007 : Channel 8 A/D conversion data
Therefore, in t he user program, you can use these XW registers directly for the analog data processing.
The program shown below is an example of simple comparison with the channel 1 analog data. (±10V setting)
Line 1: When XW000 is greater than 25600 (channel 1 analog input is more than 8V), R0100
is set to ON.
Line 2: When XW000 is in the range of -9600 to 9600 (channel 1 analog input is in the range
of -3V to 3V), R0101 is set to ON.
Line 3: When XW000 is less than -16000 (channel 1 analog input is less than -5V), R0102 is
set to ON.
Users Manual
23
6. Parameters
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
PART 1 AD268
6. Parameters
The AD268 has the memory that stores the control parameters, input type designation, module status information, etc. This memory is called the buffer memory. To access (read/write) this memory from the T2 program, READ and WRITE instructions are used.
6.1 Memory map
The contents of the AD268's buffer memory are as fo llo w s .
Address Contents
H8000 Gain calibration value for channel 1 H8001 Gain calibration value for channel 2 H8002 Gain calibration value for channel 3 H8003 Gain calibration value for channel 4 H8004 Gain calibration value for channel 5 H8005 Gain calibration value for channel 6 H8006 Gain calibration value for channel 7 H8007 Gain calibration value for channel 8 H8008 Offset calibration value for channel 1
H8009 Offset calibration value for channel 2 H800A Offset calibration value for channel 3 H800B Offset calibration value for channel 4 H800C Offset calibration value for channel 5 H800D Offset calibration value for channel 6 H800E Offset calibration value for channel 7 H800F Offset calibration value for channel 8
H8010 Averaging times for channel 1
H8011 Averaging times for channel 2
H8012 Averaging times for channel 3
H8013 Averaging times for channel 4
H8014 Averaging times for channel 5
H8015 Averaging times for channel 6
H8016 Averaging times for channel 7
H8017 Averaging times for channel 8
H8018 Input type setting for channel 1
H8019 Input type setting for channel 2 H801A Input type setting for channel 3 H801B Input type setting for channel 4 H801C Input type setting for channel 5 H801D Input type setting for channel 6 H801E Input type setting for channel 7 H801F Input type setting for channel 8
H8020 Command register
H8021 Response register
H8022
:
H8027
F0
No use
Use WRITE instruction to write data into these addresses.
Use READ instruction to read data from this address.
Analog I/O Modules (AD268 / DA264 / TC218)
24
Loading...
+ 60 hidden pages