ST_PMA_PowerValues_3Ph

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_3Ph or FB_PMA_PowerValues_3Ph.

Syntax

Definition:

TYPE ST_PMA_PowerValues_3Ph :
STRUCT
    aApparentPower         : ARRAY[0..2] OF LREAL;         // [VA]   | S        | apparent power
    aApparentPower_1       : ARRAY[0..2] OF LREAL;         // [VA]   | S_1      | fundamental apparent power
    aApparentPower_1_Min   : ARRAY[0..2] OF LREAL;         // [VA]   | S_1_min  | Min value of S_1
    aApparentPower_1_Max   : ARRAY[0..2] OF LREAL;         // [VA]   | S_1_max  | Max value of S_1
    aActivePower           : ARRAY[0..2] OF LREAL;         // [W]    | P        | active power
    aActivePower_Min       : ARRAY[0..2] OF LREAL;         // [W]    | P_min    | Min value of P
    aActivePower_Max       : ARRAY[0..2] OF LREAL;         // [W]    | P_max    | Max value of P
    aReactivePower_d       : ARRAY[0..2] OF LREAL;         // [var]  | Q_d      | distortion reactive power
    aReactivePower_1       : ARRAY[0..2] OF LREAL;         // [var]  | Q_1      | fundamental reactive power
    aReactivePower_1_Min   : ARRAY[0..2] OF LREAL;         // [var]  | Q_1_min  | Min value of Q_1
    aReactivePower_1_Max   : ARRAY[0..2] OF LREAL;         // [var]  | Q1_max   | Max value of Q_1
    aTotalReactivePower    : ARRAY[0..2] OF LREAL;         // [var]  | Q_tot    | total reactive power
    aPhi                   : ARRAY[0..2] OF LREAL;         // [°]    | phi      | phase difference
    aCosPhi                : ARRAY[0..2] OF LREAL;         // []     | COS(phi) |(P / S_1)
    aPowerFactor           : ARRAY[0..2] OF LREAL;         // []     | PF       | power factor (P / S)
    fSumApparentPower      : LREAL;                        // [VA]   | S_sum    | Sum of apparent power 1..3
    fSumActivePower        : LREAL;                        // [W]    | P_sum    | Sum of active power 1..3
    fSumTotalReactivePower : LREAL;                        // [var]  | Qtot_sum | Sum of total reactive power 1..3
    fSumReactivePower_1    : LREAL;                        // [var]  | Q1_sum   | Sum of abs fundamental reactive power 1..3
    aEnergy_Pos            : ARRAY[0..2] OF ST_PMA_Energy; // [kWh]  | W_pos    | Energy in positive direction
    aEnergy_Neg            : ARRAY[0..2] OF ST_PMA_Energy; // [kWh]  | W_neg    | Energy in negative direction
    aEnergy_Res            : ARRAY[0..2] OF 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