Hager Hager ECR140D Modbus RTU template

Hager ECR140D

Single-phase 40 A MID kWh meter with eight tariffs, read and switched over RS485.

The Hager ECR140D is a single-phase MID energy meter in one DIN module that measures consumption and feed-in on circuits up to 40 A. This Modbus RTU template reads voltage, current, power, power factor and imported and exported energy per tariff, and lets you select the active tariff from ModbusCloud.

Protocol
Modbus RTU
Connection
RS485, 19200 baud
Registers
79, read and write
Brand
Hager
Key readings
Voltage · Current · Active power · Imported active energy · Exported active energy · Power factor · Energy per tariff
Available commands
Active tariff · Modbus address · Baud rate and parity
Compatible models
ECR140D
Last updated

Registers (79)

79 read, 3 write

NameUnitAccessAddress (Hidden until you enter your email)Function (hidden)Type (hidden)
VoltageVRead
FrequencyHzRead
CurrentARead
Active PowerkWRead
Reactive PowerkvarRead
Apparent PowerkVARead
Power Factor IECRead
Power Factor IEEERead
Active Power L1kWRead
Reactive Power L1kvarRead
Apparent Power L1kVARead
Power Factor L1 IECRead
Power Factor L1 IEEERead
Imported Active EnergykWhRead
Imported Reactive EnergykvarhRead
Exported Active EnergykWhRead
Exported Reactive EnergykvarhRead
Imported Active Energy WhWhRead
Exported Active Energy WhWhRead
Number of TariffsRead
Active TariffRead
Physical Input TariffRead
Tariff ModeRead
Set TariffRead and write
Imported Active Energy T1kWhRead
Imported Active Energy T2kWhRead
Imported Active Energy T3kWhRead
Imported Active Energy T4kWhRead
Imported Active Energy T5kWhRead
Imported Active Energy T6kWhRead
Imported Active Energy T7kWhRead
Imported Active Energy T8kWhRead
Exported Active Energy T1kWhRead
Exported Active Energy T2kWhRead
Exported Active Energy T3kWhRead
Exported Active Energy T4kWhRead
Exported Active Energy T5kWhRead
Exported Active Energy T6kWhRead
Exported Active Energy T7kWhRead
Exported Active Energy T8kWhRead
Imported Reactive Energy T1kvarhRead
Imported Reactive Energy T2kvarhRead
Imported Reactive Energy T3kvarhRead
Imported Reactive Energy T4kvarhRead
Imported Reactive Energy T5kvarhRead
Imported Reactive Energy T6kvarhRead
Imported Reactive Energy T7kvarhRead
Imported Reactive Energy T8kvarhRead
Exported Reactive Energy T1kvarhRead
Exported Reactive Energy T2kvarhRead
Exported Reactive Energy T3kvarhRead
Exported Reactive Energy T4kvarhRead
Exported Reactive Energy T5kvarhRead
Exported Reactive Energy T6kvarhRead
Exported Reactive Energy T7kvarhRead
Exported Reactive Energy T8kvarhRead
Network TypeRead
MID CertifiedRead
Overflow ValuekWhRead
Overflow Events Imported ActiveRead
Overflow Events Imported ReactiveRead
Overflow Events Exported ActiveRead
Overflow Events Exported ReactiveRead
Power On CountRead
Button Press CountRead
Modbus AddressRead and write
Baud Rate and ParityRead and write
Vendor NameRead
Product CodeRead
Firmware VersionRead
Vendor URLRead
Product NameRead
Model NameRead
User Application NameRead
Hardware VersionRead
Serial NumberRead
Site CodeRead
Production DayRead
Production YearRead

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

  • Show consumption and feed-in of a tenant, charging point or heat pump on a ModbusCloud dashboard.
  • Keep 365 days of history of imported and exported energy for a monthly billing overview.
  • Get an email when the current exceeds a limit you set, before the 40 A rating is reached.
  • Switch the active tariff from an automation on a time schedule or energy price, and read energy per tariff.
  • Compare imported and exported energy per day to see how much PV production is used on site.

Installation

  1. Wire the meter into the single-phase circuit and connect its RS485 terminals to RS485 A and B on the ModbusCloud Gateway.

  2. Terminate the bus with 120 ohm at both ends and use the same wiring polarity on every meter.

  3. Use the push button to set the Modbus address, baud rate and parity, for example address 1, 19200 baud, even parity and 1 stop bit.

  4. In ModbusCloud, add a Modbus device (RTU) with the same address and serial settings and import this template.

  5. Check that voltage and imported active energy match the values on the meter display.

Things to watch for

The meter does not answer. What should I check?

Compare address, baud rate, parity and stop bits on the meter with the Modbus device in ModbusCloud; the meter has no fixed factory setting you can rely on. Swap A and B if nothing comes back, and check that both bus ends have a 120 ohm termination.

Why do the energy counters show whole kWh while the display shows decimals?

The main energy registers count in whole kWh. For a finer value, use Imported Active Energy Wh and Exported Active Energy Wh. These two need meter firmware 1.2 or later; older firmware gives no answer on them, and you can remove them from the device.

Can several ECR140D meters share one RS485 line?

Yes. Give each meter its own address from 1 to 247, set the same baud rate and parity on all of them, wire the bus as one line from meter to meter and terminate both ends.

What happens when I write a tariff or a Modbus setting?

Writing 1 to 8 to Set Tariff makes the meter count in that tariff right away; the register always reads 0. A new address or baud rate also applies at once, so the meter stops answering until you change the device in ModbusCloud to match.

Want to see how it works?

Electrician working in an open distribution board