
17
CARLO GAVAZZI
CONTROLS
SERIAL COMMUNICATION PROTOCOL
WM4-96
V1 R3
Page
Example 13: “OFF Set-point” (alarm deactivation) read command
4-word read command request frame (8 byte):
01h
04h
01h
E8h
00h
04h
CRC
CRC
Read command answer frame (13 byte):
01h
04h
08h
00h
00h
32h
00h
00h
00h
00h
00h
CRC
CRC
Digital output 0: not used (digital output 0 is not set as alarm, see example 7)
Digital output 1: 5.0% (0032h = 50 decimal)
Digital output 2: not used
Digital output 3: not used
Example 14: “Alarm activation delay” read command
4-word read command request frame (8 byte):
01h
04h
01h
F0h
00h
04h
CRC
CRC
Read command answer frame (13 byte):
01h
04h
08h
00h
00h
04h
00h
00h
00h
00h
00h
CRC
CRC
Digital output 0: not used (digital output 0 is not set as alarm, see example 7)
Digital output 1: 4 seconds
Digital output 2: not used
Digital output 3: not used
Example 15: “Latch alarm” reset command
To reset a UP-LATCH or DOWN-LATCH alarm, the relevant alarm byte must be set to 1.
Reset command request frame (8 byte):
01h
06h
01h
C4h
00h
01h
CRC
CRC
Reset command answer frame (8 byte):
01h
06h
01h
C4h
00h
01h
CRC
CRC
To reset the alarm 1, the byte at address 01C5h must be set to 1. The byte at address 01C4h must
be set to 00h, since it is relevant to alarm 0.
2.11 WRITE COMMAND FOR REMOTE CONTROL OUTPUT
The remote control digital output memory area is described in Table 5 and consists in 4 bytes
starting from address 08D8h (Remote1=8D8h, Remote2=8D9h, and so on).
To switch ON the n
th
remote control output, the value 02h must be written in the “Remote n” byte,
while to switch OFF the n
th
remote control output, the value 01h must be written in the “Remote n”
byte. Note again that the write command always writes 1 word (2 bytes).
Request frame: R1 = ON and R2 = OFF (8 byte):
01h
06h
08h
D8h
02h
01h
CRC
CRC
Answer frame (8 byte):
01h
06h
08h
D8h
02h
01h
CRC
CRC
Comentarios a estos manuales