ST_PMA_PowerValues_1Ph

Structure that summarizes the results of the corresponding function block. It can be queried via the property stResults. Details on the values contained can be found in the comment or in the descriptions of the function blocks FB_PMA_PowerValues_Period_1Ph or FB_PMA_PowerValues_1Ph.

Syntax

Definition:

Type ST_PMA_PowerValues_1Ph
STRUCT
    fApparentPower       : LREAL;         // [VA]  | S       | apparent power
    fApparentPower_1     : LREAL;         // [VA]  | S_1     | fundamental apparent power
    fApparentPower_1_Min : LREAL;         // [VA]  | S_1_min | Min value of S_1
    fApparentPower_1_Max : LREAL;         // [VA]  | S_1_max | Max value of S_1
    fActivePower         : LREAL;         // [W]   | P       | active power
    fActivePower_Min     : LREAL;         // [W]   | P_min   | Min value of P
    fActivePower_Max     : LREAL;         // [W]   | P_max   | Max value of P
    fReactivePower_d     : LREAL;         // [var] | Q_d     | distortion reactive power
    fReactivePower_1     : LREAL;         // [var] | Q_1     | fundamental reactive power
    fReactivePower_1_Min : LREAL;         // [var] | Q_1_min | Min value of Q_1
    fReactivePower_1_Max : LREAL;         // [var] | Q1_max  | Max value of Q_1
    fTotalReactivePower  : LREAL;         // [var] | Q_tot   | total reactive power 
    fPhi                 : LREAL;         // [°]   | phi     | phase difference
    fCosPhi              : LREAL;         // []    | COS(phi)|(P / S_1)
    fPowerFactor         : LREAL;         // []    | PF      | power factor (P / S)
    stEnergy_Pos         : ST_PMA_Energy; // [kWh] | W_pos   | Energy in positive direction
    stEnergy_Neg         : ST_PMA_Energy; // [kWh] | W_neg   | Energy in negative direction
    stEnergy_Res         : ST_PMA_Energy; // [kWh] | W       | Resulting energy
END_STRUCT
END_TYPE

Requirements

Development environment

Target platform

PLC libraries to include

TwinCAT v3.1.4024.0

PC or CX (x86, x64)

Tc3_PowerMonitoring