235
bytes of the message have been applied,the nal contents of the register, which
should exchange the high-byte and the low-byte, is the CRC value. When the
CRC is appended to the message, the low-order byte is appended rst, followed
by the high-order byte.
6.2 Communication Format
Explanation of frame
Table 6-3 Explanation of frame
Addr Fun
Data start
reg HI
Data start
reg LO
Data #of
regs HI
Data #of
regs LO
CRC 16
HI
CRC 16
LO
06H 03H 00H 00H 00H 21H 84H 65H
The meaning of each abbreviated word is:
Addr: Address of slave device
Fun: Function code
Data start reg HI: Start register address high byte
Data start reg LO: Start register address low byte
Data #of reg HI: Number of register high byte
Data #of reg LO: Number of register low byte
CRC16 HI: CRC high byte
CRC16 LO: CRC low byte
1. Reading Relay Status
Function Code 01
This function code is used to read the status of the relay in the meter.
1=On 0=O
Relay1’s address is 0000H, Relay2’s address is 0001H, and so on.
The following query is to read the relay status for the meter with communication
address 17.