Structure Data Type Definitions - OpPrty

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

The stUsrTbl structure data type contains the user-defined priority table. It allows you to assign a priority value to each of the 8 pumps or VSDs:

Element of stUsrTbl

Data Type

Description

siDev1Prty

SINT

Defines the priority value for VSD 1 or pump 1.

...

...

...

siDev8Prty

SINT

Defines the priority value for VSD 8 or pump 8.

Enumeration: esiPrtyMode

The enumeration esiPrtyMode data type is used to define the type of priority that is used.

Enumeration of esiPrtyMode

Data Type

Description

Op

UDINT

The priority is assigned to the pumps or VSDs according to the operating hours.

The operating hour values are provided via the parameter audiOpHr by the following function blocks:

oFsPumpCtrl for FS pumps

oVsPumpCtrl for VS pumps

oVsdCtrl for VSDs

Value: 0

User

UDINT

The priority is assigned to the pumps or VSDs according to the user table.

The priority values for the different pumps or VSDs are defined by the operator via the parameter i_stUsrTbl.

Value: 1