The following relay grouping commands can be used to activate relays in groups, simulating DPDT, 3PDT, 4DPDT, and up to 8PDT relays using low-cost SPDT relays. Note the Neighbor Parameter (N) has a maximum allowed value of 7. Also note the (N) value cannot extend into the next bank. For instance, Relay 1 has up to 7 neighbors, but Relay 8 has no neighbors because Relay number 9 is located in the next relay bank (Bank 2). Here is a table of Neighbors allowed for each relay:
Relay | Maximum Neighbors |
1 | 7 |
2 | 6 |
3 | 5 |
4 | 4 |
5 | 3 |
6 | 2 |
7 | 1 |
8 | 0 |
Here are a few examples that properly apply neighbors:
R= Relay
N = Neighbors
CK = Checksum (00-FF)
TX: | 2 | 3 | R | 5 | N | CK | DPDT SIMULATION FUNCTION WITH 1 NEIGHBOR: | RX: | 2 | 3 | CK |
AA | 04 | FE | 6C | 01 | 01 | 1A | Activate Relay 1 and 2 Simultaneously | AA | 01 | 55 | 00 |
AA | 04 | FE | 6E | 01 | 01 | 1C | Activate Relay 3 and 4 Simultaneously | AA | 01 | 55 | 00 |
AA | 04 | FE | 70 | 01 | 01 | 1E | Activate Relay 5 and 6 Simultaneously | AA | 01 | 55 | 00 |
AA | 04 | FE | 72 | 01 | 01 | 20 | Activate Relay 7 and 8 Simultaneously | AA | 01 | 55 | 00 |
AA | 04 | FE | 64 | 01 | 01 | 12 | Deactivate Relay 1 and 2 Simultaneously | AA | 01 | 55 | 00 |
AA | 04 | FE | 66 | 01 | 01 | 14 | Deactivate Relay 3 and 4 Simultaneously | AA | 01 | 55 | 00 |
AA | 04 | FE | 68 | 01 | 01 | 16 | Deactivate Relay 5 and 6 Simultaneously | AA | 01 | 55 | 00 |
AA | 04 | FE | 6A | 01 | 01 | 18 | Deactivate Relay 7 and 8 Simultaneously | AA | 01 | 55 | 00 |
TX: | 2 | 3 | R | 5 | N | CK | 3PDT SIMULATION FUNCTION WITH 2 NEIGHBORS: | RX: | 2 | 3 | CK |
AA | 04 | FE | 6C | 01 | 02 | 1B | Activate Relay 1,2,3 Simultaneously | AA | 01 | 55 | 00 |
AA | 04 | FE | 6F | 01 | 02 | 1E | Activate Relay 4,5,6 Simultaneously | AA | 01 | 55 | 00 |
AA | 04 | FE | 64 | 01 | 02 | 13 | Deactivate Relay 1,2,3 Simultaneously | AA | 01 | 55 | 00 |
AA | 04 | FE | 67 | 01 | 02 | 16 | Deactivate Relay 4,5,6 Simultaneously | AA | 01 | 55 | 00 |
TX: | 2 | 3 | R | 5 | N | CK | 4PDT SIMULATION FUNCTION WITH 3 NEIGHBORS: | RX: | 2 | 3 | CK |
AA | 04 | FE | 6C | 01 | 03 | 1C | Activate Relay 1,2,3,4 Simultaneously | AA | 01 | 55 | 00 |
AA | 04 | FE | 70 | 01 | 03 | 20 | Activate Relay 5,6,7,8 Simultaneously | AA | 01 | 55 | 00 |
AA | 04 | FE | 64 | 01 | 03 | 14 | Deactivate Relay 1,2,3,4 Simultaneously | AA | 01 | 55 | 00 |
AA | 04 | FE | 68 | 01 | 03 | 18 | Deactivate Relay 5,6,7,8 Simultaneously | AA | 01 | 55 | 00 |
TX: | 2 | 3 | R | 5 | N | CK | 8PDT SIMULATION FUNCTION WITH 7 NEIGHBORS: | RX: | 2 | 3 | CK |
AA | 04 | FE | 6C | 01 | 07 | 20 | Activate Relay 1-8 Simultaneously | AA | 01 | 55 | 00 |
AA | 04 | FE | 64 | 01 | 07 | 18 | Deactivate Relay 1-8 Simultaneously | AA | 01 | 55 | 00 |