74
8 DEVICE ACCESS
8.1 Data to be Specified in Commands
Read data, write data
The read device value is stored for reading, and the data to be written is stored for writing.
The data order differs between bit units or word units.
For bit units
The following shows the data to be read and written in bit units.
■Data communication in ASCII code
The ON/OFF status of each device are represented with single-digit ASCII code.
• For ON: '1' (31H)
• For OFF: '0' (30H)
■Data communication in binary code
Represent the ON/OFF status of each device in 4-bit per 1 point.
• For ON: '1'
• For OFF: '0'
When the number of points is odd number, the lowest 4 bits are set to '0'.
When indicating ON/OFF status of five points from M10
*1 For C24, the additional code may be added. (Page 35 Additional code (10H))
M10 M11 M12 M13 M14
ON OFF ON OFF ON
ASCII code Binary code (For C24)
*1
Binary code (For E71)
10
H
10
H
10
H
10
H
10
H
10
H
DLE DLE
DLE
10H 10H 10H