3 Description of functions
• When performing data communication in ASCII code
Use device codes by converting them to ASCII code (2 or 4 digits), and send them in the order higher-order byte to
lower-order byte. Use codes in upper case characters for letters of the alphabet.
With subcommands 0003, 0002 and 0001, 0000, the number of digits converted to ASCII code will differ.
Subcommand
0003
0002
0001
0000
*1: Send input relay device codes in order from "X". Note that asterisks (*) from the second character onward may
also be specified with a space (code: 20H).
• When performing data communication in binary code
Use numerical values (1 or 2 bytes), and send data in the order lower-order byte to higher-order byte.
With subcommands 0003, 0002 and 0001, 0000, the data size of the numerical values will differ.
Subcommand
0003
0002
0001
0000
3-48
Number of digits
Conversion to 4 ASCII
code digits
Conversion to 2 ASCII
code digits
Number of digits
2 bytes
1 byte
If input (X) (4 digits)
*1
If input (X) (2 digits)
*1
If input (X) (2 bytes)
If input (X) (1 byte)
Example
Example