7
RELAY COMMANDS
In paging mode (set by jumper B in top position)
The relays are by default powered ( relay is in NO position )
The relay switches off when bit is set( relay is in NC position )
In normal mode (set by jumper B in bottom position)
The relays are by default not powered ( relay is in NC position )
The relay switches on when a bit is set( relay is in NO position )
SRON
Switch on relay
Command:
SRON
Arguments:
000000rr
rr: 8 bit hex value, bit0 = relay 1 bit7 = relay 8
if bit = 1 then relay is active
Feedback:
+
+: Acknowledge
Example: Activate relay 1
#|S001|web|SRON|00000001|crc|<CR><LF>
ARU replies: #|web|S001|SRON|+|crc|<CR><LF> and #|ALL|S001|SZSET|0001|crc|<CR><LF>
SROFF
Switch off relay
Command:
SROFF
Arguments:
000000rr
rr: 8 bit hex value, bit0 = relay 1 bit7 = relay 8
if bit = 1 then relay is active
Feedback:
+
+: Acknowledge
Example: Deactivate relay 1
#|S001|web|SROFF|00000001|crc|<CR><LF>
ARU replies: #|web|S001|SROFF|+|crc|<CR><LF> and #|ALL|S001|SZSET|0000|crc|<CR><LF>
SRBUT
Activate 1 relay, rest is deactivated
Command:
SRBUT
Arguments:
000000rr
rr: 8 bit hex value, bit0 = relay 1 bit7 = relay 8
if bit = 1 then relay is active
Feedback:
+
+: Acknowledge
Example: activate relay 3
#|S001|web|SRBUT|00000004|crc|<CR><LF>
ARU replies: #|web|S001|SRBUT|+|crc|<CR><LF> and #|ALL|S001|SZSET|0004|crc|<CR><LF>