The Wallbox function block is used to control a charging station for electric vehicles.

Charging a vehicle with the right power at the right time is essential for efficient energy management.

Therefore the function block comes with up to five customizable charging modes with which the charging power can be limited by individual logic.

With a dedicated input a charging session can be paused to avoid grid power peaks or equal.

Table of Contents


Abbreviation Summary Description Unit Value Range
Ec Enable charging - 0/1
Vc Vehicle Connected - 0/1
Cp Current charging power -
Mr Meter reading - 0...∞
Sm1-5 Set charging mode 1-5 This input is only visible in certain configurations. - 0/1
Lm1-5 Limit charging mode 1-5 Define up to 5 charging modes with different charging limits. This input is only visible in certain configurations. kW
Uid User ID - -
Ls Load shedding If on, the charging is paused to avoid grid power peaks or equal. - 0/1
Off Off Pulse: reset outputs except meter outputs
On: Block is locked.
Dominating input.
- 0/1
R Reset meter reading outputs - 0/1
Cac Charging active - 0/1


Abbreviation Summary Description Unit Value Range
Ca Charging allowed Charging is allowed when:
-Ec (Enable Charging) is active
-Charging is not disabled via Ls or Off
-Charging limit is not below minimal charging power.
- 0/1
Vc Vehicle connected - 0/1
Cp Current charging power -
M Current charging mode Charging mode 1-5. 99 = Manual mode (App only) -
Tp Target charging power Target charging power according to current mode..
Output is 0 if charging Limit is below minimal charging power or output Ca is 0.
Ls Load shedding - 0/1
Mr Meter reading -
Ccc Consumption current charge -
Clc Consumption last charge -
Cd Consumption today -
Cw Consumption this week -
Cm Consumption this month -
Cy Consumption this year -
Lcl Last charge log Text output of
- Vc On and Off time
- Duration (Vc on/off)
- Charged energy (kWh)
- User ID.
- -
Cac Charging active - 0/1
Cld Consumption yesterday -
Clm Consumption last month -
Cly Consumption last year -
AC API Connector Intelligent API based connector.
API Commands
- -


Abbreviation Summary Description Value Range Default Value
Muv Mode after unplugging the vehicle 0 = Keep current mode
1-5 = Switch to mode 1-5


Summary Description Value Range Default Value
Number of Entries Maximum number of saved messages. 1...100 100
Relative metering Active: The physical meter only sends partial quantities at intervals (relative), the block adds them up and uses them to form the meter reading.
Not active: The physical meter provides its own total meter reading (absolute), the function block only maps it.
- -
Min. charging power Min. charging power [kW] 0...∞ 4.16
Max. charging power Max. charging power [kW] 0...∞ 11
Configuration Configuration of the Inputs and Outputs Used. - -

Charging session

A charging session is the time between connecting and disconnecting a vehicle. The session can be paused / resumed with inputs Ec, Ls or App.

Charge log on output Lcl is set when starting / ending a sesion or if the userID changes during an active session.

Minimum and maximum Limits

Minimum and maximum limits define the allowed range of Output Tp (Target charging Limit).

Charging Limit can be configured for each mode via Dialog/App, or via logic in Inputs Lm1-5.

If the charging limit falls below the minumum charging limit, charging is paused and target charging limit is set to 0.