EnergyMultiCounter

Variables for handling the energy meter, i.e. to activate and deactivate the function and to output status information and energy values.

Variable name

Description

xEnable

Data type – BOOL

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

xReset

Data type – BOOL

  • TRUE – Reset messages
  • FALSE – Do not reset messages

xError

Data type – BOOL

  • TRUE – Error present
  • FALSE – No error present

xWarning

Data type – BOOL

  • TRUE – Warning present
  • FALSE – No warning present

udiMessageID

Data type – UDINT

Message ID number

sAdditionalText

Data type – STRING

Additional message text

xGetAccessControl

Data type – BOOL

  • TRUE – Request access
  • FALSE – Return access

xControlActive

Data type – BOOL

  • TRUE – Access granted
  • FALSE – Access denied

xResetCounter

Data type – BOOL

  • TRUE – Reset counter reading
  • FALSE – Do not reset counter reading

rEAct_Cmpl_InWs

Data type – REAL

Sum of all energy values in [Ws]

rEAct_Neg_InWs

Data type – REAL

Sum of all negative energy values in [Ws]

rEAct_Pos_InWs

Data type – REAL

Sum of all positive energy values in [Ws]

r15MinAverage

Data type – REAL

Mean power value of the last 15 min in [W]

MaxPwr

Data type – REAL

Maximum value of the applied power in [W]

MinPwr

Data type – REAL

Minimum value of the applied power in [W]