Solax Solax Hybrid X1/X3 G3/G4 (grid) Modbus TCP template

Solax Hybrid X1/X3 G3/G4 (grid)

The Solax Hybrid X1/X3 G3/G4 is a single- and three-phase hybrid solar inverter with integrated battery management, deployed in residential and small-commercial PV storage systems. This template connects via Modbus TCP through an RS485-to-Ethernet bridge and reads the grid-side registers of the Hybrid X1/X3 G3/G4: instantaneous grid power flow (signed, covering both import and export), cumulative grid energy, and per-phase voltages and currents across all three phases. It gives installers and asset managers a complete picture of grid interaction without requiring cloud access.

Protocol
Modbus TCP
Connection
Ethernet, Modbus TCP
Registers
8, read only
Brand
Solax
Compatible models
Hybrid X1/X3 G3/G4 · Q.HOME ESS HYB-G3
Last updated

Registers (8)

8 read, 0 write

NameUnitAccessAddress (Hidden until you enter your email)Function (hidden)Type (hidden)
powerWRead
energyWhRead
currents_aARead
currents_bARead
currents_cARead
voltages_aVRead
voltages_bVRead
voltages_cVRead

Loading registers…

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.

Number of installations (optional)

Use cases

  • Monitor real-time grid power flow to verify the inverter is exporting surplus PV generation as expected.
  • Track cumulative grid energy to reconcile metered consumption data against utility billing figures.
  • Alert on sustained grid import during daytime hours to identify battery or inverter configuration faults.
  • Compare per-phase currents on phases A, B, and C to detect load imbalance across a three-phase installation.
  • Verify per-phase grid voltages remain within acceptable limits to confirm compliance with local grid codes.

Installation

  1. Enable Modbus communication on the inverter: navigate to the inverter display under Settings, then Advanced Settings, then Modbus, set the slave ID (default 1) and baud rate (default 19200), and confirm the 485CommFunSelect option is set to Modbus mode, not EV Charger mode.

  2. Connect the inverter RS485 COM port (RJ45 connector on the bottom panel) to an RS485-to-Ethernet adapter using pin 4 (A) and pin 5 (B) of a Cat5 or Cat6 cable, then connect the adapter to your LAN and assign it a static IP address.

  3. In the ModbusCloud portal, add the ModbusCloud Gateway, then import the Solax Hybrid X1/X3 G3/G4 (grid) template, set the target IP to the RS485 adapter address, port 502, and assign the correct slave unit ID matching the inverter setting.

  4. Spot-check the connection by reading the power register (address 70): during daytime PV generation you should see a negative value indicating import or a positive value indicating export; if the value is zero or stuck, verify baud rate and polarity on the RS485 wiring.

Things to watch for

Why does the power register always read zero or a fixed value?

The most common cause is a baud rate mismatch. The Solax inverter defaults to 19200 baud, but many RS485 adapters default to 9600. Check the inverter display under Settings, Advanced Settings, Modbus, Baud Rate and set the adapter to match. Also confirm the slave ID matches on both sides.

Grid power shows a value, but voltages and currents are all zero. Why?

Addresses 202 to 208 are input registers in a different block from address 70. Some RS485 adapters impose a query interval limit. Ensure your polling interval is at least 1 second between consecutive requests, as the Solax protocol requires a minimum gap of 1 second between Modbus commands.

The gateway connects but data disappears after a few minutes. What is happening?

Solax inverters support only a single Modbus master at a time. If another device (such as a home automation system or a Wi-Fi dongle also polling via Modbus TCP) is connected simultaneously, the inverter will block or drop one connection. Disconnect any other Modbus master or use a TCP multiplexer.

Can I connect the COM port on the G4 inverter directly to a network switch?

No. The COM port on the G4 inverter uses an RJ45 connector but carries RS485 signals, not Ethernet. Connecting it directly to an Ethernet switch will damage the switch port. Always use a dedicated RS485-to-Ethernet adapter between the inverter and your LAN.

Want to see how it works?

Electrician working in an open distribution board