Structure Data Type Definitions - PipeFill

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: stFillInit

The stFillInit structure data type contains the initialization data for the PipeFill function block.

Element of stFillInit

Data Type

Description

rFillPres

REAL

This pipe fill pressure value (legend item 5 in the overview diagram of the start / restart procedure) is dedicated to the startup or restart procedure. It defines the pressure level that has to be reached to change from the first startup sequence to the second startup sequence. The second startup sequence uses the PumpPidStag function block.

tSequ1

TIME

Defines the time allowed for the first startup sequence.

Range: tSequ1 > T#0s

A timer is started when the PipeFill function block starts sequence 1.

If the time defined with this parameter expires without reaching the pressure level defined with the parameter rFillPres, then the PipeFill function block indicates that an alarm has been detected. This is achieved by setting the output q_stFillAlrm.xSequ1Timeout to TRUE.

tSequ2

TIME

Defines the time allowed for the second startup sequence.

Range: tSequ2 > T#0s

A timer is started when the PipeFill function block starts sequence 2.

If the time defined with this parameter expires without reaching the pressure working range (defined with the parameter irSP and the tolerance rTnce), then the PipeFill function block indicates that an alarm has been detected. This is achieved by setting the output q_stFillAlrm.xSequ2Timeout to TRUE.

rTn

REAL

Defines the stage time (Tn, in milliseconds) for the reference ramp during PID controlling in the second startup sequence.

Range: rTn > 0.0 ms

The time required to increase the pressure value by 1 unit.

rTnce

REAL

Defines the tolerance range. The tolerance is a ± value in %. It defines the range that the pressure may deviate from the user-defined pressure setpoint value (i_rSp). No detected alarm is indicated as long as the pressure is within this range.

Range: 10 > rTnce ≥ 0

Default value: 5 (allowing a deviation of 5% from the pressure setpoint value (i_rSp))

tPresAlrmDel

TIME

Defines the time the pressure value has to be continuously out of the tolerance range before a detected alarm is indicated on the alarm output.

Range: tPresAlrmDel > T#10s

Default value: T#30s

NOTE: The elements of the structure are set to the default values (0 or FALSE) assigned by the controller on system startup.

Structure: stFillAlrm

The stFillAlrm structure data type is used to indicate the alarm states detected in pipe fill mode.

Element of stFillAlrm

Data Type

Description

xSequ1TimeOut

BOOL

When TRUE, a timeout has been detected in sequence 1 of the pipe fill mode.

xSequ2TimeOut

BOOL

When TRUE, a timeout has been detected in sequence 2 of the pipe fill mode.

xDiscPresSta

BOOL

When TRUE, the discharge pressure value is not available.

xLowPres

BOOL

When TRUE, it has been detected that the pressure has been lower than the defined working range for the delay time defined with stFillInit.tPresAlrmDel.

xHighPres

BOOL

When TRUE, it has been detected that the pressure has been higher than the defined working range for the delay time defined with stFillInit.tPresAlrmDel.