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.
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.
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
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.
-10 to 10V
0 to 5V0 to 20mA
0 to 10V
1 to 5V4 to 20mA
1MΩ or more250Ω
±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
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.
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).
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 CPUAD268
Buffer memory
WRITE
User program
READ
EEPROM
Input type parameter data:
Input typeParameter
data
00 to 5V0 to 20mA
10 to 10V
21 to 5V4 to 20mA
4
5
Voltage inputCurrent input
±5V
±10V
AD268 buffer memory address:
H8018Input type for channel 1
H8019Input type for channel 2
H801AInput type for channel 3
H801BInput type for channel 4
H801CInput type for channel 5
H801DInput type for channel 6
H801EInput type for channel 7
H801FInput 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.
(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 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 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.
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.
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.
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
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 .
AddressContents
H8000Gain calibration value for channel 1
H8001Gain calibration value for channel 2
H8002Gain calibration value for channel 3
H8003Gain calibration value for channel 4
H8004Gain calibration value for channel 5
H8005Gain calibration value for channel 6
H8006Gain calibration value for channel 7
H8007Gain calibration value for channel 8
H8008Offset calibration value for channel 1
H8009Offset calibration value for channel 2
H800AOffset calibration value for channel 3
H800BOffset calibration value for channel 4
H800COffset calibration value for channel 5
H800DOffset calibration value for channel 6
H800EOffset calibration value for channel 7
H800FOffset calibration value for channel 8
H8010Averaging times for channel 1
H8011Averaging times for channel 2
H8012Averaging times for channel 3
H8013Averaging times for channel 4
H8014Averaging times for channel 5
H8015Averaging times for channel 6
H8016Averaging times for channel 7
H8017Averaging times for channel 8
H8018Input type setting for channel 1
H8019Input type setting for channel 2
H801AInput type setting for channel 3
H801BInput type setting for channel 4
H801CInput type setting for channel 5
H801DInput type setting for channel 6
H801EInput type setting for channel 7
H801FInput type setting for channel 8
H8020Command register
H8021Response register
H8022
:
H8027
F0
No use
Use WRITE instruction to write
data into these addresses.
Use READ instruction to read
data from this address.
H8029Analog input actual value for channel 2
H802AAnalog input actual value for channel 3
H802BAnalog input actual value for channel 4
H802CAnalog input actual value for channel 5
H802DAnalog input actual value for channel 6
H802EAnalog input actual value for channel 7
H802FAnalog input actual value for channel 8
H8030Module status for channel 1
H8031Module status for channel 2
H8032Module status for channel 3
H8033Module status for channel 4
H8034Module status for channel 5
H8035Module status for channel 6
H8036Module status for channel 7
H8037Module status for channel 8
Use READ instruction to read
data from these addresses.
Gain calibration value & Offset calibration value:
(Gain: H8000 to H8007, Offset: H8008 to H800F)
At the factory shipment, the AD268 is calibrated for each input range. Therefore, there is no
need for user to calibrate normally.
However, depending on the usage condition, field adjustments are required. For this purpose,
the AD268 has the gain and offset calibration function.
In the AD268, the A/D conversion data is calculated a s follows .
PART 1 AD268
Analog input
A/D
conversion
Offset
processing
Gain
processing
A/D conversion data
(read by T2 CPU)
When the gain calibration value is G and the offset calibration value is O, the conversion
calculation is performed in the AD268 as follows.
= (X1 + O) × G / FS
2
X
:Initial A/D conversi on value
1
X
:Gain/offset processed value
2
X
O:Offs et calibra t ion value (buf fer memory address H8008 to H800F)
G:Gain calibration va lue (buffer memory address H8000 to H8007)
FS:Full scale value
32000 for ±10V and 0 to 10V ranges
16000 for ±5V, 0 to 5V and 0 to 20mA ranges
12800 for 1 to 5V and 4 to 20mA ranges
The data setting range of the g ain and offset calibration value are as follows.
(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.
(H8020)
This register is used to issue the following commands to the AD268. To issue the command,
write the command value by usin g WRITE instruction.
ValueCommandDescription
0-Write 0 after the command processing is completed.
When this command is issued, the parameters written into
1Parameter set
2Reset command
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)
the buffer memory are saved in the AD268 ’s EEPROM, and
the parameters become effective.
Used to reset the AD268 when some error has occurred.
However if the error is caused by hardware or external
conditi on, the reset command may not be effective .
PART 1 AD268
This register shows the AD268’s response for the command issued. Check the status of this
register us ing READ instruction.
ValueResponseDescription
0-The requested command is not yet completed.
1Acknowledge
When the issued command is completed, the response
register comes 1.
The command register and the response register are used for hand-shaking. Refer to section
(H8028 to H802F)
These data show the original A/D conversion data before processing the gain and offset
calibration.
Module status:
(H8030 to H8037)
These data show the AD268’s operation status.
6. Parameters
Bit posit ion →
BitNameDescription
0 to 2Input typeShows the input type.
3 to 5-Reserved
6Channel skip1 when the channel skip is designated.
7I nput type setting
8Wire break1 when wire breakage is detected. (Effective only for 4 to 20mA
9Input limit1 when the A/D conversion data is limited because of the range
AMPU error1 when the AD268’s processor is not normal.
BROM status1 when the AD268’s EEPROM is not normal.
CDP-RAM status1 when the AD268’s DP-RAM (buffer memory) is not nor mal.
D-Reserved
EExternal 24V error1 when the external 24Vdc is not normal.
FInitializing1 during the AD268 is in initialization process.
FEDCBA9876543210
0000
000 (0) = 0 to 5V/0 to 20mA
001 (1) = 0 to 10V
010 (2) = 1 to 5V/4 to 20mA
100 (4) = ±5V
101 (5) = ±10V
When you change the AD268 parameters, such as input type settings, gain/offset calibrations
and averaging times, use the following procedure.
Step (1)
Write the value "0" into the command register of the AD268 buffer memory (address H8020)
by WRITE instruction.
PART 1 AD268
H8020Command register
← Write 0
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.
H8000Gain for channel 1
H8001Gain for channel 2
::
H801FInput type for channel 8
← Write the parameter data (32 words)
Step (3)
Write the value "1" into the command register (address H8020) by WRITE instruction.
H8020Command register
← Write 1
Step (4)
Wait until the data of the response register (address H8021) comes "1". Check the data by
READ instruction.
H8021Response register Check if it comes 1
Step (5)
Write the value "0" into the command register (address H8020) by WRITE instruction.
H8020Command register
← Write 0
When the above steps are finished and the module status (addresses H8030 to H8037) shows
no error, the parameter setting procedure is com p l eted. The parameters are effective and they
have been saved in the AD268's EEPROM.
A sample program to set the parameters is shown below.
This is an example to set the input type as 0 to 10V range (type = 1) for each channel.
In this sample program, it is assumed that he AD268 is allocated to XW000 to XW007.
For details of READ and WRITE instructions, refer to the T-series Instruction Set manual.
(Main program)
(H8020)
(H8021)
(H8020)
(H8000)
Step (1):
Writes 0 into the
command
register (H8020).
Step (2):
Writes parameters.
• Gain = 32000
• Offset = 0
• Average = 1
• Type = 1 (0-10V)
Total 32 words
starting with
Step (3):
Writes 1 into the
command
register (H8020).
Step (4):
Waits until the
response
register (H8021)
comes 1.
(H8020)
Step (5):
Writes 0 into the
command
register (H8020)
to return to initial
state.
In this sample program, the rung 1 is activated at the beg inning 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.
The RUN LED is provided on t he 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.
PART 1 AD268
Bit posit ion →
BitNameDescription
0 to 2Input typeShows the input type.
3 to 5-Reserved
6Channel skip1 when the channel skip is designated.
7I nput type setting
8Wire break1 when wire breakage is detected. (Effective only for 4 to 20mA
9Input limit1 when the A/D conversion data is limited because of the range
AMPU error1 when the AD268’s processor is not normal.
BROM status1 when the AD268’s EEPROM is not normal.
CDP-RAM status1 when the AD268’s DP-RAM (buffer memory) is not nor mal.
D-Reserved
EExternal 24V error1 when the external 24Vdc is not normal.
FInitializing1 during the AD268 is in initialization process.
FEDCBA9876543210
0000
000 (0) = 0 to 5V/0 to 20mA
001 (1) = 0 to 10V
010 (2) = 1 to 5V/4 to 20mA
100 (4) = ±5V
101 (5) = ±10V
1 when the input type designation is invalid.
error
input)
over.
A sample program to read the module status information is shown below.
(H8030)
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)
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).
-10 to 10V
0 to 5V0 to 20mA
0 to 10V
1 to 5V4 to 20mA
1kΩ or more600Ω or less
±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)
Offset calibration function
Output hold function
External 24Vdc power voltage drop detection
The DA264 performs the following operations.
The digital data for D/A conversion generated by the T2 program are written into the DA264.
The written digital data are transferred to the D/A converter through optical isolator. Then the
D/A convert e r con v e rt s th e digital values to the analog signals.
The generated analog signals are output to each channel (CH1 to CH4) via amplifier. Each
channel has both the voltage output and the current output. However either voltage or current
output can b e u sed.
The DA264 supports multiple output ranges, ±5V, ±10V, 0 to 5V, 0 to 10V, 1 to 5V, 0 to 20mA,
or 4 to 20mA. The output range is selected by writing the parameter into the DA264 by the T2
program. The voltage or current output is selected by the DA264’s output terminals.
The general flow for setting the output type is as follows.
(1) Mount the DA264 onto the T2 rack.
(2) Turn on power to the T2 system.
(3) Execute I/O all ocation.
(4) Program the "out put typ e settin g program". (see below)
(5) Turn the T2 to RUN mode.
3.1 Parameter setting by software
The output range o f the DA264 is specified by writing the following parameter data into the
DA264's buffer memory. To write the parameter into the buffer memory, T2 user program
(WRITE instruction) is used.
These parameter data are not maintained in the DA264. Therefore, program the output type
setting routine and execute it at each time of the beginning of the operation.
PART 2 DA264
Output type parameter data:
Output typeParameter
data
00 to 5V0 to 20mA
10 to 10V
21 to 5V4 to 20mA
4
5
Voltage outputCurrent output
±5V
±10V
DA264 buffer memory address:
H8004Output type f or channel 1
H8005Output type f or channel 2
H8006Output type f or channel 3
H8007Output type f or channel 4
The fa ct o ry se tting is 0 t o 5V / 0 to 20mA
range.
Refer to section 6 for the sample program to set the output type.
Function
Channel 1 Voltage output
Channel 1 Current output
Channel 2 Voltage output
Channel 2 Current output
Channel 3 Voltage output
Channel 3 Current output
Channel 4 Voltage output
Channel 4 Current output
(1) Use shielded twisted-pair cables for analog output 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
(a)
(b)
output
module
Analog
output
module
4. Wiring
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.
External 24Vdc → T2 main power → Power for output load
The I/O type of the DA264 is "Y 4W".
When the automatic I/O allocation operation is performed with a DA264 mounted on the rack,
the DA264 is allocated as "Y 4W".
The DA264 occupies the 4 consecutive output (YW) registers of the T2.
In this manual, these assigned I/O registers are expressed as YW(n), YW(n+1), YW(n+2) and
YW(n+3).
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.
DI32
PS261
PU234E
No slot
DA264
DO32
Vacant
Vacant
Vacant
Vacant
Vacant
PART 2 DA264
In the above example, the DA264 is allocated on the unit-0, slot-0. And 4 I/O registers, YW 000
to YW003 are assigned to the DA264.
To output the desired analog signals from the DA264, simply write the appropriate data into the
assigned I/O regis ters YW(n) to YW(n+3) for the DA264.
The data of YW(n) to YW(n+3) are transferred to the DA264 at the T2’s batch I/O processing.
Then in the DA264, these D/A conversion data are converted into the analog signals and
output from the DA264.
The I/O register assignment is as follows.
YW(n) ........ D/A conversion data for channel 1
YW(n+1) .... D/A conversion data for channel 2
YW(n+2) .... D/A conversion data for channel 3
YW(n+3) .... D/A conversion data for channel 4
The conversion data to be written into the YW register is dependent on the output type as
follows.
To output the desired analog signal from the DA264, there is no need to use any special
instruction. W hen 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 t he user program, you can use any instructions to write data in these YW
registers for the analog data processing.
The program shown below is an example of simple increasing/decreasing of the channel 1
analog data. (±10V setting)
PART 2 DA264
Rung 1: During R1000 is ON, YW000 data is increased by 32 (channel 1 analog output is
increased by 0.0 1 V) every scan. It is upper-limited b y 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).
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.
6.1 Memory map
The contents of the DA264's buffer memory are as fo llo w s .
6. Parameters
AddressContents
F0
H8000Offset calibration value for channel 1
H8001Offset calibration value for channel 2
H8002Offset calibration value for channel 3
H8003Offset calibration value for channel 4
H8004Output type setting for channel 1
H8005Output type setting for channel 2
H8006Output type setting for channel 3
H8007Output type setting for channel 4
H8008Analog output read-back value for channel 1
H8009Analog output read-back value for channel 2
H800AAnalog output read-back value for channel 3
H800BAnalog output read-back value for channel 4
H800CModule status for channel 1
H800DModule status for channel 2
H800EModule status for channel 3
H800FModule status for channel 4
Use WRITE instruction to write
data into these addresses.
Use READ instruction to read
data from these addresses.
(H8000 to H8003)
At the factory shipment, the DA264 is calibrated for each ou tp u t range. Therefore, there is no
need for user to calibrate normally.
However, depending on the usage condition, field adjustments are required. For this purpose,
the DA264 has the offset calibration function.
In the DA264, the D/A conversion is performed as follows.
PART 2 DA264
D/A conversion data
(written by T2 CPU)
Offset
processing
D/A
conversion
Amplifier
Analog output
When the o ffset 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 t he offset calibration value are as follows.
Offset calibration value
Upper limit127+39.69 m V
Default value000
Lower limit-127-39.69 mV
(H8004 to H8007)
This parameter is used to select the output type.
This parameter also has a function to select either clear or hold the analog output signal in
case of the T2 operation stop (Halt or Error).
The available setting range is as follows.
Output type
0 to 5V0 to 20mA0160
0 to 10V-1161
1 to 5V4 to 20mA2162
±5V
±10V
-
-
Clear modeHold mode
Setting value
4
5
164
165
The default setting value (factory setting) is 0 (0 to 5V / 0 to 20mA).
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.
ModeConditionOutput typeAnalog output status
T2 is in normal operationAnyNormal output
1 to 5V / 4 to 20mA1V / 4mA
Other than above0V / 0mA
Any0V / 0mA
Holds the previous
output status
Any0V / 0mA
Clear mode
Hold mode
T2 is in Halt or Error mode
T2’s main power is offAny0V / 0mA
DA264’s external 24Vdc
power is off
T2 is in normal operationAnyNormal output
T2 is in Halt or Error modeAny
T2’s main power is offAny0V / 0mA
To write the parameters into the DA264’s buffer memory, use the WRITE instruct ion. No
special pr ocedure is requir ed.
To read the parameters from the DA264’s buffer memory, use the READ instruction.
A sample program to write/read the parameters is shown below.
This is an example to set the output type as ±10V range (type = 5) for each channel.
In this sample program, it is assumed that he DA264 is allocated to YW000 to YW003.
For details of READ and WRITE instructions, refer to the T-series Instruction Set manual.
(Main program)
(H8004)
(H8008)
Writes 5 (c) into
4 words starting
with address
H8004.
Reads 8 words
from addr ess
H8008 and after.
In this sample program, the rung 1 is activated at the beg inning 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.
The RUN LED is provided on t he 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.
PART 2 DA264
TroubleModule
status info
Output type
setting error
D/A
conversion
data limit over
External 24V
error
Bit 8 is ONON
Bit D is ONO NThe D/A conversion
Bit E i s ONOFFThe D/A conv er si on
LEDModule operationCauseRemedy
(if the error
occurs in all
channels, it
is OFF)
The D/A conversion
continues based on
the previous setting.
data of the channel
is limited by the limit
value.
is stopped. Output
signal is 0V/0 m A .
Invalid output type
parameter was set.
The written D/A
conversion data is
out of the range.
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 i s u s e d to measur e 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.
1.1 TC218 Functions
The TC218 has the following functions.
1) 7 channels input per module for thermocouple input
8 channels input per module for ±100mV input
2) Selectable input type
• Thermocouple type K (-200 to +1200 °C)
• Thermocouple type J (-200 to +800 °C)
• Thermocouple type E (-200 to +600 °C)
• ±100mV
3) 16-bit high-resolution A/D conversion
4) Built-in linearize function
5) Cold junction compensation function
6) Burnout detection function
7) Input data averaging function
8) Gain and offset calibration function (±100mV input only)
External power supply connection terminal
Line ground and Frame ground terminal
Terminal block fixing screw
2-points
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.
Cold junction compensation function (thermocouple input)
Burnout detection function (thermocouple input)
Input data averaging function
External 24Vdc power voltage drop detection
The TC218 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 TC218's parameters are stored in the EEPROM.
The TC218 supports multiple input types, type K, type J, type E, or ±100mV. The input type is
selected by jumper plug setting and the parameter writing by the T2 program.
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.
The general flow for setting the input type is as follows.
(1) Set the jumper plugs to select thermocouple input or mV input.
(2) Mount the TC218 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.
(7) Cycle power off/on
3.1 Jumper plug setting
8 jumper plugs are provided on the TC218 board.
The jumper plug setting is for selecting either thermocouple input or mV input.
The input type of the TC218 is specified by writing the following parameter data into the
TC218'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 TC218, it is saved in the TC218's built-in EEPROM.
Therefore, once the input type parameter is set, there is no need to execute the input type
setting operation.
T2 CPUTC218
Buffer memory
WRITE
User program
READ
EEPROM
Input type parameter data:
Parameter
data
0Type K thermocouple
1Type J thermocouple
2Type E thermocouple
5
Input type
±100mV
TC218 buffer memory address:
H8018Input type for channel 1
H8019Input type for channel 2
H801AInput type for channel 3
H801BInput type for channel 4
H801CInput type for channel 5
H801DInput type for channel 6
H801EInput type for channel 7
H801FInput type f or channel 8
Set the same parameter data for all 8 channels.
The fa ctory setting is
±100mV range.
For details of the procedure to set the input type parameter, refer to section 6.
The I/O type of the TC218 is "X 8W".
When the automatic I/O allocation operation is performed with a TC218 mounted on the rack,
the TC218 is allocated as "X 8W".
The TC218 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 TC218 is mounted in the slot 0 of base unit BU218.
DI32
PS261
PU234E
No slot
TC218
DO32
Vacant
Vacant
Vacant
Vacant
Vacant
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.
The analog signals received by the TC218 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.
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 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 2 input data.
(Thermocouple type K setting)
PART 3 TC218
By the above program, the ON/OFF status of the internal relays R0200 to R0203 are changed
as follows.
TemperatureXW001 data
More than 550 °C11000 < XW001
510 to 550 °C10200 < XW001 ≤ 11000
490 to 510 °C9800 ≤ XW001 ≤ 10200
450 to 490 °C9000 ≤ XW001 < 9800
Less than 450 °CXW001 < 9000
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.
6.1 Memory map
The contents of the TC218's buffer memory are as follo w s .
AddressContents
H8000Gain calibration value for channel 1
H8001Gain calibration value for channel 2
H8002Gain calibration value for channel 3
H8003Gain calibration value for channel 4
H8004Gain calibration value for channel 5
H8005Gain calibration value for channel 6
H8006Gain calibration value for channel 7
H8007Gain calibration value for channel 8
H8008Offset calibration value for channel 1
H8009Offset calibration value for channel 2
H800AOffset calibration value for channel 3
H800BOffset calibration value for channel 4
H800COffset calibration value for channel 5
H800DOffset calibration value for channel 6
H800EOffset calibration value for channel 7
H800FOffset calibration value for channel 8
H8010Averaging times for channel 1
H8011Averaging times for channel 2
H8012Averaging times for channel 3
H8013Averaging times for channel 4
H8014Averaging times for channel 5
H8015Averaging times for channel 6
H8016Averaging times for channel 7
H8017Averaging times for channel 8
H8018Input type setting for channel 1
H8019Input type setting for channel 2
H801AInput type setting for channel 3
H801BInput type setting for channel 4
H801CInput type setting for channel 5
H801DInput type setting for channel 6
H801EInput type setting for channel 7
H801FInput type setting for channel 8
H8020Command register
H8021Response register
H8022
:
H8027
F0
No use
Use WRITE instruction to write
data into these addresses.
Use READ instruction to read
data from this address.
H8029Analog input actual value for channel 2
H802AAnalog input actual value for channel 3
H802BAnalog input actual value for channel 4
H802CAnalog input actual value for channel 5
H802DAnalog input actual value for channel 6
H802EAnalog input actual value for channel 7
H802FAnalog input actual value for channel 8
H8030Module status for channel 1
H8031Module status for channel 2
H8032Module status for channel 3
H8033Module status for channel 4
H8034Module status for channel 5
H8035Module status for channel 6
H8036Module status for channel 7
H8037Module status for channel 8
Use READ instruction to read
data from these addresses.
(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.
This parameter is used to select the input type. This parameter also has a function to skip the
A/D conversion for unused channels. By using the channel skip function, the conversion cycle
time can be reduced.
The available setting range is as follows.
Input typeSet ting value
Type K thermocouple0
Type J thermocouple1
Type E thermocouple2
±100mV
5
The default setting value (factory setting) is 5 (±100mV).
(H8020)
This register is used to issue the following commands to the TC218. To issue the command,
write the command value by usin g WRITE instruction.
ValueCommandDescription
0-Write 0 after the command processing is completed.
When this command is issued, the parameters written into
1Parameter set
2Reset command
the buffer memory are saved in the TC218 ’s EEPROM, and
the parameters become effective.
Used to reset the TC218 when some error has occurred.
However if the error is caused by hardware or external
conditi on, the reset command may not be effective .
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 us ing READ instruction.
ValueResponseDescription
0-The requested command is not yet completed.
1Acknowledge
When the issued command is completed, the response
register comes 1.
The command register and the response register are used for hand-shaking. Refer to section
(H8028 to H802F)
These data show the original A/D conversion data before processing the gain and offset
calibration.
Module status:
(H8030 to H8037)
These data show the TC218’s operation status.
PART 3 TC218
Bit posit ion →
BitNameDescription
0 to 2Input typeShows the input type.
3 to 6-Reserved
7I nput type setting
8Burnout detection1 when thermocouple burnout is detected.
9Input limit1 when the A/D conversion data is limited because of the range
AMPU error1 when the TC218’s processor is not normal.
BROM status1 when the TC218’s EEPROM is not normal.
CDP-RAM status1 when the TC218’s DP-RAM (buffer memory) is not normal.
D-Reserved
EExternal 24V error1 when the external 24Vdc is not normal.
FInitializing1 during the TC218 is in initialization process.
FEDCBA9876543210
00000
000 (0) = Type K thermocouple
001 (1) = Type J thermocouple
010 (2) = Type E thermocouple
101 (5) = ±100mV
When you change the TC218 parameters, such as input type settings, gain/offset calibrations
and averaging times, use the following procedure.
Step (1)
Write the value "0" into the command register of the TC218 buffer memory (address H8020)
by WRITE instruction.
H8020Command register
← Write 0
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).
H8000Gain for channel 1
H8001Gain for channel 2
::
H801FInput type for channel 8
← Write the parameter data (32 words)
Step (3)
Write the value "1" into the command register (address H8020) by WRITE instruction.
H8020Command register
← Write 1
Step (4)
Wait until the data of the response register (address H8021) comes "1". Check the data by
READ instruction.
H8021Response register Check if it comes 1
Step (5)
Write the value "0" into the command register (address H8020) by WRITE instruction.
H8020Command register
← Write 0
When the above steps are finished and the module status (addresses H8030 to H8037) shows
no error, the parameter setting procedure is com p l eted. 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.
A sample program to set the parameters is shown below.
This is an example to set the input type as the type J thermocouple (type = 1) for each channel.
In this sample program, it is assumed that he TC218 is allocated to XW000 to XW007.
For details of READ and WRITE instructions, refer to the T-series Instruction Set manual.
(Main program)
(H8020)
(H8021)
(H8020)
(H8000)
Step (1):
Writes 0 into the
command
register (H8020).
Step (2):
Writes parameters.
• Gain = 32000
• Offset = 0
• Average = 1
• Type = 1 (type J)
Total 32 words
starting with
Step (3):
Writes 1 into the
command
register (H8020).
Step (4):
Waits until the
response
register (H8021)
comes 1.
(H8020)
Step (5):
Writes 0 into the
command
register (H8020)
to return to initial
state.
In this sample program, the rung 1 is activated at the beg inning 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.
The RUN LED is provided on t he 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 posit ion →
BitNameDescription
0 to 2Input typeShows the input type.
3 to 6-Reserved
7I nput type setting
8Burnout detection1 when thermocouple burnout is detected.
9Input limit1 when the A/D conversion data is limited because of the range
AMPU error1 when the TC218’s processor is not normal.
BROM status1 when the TC218’s EEPROM is not normal.
CDP-RAM status1 when the TC218’s DP-RAM (buffer memory) is not normal.
D-Reserved
EExternal 24V error1 when the external 24Vdc is not normal.
FInitializing1 during the TC218 is in initialization process.
FEDCBA9876543210
00000
000 (0) = Type K thermocouple
001 (1) = Type J thermocouple
010 (2) = Type E thermocouple
101 (5) = ±100mV
1 when the input type designation is invalid.
error
over.
A sample program to read the module status information is shown below.
(H8030)
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)