Function Block Description - VsPumpCtrl
The VsPumpCtrl function block executes the following tasks:
oProviding an operating hour counter for the VS pumps.
oIndicating a detected alarm for a VS pump if the configured response time has expired.
oVerifying whether the respective VS pumps are available before the switch command is mapped from the input to the output. Otherwise the output (command bit) of the not available VS pump is set to FALSE (stop).
oGenerating of an alarm flag for each VSD.
The table describes the input/output variables of the function block:
Input/Output |
Data Type |
Description |
---|---|---|
iq_stAlrmCtrl |
stAlrmCtrl |
Structure used for alarm handling. Refer to the structure data type description. |
iq_astMode_VsPump |
ARRAY [0..7] of stMode |
Array of stMode to control and switch the operating mode of the VS pumps (maximum of 8). Refer to the structure data type description. |
iq_audiOpHr |
ARRAY [0..7] of UDINT |
This array is a table listing the operating hours of the VS pumps (maximum of 8). This input/output variable can be reset or adjusted, including from HMI or SCADA systems. |
The table describes the input variables to the function block:
Input |
Data Type |
Description |
---|---|---|
i_xRes |
BOOL |
Resets detected VS pump alarm states, if the cause has been corrected. |
i_astSta_VsPump_Ex |
ARRAY [0..7] of stSta |
Array of stSta. Contains the external status information from up to 8 VS pumps. Refer to the structure data type description. |
i_astLink_VsPump |
ARRAY [0..7] of stLink |
Array of stLink to link the VS pumps (maximum of 8) dynamically or constantly to one of the VSDs or directly to the power source (direct online) by using contactors. Refer to the structure data type description. |
i_siVsPumpMax |
SINT |
Contains the number of installed VS pumps. |
i_tDelFbck |
TIME |
Defines the maximum time (in milliseconds) allowed for the VS pump to send a response. Default: i_tDelFbck = T#1 s As soon as the command is not equal to the response message received from the main contactor of the VS pump, a timer is started. If the time defined with this parameter expires without receiving a response equal to the command, then the VsPumpCtrl function block sets the output q_stRespErr.xDev(n)for the respective VS pump to TRUE to indicate that an error has been detected. |
The table describes the output variables from the function block:
Output |
Data Type |
Description |
---|---|---|
q_stRespErr |
stRespErr |
Structure that indicates detected response errors in the pumps (maximum of 8). Refer to the structure data type description. |
q_astLink_VsPump_Ex |
ARRAY [0..7] of stLink |
Array of stLink to link the VS pumps (maximum of 8) dynamically or constantly to one of the VSDs or directly to the power source (direct online) by using contactors. Refer to the structure data type description. |
q_abyVsdNu_Hmi |
ARRAY [0..7] of Byte |
Output array of the used VSD numbers. Refer to the structure data type description. |