10-18. Read digital input counter value
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~08
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-19. 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~08
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.
CH0=28,CH1=5A,CH2=53,CH3=55.
10-20.Clear/save DI counter value and set up DO output
47
Содержание TRP-C29U
Страница 3: ...1 4 Block Diagram...
Страница 5: ...2 2 Wire Connection 3 USB to serial Driver Install...
Страница 50: ...If you don t know the module s ID may select Scan to find the module s setting 50 Figure 2...
Страница 52: ...12 Application 52...