results in an error response as follows:
01 84 02 C2 C1
01 Device address
84 Function code with most significant bit set indicates
error response
02 Exception code 2 = invalid data address
C2 C1 CRC
Request the state all three alarms:
01 02 00 00 00 03 38 0B
01 Device address
02 Function code 2 = read discrete inputs
00 00 Starting address
00 03 Number of inputs = 3
38 0B CRC
and the unit responds with:
01 02 01 02 20 49
01 Device address
02 Function code
01 Number of data bytes = 1
02 Alarm #2 on, alarms #1 and #3 off
20 49 CRC
To reset the totalizer:
01 05 00 00 FF 00 8C 3A
01 Device address
05 Function code 5 = write single coil
00 09 Coil address = 9
FF 00 Data to reset totalizer
8C 3A CRC (not the correct CRC EJS-02-06-07)
The unit responds with an identical message to that transmitted, and the totalizer is reset. If
the"coil" is turned off as in the following message, the response is also identical to the transmitted
message, but the totalizer is not affected.
01 05 00 00 00 00 CD CA
01 Device address
05 Function code 5 = write single coil
00 00 Coil address = 0
00 00 Data to"turn off coil" does not reset totalizer
CD CA CRC
98
IM-P339-06 MI Issue 2