ST_BA_Step

Data and command structure between the individual step sequence function blocks FB_BA_StepBinary / FB_BA_StepMdlt and the control block of the step sequence FB_BA_StepCtrlAgg16.

Illustration

TYPE ST_BA_Step:
STRUCT
  nStep         : UDINT;
  nRemSecOn     : UDINT;
  nRemSecOff    : UDINT;
  bEnUp         : BOOL;
  bEnDown       : BOOL;
  bRdyUp        : BOOL;
  bRdyDown      : BOOL;
  bUp           : BOOL;
  bDown         : BOOL;
END_STRUCT
END_TYPE

Name

Type

Description

nStep

UDINT

Display in which step the step sequence control is located.

nRemSecOn

UDINT

Countdown Switch-on of the next step [s]. The associated timing element is integrated in the step sequence function blocks FB_BA_StepBinary / FB_BA_StepMdlt.

nRemSecOff

UDINT

Countdown Switch-off of the next step [s]. The associated timing element is integrated in the step sequence function blocks FB_BA_StepBinary / FB_BA_StepMdlt.

bEnUp

BOOL

Indicates that the step has its release.

bEnDown

BOOL

The variable indicates that the active step is in the off state. After the switch-off delay nRemSecOff has elapsed, the step is switched off as well as bEnDown and the next step in the falling switch-off sequence becomes the active one.

bRdyUp

BOOL

After expiration of the start-up delay nRemSecOn and a TRUE at the feedback bFdb of the step sequence function block, bRdyUp is set and the next step is activated.

bRdyDown

BOOL

After the switch-off delay nRemSecOff has expired, bRdyDown is set for one cycle and the step is switched off.

bUp

BOOL

A TRUE means an increasing switch-on sequence of the aggregates from 1 to 16.

bDown

BOOL

A TRUE means a decreasing switch-off sequence from the highest, active aggregate towards 0.