
39
CARLO GAVAZZI
CONTROLS
SERIAL COMMUNICATION PROTOCOL
WM4-96
V1 R3
Page
Example 22: value of the “12
th
MAXIMUM” read command in case of “power type” variable
The structure of the value of the power stored in EEPROM is the following:
Word 1 Word 2
2116h 2117h
MSB
… LSB
d.p.
1-word read request command (8 byte):
01h
04h
21h
16h
00h
01h
CRC
CRC
read answer frame (7 byte):
01h
04h
02h
19h
E8h
CRC
CRC
Value d.p.
1h 9h Eh 8h
Address of 12
th
MAX value: 2116h
Stored value: 19E8h è value = 19Eh = 414 (decimal);
decimal point position code = 8h = 111.1 k
Considering that, for example, the variable code is 12 (W L1):
W L1 value: 4.14 kW
Example 23: “12
th
MAXIMUM” reset command
1-word write request command (8 byte):
01h
06h
21h
16h
00h
00h
CRC
CRC
Write answer command (8 byte):
01h
06h
21h
16h
00h
00h
CRC
CRC
Comentarios a estos manuales