8 DEVICE ACCESS
8.1 Data to be Specified in Commands
87
8
Mask value, monitor conditions when word device value is specified
Specify the value of word device to be set as a monitor condition.
Arbitrary bit range of word devices can only be specified by specifying mask value.
(Logical AND by each bit of the specified word device data and the designated mask value is compared with the monitor
condition value.)
■Data communication in ASCII code
Convert the numerical value to 4-digit ASCII code (hexadecimal), and send it from the upper digits.
■Data communication in binary code
Send the 2-byte numerical value
*1
in order from the lower byte (L: bit 0 to 7).
*1 For C24, the additional code may be added. (Page 35 Additional code (10H))
Specifying when bit 0 to 14 of D0 reaches 1000 (3E8H) as a condition
• Mask value: 7FFFH
• Monitor condition value: 03E8H
Monitor conditions when bit device value is specified
Specify a bit device status change as the monitor condition from either rising (OFF ON) or falling (ON OFF).
ASCII code Binary code
ASCII code Binary code
Condition ASCII code Binary code
Rising (OFFON)
Falling (ONOFF)
FF
H
7F
H
E8
H
03
H
02
H
04
H