Function Block Description - PipeFill
The PipeFill function block verifies the discharge pressure in the discharge pipe to help to reach the working pressure range of the pressure quickly after start or restart of the pumping application. During normal operation, it generates an alarm if it detects that the pressure level is higher or lower than the working range for a certain time.
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_stFillInit |
stFillInit |
Structure used for initialization data. Refer to the structure data type description. |
The table describes the input variables to the function block:
Input |
Data Type |
Description |
---|---|---|
i_xExe |
BOOL |
Input from the operator to start the pipe fill mode manually. When TRUE, the pipe fill mode is started. |
i_stAna_DiscPres |
stAna |
Structure used for the analog input value containing the discharge pressure and the state of this value. Refer to the structure data type description. |
i_rSp |
REAL |
Contains the user-defined pressure setpoint which can be adapted by other functions, like compensation functions using the flow value from flow meter, if available or the cavitation protection function. |
i_rSpAct |
REAL |
Contains the adapted pressure setpoint that is influenced by other functions, like compensation functions (using the flow value from the flow meter, if available) or the cavitation protection function. The value is constantly adjusted to the situation of the pumping application. |
The table describes the output variables from the function block:
Output |
Data Type |
Description |
---|---|---|
q_stFillSta_Hmi |
stFillStat |
Structure that is used to display the status of the pipe fill function on the HMI. Refer to the structure data type description. |
q_stRef_FillRef |
stRef |
Structure that contains the adjusted pressure value. This is the user-defined pressure setpoint that has been corrected by the pipe fill function. Refer to the structure data type description. |
q_stFillAlrm |
stFillAlrm |
Structure that indicates the alarm states detected in pipe fill mode. Refer to the structure data type description. |