Function Block Description - AuxPumpCtrl
The AuxPumpCtrl function block is used for controlling and switching the auxiliary pump in times of low demand (during sleep mode) to avoid using the main pumps.
Structure used for alarm handling. Refer to the structure data type description.
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_stOpMode |
stOpMode |
Determines the operating modes. If the element xSle of the structure data type stOpMode is set to TRUE, the function block executes its tasks. With another setting of this element, the outputs of this function block are set to their defined fallback (default) states. Refer to the structure data type description. |
iq_stMode_Aux |
stMode |
Structure for the mode states to control and switch the operating mode of the auxiliary pump. Refer to the structure data type description. |
iq_stAux_PumpCtrlInit |
stAuxPumpCtrlInit |
Structure used for initialization data for the auxiliary pump. Refer to the structure data type description. |
iq_udiAuxPumpOpHr |
UDINT |
Lists the operating hours of the auxiliary pump. This input/output variable can be reset or adjusted even from HMI or SCADA systems. |
The table describes the input variables to the function block:
Input |
Data Type |
Description |
---|---|---|
i_xRele |
i.param |
Activates (TRUE) or stops (FALSE) the execution of the function block. |
i_stSta_AuxPump_Ex |
stSta |
Structure that contains the status of the auxiliary pump. Refer to the structure data type description. |
i_xManCmd |
BOOL |
When TRUE, commands the start of the auxiliary pump. |
i_stAna_DiscPres |
stAna |
Structure that contains the discharge pressure and its status. Refer to the structure data type description. |
i_stAna_Flow |
stAna |
Structure that contains the flow input value and its status. Refer to the structure data type description. |
i_xRes |
BOOL |
Resets alarms detected in the auxiliary pump when the cause has been corrected. |
The table describes the output variables from the function block:
Output |
Data Type |
Description |
---|---|---|
q_stAuxPumpCtrlSta_Hmi |
stAuxPumpCtrlSta |
Structure is used to display the status of the auxiliary pump on the HMI. Refer to the structure data type description. |
q_stAuxPumpCom_Ex |
stAuxPumpCom |
Structure that is used to activate the auxiliary pump. Refer to the structure data type description. |
q_stAuxPumpAlrm |
stAuxPumpAlrm |
Structure is used to indicate alarm states of the auxiliary pump. Refer to the structure data type description. |