9.1 Read digital input N channel counter value
Command
Syntax
description
Response
EX: Send command:"#012".....Read the TRP-C28 channel 2 counter value.
Response:"!0100023".....The digital input have been trigger 23 times.
*Unless you save value to EEPROM by using the command "#IDCS". The counter's value will
reset to 0 if power fail or send command "$IDRS".
9.2 Clear digital input N channel counter value
Command
Syntax
description
Response
EX: Send command:"#01C2".....Clear DI2 counter value to 0.
Response:"!01".
*If counter's value already been reset to 0 you must use command "#IDCS" to save the new
value in EEPROM again , or the module will load old value if power fail or reset.
#IDN(CHK)(cr)
#
ID
N
CHK
(cr)
!IDCCCCC(CHK)(cr)
?ID(CHK) (cr)
#IDCN(CHK)(cr)
#
First leading code
ID
Address of setting module 00-FF(HEX)
C
Clear N channel counter value to 0
N
N=0-3
CHK
Checksum
(cr)
Carriage return
!ID(CHK)(cr)
Command valid
?ID (CHK)(cr)
Command Invalid
First leading code
Address of setting module 00-FF(HEX)
Digital input channel from channel 0-3
Checksum
Carriage return
Command valid CCCCC from 0 – 65535 (DEC)
Command Invalid
*Channel DI0-DI3 digital input
10
Need help?
Do you have a question about the TRP-C28 and is the answer not in the manual?
Questions and answers