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
- Brand
- Hardy Barth
- 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
| Name | Unit | Access | Address (Hidden until you enter your email) | Function (hidden) | Type (hidden) |
|---|---|---|---|---|---|
| Charging Power | W | Read | 1014 | FC04 | float32 |
| Energy Total | kWh | Read | 1022 | FC04 | float32 |
| Current L1 | A | Read | 1008 | FC04 | float32 |
| Current L2 | A | Read | 1010 | FC04 | float32 |
| Current L3 | A | Read | 1012 | FC04 | float32 |
| Voltage L1 | V | Read | |||
| Voltage L2 | V | Read | |||
| Voltage L3 | V | Read | |||
| Power L1 | W | Read | |||
| Power L2 | W | Read | |||
| Power L3 | W | Read | |||
| Frequency | Hz | Read | |||
| Station State | Read | ||||
| Error Code | Read | ||||
| Connector State | Read | ||||
| Charging | Read | ||||
| EV Present | Read | ||||
| CP Status | Read | ||||
| Temperature | °C | Read | |||
| Status Word | Read | ||||
| Charging Info | Read | ||||
| Authorization Status | Read | ||||
| Authorization Type | Read | ||||
| Uptime | s | Read | |||
| Failsafe Active | Read | ||||
| Daemon Status | Read | ||||
| CP PWM State | Read | ||||
| CP Duty Cycle | % | Read | |||
| Plug Lock Status | Read | ||||
| Plug State Actual | Read | ||||
| Plug State Target | Read | ||||
| Plug Error | Read | ||||
| Contactor Status | Read | ||||
| Contactor State Actual | Read | ||||
| Contactor State Target | Read | ||||
| Contactor Error | Read | ||||
| PWM Status | % | Read | |||
| Availability | Read | ||||
| Grid Current Limit | A | Read | |||
| Phase Count | Read | ||||
| Physical Current Limit | A | Read | |||
| Offered Current Limit | A | Read | |||
| Current Offered Total | A | Read | |||
| Current Offered L1 | A | Read | |||
| Current Offered L2 | A | Read | |||
| Current Offered L3 | A | Read | |||
| Power Offered | W | Read | |||
| Phase Switching Enabled | Read | ||||
| Phase Switching Status | Read | ||||
| Actual Phases | Read | ||||
| Target Phases | Read | ||||
| Phase Switch Delay | s | Read | |||
| Phase Switch Duration | s | Read | |||
| Charge Mode Actual | Read | ||||
| EcoPlus Actual | Read | ||||
| Charging Paused Actual | Read | ||||
| Max Current Actual | A | Read | |||
| Charge Power Target | W | Read and write | |||
| Charge Current Target | A | Read and write | |||
| Start Stop Charging | Read and write | ||||
| Failsafe Timeout | s | Read and write | |||
| Failsafe Power Target | W | Read and write | |||
| Failsafe Current Target | A | Read and write | |||
| Heartbeat | Write | ||||
| Target Phase | Read and write | ||||
| RFID Authorize Request | Read and write | ||||
| Fuse Rating | A | Read | |||
| EcoPlus Timeout | s | Read | |||
| Eco Reference | W | Read | |||
| Min Current | A | Read and write | |||
| Max Current | A | Read and write | |||
| EcoPlus | Read and write | ||||
| Charge Mode | Read and write | ||||
| RFID Available | Read | ||||
| RFID Last Tag | Read | ||||
| Mains Meter Type | Read | ||||
| Mains Available | Read | ||||
| Mains Power Total | W | Read | |||
| Mains Current Total | A | Read | |||
| Mains Current L1 | A | Read | |||
| Mains Current L2 | A | Read | |||
| Mains Current L3 | A | Read | |||
| Mains Power L1 | W | Read | |||
| Mains Power L2 | W | Read | |||
| Mains Power L3 | W | Read | |||
| Battery Available | Read | ||||
| Battery SOC | % | Read | |||
| Battery Power | W | Read | |||
| Battery SOC Start | % | Read | |||
| Battery SOC Stop | % | Read | |||
| Meter Type | Read | ||||
| Meter Name | Read | ||||
| Meter Serial | Read | ||||
| Meter Phase Count | Read | ||||
| Meter Available | Read | ||||
| Map Version | Read | ||||
| Model | Read | ||||
| Serial Number | Read | ||||
| Manufacturer | Read | ||||
| Firmware Version | Read | ||||
| Firmware Version Number | Read | ||||
| Model Type | Read |
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.
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
Connect the station to the network the ModbusCloud Gateway is on and give it a fixed IP address in the router.
Check that the station runs firmware 2.4.4 or later, because the Modbus TCP interface is part of the station firmware.
In ModbusCloud, add a Modbus device with the IP address of the station, port 502 and unit ID 1, then import this template.
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?













