Function Block Description - VsdCtrl

Pin Diagram

G-SE-0052822.1.gif-high.gif

 

 

Brief Description

The VsdCtrl function block executes the following tasks:

oProviding operating hour counters for the VSDs.

oIndicating a detected alarm for a VSD if the configured response time has expired.

oVerifying whether the respective VSDs are available before the switch command is mapped from the input to the output. Otherwise, the output (command bit) of the unavailable VSD is set to FALSE (stop).

oGenerating of an alarm flag for each VSD.

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_Vsd

ARRAY [0..7] of stMode

Array of stMode to control and switch the operating mode of the VSDs (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 VSDs (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 alarms detected in the VSDs if the cause has been corrected.

i_astVsdSta_Ex

ARRAY [0..7] of stVsdSta

Array of stVsdSta. Contains the external status information from up to 8 VSDs.

Refer to the structure data type description.

i_stCmd_Vsd

stCmd

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

Refer to the structure data type description.

i_siVsdMax

SINT

Contains the number of installed VSDs.

i_tDelFbck

TIME

Defines the maximum time (in milliseconds) allowed for the VSD 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 VSD, a timer is started. If the time defined with this parameter expires without receiving a response equal to the command, then the VsdCtrl function block sets the output q_stRespErr.xDev(n) for the respective VSD 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 errors in the pumps (maximum of 8).

Refer to the structure data type description.

q_stCmd_Vsd_Ex

ARRAY [0..7] of stCmd

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

Refer to the structure data type description.