
Command
ID 01 00 SS 00 04 (CRC)
Syntax
Description
ID
Address of setting module 1~247
01
Function Code
00
Start channel number
SS
SS=00 Read DO status
SS=40 Read latch low
SS=60 Read latch high
SS=20 Read DI status
00 04
Output channel number
Response
ID 01 BC DD (CRC)
ID 01 :Command Line
BC: Byte counter
DD: DIO Status
ID 81 ER (CRC)
ID 81 :Function Code ER=00 Syntax error
ER=01 Data Format error
ER=02 Start channel error
ER=03 I/O out of range
Example:
Send command :”
01 01 00 00 00 04 ”…..Read DO status.
Response:” 01 01 01 0E ”….. Relay 1~3 =on,RL4=off.
Send command :”
01 01 00 20 00 04 ”…..Read DI status.
Response:” 01 01 01 05 ”….. Digital input status is 05.
10-18.Read digital input/output status
33