ModbusCloud
Back to library
ABB ABB M4M 30 Modbus RTU template
Modbus RTU

ABB M4M 30

ABB

Network analyzer for switchboards: voltage, current, power, power factor, THD and energy over Modbus RTU on RS485.

Overview

The ABB M4M 30 is a network analyzer with touch display for switchboards, available with Modbus RTU, Modbus TCP, I/O and Rogowski versions. Over Modbus RTU on its RS485 port it reports voltages, currents, power, power factor, harmonic distortion and energy. This template follows the official ABB M4M Modbus map (9AKK107492A7627 rev F) and the ABB M4M Modbus manual v1.05, and reads 35 registers: phase and line voltages, currents including neutral, active, reactive and apparent power, frequency, power factor, voltage and current THD, and total active and reactive energy. Set address, baud rate and parity on the device; this template assumes address 1, 19200 baud, even parity, 1 stop bit.

Key readings

  • Voltage per phase and line to line
  • Current per phase and neutral
  • Active power per phase and total
  • Reactive and apparent power
  • Power factor and frequency
  • Voltage and current THD
  • Total active and reactive energy

Use cases

  • Track Active Power Total per switchboard to find which group sets the peak demand.
  • Alert when Current N rises above a set level, a sign of unbalanced single-phase loads.
  • Alert when Phase Voltage L1, L2 or L3 falls below a limit to catch a failing supply or blown fuse.
  • Watch Voltage THD and Current THD per phase to spot harmonic load from drives and LED lighting.
  • Report monthly consumption from Active Energy and check Power Factor Total against the grid operator limit.

Installation

  1. 1Connect A and B of the M4M 30 RS485 plug to the RS485 port of your ModbusCloud Gateway with twisted pair cable, and C to the data common if you have a spare wire. Terminate both ends of the bus with 120 ohm.
  2. 2On the M4M 30 open Menu, Communication, Modbus RTU and set address 1, baud rate 19200 and parity even, or note the values already set there.
  3. 3In ModbusCloud, add a Modbus device (RTU) with the same address, baud rate and parity, 8 data bits and 1 stop bit, and import this template.
  4. 4Check the link: Phase Voltage L1 must show the mains voltage and Frequency about 50 Hz. If nothing answers, swap A and B and check the address.

Things to watch for

The M4M 30 does not answer. What should I check?
Compare address, baud rate and parity in Menu, Communication, Modbus RTU with the settings in ModbusCloud. Then swap A and B; RS485 is polarity dependent on the M4M. Check the 120 ohm termination at both ends of the bus and keep stubs under 1 m, as the ABB manual asks.
Some values read 65535 or 32767. What does that mean?
That is the invalid marker of the M4M. A register for a quantity the meter does not measure, for example a phase that is not connected in the chosen network type, returns FFFF for unsigned and 7FFF for signed values. Check the network type and wiring on the meter.
Why is energy missing or zero?
The template reads total energy from the M2M-compatible registers at 103E and 1040 hex, which ABB lists from firmware P1.3.10.0. Older firmware does not answer there. The native energy registers are 64-bit and the gateway cannot read them; update the meter firmware to use the energy values.
Several meters share one RS485 bus. Anything special?
Give each M4M its own address from 1 to 247 and the same baud rate and parity. Use line topology with termination at both ends only, and keep power cables away from the bus cable. The ModbusCloud Gateway must be the only master on that line.
Does this work with the M4M 30 Ethernet version?
The Ethernet version uses the same register map over Modbus TCP on port 502 (default IP 192.168.1.12). This template is set up for RTU; for the Ethernet version add the device as Modbus TCP with that IP address and import the same registers.

Registers (35)

35 read / 0 write

