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:

RelayMaximum Neighbors
17
26
35
44
53
62
71
80

Here are a few examples that properly apply neighbors:

R= Relay
N = Neighbors
CK = Checksum (00-FF)

TX:23R5NCKDPDT SIMULATION FUNCTION WITH 1 NEIGHBOR:RX:23CK
AA04FE6C01011AActivate Relay 1 and 2 SimultaneouslyAA015500
AA04FE6E01011CActivate Relay 3 and 4 SimultaneouslyAA015500
AA04FE7001011EActivate Relay 5 and 6 SimultaneouslyAA015500
AA04FE72010120Activate Relay 7 and 8 SimultaneouslyAA015500
AA04FE64010112Deactivate Relay 1 and 2 SimultaneouslyAA015500
AA04FE66010114Deactivate Relay 3 and 4 SimultaneouslyAA015500
AA04FE68010116Deactivate Relay 5 and 6 SimultaneouslyAA015500
AA04FE6A010118Deactivate Relay 7 and 8 SimultaneouslyAA015500
TX:23R5NCK3PDT SIMULATION FUNCTION WITH 2 NEIGHBORS:RX:23CK
AA04FE6C01021BActivate Relay 1,2,3 SimultaneouslyAA015500
AA04FE6F01021EActivate Relay 4,5,6 SimultaneouslyAA015500
AA04FE64010213Deactivate Relay 1,2,3 SimultaneouslyAA015500
AA04FE67010216Deactivate Relay 4,5,6 SimultaneouslyAA015500
TX:23R5NCK4PDT SIMULATION FUNCTION WITH 3 NEIGHBORS:RX:23CK
AA04FE6C01031CActivate Relay 1,2,3,4 SimultaneouslyAA015500
AA04FE70010320Activate Relay 5,6,7,8 SimultaneouslyAA015500
AA04FE64010314Deactivate Relay 1,2,3,4 SimultaneouslyAA015500
AA04FE68010318Deactivate Relay 5,6,7,8 SimultaneouslyAA015500
TX:23R5NCK8PDT SIMULATION FUNCTION WITH 7 NEIGHBORS:RX:23CK
AA04FE6C010720Activate Relay 1-8 SimultaneouslyAA015500
AA04FE64010718Deactivate Relay 1-8 SimultaneouslyAA015500