SAJ SAJ H2 Series Hybrid Solar Inverter (battery) Modbus TCP template

SAJ H2 Series Hybrid Solar Inverter (battery)

The SAJ H2 Series is a hybrid solar inverter for residential and small-commercial on-grid and off-grid PV systems with battery storage. This ModbusCloud template connects to the H2 Series Hybrid Solar Inverter and the Ampere.StoragePro variant over Modbus TCP, reading instantaneous power, cumulative energy, and battery state of charge. Six writable battery-mode registers allow switching the inverter between operating modes such as self-consumption, time-of-use, and passive control in real time. Connecting this template to the ModbusCloud Gateway gives installers a single view of energy flow and mode status across all sites.

Protocol
Modbus TCP
Connection
Ethernet, Modbus TCP
Registers
9, read and write
Brand
SAJ
Compatible models
H2 Series Hybrid Solar Inverter · Ampere.StoragePro
Last updated

Registers (9)

3 read, 6 write

NameUnitAccessAddress (Hidden until you enter your email)Function (hidden)Type (hidden)
powerWRead16550FC03int16
energyRead16597FC03uint32
soc%Read40972FC03uint16
batterymode_aWrite13895FC16int16
batterymode_bWrite13905FC16int16
batterymode_fWrite
batterymode_gWrite
batterymode_hWrite
batterymode_iWrite

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 multiple installations.
  • Track cumulative energy to verify yield figures match commissioning estimates each month.
  • Alert on unexpected drops in instantaneous power during daylight hours to spot PV string faults early.
  • Compare battery state of charge before and after overnight discharge to validate storage capacity on site.
  • Verify that battery mode registers reflect the expected operating mode after a remote mode change.

Installation

  1. Enable Modbus TCP on the SAJ H2 inverter by connecting the AIO3 Wi-Fi module and confirming that port 502 is accessible on your local network via the eSAJ or AIO3 configuration interface.

  2. Connect the ModbusCloud Gateway to the same LAN segment as the inverter, ensuring no firewall rules block TCP port 502 between the Gateway and the inverter IP address.

  3. In the ModbusCloud portal, add a new device, import the SAJ H2 Series Hybrid Solar Inverter (battery) template, and enter the inverter IP address plus Modbus unit ID (typically 1).

  4. Spot-check the connection by reading the soc register (address 40972) in the live data view and confirming the value matches the inverter display or the eSAJ app.

Things to watch for

No values appear even though the gateway shows connected.

Confirm the inverter's AIO3 module is online and port 502 is open. Some H2 firmware versions only expose Modbus TCP when the Wi-Fi module has an active cloud connection. Try polling with a Modbus TCP test tool from the same network segment to isolate the problem before adjusting portal settings.

The power register reads negative or unexpected values. Why?

Register 16550 is a signed int16. Depending on inverter firmware and metering direction, negative values may indicate power flowing into the battery or from the grid. Verify the sign convention in your installation against the inverter display and apply an offset or inversion in your dashboard channel if needed.

The energy counter resets or jumps unexpectedly after a restart.

Register 16597 is a uint32 cumulative counter. A full inverter power cycle or firmware update can reset this counter to zero. Store baseline readings in the portal at commissioning so historical totals remain accurate even after a counter reset.

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

Use the six writable batterymode registers (addresses 13895, 13905, 13828, 13830, 13831, 13832) with caution. Writing incorrect values can switch the inverter to an unintended operating mode, affect battery charge depth limits, or interfere with grid-protection settings. Always test writes during a controlled maintenance window and confirm the inverter returns to the expected state before leaving site.

Want to see how it works?

Electrician working in an open distribution board