ST_BA_PIDControlSequenceData
This structure contains the data and commands of the individual sequence controllers FB_BA_PIDControlSequence.
Syntax
TYPE ST_BA_PIDControlSequenceData :
STRUCT
fY : REAL;
fYMin : REAL;
fYMax : REAL;
fW : REAL;
fX : REAL;
fE : REAL;
nActvSeqCtrl : UDINT;
nMyNum : UDINT;
eActn : E_BA_Action;
bSeqCtrlOperable : BOOL;
bWatchdog : BOOL;
bSeqNumMultiple : BOOL;
bEn : BOOL;
bIsActvSeqCtrl : BOOL;
END_STRUCT
END_TYPE
Name | Type | Description |
---|---|---|
fY | REAL | Control value |
fYMin | REAL | Minimum control value |
fYMax | REAL | Maximum control value |
fW | REAL | Setpoint |
fX | REAL | Process value |
fE | REAL | Displays the control deviation of the sequence controller. This depends on the control direction of the respective sequence controller. E_BA_Action.eDirect -> fE = fX-fW E_BA_Action.eReverse -> fE = fW-fX |
nActvSeqCtrl | UDINT | Number of the active sequence controller. |
nMyNum | UDINT | My number in the sequence. |
eActn | Controller control direction | |
bSeqCtrlOperable | BOOL | The sequence controller is ready to operate. |
bWatchdog | BOOL | The watchdog is set at each PLC cycle in each sequence controller and reset after evaluation in the sequence link. |
bSeqNumMultiple | BOOL | Indicates that the own sequence number nMyNum has been assigned multiple times to sequence controllers. |
bEn | BOOL | Input Enable sequence controller |
bIsActvSeqCtrl | BOOL | Indicates that the sequence controller is the active one in the sequence. |