ST_TcPfw_xL3403_Input
Such a structure contains the input data for power measurement.
Syntax
TYPE ST_TcPfw_xL3403_Input:
(* location PfwLib_TempControl.PRO *)
(* last modification: 08.09.2010 *)
STRUCT
KL_DataIn : ARRAY[1..3] OF INT;
KL_State : ARRAY[1..3] OF USINT;
EL_Current : ARRAY[1..3] OF DINT;
EL_Voltage : ARRAY[1..3] OF DINT;
EL_Power : ARRAY[1..3] OF DINT;
EL_NoZeroCross : ARRAY[1..3] OF BOOL;
EL_WcState : BOOL;
EL_State : UINT;
EL_AdsAddr : ST_TcPfw_AdsAddr;
END_STRUCT
END_TYPE
Parameter
Name | Type | Description |
---|---|---|
KL_DataIn | ARRAY OF INT | Must be linked to "Data on". This is used to communicate with the terminals. |
KL_State | ARRAY OF USINT | Must be linked to the "State" variable of the KL terminal. This is used to transfer the state of the terminal. |
EL_Current | ARRAY OF DINT | Must be linked to the "Current" variable of the EL terminal. |
EL_Voltage | ARRAY OF DINT | Must be linked to the "Voltage" variable of the EL terminal. |
EL_Power | ARRAY OF DINT | Must be linked to the "Active Power" variable of the EL terminal. The power is stored in this variable. |
EL_NoZeroCross | ARRAY OF BOOL | Must be linked to "Missing Zero Crossing" of the EL terminal. |
EL_WcState | BOOL | Must be linked to the "WcState" variable of the EL terminal. This is used to detect whether the process data coming from the terminal are OK. |
EL_State | UINT | Must be linked to the "State" variable of the EL terminal. This is used to return the current state of the terminal. |
EL_AdsAddr | ST_TcPfw_AdsAddr | When using the EL3403 terminal, the process value "AdsAddr" must be linked here. This connection is used for CoE communication. |