Every device. One tool. Pay once. Modbus · BACnet · Siemens S7 · one-time licence · also from us: BACManager ↗

Fronius GEN24 Modbus TCP: SunSpec Float, Register Minus One, Smart Meter on Unit 200

Fronius Primo GEN24 and Symo GEN24 inverters (and the GEN24 Plus with a battery) speak SunSpec over Modbus TCP, and Fronius publishes the register maps as Excel files next to its “Fronius GEN24 – Modbus TCP and RTU” operating instructions. Three things trip people up: every register number in those maps is one higher than the address you send, the Smart Meter sits behind the inverter on unit 200, and the PV inputs and the battery stay integer-with-scale-factor even when the inverter is set to “float”. This guide covers the settings, the registers for power, energy, PV strings, battery and grid meter, and a worked frame.

ModbusManager Pro dashboard for a Fronius Symo GEN24 Plus with a battery and a Smart Meter: energy flow with PV 7.2 kW, battery charging 2.5 kW at 63.4 % state of charge, 2.7 kW fed into the grid and a house load of 1.85 kW, inverter AC power 4559 W, meter -2709 W, inverter state MPPT, battery Charging, MPPT 1 612.4 V, MPPT 2 547.8 V, minimum reserve 10 %, 50.01 Hz, cabinet 41.3 °C, lifetime 18452 kWh, and a trend of PV, battery, grid and house power
The free workspace below on a simulated Symo GEN24 10.0 Plus — SunSpec float, inverter on unit 1, Smart Meter on unit 200, every address one less than Fronius' register number.

Connection Settings

On the inverter's web interface open Communication › Modbus and switch on the TCP server. The settings, as the operating instructions list them:

SettingValue
TransportModbus TCP, Ethernet or Wi-Fi of the inverter (RTU server on M0 / M1 also possible)
Modbus port502 or 1502
Inverter unit ID1 — “always 0x01” over TCP
Meter address offset200 (factory) — Smart Meter 1 = unit 200, meter 2 = 201 … meter 5 = 204
SunSpec Model Typefloat (inverter 111 / 112 / 113, meter 211 / 212 / 213) or int + SF (101 / 102 / 103, 201 / 202 / 203)
Allow Controloff for monitoring; needed for power limits, cos φ and battery control
Timingrequests one after another (at most 2 in parallel), timeout at least 1 s

Fronius calls float “the default set inverter model”, and this page uses it. The two model types have different register numbers for almost everything, so pick one, check it on the inverter, and use the matching map.

Restrict Control limits writes to one client IP address. Reading works without it. If a second program (an energy manager, a wallbox, Home Assistant) already polls the inverter, keep your requests sequential and not faster than you need — Fronius warns that requests in millisecond intervals lead to long response times.

The Three Rules

1. Send the register number minus one

Fronius tables count registers from 1. The manual is explicit: “To read register 40001, use address 40000 (0x9C40).” Its own example reads the manufacturer string from register 40005 with address 0x9C44 = 40004: 01 03 9C 44 00 04 2A 4C, answer “Fronius”. So AC power, register 40092 in the float map, goes on the wire as 40091. Every address on this page and in the workspace is the wire address; the tables give both.

2. The meter is unit 200, the inverter unit 1

The Smart Meter is wired to the inverter's Modbus RTU port; over TCP you reach it through the inverter's IP address with unit ID 200. The meter has its own complete SunSpec map from 40001 — same “SunS”, its own common model, meter model 213. Asking unit 1 for meter data gives you the inverter's registers at the same numbers; asking a unit with no meter behind it gives exception 11 (gateway target device failed to respond).

3. Float is not float everywhere

With float set, the inverter model 113 and the meter model 213 are 32-bit IEEE floats, high word first, no scale factor. But the MPPT model 160 (PV inputs and battery power) and the storage model 124 (state of charge) are integer + scale factor in both modes. Fronius auto-scales them: “Scale factors (also possible when selecting ‘Float’!) are not static”. Read the value and its scale factor in the same poll, every time.

