221
Parity code
RTU mode: double byte hexadecimal number.
The CRC domain is two bytes, containing 16-bit binary values. It is added to the message after calculation by
the sender. The high byte of CRC is the last byte of the sending message. The receiving device recalculates the
CRC of the received message and compares it with the value in the received CRC domain. If the two values are
different, the received message has an error, discards the message frame, and does not respond to it. The next
frame data will be received.
Appendix B-3-3. Communication protocol parameter address
(1) The communication address of the function code parameter is shown in the table below. The high
position is the group number and the low position is the parameter serial number.
Power off no memory address
When reading function code data through the communication
For group P and group A function code data, the upper 16 bits of the communication address are the group
number, and the lower 16 bits are the serial number of the function code in the function group.
For example, P0-16, communication address is 0x0010, 00 represents the function parameter of group P0, and
10 represents the hexadecimal data format of 16.
A0-15, communication address is 0xA00F, A0 represents A0 group function parameter, 0F represents
hexadecimal data format of 15.
When writing function code data through the communication
For group P function code data, the upper 16 bits of its communication address are divided into 0x0000 ~
0x0FFF or 0x3000 ~ 0x3FFF according to whether it is written into EPPROM. The lower 16 bits are directly
the serial number of the function code in the function group, for example:
Write function parameters P0-16:
When it is not necessary to be written in EPPROM, its communication address is 0x3010;
When it is necessary to be written in EPPROM, its communication address is 0x0010.
For group A function code, its communication address high 16 bits can be divided into 0xA000 ~ 0x0FFF or
0x4000 ~ 0x4FFF according to whether it is written into EPPROM. The lower 16 bits are the serial number of
the function code in the function group,
for example:
Write function parameter A0-15:
When it is not necessary to be written in EPPROM, its communication address is 0x400F;
When it is necessary to be written in EPPROM, its communication address is 0xA00F.