ST_TcPfw_EL3773_Input
Such a structure contains the input data for power measurement.
Syntax
TYPE ST_TcPfw_EL3773_Input:
(* location PfwLib_TempControl.PRO *)
(* last modification: 08.09.2010 *)
STRUCT
uiStatusU1 : UINT;
iVoltageU1 : ARRAY[1..cnOversampling] OF INT;
uiStatusU2 : UINT;
iVoltageU2 : ARRAY[1..cnOversampling] OF INT;
uiStatusU3 : UINT;
iVoltageU3 : ARRAY[1..cnOversampling] OF INT;
uiStatusI1 : UINT;
iCurrentI1 : ARRAY[1..cnOversampling] OF INT;
uiStatusI2 : UINT;
iCurrentI2 : ARRAY[1..cnOversampling] OF INT;
uiStatusI3 : UINT;
iCurrentI3 : ARRAY[1..cnOversampling] OF INT;
SampleCount : UINT;
WcState : BOOL;
InputToggle : BOOL;
State : UINT;
DcOutputShift: UDINT;
DcInputShift : UDINT;
AdsAddr : ST_TcPfw_AdsAddr;
END_STRUCT
END_TYPE
Parameter
Name | Type | Description |
---|---|---|
uiStatusU1 | UINT | Status of the first voltage channel |
iVoltageU1 | ARRAY | Voltage of the first channel |
uiStatusU2 | UINT | Status of the second voltage channel |
iVoltageU2 | ARRAY | Voltage of the second channel |
uiStatusU3 | UINT | Status of the third voltage channel |
iVoltageU3 | ARRAY | Voltage of the third channel |
uiStatusI1 | UINT | Status of the first current channel |
iCurrentI1 | ARRAY | Current value of the first current channel |
uiStatusI2 | UINT | Status of the second current channel |
iCurrentI2 | ARRAY | Current value of the second current channel |
uiStatusI3 | UINT | Status of the third current channel |
iCurrentI3 | ARRAY | Current value of the third current channel |
SampleCount | UINT | The SampleCounter is incremented by one unit with each process data cycle. The CycleCounter enables the higher-level controller to check whether a data record has possibly been omitted or transmitted twice. In that case the DC shift time of the terminal usually has to be adapted. |
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. |
InputToggle | BOOL | The variable InputToggle indicates whether a new valid telegram was received. The value is incremented by one after each successful cycle. |
State | UINT | Must be linked to the "State" variable of the EL terminal. This is used to return the current state of the terminal. |
DcOutputShift | UDINT | DcOutputShift is the time for the output of the process data to the drive, i.e. for the time delay between the calculation and the effect of these data. |
DcInputShift | UDINT | DcInputShift is the time required to transmit status information, such as the actual position of a drive, to the controller. In other words, it is the time between the acquisition and the evaluation of these data. |
AdsAddr | ST_TcPfw_AdsAddr | When using the EL3773 terminal, the process value "AdsAddr" must be linked here. This connection is used for CoE communication.
|