The following table shows a single command used with different parameters. The purpose of this command is to set the status of 8 relays simultaneously. The 5th byte of this command indicates the binary pattern for relay control. The 6th byte of this command applies this value to a single bank (Bank Value of 1-32) or all banks simultaneously (Bank Value of 0). Commands Below are in Hex Format using API Mode. TX = Bytes Sent to the Controller RX = Bytes Received from the Controller. Note Bytes Received May be Different for Some Commands.
P = Pattern in Binary (00-FF)B = Bank (00-20) (00 = All Banks)
CK = Checksum
TX: | 2 | 3 | 4 | P | B | CK | Function: | RX: | 2 | 3 | CK |
---|---|---|---|---|---|---|---|---|---|---|---|
AA | 04 | FE | 8C | 00 | 00 | 38 | Turn Off All Relays in All Relay Banks | AA | 01 | 55 | 00 |
AA | 04 | FE | 8C | 55 | 00 | 8D | Turn On All ODD Relays in All Relay Banks | AA | 01 | 55 | 00 |
AA | 04 | FE | 8C | AA | 00 | E2 | Turn On All EVEN Relays in All Relay Banks | AA | 01 | 55 | 00 |
AA | 04 | FE | 8C | FF | 00 | 37 | Turn On All Relays in All Relay Banks | AA | 01 | 55 | 00 |
AA | 04 | FE | 8C | 00 | 01 | 39 | Turn Off All Relays in Bank 1 | AA | 01 | 55 | 00 |
AA | 04 | FE | 8C | 55 | 01 | 8E | Turn On All ODD Relays in Bank 1 | AA | 01 | 55 | 00 |
AA | 04 | FE | 8C | AA | 01 | E3 | Turn On All EVEN Relays in Bank 1 | AA | 01 | 55 | 00 |
AA | 04 | FE | 8C | FF | 01 | 38 | Turn On All Relays in Bank 1 | AA | 01 | 55 | 00 |