Byte order and data types
The inverter transmits all values in big-endian order: the most significant byte arrives first. The three native types are:- UINT16 / INT16 — occupies 1 register (2 bytes). Read with a single register read.
- UINT32 / INT32 — occupies 2 consecutive registers (4 bytes). Always read both registers in a single request so the pair is consistent.
Gain (scaling factor)
Most register values are transmitted as plain integers. To recover the real physical value, divide the raw integer by the register’s gain. For example, a raw value of2315 in a voltage register with gain 10 means 231.5 V.
Gain quick reference
| Parameter | Typical gain | Raw example | Real value |
|---|---|---|---|
| Voltage (V) | 10 | 2315 | 231.5 V |
| Current (A) | 10, 100, or 1000 | 450 | 4.5 A (gain 100) |
| Power (W) | 1 | 15400 | 15400 W |
| Energy (kWh) | 100 | 1245 | 12.45 kWh |
| Frequency (Hz) | 100 | 5002 | 50.02 Hz |
Function codes
SUN2000 inverters support both standard Modbus function codes and a proprietary extension for file transfer:| Function code | Purpose |
|---|---|
| FC 03 — Read Holding Registers | Read most real-time and configuration registers |
| FC 04 — Read Input Registers | Read input registers (some series) |
| FC 0x41 — User Defined Function | Proprietary file-transfer protocol for log retrieval (AD.bin, LD.bin, PD.bin, CD.bin) |
The register map differs significantly across SUN2000 series: L0, L1, M0, M1, M2, M3, MA, and MB0 each have their own Modbus Interface Definitions document. The addresses on these pages match the SUN2000MA and SUN2000-M1/M3 documents (Issue 08, 2024-11-07). Always verify every register address against the Modbus Interface Definitions for your specific model and firmware before writing production code.
Explore the reference
Register map
Full V2/V3 register reference for DC, AC, energy, temperature, and inverter state.
ESS registers
LUNA2000 battery registers for V3 inverters: SOC, charge/discharge power, and more.
Connection methods
RS-485 RTU, SDongle TCP, inverter Wi-Fi AP, SmartLogger, and the FC 0x41 file protocol.