
Command
ID 03 00 SS 00 NN (CRC)
Syntax
Description
ID
Address of setting module 1~247
03
Function Code
00 SS
Start channel number SS=00
00 NN
Channel number NN=01~04
Response
ID 03 BC DATA (CRC)
ID 03 ……Module command Line
BC: Byte Counter ,Each channel 2byte
DATA :Channel counter value
ID 83 ER (CRC)
ID 83 :Error Code
ER=00 Syntax error
ER=01 Data Format error
ER=02 Start channel error
ER=03 I/O out of range
10-20. Read digital input counter value
Command
ID 04 00 SS 00 NN (CRC)
Syntax
Description
ID
Address of setting module 1~247
04
Function Code
00 SS
Start channel number SS=00
00 NN
Channel number NN=01~04
Response
ID 04 BC DATA (CRC)
ID 04 ……Module command Line
BC: Byte Counter ,Each channel 2byte
DATA :Channel counter value
ID 84 ER (CRC)
ID 84 :Error 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 04 00 00 00 04”…..Read channel 0~3 counter value.
Response:” 01 04 08
00 28
00 5A
00 53
00 55” Command valid.
10-21.Clear/save DI counter value and set up DO output
35