Structure Data Type Definitions - AuxPumpCtrl

Overview

Structure data types serve as the major input and output data carriers between different function blocks, configuration, and parameterization data.

The following section lists the names of structures (data types) that are used in this function block, followed by a table that describes the elements of structure.

NOTE: For the structure data types that are used from this function block and others, refer to the Common Structure Data Type Definitions chapter.

Structure: stAuxPumpCtrlInit

The stAuxPumpCtrlInit structure data type contains the initialization data for the AuxPumpCtrl function block.

Element of stAuxPumpCtrlInit

Data Type

Description

rFlowSleOff

REAL

Contains the OFF limit by flow for the sleep mode.

If this flow value is reached, the sleep mode variable iq_stOpMode.xSle  is set to FALSE by the AuxPumpCtrl function block.

rPresSleOff

REAL

Contains the OFF limit by pressure for the sleep mode.

If this pressure value is reached, the sleep mode variable iq_stOpMode.xSle is set to FALSE by the AuxPumpCtrl function block.

rPresAuxLimOn

REAL

Contains the ON limit by pressure for the auxiliary pump.

If this pressure value is reached, the AuxPumpCtrl function block starts the auxiliary pump to keep the pressure value within the pressure range allowed during sleep mode.

rPresAuxLimOff

REAL

Contains the OFF limit by pressure for the auxiliary pump.

If this pressure value is reached, the AuxPumpCtrl function block stops the auxiliary pump.

tFbckDel

TIME

Defines the time allowed for the auxiliary pump to send a response.

Range: tFbckDel > T > 0 s

As soon as the command is not equal to the response message received from the auxiliary pump, the delay timer of the feedback alarm is started. If the time elapses without receiving a response message equal to the command, an alarm is detected.

tMinTime

TIME

Defines the minimum time the auxiliary pump has to be running before it can be switched off again. This time span is also used as minimum stop time (time the auxiliary pump has to be in stop state before it can be switched on again).

NOTE: Thoroughly test all functions during verification and commissioning.

Structure: stAuxPumpCtrlSta

The stAuxPumpCtrlSta structure data type displays the status of the auxiliary pump on the HMI.

Element of stAuxPumpCtrlSta

Data Type

Description

xAuxPumpAct

BOOL

When TRUE, the auxiliary pump is active.

xSleAct

BOOL

When TRUE, the sleep mode is active.

xSleInt

BOOL

When TRUE, the AuxPumpCtrl function block has set the sleep mode to OFF because it has detected that the flow is above the allowed limit or the pressure is below the allowed limit.

Structure: stAuxPumpAlrm

The stAuxPumpAlrm output structure data type is used to indicate the detected alarm states.

Element of stAuxPumpAlrm

Data Type

Description

xParaVal

BOOL

When TRUE, a configuration error has been detected.

xStaErr

BOOL

When TRUE, a hardware error of the auxiliary pump has been detected.

xFbck

BOOL

When TRUE, a feedback error has been detected because no response has been received from the auxiliary pump within the defined feedback time.