~inc:header.inc~ ~inc:header1.inc~
Input1 -> ~Rel1~
Input2 -> ~Rel2~
Input3 -> ~Rel3~
Input4 -> ~Rel4~
Input5 -> ~Rel5~
Input6 -> ~Rel6~
Input7 -> ~Rel7~
Input8 -> ~Rel8~

write 0 if the input is not related to a relay
write 1 if the input 1 is related to relay 1
write 2 if the input 2 is related to relay 2
write 3 if the input 3 is related to relay 3
write 4 if the input 4 is related to relay 4
write 5 if the input 5 is related to relay 5
write 6 if the input 6 is related to relay 6
write 7 if the input 7 is related to relay 7
write 8 if the input 8 is related to relay 8

write 13 if the input 1 => relay 1 ON
write 14 if the input 2 => relay 2 ON
write 15 if the input 3 => relay 3 ON
write 16 if the input 4 => relay 4 ON
write 17 if the input 5 => relay 5 ON
write 18 if the input 6 => relay 6 ON
write 19 if the input 7 => relay 7 ON
write 20 if the input 8 => relay 8 ON

write 90 if the input turn ON ALL relays

write 113 if the input 1 => relay 1 OFF
write 114 if the input 2 => relay 2 OFF
write 115 if the input 3 => relay 3 OFF
write 116 if the input 4 => relay 4 OFF
write 117 if the input 5 => relay 5 OFF
write 118 if the input 6 => relay 6 OFF
write 119 if the input 7 => relay 7 OFF
write 120 if the input 8 => relay 8 OFF

write 190 if the input turn OFF ALL relays

write 201 for relay 1 with delay
write 202 for relay 2 with delay
write 203 for relay 3 with delay
write 204 for relay 4 with delay
write 205 for relay 5 with delay
write 206 for relay 6 with delay
write 207 for relay 7 with delay
write 208 for relay 8 with delay
~inc:footer.inc~