5 COMMUNICATION PROTOCOLS
For managing the Giove AC5 combined with Vivaldi iC, or other home automation systems,
simply send the following command strings.
5.1 STANDARD PROTOCOL AC5
5.1.1 Port Settings
BAUD RATE
19200
DATA BITS
8
PARITY
NONE
STOP BITS
1
5.1.2 ASCII String Description
Byte 0
Byte 1
Byte 2
Byte 3
Byte 4
Byte 5
Byte 6
Byte 7
Byte 8
Z
0-4
0-1
0-1
0-1
0-1
0-1
0
<CR>
Byte 0.
‘Z’ START BYTE;
Byte 1.
From ‘0’ to ‘4’, is the ID number of the AC5 module;
Byte 2.
Relay 1: 0 = Off
1 = On
Byte 3.
Relay 2: 0 = Off
1 = On
Byte 4.
Relay 3: 0 = Off
1 = On
Byte 5.
Relay 4: 0 = Off
1 = On
Byte 6.
Relay 5: 0 = Off
1 = On
Byte 7.
Byte not used
Byte 8.
<CR> String end (equivalent to 13 in decimal or 0x0D in hexadecimal)
5.1.3 Command Example ASCII String
Having 2 Giove AC5 connected , the string for turn On the RELAY 3 on device with ID 2 will be:
“Z1xx1xxx<CR>”
Not to change the status of the relays not interested you can place a neutral character like ‘x’.
In addition there are 3 types of BROADCAST command:
1. Power ON all contacts: “
ZÿYYYYYY<CR>
”
2. Power Off all contacts: “
ZÿXXXXXX<CR>
”
3. Custom Broadcast: “
Zÿ100100”<CR>
”(Example)
5.1.4 Response Example ASCII String
Having 2 Giove AC5 connected, the response string after sending the previous command will be:
“Z1001000”<CR>
15
GIOVE AC5