ST_BA_Aggregate

The aggregate structure is used for bidirectional communication between the connected aggregate FB_BA_Aggregate and the plant control FB_BA_PlantControl.

The structure contains the switching values, the plant profile and the current step of the step sequence control.

The plant control receives feedback from the aggregate for the step sequence control.

Syntax

TYPE ST_BA_Aggregate:
STRUCT
  nStep               : UDINT; 
  nPrio               : UDINT;
  nProfile            : UDINT;
  fValue              : REAL;
  nValue              : UDINT;
  bValue              : BOOL;
  bUp                 : BOOL;
  bDown               : BOOL;
  bWatchdog           : BOOL;
  bFdbUp              : BOOL;
  bFdbDown            : BOOL;
END_STRUCT
END_TYPE

Name

Type

Description

nStep

UDINT

Indicates the current step of the step sequence control.

nPrio

UDINT

Shows the active priority of the profile.

nProfile

UDINT

Indicates which profile is active.

fValue

REAL

Transmits the analog switching value to the aggregate.

nValue

UDINT

Transmits the numerical switching value to the aggregate.

bValue

BOOL

Transmits the Boolean switching value to the aggregate.

bUp

BOOL

Indicates that the sequence of the step sequence control is in the rising state.

bDown

BOOL

Indicates that the sequence of the step sequence control is in the falling state.

bWatchdog

BOOL

Bidirectional monitoring of communication between the aggregate and the plant control. If an aggregate is not present within the step sequence control, the step sequence control cannot run into this step.

bFdbUp

BOOL

Feedback "Up" from the respective aggregate to the plant control.

bFdbDown

BOOL

Feedback "Down" of the respective aggregate to the plant control.