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.
On the inverter's web interface open Communication › Modbus and switch on the TCP server. The settings, as the operating instructions list them:
| Setting | Value |
|---|---|
| Transport | Modbus TCP, Ethernet or Wi-Fi of the inverter (RTU server on M0 / M1 also possible) |
| Modbus port | 502 or 1502 |
| Inverter unit ID | 1 — “always 0x01” over TCP |
| Meter address offset | 200 (factory) — Smart Meter 1 = unit 200, meter 2 = 201 … meter 5 = 204 |
| SunSpec Model Type | float (inverter 111 / 112 / 113, meter 211 / 212 / 213) or int + SF (101 / 102 / 103, 201 / 202 / 203) |
| Allow Control | off for monitoring; needed for power limits, cos φ and battery control |
| Timing | requests 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.
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.
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).
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.
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) | Model | Length |
|---|---|---|---|
| 40001 | 40000 | “SunS” 0x5375 0x6E53 | 2 |
| 40003 | 40002 | 1 Common (Mn, Md, Vr, SN) | 65 |
| 40070 | 40069 | 113 Inverter, three-phase, float (111 on single-phase) | 60 |
| 40132 | 40131 | 120 Nameplate (DERTyp 82 = PV + storage, WRtg) | 26 |
| 40160 | 40159 | 121 Basic settings | 30 |
| 40192 | 40191 | 122 Extended status | 44 |
| 40238 | 40237 | 123 Immediate controls | 24 |
| 40264 | 40263 | 160 Multiple MPPT (4 modules: MPPT 1, MPPT 2, battery charge, battery discharge) | 88 |
| 40354 | 40353 | 124 Basic storage control | 24 |
| 40380 | 40379 | End block 0xFFFF | 0 |
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.
| Register | Address | Value | Type | Unit |
|---|---|---|---|---|
| 40072 | 40071 | Total AC current (phases A / B / C at 40074 / 76 / 78) | float32 | A |
| 40080 / 82 / 84 | 40079 / 81 / 83 | Line voltage AB / BC / CA | float32 | V |
| 40086 / 88 / 90 | 40085 / 87 / 89 | Phase voltage AN / BN / CN | float32 | V |
| 40092 | 40091 | AC power (W) | float32 | W |
| 40094 | 40093 | Frequency | float32 | Hz |
| 40096 / 98 / 100 | 40095 / 97 / 99 | Apparent power / reactive power / power factor | float32 | VA / var / — |
| 40102 | 40101 | Lifetime AC energy (WH) | float32 | Wh |
| 40104 / 40106 | 40103 / 40105 | DC current / voltage — not supported with several DC inputs (NaN), see model 160 | float32 | A / V |
| 40108 | 40107 | DC power, both PV inputs together | float32 | W |
| 40110 | 40109 | Cabinet temperature (heat sink, transformer, other: not supported) | float32 | °C |
| 40118 | 40117 | Operating state St (table below) | enum16 | — |
| 40120–40127 | 40119–40126 | Event flags Evt1, Evt2, EvtVnd1, EvtVnd2 | bitfield32 | — |
| 40135 / 40136 | 40134 / 40135 | Rated power WRtg × 10WRtg_SF (nameplate 120) | uint16 + SF | W |
| 40243 | 40242 | Power 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.
| St | Name | Meaning (Fronius) |
|---|---|---|
| 1 | OFF | Inverter is off |
| 2 | SLEEPING | Auto shutdown (night) |
| 3 | STARTING | Inverter starting |
| 4 | MPPT | Inverter working normally |
| 5 | THROTTLED | Power reduction active |
| 6 | SHUTTING_DOWN | Inverter shutting down |
| 7 | FAULT | One or more faults present, see the event registers |
| 8 | STANDBY | Standby |
Integer registers, value = raw × 10SF. The four scale factors sit at the start of the model; each module is 20 registers long.
| Register | Address | Value | Type |
|---|---|---|---|
| 40267 / 40268 | 40266 / 40267 | DCV_SF / DCW_SF (DCA_SF 40266, DCWH_SF 40269) | sunssf |
| 40272 | 40271 | Number of modules N (2 MPPT + 2 battery = 4) | uint16 |
| 40284 / 40285 | 40283 / 40284 | Module 1 “MPPT 1”: DC voltage / DC power | uint16 |
| 40304 / 40305 | 40303 / 40304 | Module 2 “MPPT 2”: DC voltage / DC power | uint16 |
| 40325 | 40324 | Module 3 “StCha 3”: battery charging power — 0 while discharging | uint16 |
| 40345 | 40344 | Module 4 “StDisCha 4”: battery discharging power — 0 while charging | uint16 |
| +1 / +9 / +12 | In 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.
| Register | Address | Value | Type |
|---|---|---|---|
| 40356 | 40355 | WChaMax — reference for maximum charge and discharge power | uint16 + SF (40372) |
| 40361 | 40360 | MinRsvPct — minimum reserve (writable) | uint16 + SF (40375) |
| 40362 | 40361 | ChaState — state of charge | uint16 + SF (40376) |
| 40365 | 40364 | ChaSt: 1 off, 2 empty, 3 discharging, 4 charging, 5 full, 6 holding, 7 testing (calibration / service charge) | enum16 |
| 40366 / 40367 | 40365 / 40366 | OutWRte / InWRte — discharge / charge rate in % of WChaMax (writable) | int16 + SF (40379) |
| 40376 | 40375 | ChaState_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.
| Register | Address | Value | Type |
|---|---|---|---|
| 40070 | 40069 | Meter model: 211 single-phase, 212 split-phase, 213 three-phase WYE, 214 delta | uint16 |
| 40072 | 40071 | Total current (phases 40074 / 76 / 78) | float32 |
| 40082 / 84 / 86 | 40081 / 83 / 85 | Phase voltage AN / BN / CN (average 40080) | float32 |
| 40090 / 92 / 94 | 40089 / 91 / 93 | Line voltage AB / BC / CA (average 40088) | float32 |
| 40096 | 40095 | Frequency | float32 |
| 40098 | 40097 | Total real power (phases 40100 / 102 / 104) | float32 |
| 40106 / 40114 / 40122 | 40105 / 40113 / 40121 | Apparent / reactive power / power factor (each followed by phases) | float32 |
| 40130 | 40129 | Total energy exported (Wh) | float32 |
| 40138 | 40137 | Total 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.
Read AC power, register 40092 = address 40091 (0x9C9B), two registers, from the inverter (unit 1):
| Direction | Bytes | Meaning |
|---|---|---|
| Request | 00 01 00 00 00 06 01 03 9C 9B 00 02 | MBAP (transaction 1, protocol 0, 6 bytes follow), unit 1, FC03, address 40091, 2 registers |
| Response | 00 01 00 00 00 07 01 03 04 45 8E 78 00 | 4 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.
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.
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.
Fronius GEN24 Plus + Smart Meter workspace (Modbus TCP, SunSpec float). Open via Workspace › Open in ModbusManager Pro, or from the in-app Device library.
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.
Other inverters: SunSpec (SMA, Fronius, SolarEdge), Huawei SUN2000, Sungrow, GoodWe ET hybrid. All guides: Modbus device guides.
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.
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.
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 (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.
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.
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.
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 →We use Google Analytics cookies to see how the site is used. You can accept or decline — declining keeps analytics off. See our Privacy Policy.