01-31-2025, 12:25 AM
1.Turn one relay ON and OFF:
A.Turn ON one relay:
Send: RELAY-SET-255,x,1 (x is the channel of Relay)
Feedback: RELAY-SET-255,x,1,OK (Turn ON Relay x successed)
FeedBack: RELAY-SET-255,x,1,ERROR (Turn ON Relay x failed)
the protocol as same as tcp protocol.
you can send command by RS232, for example:
RELAY-SET-255,1,1 means turn on relay1
RELAY-SET-255,1,0 means turn off relay1
RELAY-SET-255,2,1 means turn on relay2
RELAY-SET-255,2,0 means turn off relay2
baud rate use 115200bps.
A.Turn ON one relay:
Send: RELAY-SET-255,x,1 (x is the channel of Relay)
Feedback: RELAY-SET-255,x,1,OK (Turn ON Relay x successed)
FeedBack: RELAY-SET-255,x,1,ERROR (Turn ON Relay x failed)
the protocol as same as tcp protocol.
you can send command by RS232, for example:
RELAY-SET-255,1,1 means turn on relay1
RELAY-SET-255,1,0 means turn off relay1
RELAY-SET-255,2,1 means turn on relay2
RELAY-SET-255,2,0 means turn off relay2
baud rate use 115200bps.