EnergyCounter

The EnergyCounter single counter is initialized with the call rate/sample rate and increments the energy value (E=P*t) each time the Add*Pwr counting function is called.

Variables to start the energy meter and to output the actual energy value.

Variable name

Description

xEnable

Data type – BOOL

  • TRUE – Start energy meter
  • FALSE – Stop energy meter

rEAct_InWs

Data type – REAL

Current energy value in [Ws]

Note:

The function block also provides variables for Access management and Diagnostics.