Manual for configuring and debugging MODBUS RTU communication on Nanfang Anhua inverters, covering message formats, function codes, CRC-16 checksums, and…
This manual explains how to configure and debug MODBUS RTU communication for Nanfang Anhua inverters. It details message structure, function codes (03H, 08H, 10H, 80H), CRC-16 checksum calculation, and examples for reading/writing registers. It also covers broadcast commands, slave operation, and error handling.
The inverter can act as a slave (addresses 1–31) or master (address 32), with specific register addresses for control and monitoring data. Error codes (01H–03H) are defined for communication failures, and troubleshooting steps are provided for no-response scenarios. This manual is written in Chinese.
| Communication Protocol | MODBUS RTU |
|---|---|
| Slave Address Range | 0–31 (0x00–0x1F) |
| Function Codes | 03H (Read), 08H (Loopback), 10H (Write), 80H (Error) |
| Checksum Method | CRC-16 |
The inverter uses MODBUS RTU for serial communication.
Up to 31 slave devices can communicate with one master.
Start with FFFFH, XOR with slave address, shift right until overflow bit is 1, XOR with A001H, repeat for each byte, then XOR with next byte and shift 8 times.
Error code 02H indicates data overflow.