Function Block Description - FsPumpCtrl

Pin Diagram

G-SE-0052830.1.gif-high.gif

 

 

Brief Description

The FsPumpCtrl function block executes the following tasks:

oProviding an operating hour counter for the FS pumps.

oIndicating a detected alarm for an FS pump if the configured response time has expired.

oVerifying whether the respective FS pumps are available before the switch command is mapped from the input to the output. Otherwise, the output (command bit) of the not available FS pump is set to FALSE (stop).

oGenerating of an alarm flag for each FS pump.

I/O Variables Description

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_astMode_FsPump

ARRAY [0..7] of stMode

Array of stMode to control and switch the operating mode of the FS pumps (maximum of 8).

Refer to the structure data type description.

iq_audiOpHr

ARRAY [0..7] of UDINT

This array is a table listing the operating hours of the FS pumps (maximum of 8).

This input/output variable can be reset or adjusted, including from HMI or SCADA systems.

The table describes the input variables to the function block:

Input

Data Type

Description

i_xRes

BOOL

Resets detected FS pump alarm states, if the cause has been corrected.

i_astSta_FsPump_Ex

ARRAY [0..7] of stSta

Structure contains the external status information from 8 FS pumps.

Refer to the structure data type description.

i_stCmd_FixPump

stCmd

Structure for switching the FS pumps into run state (maximum of 8).

Refer to the structure data type description.

i_siFsPumpMax

SINT

Contains the number of installed FS pumps.

i_tDelFbck

TIME

Defines the maximum time (in milliseconds) allowed for the FS pump to send a response.

Default: i_tDelFbck = T#1 s

As soon as the command is not equal to the response message received from the main contactor of the FS pump, a timer is started. If the time defined with this parameter expires without receiving a response equal to the command, then the FsPumpCtrl function block sets the output q_stRespErr.xDev(n) for the respective FS pump to TRUE to indicate that an error has been detected.

The table describes the output variables from the function block:

Output

Data Type

Description

q_stRespErr

stRespErr

Structure that indicates detected response errors from the pumps (maximum of 8).

Refer to the structure data type description.

q_stCmd_FixPump_Ex

stCmd

Structure used for switching the pumps into run state (maximum of 8).

Refer to the structure data type description.