Modbus Reference · Sungrow

Sungrow Modbus TCP registers

Register reference for reading Sungrow SG-series string inverters and SH-series hybrids over local Modbus TCP, including battery and grid meter registers.

Connection parameters: Modbus TCP on port 502, function code FC04 (Read Input Registers) for inverter production; the grid-meter reader uses FC03. The default unit ID is 1.

Production registers (SG series)

FunctionRegister(s)Raw formatScalingMetricApp output
FC045030–5031U32 LE× 1 WInstantaneous inverter powerWatts
FC045003–5004U32 LE× 0.1 kWhLifetime energy productionWh (raw × 100)
FC045019U16× 0.1 VOutput voltage, phase AVolts

Sungrow production registers are little-endian (low word first), unlike most other brands on this site. Battery and inverter metrics are read in separate blocks because the registers are not contiguous.

Battery registers (SH series)

Register(s)Raw formatScalingMetricSign handling
13017U16× 0.1 VBattery voltageNegative values not possible
13019U16 read as S16× 1 WBattery powerPositive discharge value is negated
13022U16× 0.1%State of chargeClamped to 0–100%

Efficient read: the contiguous range 13017–13022.

Grid meter registers

Register(s)Raw formatScalingMetricSign convention
13007–13008I32× 1 WInstantaneous grid powerSungrow positive = import; value is negated for positive-export convention
13035–13036U32 BE× 0.1 kWhCumulative imported energyWh (raw × 100)
13037–13038U32 BE× 0.1 kWhCumulative exported energyWh (raw × 100)

The grid-meter reader uses FC03 even though the inverter production reader uses FC04.

Sign conventions used throughout: grid power is normalized so positive = exporting and negative = importing. Battery power is normalized so charging and discharging follow the app's convention noted per table.

The most reliable connection is the SH hybrid's built-in LAN port; the WiNet-S dongle varies by firmware. Full setup walkthrough: Sungrow setup guide.

Want this data on your phone, without a server?

These are the registers SolarMark reads. The app polls your inverter directly over your local network: live power, energy history, battery State of Charge, and grid import/export, with no cloud account and no Home Assistant server to maintain. One-time purchase with a free 14-day trial. Get it on Google Play or the App Store.