Hardy Barth cPH2

AC wallbox with phase switching and load control over Modbus TCP.

The Hardy Barth cPH2 is an AC wallbox that charges electric vehicles with up to 32 A on one or three phases. This Modbus TCP template reads charging power, energy, phase values, station state and error codes and lets you set the charge current, pause charging and choose the charge mode from ModbusCloud.

Protocol
Modbus TCP
Connection
Ethernet, Modbus TCP
Registers
102, read and write
Key readings
Charging power · Energy total · Current per phase · Voltage per phase · Station state · Error code · Temperature
Available commands
Charge current · Start or pause charging · Charge mode · Phase selection · Failsafe timeout
Compatible models
cPH2 (station firmware 2.5.2 or later)
Last updated

Registers (102)

101 read, 13 write

NameUnitAccessAddress (Hidden until you enter your email)Function (hidden)Type (hidden)
Charging PowerWRead1014FC04float32
Energy TotalkWhRead1022FC04float32
Current L1ARead1008FC04float32
Current L2ARead1010FC04float32
Current L3ARead1012FC04float32
Voltage L1VRead
Voltage L2VRead
Voltage L3VRead
Power L1WRead
Power L2WRead
Power L3WRead
FrequencyHzRead
Station StateRead
Error CodeRead
Connector StateRead
ChargingRead
EV PresentRead
CP StatusRead
Temperature°CRead
Status WordRead
Charging InfoRead
Authorization StatusRead
Authorization TypeRead
UptimesRead
Failsafe ActiveRead
Daemon StatusRead
CP PWM StateRead
CP Duty Cycle%Read
Plug Lock StatusRead
Plug State ActualRead
Plug State TargetRead
Plug ErrorRead
Contactor StatusRead
Contactor State ActualRead
Contactor State TargetRead
Contactor ErrorRead
PWM Status%Read
AvailabilityRead
Grid Current LimitARead
Phase CountRead
Physical Current LimitARead
Offered Current LimitARead
Current Offered TotalARead
Current Offered L1ARead
Current Offered L2ARead
Current Offered L3ARead
Power OfferedWRead
Phase Switching EnabledRead
Phase Switching StatusRead
Actual PhasesRead
Target PhasesRead
Phase Switch DelaysRead
Phase Switch DurationsRead
Charge Mode ActualRead
EcoPlus ActualRead
Charging Paused ActualRead
Max Current ActualARead
Charge Power TargetWRead and write
Charge Current TargetARead and write
Start Stop ChargingRead and write
Failsafe TimeoutsRead and write
Failsafe Power TargetWRead and write
Failsafe Current TargetARead and write
HeartbeatWrite
Target PhaseRead and write
RFID Authorize RequestRead and write
Fuse RatingARead
EcoPlus TimeoutsRead
Eco ReferenceWRead
Min CurrentARead and write
Max CurrentARead and write
EcoPlusRead and write
Charge ModeRead and write
RFID AvailableRead
RFID Last TagRead
Mains Meter TypeRead
Mains AvailableRead
Mains Power TotalWRead
Mains Current TotalARead
Mains Current L1ARead
Mains Current L2ARead
Mains Current L3ARead
Mains Power L1WRead
Mains Power L2WRead
Mains Power L3WRead
Battery AvailableRead
Battery SOC%Read
Battery PowerWRead
Battery SOC Start%Read
Battery SOC Stop%Read
Meter TypeRead
Meter NameRead
Meter SerialRead
Meter Phase CountRead
Meter AvailableRead
Map VersionRead
ModelRead
Serial NumberRead
ManufacturerRead
Firmware VersionRead
Firmware Version NumberRead
Model TypeRead

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

  • Show charging power and the energy counter of each wallbox on a dashboard next to the building load.
  • Get an email alert when the error code is not zero, for example on a plug lock or meter fault.
  • Track daily charging energy per station in the history to split costs between users or departments.
  • Lower the charge current remotely during a peak in the building load or a high dynamic tariff.
  • Watch the electronics temperature of wallboxes in a hot car park and act before problems start.

Installation

  1. Connect the station to the network the ModbusCloud Gateway is on and give it a fixed IP address in the router.

  2. Check that the station runs firmware 2.4.4 or later, because the Modbus TCP interface is part of the station firmware.

  3. In ModbusCloud, add a Modbus device with the IP address of the station, port 502 and unit ID 1, then import this template.

  4. Check that the station state and the meter voltages show plausible values before you write a current or a mode.

Things to watch for

Why do all registers read 0 without an error?

Unused addresses read 0 instead of returning an error. Check that the measurements are read as input registers and the settings as holding registers, and that the station runs firmware 2.4.4 or later. The Map Version register should read 2.3.0 or 2.0.0.

Why is a start command rejected?

Start Stop Charging only allows or pauses energy and is refused while the charge current target is 0. Write a current within the station window first, or both in one request. Who may charge is still decided by RFID, the key switch or the OCPP backend.

Why does the current I set have no effect?

The current target only applies in MANUAL charge mode, so set Charge Mode to 2. It must lie between Min Current and Max Current of the station, and load management can lower the real maximum, shown in Max Current Actual.

Why does charging drop to the failsafe current?

With a failsafe timeout set, the station falls back to the failsafe current when nothing writes the heartbeat in time. Unless your system writes the heartbeat regularly, set Failsafe Timeout to 0.

What should I watch out for when writing settings?

Change one setting at a time and read it back. Min Current and Max Current are saved in the station configuration. Writing registers in ModbusCloud is off per gateway until you request it.

Want to see how it works?

Electrician working in an open distribution board