Free Modbus template: Huawei Sun2000 Inverter and Schneider Bi directional meter | ModbusCloud
Modbus TCP
Huawei Sun2000 Inverter and Schneider Bi directional meter
Huawei and Schneider
Reads solar inverter and bidirectional meter data via Modbus TCP
Overview
This template reads data from a Huawei Sun2000 inverter and a Schneider bidirectional 3-phase meter over Modbus TCP. It covers AC/DC power, daily and total energy, frequency, device status, and energy import/export from the Schneider meter.
Key readings
AC Active Power
DC Input Power
Energy Total
Energy Day
Frequency
Device Status
Use cases
Monitor real-time AC and DC power output of a Huawei Sun2000 inverter on a cloud dashboard.
Track daily and total energy production to verify solar system performance over time.
Compare grid import and export values from the Schneider meter to assess self-consumption ratios.
Create an alert when device status changes to flag inverter faults or shutdowns immediately.
Generate monthly energy reports combining PV yield and grid exchange data for your customer.
Verify grid frequency readings to detect abnormal grid conditions at the installation site.
Installation
1Connect the ModbusCloud gateway (MCG or MLP series) to the same local network as the Huawei Sun2000 inverter and Schneider meter.
2Enable Modbus TCP on the Huawei Sun2000 inverter via its configuration interface or the FusionSolar app, and note the IP address and port (default 502).
3Ensure the Schneider bidirectional meter is reachable over Modbus TCP, either natively or through an RS485-to-TCP converter, and record its IP address and unit ID.
4Import the Huawei Sun2000 and Schneider bidirectional meter template from the ModbusCloud template library into your gateway configuration.
5Set the correct IP addresses, TCP ports, and Modbus unit IDs for both devices in the template settings.
6Verify data is flowing by checking live register values on the ModbusCloud dashboard for both the inverter and the meter.
Things to watch for
01
Why do power and energy values show incorrect or very large numbers?
The inverter uses int32 registers for power and energy, which span two consecutive Modbus registers. Make sure the register pair is read as a 32-bit signed integer with the correct byte and word order. Mismatched byte order will produce wrong values.
02
How do I enable Modbus TCP on the Huawei Sun2000 inverter?
Modbus TCP can be enabled through the inverter's local interface or the FusionSolar app. Navigate to the communication settings and activate the Modbus TCP server. The default port is 502.
03
Can I use this template if the Schneider meter is connected via RS485?
Yes, but you need an RS485-to-Modbus-TCP gateway between the meter and the network. Configure the converter with the correct baud rate, parity, and unit ID matching the Schneider meter settings.
04
What Modbus unit ID should I use for each device?
The Huawei Sun2000 typically defaults to unit ID 1, but this can be changed in the inverter settings. The Schneider meter unit ID depends on your configuration. Verify both unit IDs and enter them correctly in the template.
Registers (6)
6 read / 0 write
Name
Address
Function
Type
Unit
Access
DeviceStatus
32089
FC03
uint16
R
Energy Total
32106
FC03
int32
kWh
R
AC ActivePower
32080
FC03
int32
W
R
Frequency
32085
FC03
uint16
Hz
R
DC InputPower
32064
FC03
int32
kW
R
Energy Day
32114
FC03
int32
kWh
R
Working with Modbus in your projects?
ModbusCloud is the hardware-plus-software platform that installers use to monitor, visualise and control Modbus devices from one portal. This template is one of hundreds you can use right away.