Toshiba Ad268 User Manual
Toshiba Ad268 User Manual
Toshiba Ad268 User Manual
PROGRAMMABLE CONTROLLER
PROSEC T2-series
TOSHIBA CORPORATION
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
Important Information
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 electrical, mechanical, photocopying, recording, or otherwise without
obtaining prior written permission from Toshiba Corporation.
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
Safety Precautions
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.
Safety Precautions
! CAUTION
• 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.
• This module has been designed for the T2/T2E/T2N. Use your AD268/DA264/TC218 only
on the T2-series PLC rack.
User’s Manual 1
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.
Related Manual
∗∗∗-E004)
∗∗∗
T-series Instruction 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.
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
Table of Contents
Table of Contents
1. Introduction …………….……………………………………………………………….… 8
1.1 AD268 functions ............………………..…………………….………………………… 8
1.2 External features …......…………………………………………………………………. 9
2. Specifications ….………………………………………………………………………... 10
2.1 Specifications .................…………….……………………………………………….. 10
2.2 Internal block diagram ………….......………………………………………………… 11
4. Wiring ………………..…………………………………………………………………… 14
4.1 Terminal arrangement …….......…………..…………………………………………. 14
4.2 Signal wiring …..………………………………………………………………………. 15
4.3 Wiring precautions ………...…………………………………………………………. 16
6. Parameters ……..................…......…………………………………………………… 24
6.1 Memory map …...........………………………………………………………………… 24
6.2 Parameter setting procedure ….........……..………………………………………… 30
6.3 Sample program for setting the parameters …..………………………………..… 31
7. Troubleshooting ….…....……………………………………………………………… 32
7.1 RAS information ……...............…........……………………………………………… 32
7.2 Troubleshooting ................................................................................................. 33
User’s Manual 3
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
Table of Contents
1. Introduction …………….……………………………………………………………….… 36
1.1 DA264 functions ............………………..…………………….………………………… 36
1.2 External features …......…………………………………………………………………. 37
2. Specifications ….………………………………………………………………………... 38
2.1 Specifications .................…………….……………………………………………….. 38
2.2 Internal block diagram ………….......………………………………………………… 39
4. Wiring ………………..…………………………………………………………………… 41
4.1 Terminal arrangement …….......…………..…………………………………………. 41
4.2 Signal wiring …..………………………………………………………………………. 42
4.3 Wiring precautions ………...…………………………………………………………. 43
6. Parameters …..................….…......…………………………………………………… 51
6.1 Memory map …...........………………………………………………………………… 51
6.2 Sample program to access the parameters …..……..…………………………..… 55
7. Troubleshooting ….…....……………………………………………………………… 56
7.1 RAS information ……...............…........……………………………………………… 56
7.2 Troubleshooting ................................................................................................. 56
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
Table of Contents
1. Introduction …………….……………………………………………………………….… 60
1.1 TC218 functions ............………………..…………………….………………………… 60
1.2 External features …......…………………………………………………………………. 61
2. Specifications ….………………………………………………………………………... 62
2.1 Specifications .................…………….……………………………………………….. 62
2.2 Internal block diagram ………….......………………………………………………… 63
4. Wiring ………………..…………………………………………………………………… 66
4.1 Terminal arrangement …….......…………..…………………………………………. 66
4.2 Signal wiring …..………………………………………………………………………. 67
4.3 Wiring precautions ………...…………………………………………………………. 68
6. Parameters …..................….…......…………………………………………………… 75
6.1 Memory map …...........………………………………………………………………… 75
6.2 Parameter setting procedure ….........……..………………………………………… 81
6.3 Sample program for setting the parameters …..………………………………..… 82
7. Troubleshooting ….…....……………………………………………………………… 83
7.1 RAS information ……...............…........……………………………………………… 83
7.2 Troubleshooting ................................................................................................. 84
User’s Manual 5
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
6 Analog I/O Modules (AD268 / DA264 / TC218)
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
Part 1
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
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
1. Introduction PART 1 AD268
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.
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
PART 1 AD268 1. Introduction
User’s Manual 9
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
2. Specifications PART 1 AD268
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
-5 to 5V
Bipolar
-10 to 10V
Input range 0 to 5V 0 to 20mA
Unipolar 0 to 10V
1 to 5V 4 to 20mA
Input impedance 1MΩ or more 250Ω
Number of input channels 8 channels
I/O allocation type X 8W (8 input registers XW are assigned)
Resolution 16-bit
±0.2% FS (at 25°C)
Overall accuracy
±0.5% FS (0 to 55°C) (FS: ±10V)
Temperature drift ±100ppm/°C or less
Conversion cycle Approx. 1ms/channel (Approx. 8ms/8 channels)
Insulation resistance 10MΩ or more
1500Vac - 1 minute (between logic and analog circuits)
Withstand voltage 500Vac - 1 minute (between analog circuit and external 24V)
1500Vac - 1 minute (between analog circuit and FG/LG)
Status indication 1 green LED (On when normal)
Gain and offset calibration function
Input data averaging function
Special function
Unused channel skip function
External 24Vdc power voltage drop detection
External power supply 24Vdc ±10% - 120mA
Internal 5Vdc current
300mA or less
consumption
External connection 20-pin removable terminal block
Weight Approx. 300g
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
PART 1 AD268 2. Specifications
Jumper
1
Buffer LED
P 2 Filter
A/D conversion
Multiplexer
CH1
N 3
Jumper
1
Buffer
Filter
2
P
Optical isolation
CH8
3 EEPROM
N
Regulator +5V
P24 +15V
Filter
converter
DC/DC
COM
AG
-15V
LG
Voltage
FG check
circuit
User’s Manual 11
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
3. Input Type Setting PART 1 AD268
JP1 is for channel 1, JP2 is for channel 2, ... JP8 is for channel 8.
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
PART 1 AD268 3. Input Type Setting
T2 CPU AD268
Buffer memory
WRITE
EEPROM
User program
READ
For details of the procedure to set the input type parameter, refer to section 6.
User’s Manual 13
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
4. Wiring PART 1 AD268
4. Wiring
4.1 Terminal arrangement
1 1P
1N 2
3 2P
2N 4
5 3P
3N 6
7 4P
4N 8
9 5P
5N 10
11 6P
6N 12
13 7P
7N 14
15 8P
8N 16
17 P24
COM 18
19 LG
FG 20
Terminal Signal
Function
No. name
1 1P
Channel 1 input
2 1N
3 2P
Channel 2 input
4 2N
5 3P
Channel 3 input
6 3N
7 4P
Channel 4 input
8 4N
9 5P
Channel 5 input
10 5N
11 6P
Channel 6 input
12 6N
13 7P
Channel 7 input
14 7N
15 8P
Channel 8 input
16 8N
17 P24 External 24Vdc power (+)
18 COM External 24Vdc power (-)
19 LG Line filter ground
20 FG Frame ground
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
PART 1 AD268 4. Wiring
Current input
AD268
+15V
P24
+ DC/DC
24Vdc ±10% converter
- COM
AG
-15V
LG
(b) (a)
Normally connect LG and FG , FG
then connect to ground. (a)
However, depending on the Internal circuit
condition, connect grounding
individually by opening LG and
FG. (b)
User’s Manual 15
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
4. Wiring PART 1 AD268
Analog input
module
(a)
FG
Analog input
module
(b)
FG
Analog input
module
(c)
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 T2’s main power. Otherwise, this module detects the external 24Vdc error.
(4) If the external 24Vdc power for this module is not stable, the converted 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.
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
PART 1 AD268 5. I/O Allocation and Programming
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.
PU234E
Vacant
Vacant
Vacant
Vacant
Vacant
No slot
AD268
PS261
DO32
DI32
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.
User’s Manual 17
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
5. I/O Allocation and Programming PART 1 AD268
The conversion data stored in the XW register is dependent on the input type as follows.
± 10V range:
H3FFF
16383
Analog input
0
-10.2V -5.12V +5.1196V +10.2V
D = 3200 × A
HC000
-16384 D: Digital data
A: Analog signal (V)
H8300
-32000
-10V
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
PART 1 AD268 5. I/O Allocation and Programming
± 5V range:
-5V
User’s Manual 19
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
5. I/O Allocation and Programming PART 1 AD268
0 to 10V range:
Digital value
+10
H7D00
32000
H3FFF
16383
Analog input
0
-10.2V +5.1196V +10.2V
D = 3200 × A
D: Digital data
A: Analog signal (V)
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
PART 1 AD268 5. I/O Allocation and Programming
0 to 5V / 0 to 20mA range:
D = 800 × A
D: Digital data
A: Analog signal (mA)
User’s Manual 21
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
5. I/O Allocation and Programming PART 1 AD268
1 to 5V / 4 to 20mA range:
D = 3200 × A - 3200
H337F Upper limit H3200
13183 D: Digital data
12800 A: Analog signal (V)
Lower limit Analog input value
0
-10.2V 1V +10.2V
4mA 4 to 20mA range:
+5.1196V
20.479mA
D = 800 × A - 3200
D: Digital data
A: Analog signal (mA)
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
PART 1 AD268 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 the 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.
User’s Manual 23
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
6. Parameters 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.
Address Contents
F 0
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 Use WRITE instruction to write
H8010 Averaging times for channel 1 data into these addresses.
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
Use READ instruction to read
H8021 Response register
data from this address.
H8022
: No use
H8027
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
PART 1 AD268 6. Parameters
Address Contents
F 0
H8028 Analog input actual value for channel 1
H8029 Analog input actual value for channel 2
H802A Analog input actual value for channel 3
H802B Analog input actual value for channel 4
H802C Analog input actual value for channel 5
H802D Analog input actual value for channel 6
H802E Analog input actual value for channel 7
H802F Analog input actual value for channel 8 Use READ instruction to read
H8030 Module status for channel 1 data from these addresses.
H8031 Module status for channel 2
H8032 Module status for channel 3
H8033 Module status for channel 4
H8034 Module status for channel 5
H8035 Module status for channel 6
H8036 Module status for channel 7
H8037 Module status for channel 8
User’s Manual 25
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
6. Parameters PART 1 AD268
When the gain calibration value is G and the offset calibration value is O, the conversion
calculation is performed in the AD268 as follows.
X2 = (X1 + O) × G / FS
The data setting range of the gain and offset calibration value are as follows.
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
PART 1 AD268 6. Parameters
Averaging times:
(H8010 to H8017)
This parameter is for the averaging processing for the analog input data. The moving average
is calculated by the given averaging times parameter.
For example, if the averaging times parameter is 10, the average value of latest 10 times
conversion is output as the A/D conversion data.
This function is effective to reduce the fluctuation caused by noise.
User’s Manual 27
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
6. Parameters PART 1 AD268
Command register:
(H8020)
This register is used to issue the following commands to the AD268. To issue the command,
write the command value by using WRITE instruction.
The command register and the response register are used for hand-shaking. Refer to section
6.2 for the parameter setting procedure.
Response register:
(H8021)
This register shows the AD268’s response for the command issued. Check the status of this
register using READ instruction.
The command register and the response register are used for hand-shaking. Refer to section
6.2 for the parameter setting procedure.
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
PART 1 AD268 6. Parameters
Module status:
(H8030 to H8037)
These data show the AD268’s operation status.
Bit position → F E D C B A 9 8 7 6 5 4 3 2 1 0
0 0 0 0
User’s Manual 29
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
6. Parameters PART 1 AD268
Step (1)
Write the value "0" into the command register of the AD268 buffer memory (address H8020)
by WRITE instruction.
Step (2)
Write the parameter data into the buffer memory (addresses H8000 to H801F) by WRITE
instruction. Be sure to write all the 32 words in batch.
Step (3)
Write the value "1" into the command register (address H8020) by WRITE instruction.
Step (4)
Wait until the data of the response register (address H8021) comes "1". Check the data by
READ instruction.
Step (5)
Write the value "0" into the command register (address H8020) by WRITE instruction.
When the above steps are finished and the module status (addresses H8030 to H8037) shows
no error, the parameter setting procedure is completed. The parameters are effective and they
have been saved in the AD268's EEPROM.
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
PART 1 AD268 6. Parameters
For details of READ and WRITE instructions, refer to the T-series Instruction Set manual.
(Main program)
Step (2):
Writes parameters.
• Gain = 32000
(H8000)
• Offset = 0
• Average = 1
• Type = 1 (0-10V)
Total 32 words
starting with
(H8020)
Step (3):
Writes 1 into the
command
register (H8020).
(H8021)
Step (4):
Waits until the
response
register (H8021)
comes 1.
Step (5):
(H8020) Writes 0 into the
command
register (H8020)
to return to initial
state.
In this sample program, the rung 1 is activated at the beginning of RUN mode (at the second
scan) automatically. The input type is set to 0 to 10V for all 8 channels.
When the parameter setting process is completed, the flags R1000 to R1002 are returned to
OFF.
For reading the parameters from the AD268, there is no special procedure. Simply read the
data from the AD268’s buffer memory by using READ instruction.
User’s Manual 31
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
7. Troubleshooting PART 1 AD268
7. Troubleshooting
7.1 RAS information
The RUN LED is provided on the front of the AD268. When the AD268 is operating normally,
this LED is lit.
Also the module status information is provided in the AD268‘s buffer memory (addresses
H8030 to H8037). This information is useful for troubleshooting.
Module status:
(H8030 to H8037)
These data show the AD268’s operation status.
Bit position → F E D C B A 9 8 7 6 5 4 3 2 1 0
0 0 0 0
By the above sample program, the module status information for each channel is read from the
AD268, and stored in D4010 to D4017.
(In this sample program, it is assumed that the AD268 is allocated to XW000 to XW007)
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
PART 1 AD268 7. Troubleshooting
7.2 Troubleshooting
The table below shows the trouble and its remedy.
User’s Manual 33
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
34 Analog I/O Modules (AD268 / DA264 / TC218)
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
Part 2
1. Introduction, 36
2. Specifications, 38
3. Output Type Setting, 40
4. Wiring, 41
5. I/O Allocation and Programming, 44
6. Parameters, 51
7. Troubleshooting, 56
User’s Manual 35
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
1. Introduction PART 2 DA264
1. Introduction
The DA264 is a 4 channel analog output module for the T2 series programmable controllers.
The DA264 converts digital values given by the T2 program into the analog signals (voltage or
current).
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
PART 2 DA264 1. Introduction
User’s Manual 37
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
2. Specifications PART 2 DA264
2. Specifications
This section describes the DA264 specifications.
The general specification for the DA264 conforms to the specification for the T2 PLC.
2.1 Specifications
Item DA264
Output type Voltage output Current output
-5 to 5V
Bipolar
-10 to 10V
Output range 0 to 5V 0 to 20mA
Unipolar 0 to 10V
1 to 5V 4 to 20mA
Load impedance 1kΩ or more 600Ω or less
Number of output channels 4 channels
I/O allocation type Y 4W (4 output registers YW are assigned)
Resolution 16-bit
±0.2% FS (at 25°C)
Overall accuracy
±0.5% FS (0 to 55°C) (FS: ±10V)
Temperature drift ±100ppm/°C or less
Conversion cycle Approx. 1ms/channel (Approx. 4ms/4 channels)
Insulation resistance 10MΩ or more
1500Vac - 1 minute (between logic and analog circuits)
Withstand voltage 500Vac - 1 minute (between analog circuit and external 24V)
1500Vac - 1 minute (between analog circuit and FG/LG)
Status indication 1 green LED (On when normal)
Offset calibration function
Special function Output hold function
External 24Vdc power voltage drop detection
External power supply 24Vdc ±10% - 240mA
Internal 5Vdc current
230mA or less
consumption
External connection 20-pin removable terminal block
Weight Approx. 300g
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
PART 2 DA264 2. Specifications
D/A conversion
Voltage
(V→V) output
N
Internal control circuit
Amplifier CH1
TR P
T2 CPU Current
(V→I) output
N
Amplifier Buffer
P
Voltage
Optical isolation
(V→V) output
N
Amplifier CH4
TR P
Current
(V→I) output
Reference N
voltage
+5V Regulator
+15V P24
Filter
converter
DC/DC
COM
AG
-15V
LG
Voltage
check FG
circuit
User’s Manual 39
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
3. Output Type Setting PART 2 DA264
Refer to section 6 for the sample program to set the output type.
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
PART 2 DA264 4. Wiring
4. Wiring
4.1 Terminal arrangement
1 1VP
1VN 2
3 1CP
1CN 4
5 2VP
2VN 6
7 2CP
2CN 8
9 3VP
3VN 10
11 3CP
3CN 12
13 4VP
4VN 14
15 4CP
4CN 16
17 P24
COM 18
19 LG
FG 20
Terminal Signal
Function
No. name
1 1VP
Channel 1 Voltage output
2 1VN
3 1CP
Channel 1 Current output
4 1CN
5 2VP
Channel 2 Voltage output
6 2VN
7 2CP
Channel 2 Current output
8 2CN
9 3VP
Channel 3 Voltage output
10 3VN
11 3CP
Channel 3 Current output
12 3CN
13 4VP
Channel 4 Voltage output
14 4VN
15 4CP
Channel 4 Current output
16 4CN
17 P24 External 24Vdc power (+)
18 COM External 24Vdc power (-)
19 LG Line filter ground
20 FG Frame ground
User’s Manual 41
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
4. Wiring PART 2 DA264
Voltage output
DA264
+15V
nVN
-15V
AG
Current output
DA264
+15V
+15V
nCN
-15V
AG
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
PART 2 DA264 4. Wiring
Analog
(a) output
module
Analog
(b) output
module
Analog
(c) output
module
(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 T2’s main power. Otherwise, this module detects the external 24Vdc error.
(4) If the external 24Vdc power for this module is not stable, the converted data will not be
stable. In this case, use a dedicated 24Vdc power supply for this module.
(5) When the external 24Vdc power is applied, about 0.7V voltage will output for few ms
(milliseconds). Therefore the power-up sequence should be as follows.
User’s Manual 43
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
5. I/O Allocation and Programming PART 2 DA264
The following figure shows an example of I/O allocation window of the T-PDS programming
software. In this case, the DA264 is mounted in the slot 0 of base unit BU218.
PU234E
Vacant
Vacant
Vacant
Vacant
Vacant
No slot
DA264
PS261
DO32
DI32
In the above example, the DA264 is allocated on the unit-0, slot-0. And 4 I/O registers, YW000
to YW003 are assigned to the DA264.
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
PART 2 DA264 5. I/O Allocation and Programming
The conversion data to be written into the YW register is dependent on the output type as
follows.
± 10V range:
H7D00
Analog output value 32000
+10V
+5.1196V
H8000 HC000
-32768 -16384 0 Digital data
H3FFF H7FFF A = 0.3125 × D
16383 32767
D: Digital data
-5.12V A: Analog signal (mV)
-10V
H8300
-32000
User’s Manual 45
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
5. I/O Allocation and Programming PART 2 DA264
± 5V range:
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
PART 2 DA264 5. I/O Allocation and Programming
0 to 10V range:
User’s Manual 47
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
5. I/O Allocation and Programming PART 2 DA264
0 to 5V / 0 to 20mA range:
A = 1.25 × D
D: Digital data
A: Analog signal (µA)
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
PART 2 DA264 5. I/O Allocation and Programming
1 to 5V / 4 to 20mA range:
H3200 H337F
Analog output value 12800 13183 1 to 5V range:
A = 0.3125 × D + 1000
+5.1196V Upper limit
(+20.478mA) +5V D: Digital data
(+20mA) A: Analog signal (mV)
+1V
Lower limit (+4mA) Digital data
H8000 0 H7FFF 4 to 20mA range:
-32768 HF380 32767
-3200
A = 1.25 × D + 4000
D: Digital data
A: Analog signal (µA)
User’s Manual 49
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
5. I/O Allocation and Programming PART 2 DA264
5.3 Programming
To output the desired analog signal from the DA264, there is no need to use any special
instruction. When the D/A conversion data is written in the assigned output register (YW
register), it is transferred to the DA264 and converted to the corresponding analog signal.
For example, when the DA264 is allocated to YW000 to YW003, the D/A conversion data of
each channel is assigned as follows.
YW000 : Channel 1 D/A conversion data
YW001 : Channel 2 D/A conversion data
YW002 : Channel 3 D/A conversion data
YW003 : Channel 4 D/A conversion data
Therefore, in the user program, you can use any instructions to write data in these YW
registers for the analog data processing.
Rung 1: During R1000 is ON, YW000 data is increased by 32 (channel 1 analog output is
increased by 0.01V) every scan. It is upper-limited by 32000 (10V).
Rung 2: During R1001 is ON, YW000 data is decreased by 32 (channel 1 analog output is
decreased by 0.01V) every scan. It is lower-limited by -32000 (-10V).
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
PART 2 DA264 6. Parameters
6. Parameters
The DA264 has the memory that stores the control parameters, output 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.
These parameter data are not maintained in the DA264. Therefore, you should write the
necessary parameter data at each time of the beginning of the operation.
Address Contents
F 0
H8000 Offset calibration value for channel 1
H8001 Offset calibration value for channel 2
H8002 Offset calibration value for channel 3
H8003 Offset calibration value for channel 4 Use WRITE instruction to write
H8004 Output type setting for channel 1 data into these addresses.
H8005 Output type setting for channel 2
H8006 Output type setting for channel 3
H8007 Output type setting for channel 4
H8008 Analog output read-back value for channel 1
H8009 Analog output read-back value for channel 2
H800A Analog output read-back value for channel 3
H800B Analog output read-back value for channel 4 Use READ instruction to read
H800C Module status for channel 1 data from these addresses.
H800D Module status for channel 2
H800E Module status for channel 3
H800F Module status for channel 4
User’s Manual 51
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
6. Parameters PART 2 DA264
When the offset calibration value is set, this value is added to the original D/A conversion data.
Then D/A conversion is performed in the DA264.
The data setting range of the offset calibration value are as follows.
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
PART 2 DA264 6. Parameters
Setting value
Output type
Clear mode Hold mode
0 to 5V 0 to 20mA 0 160
0 to 10V - 1 161
1 to 5V 4 to 20mA 2 162
±5V - 4 164
±10V - 5 165
Between the clear mode and the hold mode, there is no difference in operation when the
controller (T2) is operating normally. However, when the T2 stops the operation by Halt mode
or Error mode, the DA264’s output status is different between these modes. Refer to the table
below.
User’s Manual 53
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
6. Parameters PART 2 DA264
Module status:
(H800C to H800F)
These data show the DA264’s operation status.
Bit position → F E D C B A 9 8 7 6 5 4 3 2 1 0
0 0 0 0 0 0 0
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
PART 2 DA264 6. Parameters
For details of READ and WRITE instructions, refer to the T-series Instruction Set manual.
(Main program)
(H8004)
Writes 5 (c) into
4 words starting
with address
H8004.
(H8008)
Reads 8 words
from address
H8008 and after.
In this sample program, the rung 1 is activated at the beginning of RUN mode (at the second
scan) automatically. The output type is set to ±10V for all 4 channels.
The rung 2 is to read the analog output read-back values and the module status. These data
are read from the DA264 and stored in D4020 to D4027.
User’s Manual 55
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
7. Troubleshooting PART 2 DA264
7. Troubleshooting
7.1 RAS information
The RUN LED is provided on the front of the DA264. When the DA264 is operating normally,
this LED is lit.
Also the module status information is provided in the DA264‘s buffer memory (addresses
H800C to H800F). This information is useful for troubleshooting.
Refer to section 6 for the module status information and how to read it.
7.2 Troubleshooting
The table below shows the trouble and its remedy.
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
User’s Manual 57
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
58 Analog I/O Modules (AD268 / DA264 / TC218)
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
Part 3
1. Introduction, 60
2. Specifications, 62
3. Input Type Setting, 64
4. Wiring, 66
5. I/O Allocation and Programming, 69
6. Parameters, 75
7. Troubleshooting, 83
User’s Manual 59
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
1. Introduction PART 3 TC218
1. Introduction
The TC218 is a thermocouple input module for the T2 series programmable controllers.
The TC218 is used to measure the temperature using thermocouples. Thermocouples type K,
J, or E can be used.
The TC218 can be used for ±100mV input also.
When the TC218 is used for the thermocouple input, it has 7 channels of thermocouple input.
The remaining 1 channel is used to measure the ambient temperature for cold junction
compensation. For this purpose, a thermistor is attached with the TC218.
On the other hand, when the TC218 is used for ±100mV input, it has 8 channels of input.
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
PART 3 TC218 1. Introduction
For thermocouple input, CH2 to CH8 are used to connect the thermocouple input wires. The
CH1 is used to connect the thermistor to measure the ambient temperature for cold junction
compensation.
For ±100mV input, all 8 channels CH1 to CH8 are used.
User’s Manual 61
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
2. Specifications PART 3 TC218
2. Specifications
This section describes the TC218 specifications.
The general specification for the TC218 conforms to the specification for the T2 PLC.
2.1 Specifications
Item TC218
Input type Voltage input Thermocouple input
mV input Type K Type J Type E
Input range -100 to +100 -200 to +1200 -200 to +800 -200 to +600
mV °C °C °C
Number of input channels 8 channels 7 channels 7 channels 7 channels
Input impedance 1MΩ or more
I/O allocation type X 8W (8 input registers XW are assigned)
Resolution 16-bit
±0.2% FS (at 25°C)
Overall accuracy ±0.5% FS (0 to 55°C)
(FS: ±100mV (mV input) or 1400°C (type K))
Temperature drift ±100ppm/°C or less
Conversion cycle Approx. 1ms/channel (Approx. 8ms/8 channels)
Insulation resistance 10MΩ or more
1500Vac - 1 minute (between logic and analog circuits)
Withstand voltage 500Vac - 1 minute (between analog circuit and external 24V)
1500Vac - 1 minute (between analog circuit and FG/LG)
Status indication 1 green LED (On when normal)
Gain and offset calibration function (mV input only)
Linearize function (thermocouple input)
Cold junction compensation function (thermocouple input)
Special function
Burnout detection function (thermocouple input)
Input data averaging function
External 24Vdc power voltage drop detection
External power supply 24Vdc ±10% - 120mA
Internal 5Vdc current
300mA or less
consumption
External connection 20-pin removable terminal block
Weight Approx. 300g
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
PART 3 TC218 2. Specifications
1
Jumper Buffer LED
Filter
2
P
A/D conversion
Multiplexer
CH1
N 3
1
Jumper Buffer
Filter
2
P
CH2
N 3
Optical isolation
+15V
EEPROM
1
Jumper Buffer
Filter
2
P
CH8
N 3
Regulator +5V
P24 +15V
Filter
converter
DC/DC
COM
AG
-15V
LG
Voltage
FG check
circuit
User’s Manual 63
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
3. Input Type Setting PART 3 TC218
Note that the input type can be selected either one, type K, type J, type E, or ±100mV, for all
channels. Any mixture settings among the channels are not allowed.
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
PART 3 TC218 3. Input Type Setting
T2 CPU TC218
Buffer memory
WRITE
EEPROM
User program
READ
For details of the procedure to set the input type parameter, refer to section 6.
User’s Manual 65
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
4. Wiring PART 3 TC218
4. Wiring
4.1 Terminal arrangement
1 1P
1N 2
3 2P
2N 4
5 3P
3N 6
7 4P
4N 8
9 5P
5N 10
11 6P
6N 12
13 7P
7N 14
15 8P
8N 16
17 P24
COM 18
19 LG
FG 20
Terminal Signal
Function
No. name
1 1P
Channel 1 input
2 1N
3 2P
Channel 2 input
4 2N
5 3P
Channel 3 input
6 3N
7 4P
Channel 4 input
8 4N
9 5P
Channel 5 input
10 5N
11 6P
Channel 6 input
12 6N
13 7P
Channel 7 input
14 7N
15 8P
Channel 8 input
16 8N
17 P24 External 24Vdc power (+)
18 COM External 24Vdc power (-)
19 LG Line filter ground
20 FG Frame ground
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
PART 3 TC218 4. Wiring
n : Channel number (1 to 8)
Internal circuit AG : Analog ground
FG : Frame ground
Thermocouple input
TC218
+15V
+15V +15V
CH2 to CH8
1
Positive side 2
Thermocouple cable nP
3
n : Channel number (2 to 8)
Internal circuit AG : Analog ground
FG : Frame ground
User’s Manual 67
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
4. Wiring PART 3 TC218
+15V
P24
+ DC/DC
24Vdc ±10% converter
- COM
AG
-15V
LG
(b) (a)
Normally connect LG and FG , FG
then connect to ground. (a)
However, depending on the Internal circuit
condition, connect grounding
individually by opening LG and
FG. (b)
(2) This module requires 24Vdc power. Apply the 24Vdc power before (or at the same time)
applying T2’s main power. Otherwise, this module detects the external 24Vdc error.
(3) If the external 24Vdc power for this module is not stable, the converted data will not be
stable. In this case, use a dedicated 24Vdc power supply for this module.
(4) It is recommended to short the unused channels. Because if it is open, meaningless A/D
conversion data will appear.
(5) 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.
(6) When this module is used for thermocouple input, connect the thermistor to channel 1
(CH1). The thermistor is attached with this module.
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
PART 3 TC218 5. I/O Allocation and Programming
The following figure shows an example of I/O allocation window of the T-PDS programming
software. In this case, the TC218 is mounted in the slot 0 of base unit BU218.
PU234E
Vacant
Vacant
Vacant
Vacant
Vacant
No slot
PS261
TC218
DO32
DI32
In the above example, the TC218 is allocated on the unit-0, slot-0. And 8 I/O registers, XW000
to XW007 are assigned to the TC218.
User’s Manual 69
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
5. I/O Allocation and Programming PART 3 TC218
The conversion data stored in the XW register is dependent on the input type as follows.
± 100mV input:
Analog input
0
-102mV -51.2mV +51.196mV +102mV
D = 320 × A
HC000
-16384 D: Digital data
A: Analog signal (mV)
H8300
-32000
-100mV
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
PART 3 TC218 5. I/O Allocation and Programming
Digital vale
Upper limit
H5DC0
24000
Temperature
0
HF060
-4000 D = 20 × A
+1200°C
Lower limit -200°C
D: Digital data
A: Temperature (°C)
User’s Manual 71
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
5. I/O Allocation and Programming PART 3 TC218
Digital vale
Upper limit
H3E80
16000
Temperature
0
HF060
-4000 D = 20 × A
+800°C
Lower limit -200°C
D: Digital data
A: Temperature (°C)
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
PART 3 TC218 5. I/O Allocation and Programming
Digital vale
Upper limit
H2EE0
12000
Temperature
HF060 0
-4000 D = 20 × A
+600°C
Lower limit -200°C
D: Digital data
A: Temperature (°C)
User’s Manual 73
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
5. I/O Allocation and Programming PART 3 TC218
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 TC218 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 the 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 2 input data.
(Thermocouple type K setting)
By the above program, the ON/OFF status of the internal relays R0200 to R0203 are changed
as follows.
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
PART 3 TC218 6. Parameters
6. Parameters
The TC218 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.
Address Contents
F 0
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 Use WRITE instruction to write
H8010 Averaging times for channel 1 data into these addresses.
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
Use READ instruction to read
H8021 Response register
data from this address.
H8022
: No use
H8027
User’s Manual 75
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
6. Parameters PART 3 TC218
Address Contents
F 0
H8028 Analog input actual value for channel 1
H8029 Analog input actual value for channel 2
H802A Analog input actual value for channel 3
H802B Analog input actual value for channel 4
H802C Analog input actual value for channel 5
H802D Analog input actual value for channel 6
H802E Analog input actual value for channel 7
H802F Analog input actual value for channel 8 Use READ instruction to read
H8030 Module status for channel 1 data from these addresses.
H8031 Module status for channel 2
H8032 Module status for channel 3
H8033 Module status for channel 4
H8034 Module status for channel 5
H8035 Module status for channel 6
H8036 Module status for channel 7
H8037 Module status for channel 8
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
PART 3 TC218 6. Parameters
When the gain calibration value is G and the offset calibration value is O, the conversion
calculation is performed in the TC218 as follows.
X2 = (X1 + O) × G / 32000
The data setting range of the gain and offset calibration value are as follows.
User’s Manual 77
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
6. Parameters PART 3 TC218
Averaging times:
(H8010 to H8017)
This parameter is for the averaging processing for the analog input data. The moving average
is calculated by the given averaging times parameter.
For example, if the averaging times parameter is 100, the average value of latest 100 times
conversion is output as the A/D conversion data.
This function is effective to reduce the fluctuation caused by noise.
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
PART 3 TC218 6. Parameters
Command register:
(H8020)
This register is used to issue the following commands to the TC218. To issue the command,
write the command value by using WRITE instruction.
The command register and the response register are used for hand-shaking. Refer to section
6.2 for the parameter setting procedure.
Response register:
(H8021)
This register shows the TC218’s response for the command issued. Check the status of this
register using READ instruction.
The command register and the response register are used for hand-shaking. Refer to section
6.2 for the parameter setting procedure.
User’s Manual 79
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
6. Parameters PART 3 TC218
Module status:
(H8030 to H8037)
These data show the TC218’s operation status.
Bit position → F E D C B A 9 8 7 6 5 4 3 2 1 0
0 0 0 0 0
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
PART 3 TC218 6. Parameters
Step (1)
Write the value "0" into the command register of the TC218 buffer memory (address H8020)
by WRITE instruction.
Step (2)
Write the parameter data into the buffer memory (addresses H8000 to H801F) by WRITE
instruction. Be sure to write all the 32 words in batch.
For thermocouple, write the default value for the gain (32000) and the offset (0).
Step (3)
Write the value "1" into the command register (address H8020) by WRITE instruction.
Step (4)
Wait until the data of the response register (address H8021) comes "1". Check the data by
READ instruction.
Step (5)
Write the value "0" into the command register (address H8020) by WRITE instruction.
When the above steps are finished and the module status (addresses H8030 to H8037) shows
no error, the parameter setting procedure is completed. The parameters are effective and they
have been saved in the TC218's EEPROM.
Note) After you write the parameters into the TC218, turn off power and on again.
User’s Manual 81
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
6. Parameters PART 3 TC218
For details of READ and WRITE instructions, refer to the T-series Instruction Set manual.
(Main program)
Step (2):
Writes parameters.
• Gain = 32000
(H8000)
• Offset = 0
• Average = 1
• Type = 1 (type J)
Total 32 words
starting with
(H8020)
Step (3):
Writes 1 into the
command
register (H8020).
(H8021)
Step (4):
Waits until the
response
register (H8021)
comes 1.
Step (5):
(H8020) Writes 0 into the
command
register (H8020)
to return to initial
state.
In this sample program, the rung 1 is activated at the beginning of RUN mode (at the second
scan) automatically. The input type is set to the type J thermocouple for all 8 channels.
When the parameter setting process is completed, the flags R1000 to R1002 are returned to
OFF.
For reading the parameters from the TC218, there is no special procedure. Simply read the
data from the TC218’s buffer memory by using READ instruction.
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
PART 3 TC218 7. Troubleshooting
7. Troubleshooting
7.1 RAS information
The RUN LED is provided on the front of the TC218. When the TC218 is operating normally,
this LED is lit.
Also the module status information is provided in the TC218‘s buffer memory (addresses
H8030 to H8037). This information is useful for troubleshooting.
Module status:
(H8030 to H8037)
These data show the TC218’s operation status.
Bit position → F E D C B A 9 8 7 6 5 4 3 2 1 0
0 0 0 0 0
By the above sample program, the module status information for each channel is read from the
TC218, and stored in D4010 to D4017.
(In this sample program, it is assumed that the TC218 is allocated to XW000 to XW007)
User’s Manual 83
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
7. Troubleshooting PART 3 TC218
7.2 Troubleshooting
The table below shows the trouble and its remedy.
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net