Toshiba AD268 User Manual page 76

Programmable controller prosec t2-series analog i/o modules
Table of Contents

Advertisement

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 TC218 is allocated to XW000 to XW007, the A/D conversion data of
each channel is stored as follows.
XW000 :
XW001 :
XW002 :
XW003 :
XW004 :
XW005 :
XW006 :
XW007 :
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.
Temperature
More than 550 C
510 to 550 C
490 to 510 C
450 to 490 C
Less than 450 C
74
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
Channel 1 A/D conversion data
Channel 2 A/D conversion data
Channel 3 A/D conversion data
Channel 4 A/D conversion data
Channel 5 A/D conversion data
Channel 6 A/D conversion data
Channel 7 A/D conversion data
Channel 8 A/D conversion data
XW001 data
11000
XW001
10200
XW001
9800
XW001
9000
XW001
XW001
9000
Status of the internal relays
R0200
ON
11000
OFF
10200
OFF
OFF
9800
OFF
R0201
R0202
R0203
ON
OFF
ON
OFF
OFF
OFF
OFF
ON
OFF
ON
PART 3 TC218
OFF
OFF
OFF
OFF
ON

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tc218Da264

Table of Contents