Find the Models: the SunSpec Chain

Fronius warns that register addresses “do not remain constant”: the MPPT model has one block per DC input plus two for a battery, and every model after it moves. Read 40000 (two registers, “SunS”), then walk: model ID at the next address, length L after it, next model at ID + L + 2, until ID 0xFFFF. With two MPPT and a battery, float, the chain is:

Register (Fronius)Address (wire)ModelLength
4000140000“SunS” 0x5375 0x6E532
40003400021 Common (Mn, Md, Vr, SN)65
4007040069113 Inverter, three-phase, float (111 on single-phase)60
4013240131120 Nameplate (DERTyp 82 = PV + storage, WRtg)26
4016040159121 Basic settings30
4019240191122 Extended status44
4023840237123 Immediate controls24
4026440263160 Multiple MPPT (4 modules: MPPT 1, MPPT 2, battery charge, battery discharge)88
4035440353124 Basic storage control24
4038040379End block 0xFFFF0

The manual gives the end block of a float inverter as 40313 — that is the layout without a battery. With storage the end moves to 40380, so trust the chain, not one fixed number.

Inverter Registers (Unit 1, Model 113 Float)

RegisterAddressValueTypeUnit
4007240071Total AC current (phases A / B / C at 40074 / 76 / 78)float32A
40080 / 82 / 8440079 / 81 / 83Line voltage AB / BC / CAfloat32V
40086 / 88 / 9040085 / 87 / 89Phase voltage AN / BN / CNfloat32V
4009240091AC power (W)float32W
4009440093Frequencyfloat32Hz
40096 / 98 / 10040095 / 97 / 99Apparent power / reactive power / power factorfloat32VA / var / —
4010240101Lifetime AC energy (WH)float32Wh
40104 / 4010640103 / 40105DC current / voltage — not supported with several DC inputs (NaN), see model 160float32A / V
4010840107DC power, both PV inputs togetherfloat32W
4011040109Cabinet temperature (heat sink, transformer, other: not supported)float32°C
4011840117Operating state St (table below)enum16—
40120–4012740119–40126Event flags Evt1, Evt2, EvtVnd1, EvtVnd2bitfield32—
40135 / 4013640134 / 40135Rated power WRtg × 10WRtg_SF (nameplate 120)uint16 + SFW
4024340242Power limit WMaxLimPct (model 123, writable, SF at 40261)uint16 + SF% of WMax

Watch the order: the inverter lists line-to-line voltages first (40080) and phase voltages after (40086); the meter does it the other way round. A float32 energy counter has a 24-bit mantissa, so above 16.8 MWh the lifetime value moves in 2 Wh steps — fine for kWh, not for Wh-exact billing.

Operating State (St, Register 40118)

StNameMeaning (Fronius)
1OFFInverter is off
2SLEEPINGAuto shutdown (night)
3STARTINGInverter starting
4MPPTInverter working normally
5THROTTLEDPower reduction active
6SHUTTING_DOWNInverter shutting down
7FAULTOne or more faults present, see the event registers
8STANDBYStandby

PV Strings and Battery Power (Model 160)

Integer registers, value = raw × 10SF. The four scale factors sit at the start of the model; each module is 20 registers long.

RegisterAddressValueType
40267 / 4026840266 / 40267DCV_SF / DCW_SF (DCA_SF 40266, DCWH_SF 40269)sunssf
4027240271Number of modules N (2 MPPT + 2 battery = 4)uint16
40284 / 4028540283 / 40284Module 1 “MPPT 1”: DC voltage / DC poweruint16
40304 / 4030540303 / 40304Module 2 “MPPT 2”: DC voltage / DC poweruint16
4032540324Module 3 “StCha 3”: battery charging power — 0 while discharginguint16
4034540344Module 4 “StDisCha 4”: battery discharging power — 0 while charginguint16
+1 / +9 / +12In each module: name string (8 registers), DC current, lifetime energy (acc32, Wh)

