Function Block Description - PumpAvai
The PumpAvai function block verifies the status and the operating modes of a maximum of 8 pumps to indicate their availability to the other function blocks.
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 xAuto of the structure data type stOpMode is set to TRUE, the function block executes its tasks automatically. With another status 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_astMode |
ARRAY [0..7] of stMode |
Array of stMode to control and switch the operating mode of the 8 pumps. If the element xAuto of the structure data type stMode is set to TRUE, the pump is available for automatic mode. With another setting of this element, the respective pump is not available. Refer to the structure data type description. |
The table describes the input variables to the function block:
Input |
Data Type |
Description |
---|---|---|
i_xRele |
BOOL |
Activates (TRUE) or stops (FALSE) the execution of the function block. |
i_siNuPump |
SINT |
Defines the number of installed pumps. Range: 1...8 |
i_astSta_Ex |
ARRAY [0..7] of stSta |
Array of stSta. Contains the external status information from 8 pumps. Refer to the structure data type description. |
The table describes the output variable from the function block:
Output |
Data Type |
Description |
---|---|---|
q_stAvai |
stAvai |
Structure that indicates the availability for a maximum of 8 pumps. Refer to the structure data type description. |