Structure Data Type Definitions - DevSwcPumpCtrl

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

The stSwcInit structure data type contains the initialization data for the DevSwcPumpCtrl function block (refer to the examples).

Element of stSwcInit

Data Type

Description

siNuVsdMax

SINT

Number of VSDs installed.

Range: 0...8

siNuVsPumpMax

SINT

Number of VS pumps installed.

Range: 0...8

siNuFsPumpMax

SINT

Number of FS pumps installed.

Range: 0...8

siNuVsd

SINT

Maximum number of VSDs that can be used simultaneously.

Range: 0...8

siNuVsPump

SINT

Maximum number of VS pumps that can be used simultaneously.

Range: 0...8

siNuFsPump

SINT

Maximum number of FS pumps that can be used simultaneously.

Range: 0...8

xFlexStart

BOOL

When TRUE, flexible start is used.

xFixLink

BOOL

When TRUE, the links between the VSDs and the VS pumps are fixed.

xByPass

BOOL

When TRUE, the VS pumps can bypass the VSDs.

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

Structure: stSwcErr

The stSwcErr structure data type is used to indicate the detected alarms or alerts.

Element of stSwcErr

Data Type

Description

stSwcAlrm

stSwcAlrm

The structure data type for detected alarms.

stSwcAlrt

stSwcAlrt

The structure data type for detected alerts.

Structure: stSwcAlrm

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

Element of stSwcAlrm

Data Type

Description

xLinkErr

BOOL

When TRUE, it has been detected that the VSD and the VS pump are not in the same state of operation (run or stop).

xStagErr

BOOL

When TRUE, it has been detected that the stage value is not valid because it does not comply with the number of pumps.

xParaErr

BOOL

When TRUE, an error in the configuration has been detected.

Structure: stSwcAlrt

The stSwcAlrt structure data type is substructure of stSwcErr. It is used to indicate the detected alert states.

Element of stSwcAlrt

Data Type

Description

xNoVsPlusFs

BOOL

When TRUE, a configuration error has been detected: The stage value demands a higher number of pumps than the maximum number of pumps (FS pumps and VS pumps) configured for simultaneous use.