Battery power with one sign is (module 4 − module 3) × 10DCW_SF: positive discharging, negative charging. With DCW_SF = −1, a raw 48500 in module 1 is 4850 W.

Battery State of Charge (Model 124)

RegisterAddressValueType
4035640355WChaMax — reference for maximum charge and discharge poweruint16 + SF (40372)
4036140360MinRsvPct — minimum reserve (writable)uint16 + SF (40375)
4036240361ChaState — state of chargeuint16 + SF (40376)
4036540364ChaSt: 1 off, 2 empty, 3 discharging, 4 charging, 5 full, 6 holding, 7 testing (calibration / service charge)enum16
40366 / 4036740365 / 40366OutWRte / InWRte — discharge / charge rate in % of WChaMax (writable)int16 + SF (40379)
4037640375ChaState_SF (the map lists −2)sunssf

A raw ChaState of 6340 with SF −2 is 63.40 %. StorAval and the battery voltage InBatV are marked not supported.

Smart Meter Registers (Unit 200, Model 213 Float)

RegisterAddressValueType
4007040069Meter model: 211 single-phase, 212 split-phase, 213 three-phase WYE, 214 deltauint16
4007240071Total current (phases 40074 / 76 / 78)float32
40082 / 84 / 8640081 / 83 / 85Phase voltage AN / BN / CN (average 40080)float32
40090 / 92 / 9440089 / 91 / 93Line voltage AB / BC / CA (average 40088)float32
4009640095Frequencyfloat32
4009840097Total real power (phases 40100 / 102 / 104)float32
40106 / 40114 / 4012240105 / 40113 / 40121Apparent / reactive power / power factor (each followed by phases)float32
4013040129Total energy exported (Wh)float32
4013840137Total energy imported (Wh)float32

The sign depends on where the meter is installed. At the grid point (location 0), Fronius' table says positive power is consuming from the grid and negative is feeding in; imported energy is consumption, exported energy is production. A meter at the load (location 1) has the opposite sign. With the meter at the grid, the house load is simply inverter AC power + meter power.

Worked Frames

Read AC power, register 40092 = address 40091 (0x9C9B), two registers, from the inverter (unit 1):

DirectionBytesMeaning
Request00 01 00 00 00 06 01 03 9C 9B 00 02MBAP (transaction 1, protocol 0, 6 bytes follow), unit 1, FC03, address 40091, 2 registers
Response00 01 00 00 00 07 01 03 04 45 8E 78 004 data bytes, float32 high word first: 0x458E7800 = 4559.0 W

The same from the Smart Meter: unit C8 (200), address 40097 = 9C A1. A reply of C5 29 50 00 is −2709.0 W — 2.7 kW going out to the grid.

Exception 02 means the address is not in the map (a model moved, or int+SF numbers were used on a float inverter); exception 11 means nothing answers on that unit ID behind the inverter.

Not Implemented Values

Fronius cannot fill every SunSpec point and uses the SunSpec “not implemented” markers: float32 0x7FC00000 (NaN), uint16 and enum16 0xFFFF, int16 and scale factors 0x8000, bitfield32 0xFFFFFFFF, strings all 0x0000. A DC voltage of NaN in model 113 or 65535 in a battery register is not a fault — the point is not supported on this inverter.

Writing: Power Limit and Battery

Writes need Allow Control on. Fronius' example writes 5000 (50.00 %, SF −2) to WMaxLimPct, address 40242 / register 40243, with FC16: 10 9D 32 00 01 02 13 88. In models 123 and 124 a write with control switched off returns an exception (the manual does not name the code); an invalid value returns exception 03; a write to a register that is not supported is ignored without any exception. Battery windows are set with StorCtl_Mod, InWRte and OutWRte against WChaMax, and they change the battery status shown in Solar.web.

Write with care. Power limits and battery windows can override the export limit and energy-management settings agreed with the installer and the grid operator. The workspace below is read-only.

