Growatt Growatt TL-X(H) Hybrid Inverter (battery) Modbus RTU template

Growatt TL-X(H) Hybrid Inverter (battery)

The Growatt TL-X(H) Hybrid Inverter is a single-phase residential hybrid PV inverter with an integrated battery interface, designed for solar self-consumption and backup power applications. This ModbusCloud template reads the inverter over Modbus RTU via the RS485 SYS COM port, polling AC output power (two 32-bit registers), cumulative energy, and battery state of charge. Three writable battery-mode registers let your portal send charge and discharge control commands to the inverter. Use this template to correlate live generation with storage state and automate battery dispatch from your ModbusCloud dashboard.

Protocol
Modbus RTU
Connection
RS485
Registers
7, read and write
Brand
Growatt
Last updated

Registers (7)

4 read, 3 write

NameUnitAccessAddress (Hidden until you enter your email)Function (hidden)Type (hidden)
power_aWRead3178FC04uint32
power_bWRead3180FC04uint32
energyWhRead3127FC04uint32
soc%Read3171FC04uint16
batterymode_aWrite3038FC16uint16
batterymode_bWrite
batterymode_cWrite

Loading registers…

The ModbusCloud Gateway, front at an angle, with the RS485 terminal and the antenna connectors

Send your device list

If a device is not in the library yet, we build the template for free as soon as we have the register data.

Use cases

  • Monitor battery state of charge continuously to detect degradation trends across seasons.
  • Track cumulative energy to verify PV yield against system-design estimates on a monthly basis.
  • Alert on AC output power dropping unexpectedly to identify grid faults or inverter protection trips.
  • Use battery mode write registers to schedule off-peak charging via ModbusCloud automation rules.
  • Compare real-time AC output power against expected solar irradiance to spot soiling or shading issues.

Installation

  1. Enable Modbus RTU on the Growatt TL-X(H) inverter: confirm the RS485 baud rate is set to 9600 bps and the Modbus unit address is set to 1 (default) under the communication settings, accessible via the Growatt app or inverter display.

  2. Connect the ModbusCloud Gateway to the 8-pin SYS COM port on the underside of the inverter using the connector supplied with the unit: use PIN 3 (RS485-A) and PIN 4 (RS485-B), observing polarity, and keep the cable run as short as practical.

  3. In the ModbusCloud portal, add a new Gateway, then import the Growatt TL-X(H) Hybrid Inverter (battery) template, assign unit ID 1 (or the address set on the inverter), and save the configuration.

  4. Verify the connection by checking the live value of the soc register in the portal: a plausible percentage reading confirms communication. If the value is zero or absent, check baud rate, unit ID, and A/B wire polarity.

Things to watch for

The gateway connects but all register values read zero.

The most likely cause is a unit ID mismatch: the template defaults to address 1, but the inverter may have been set to a different address. Check the Modbus address on the inverter display or via the Growatt app. Also confirm the baud rate on both sides is 9600 bps with no parity, 1 stop bit.

Values appear intermittently or the gateway reports timeouts.

Growatt RS485 requires a minimum inter-command gap of 850 ms. If your polling interval is shorter, increase it to at least 1 second. Also verify that only one Modbus master is active on the RS485 bus: a Growatt ShineWiFi or smart meter connected to the same SYS COM port can collide with the ModbusCloud Gateway.

The energy and power registers return unexpected large numbers.

The power registers power_a and power_b form a 32-bit uint32 pair split across two consecutive 16-bit input registers. If your integration reads them independently rather than concatenating the two words, you will see incorrect values. Ensure the template is applied as-is without splitting the pair manually.

Is it safe to write to the battery mode registers during normal operation?

Write registers batterymode_a, batterymode_b, and batterymode_c send operational commands directly to the inverter battery management. Writing incorrect values can cause the inverter to enter an unintended charge or discharge mode, potentially triggering protection faults or affecting warranty coverage. Always test write commands during low-load periods and confirm expected behavior before automating.

Want to see how it works?

Electrician working in an open distribution board