Free Modbus template: Energy meter ABB B23 | ModbusCloud
Modbus RTU
Energy meter ABB B23
ABB
Reads energy values from a 3-phase ABB B23 energy meter via Modbus RTU.
Overview
Template for the ABB B23 three-phase energy meter over Modbus RTU. It reads per-phase voltage, current, and active power, as well as total active power, total reactive power, and active import energy. No control functions are included.
Key readings
Voltage L1 to L3
Current L1 to L3
Active power L1 to L3
Active power total
Reactive power total
Active import energy
Use cases
Monitor per-phase voltage and current on a live dashboard to detect load imbalance across phases.
Log total active import energy over time to verify utility billing or track tenant consumption.
Create an alert when total active power exceeds a predefined threshold to prevent demand charges.
Compare reactive power readings against active power to assess power factor and plan correction.
Generate weekly or monthly energy reports for facility managers or building owners.
Installation
1Wire the ModbusCloud gateway (MCG or MLP series) to the RS-485 terminals on the ABB B23 using a twisted-pair cable with correct A/B polarity.
2On the ABB B23 display menu, verify that Modbus RTU is enabled, the baud rate is set to 19200, and note the configured slave address.
3In the ModbusCloud portal, add a new device, select the ABB B23 template, and enter the slave address that matches the meter.
4Set the gateway serial port to 19200 baud, 8 data bits, 1 stop bit, and even parity (or match whatever parity is configured on the meter).
5Power on the gateway and confirm that live readings for voltage, current, and power appear in the ModbusCloud dashboard.
Things to watch for
01
I see zero values or communication errors for all registers. What should I check?
Verify that the RS-485 A and B wires are not swapped. Also confirm that the baud rate on the gateway matches the meter setting of 19200. Check that the Modbus slave address in the template matches the address configured on the B23 display.
02
The active import energy reading seems too low or incorrect. Why?
The active import energy is split across two register pairs (low bit and high bit, each uint32). If only one pair is read, the value will be incomplete. The template combines both pairs automatically, but make sure no register offsets have been manually changed.
03
Which parity setting should I use?
The ABB B23 defaults to even parity in most firmware versions. Set your gateway to 19200 baud, 8 data bits, even parity, and 1 stop bit. If communication fails, check the parity setting on the meter display and match it on the gateway.
04
Can I connect multiple ABB B23 meters to the same Modbus gateway?
Yes. Assign a unique slave address to each meter using its front-panel menu. Then add a separate device entry in ModbusCloud for each address, all using the same ABB B23 template.
Registers (13)
13 read / 0 write
Name
Address
Function
Type
Unit
Access
Active power total
23316
FC03
int32
W
R
Active power L1
23318
FC03
int32
W
R
Active power L2
23320
FC03
int32
W
R
Active power L3
23322
FC03
int32
W
R
Active import low bit
20480
FC03
uint32
Wh
R
Active import high bit
20482
FC03
uint32
Wh
R
Voltage L1-N
23296
FC03
uint32
V
R
Current L3
23312
FC03
uint32
A
R
Current L2
23310
FC03
uint32
A
R
Current L1
23308
FC03
uint32
A
R
Voltage L3-N
23300
FC03
uint32
V
R
Voltage L2-N
23298
FC03
uint32
V
R
Reactive power total
23324
FC03
int32
var
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.