What the Documents Get Wrong

Common Mistakes

Step-by-Step: Reading a Fronius GEN24 with ModbusManager

  1. In the inverter's web interface, Communication › Modbus: TCP server on, port 502, SunSpec Model Type float, meter address offset 200.
  2. In ModbusManager choose Modbus TCP, the inverter's IP address, port 502.
  3. Read FC03 from 40000, quantity 2, unit 1: the answer is “SunS”. Then FC03 from 40069, quantity 2: 113 and 60.
  4. Read FC03 from 40071, quantity 47, unit 1 for the inverter values; from 40265 (80 registers) for the PV inputs and battery power; from 40355 (24) for the battery; and FC03 from 40071, quantity 68, unit 200 for the meter.
  5. Make float32 tags (big-endian word order) on the 113 / 213 values and integer tags with their scale factors on 160 / 124 (Pro) — or open the workspace below.

Download a Ready-Made Workspace

Read-only. Nothing is written — no power limit, no battery window. Set the inverter's IP address in the connection; the addresses assume float, two MPPT and a battery (model 124 at 40354). Tags and dashboard are ModbusManager Pro features; Standard opens the poll windows only.

Fronius_GEN24.json

Fronius GEN24 Plus + Smart Meter workspace (Modbus TCP, SunSpec float). Open via Workspace › Open in ModbusManager Pro, or from the in-app Device library.

Download Workspace

Try it with ModbusManager Pro

Dashboards, alarms on the operating state, historian for yield and battery, and MQTT to Home Assistant. Free 14-day trial. No credit card. Windows 10/11.

Download Pro Trial

Other inverters: SunSpec (SMA, Fronius, SolarEdge), Huawei SUN2000, Sungrow, GoodWe ET hybrid. All guides: Modbus device guides.

Frequently Asked Questions

Does Fronius publish a Modbus register map for GEN24?

Yes. The “Fronius GEN24 – Modbus TCP and RTU” operating instructions on manuals.fronius.com link gen24-modbus-api-external-docs.zip, which holds Excel register maps for the inverter (float and int+SF, with and without a battery) and for the Fronius Smart Meter.

Do I subtract 1 from Fronius register numbers?

Yes. Fronius tables count registers from 1, and the manual says to read register 40001 with address 40000 (0x9C40). AC power, register 40092 in the float map, is address 40091 on the wire.

Which unit ID does the Fronius Smart Meter use?

200 by default. The inverter answers on unit 1 and passes requests for unit 200 to the Smart Meter on its Modbus RTU port. A second meter is 201, a third 202. The offset can be changed in Communication › Modbus.

Float or int+SF on a Fronius GEN24?

Float (models 113 and 213) is the factory setting and needs no scale factors for power, energy and voltage. Int+SF (103 and 203) moves every register. Either way the MPPT model 160 and the battery model 124 stay integer with scale factors.

How do I read the Fronius battery state of charge?

Model 124, ChaState: register 40362 (address 40361) times 10 to the power of ChaState_SF at register 40376, which reads −2 — so 6340 means 63.40 %. ChaSt at register 40365 says charging (4), discharging (3) or holding (6). These are the addresses with two MPPT and a battery; walk the SunSpec chain if yours differ.

Sources

Fronius International, Fronius GEN24 – Modbus TCP and RTU, operating instructions, manuals.fronius.com (edition 034-28092026); register maps Gen24_Primo_Symo_Inverter_Register_Map_Float_storage and Smart_Meter_Register_Map_Float from gen24-modbus-api-external-docs.zip, linked from the instructions. Tested against a simulator built from these documents, not against a physical inverter.

// inverter, battery and meter

The whole PV system on one screen

ModbusManager Pro reads the GEN24 and its Smart Meter beside heat pumps, wallboxes and other inverters, applies the SunSpec scale factors once, and republishes clean values as one Modbus TCP map or as MQTT topics with Home Assistant discovery.

Modbus gateway software →