User manual

32
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 Command frame Response
0 NO OPERATION 0 - Adr. - x - XOR 255 - Adr. - x - XOR
no action (NOP)
1 SETUP 1 - Adr. - x - XOR 254 - Adr. - Info - XOR
Initialization
2 GET PORT 2 - Adr. - x - XOR 253 - Adr. - Data - XOR
Query switching statuses
3 SET PORT 3 - Adr. - Data - XOR 252 - Adr. - x - XOR
Switch relay
4 GET OPTION 4 - Adr. - x - XOR 251 - Adr. - Opt. - XOR
Query options
5 SET OPTION 5 - Adr. - Opt. - XOR 250 - Adr. - x - XOR
Set options
6 SET SINGLE 6 - Adr. - Data - XOR 249 - Adr. - Data - XOR
Switch on relay without changing the other outputs
7 DEL SINGLE 7 - Adr. - Data - XOR 248 - Adr. - Data - XOR
Switch off relay without changing the other outputs
8 TOGGLE 8 - Adr. - Data - XOR 247 - Adr. - Data - XOR
Changing the switching status without changing the remaining outputs