I/O Allocation and Program
FP0 A/D Converter Unit
6 − 5
6.2 Program of A/D Converter Unit
6.2 Program of A/D Converter Unit
Ladder program example for loading data from each channel
Indicates the program that stores in data registers DT0 to DT7 the from ch0 to ch7 A/D
conversion data that is assigned to the first expansion.
Conversion data is read.
Higher word data: The higher 2 digits are masked.
When the value is positive, masking is carried out with ”00”.
When the value is negative, masking is carried out with ”11”.
Lower word data: It is read as is.
Note
If the expansion positions have changed, refer to page 6 − 3 “6.1 I/O
Number of A/D Converter Unit” and change X3D, X3E, X3F, WX2 and
WX3.