NameAddressFunctionTypeUnitAccess
Phase Voltage L1
Phase voltage L1 to neutral, 0.1 V resolution, unsigned 32-bit (register 5B02 hex). Invalid value FFFFFFFF.
•••••••••VR
Phase Voltage L2
Phase voltage L2 to neutral, 0.1 V resolution, unsigned 32-bit (register 5B04 hex). Invalid value FFFFFFFF.
•••••••••VR
Phase Voltage L3
Phase voltage L3 to neutral, 0.1 V resolution, unsigned 32-bit (register 5B06 hex). Invalid value FFFFFFFF.
•••••••••VR
Line Voltage L1-L2
Line voltage L1-L2 as named in the ABB map, 0.1 V resolution, unsigned 32-bit (register 5B08 hex).
•••••••••VR
Line Voltage L3-L2
Line voltage L3-L2 as named in the ABB map, 0.1 V resolution, unsigned 32-bit (register 5B0A hex).
•••••••••VR
Line Voltage L1-L3
Line voltage L1-L3 as named in the ABB map, 0.1 V resolution, unsigned 32-bit (register 5B0C hex).
•••••••••VR
Current L1
Current L1, 0.01 A resolution, unsigned 32-bit (register 5B10 hex).
•••••••••AR
Current L2
Current L2, 0.01 A resolution, unsigned 32-bit (register 5B12 hex).
•••••••••AR
Current L3
Current L3, 0.01 A resolution, unsigned 32-bit (register 5B14 hex).
•••••••••AR
Current N
Current N, 0.01 A resolution, unsigned 32-bit (register 5B16 hex).
•••••••••AR
Active Power Total
Active power total, 0.01 W resolution, signed 32-bit (register 5B1A hex).
•••••••••WR
Active Power L1
Active power L1, 0.01 W resolution, signed 32-bit (register 5B1C hex).
•••••••••WR
Active Power L2
Active power L2, 0.01 W resolution, signed 32-bit (register 5B1E hex).
•••••••••WR
Active Power L3
Active power L3, 0.01 W resolution, signed 32-bit (register 5B20 hex).
•••••••••WR
Reactive Power Total
Reactive power total, 0.01 var resolution, signed 32-bit (register 5B22 hex).
•••••••••varR
Reactive Power L1
Reactive power L1, 0.01 var resolution, signed 32-bit (register 5B24 hex).
•••••••••varR
Reactive Power L2
Reactive power L2, 0.01 var resolution, signed 32-bit (register 5B26 hex).
•••••••••varR
Reactive Power L3
Reactive power L3, 0.01 var resolution, signed 32-bit (register 5B28 hex).
•••••••••varR
Apparent Power Total
Apparent power total, 0.01 VA resolution, signed 32-bit as listed in the ABB map (register 5B2A hex).
•••••••••VAR
Apparent Power L1
Apparent power L1, 0.01 VA resolution, signed 32-bit as listed in the ABB map (register 5B2C hex).
•••••••••VAR
Apparent Power L2
Apparent power L2, 0.01 VA resolution, signed 32-bit as listed in the ABB map (register 5B2E hex).
•••••••••VAR
Apparent Power L3
Apparent power L3, 0.01 VA resolution, signed 32-bit as listed in the ABB map (register 5B30 hex).
•••••••••VAR
Frequency
Mains frequency, 0.01 Hz resolution, unsigned 16-bit (register 5B32 hex).
•••••••••HzR
Power Factor Total
Power factor total, 0.001 resolution, signed 16-bit (register 5B40 hex). Invalid value 7FFF.
•••••••••R
Power Factor L1
Power factor L1, 0.001 resolution, signed 16-bit (register 5B41 hex). Invalid value 7FFF.
•••••••••R
Power Factor L2
Power factor L2, 0.001 resolution, signed 16-bit (register 5B42 hex). Invalid value 7FFF.
•••••••••R
Power Factor L3
Power factor L3, 0.001 resolution, signed 16-bit (register 5B43 hex). Invalid value 7FFF.
•••••••••R
Voltage THD L1
Total harmonic distortion of voltage L1, 0.1 % resolution, unsigned 16-bit (register 5D00 hex).
•••••••••%R
Voltage THD L2
Total harmonic distortion of voltage L2, 0.1 % resolution, unsigned 16-bit (register 5D80 hex).
•••••••••%R
Voltage THD L3
Total harmonic distortion of voltage L3, 0.1 % resolution, unsigned 16-bit (register 5E00 hex).
•••••••••%R
Current THD L1
Total harmonic distortion of current L1, 0.1 % resolution, unsigned 16-bit (register 6000 hex).
•••••••••%R
Current THD L2
Total harmonic distortion of current L2, 0.1 % resolution, unsigned 16-bit (register 6080 hex).
•••••••••%R
Current THD L3
Total harmonic distortion of current L3, 0.1 % resolution, unsigned 16-bit (register 6100 hex).
•••••••••%R
Active Energy
3-phase system active energy from the M2M-compatible table, resolution 100 Wh (0.1 kWh), unsigned 32-bit (register 103E hex). Available from firmware P1.3.10.0.
•••••••••kWhR
Reactive Energy
3-phase system reactive energy from the M2M-compatible table, resolution 100 varh (0.1 kvarh), unsigned 32-bit (register 1040 hex). Available from firmware P1.3.10.0.
•••••••••kvarhR

Loading registers…

Read the ABB M4M 30 remotely

We load the templates onto the gateway and set up your portal, you connect it at your customer's site. Tell us briefly what you need and we'll send a proposal.

From €295 + €149/year.

Prefer to configure it yourself? Order the gateway in the shop·Or see the live demo first

EU-hosted
Data in the Netherlands and Germany
Open standard
Based on Modbus RTU/TCP
Free to browse
No account or payment required
European company
Based in the Netherlands

More ABB templates

More RTU templates