ST_BA_Multistate

The command structure is used to control multi-level aggregates and contains the priorities Safety, Critical and Program.

TYPE ST_BA_Multistate: 
STRUCT 
     bEnSfty     : BOOL;  
     nValSfty    : UDINT; 
     bEnCrit     : BOOL; 
     nValCrit    : UDINT; 
     bEnPgm      : BOOL;  
     nValPgm     : UDINT; 
END_STRUCT 
END_TYPE

Name

Type

Description

bEnSfty

BOOL

Enable for writing the "Safety" priority.

nValSfty

UDINT

Value of the "Safety" priority to be written.

bEnCrit

BOOL

Enable for writing the "Critical" priority.

nValCrit

UDINT

Value of the "Critical" priority to be written.

bEnPgm

BOOL

Enable for writing the "Program" priority.

nValPgm

UDINT

Value of the "Program" priority to be written.