ST_PMA_THD_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 description of the function block FB_PMA_Harmonics_1Ph.

Syntax

Definition:

TYPE ST_PMA_THD_1Ph :
STRUCT
    fTHD_U     : LREAL; // [] | THD_U     | Total harmonic distortion of voltage | in percent
    fTHD_U_Min : LREAL; // [] | THD_U_min | Min value of THD_U
    fTHD_U_Max : LREAL; // [] | THD_U_max | Max value of THD_U
    fTHD_I     : LREAL; // [] | THD_I     | Total harmonic distortion of current | in percent
    fTHD_I_Min : LREAL; // [] | THD_I_min | Min value of THD_I
    fTHD_I_Max : LREAL; // [] | THD_I_max | Max value of THD_I
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