Broadcasting
A command frame with the address value 0 is regarded as a broadcast and executed by each
relay board (exception see below). After execution, the board controller initially sends the
corresponding response. Afterwards it generates the broadcast command for the following
board.
Commands
For each executed command, the relay board controller sends an answer frame:
inverted command ID - own address - data - new checksum
The following commands are defined (x stands for "no significance" each time):
CMD
Meaning
0
NO OPERATION
no action (NOP)
1
SETUP
Initialization
2
GET PORT
Query switching statuses
3
SET PORT
Switch relay
4
GET OPTION
Query options
5
SET OPTION
Set options
6
SET SINGLE
Switch on relay without changing the other outputs
7
DEL SINGLE
Switch off relay without changing the other outputs
8
TOGGLE
Changing the switching status without changing the remaining outputs
32
Command frame
0 - Adr. - x - XOR
1 - Adr. - x - XOR
2 - Adr. - x - XOR
3 - Adr. - Data - XOR
4 - Adr. - x - XOR
5 - Adr. - Opt. - XOR
6 - Adr. - Data - XOR
7 - Adr. - Data - XOR
8 - Adr. - Data - XOR
Response
255 - Adr. - x - XOR
254 - Adr. - Info - XOR
253 - Adr. - Data - XOR
252 - Adr. - x - XOR
251 - Adr. - Opt. - XOR
250 - Adr. - x - XOR
249 - Adr. - Data - XOR
248 - Adr. - Data - XOR
247 - Adr. - Data - XOR