E_BA_StateSeqLink
This enum indicates the status of FB_BA_SequenceLinkBase and FB_BA_PIDControlSequenceLink.
Syntax
{attribute 'qualified_only'}
{attribute strict}
TYPE E_BA_NoStartCtrlFound :
(
eOff := 1,
eOn := 2,
eMultipleDirectionActionSeqCtrl := 3,
eNextSequenceSetpointIsSmaller := 4,
eStartSequenceControllerNotEnabled := 5,
eSeqNumMultiple := 6,
eErrorParamMaxSeqCtrl := 7,
eNoSequenceControllerIsOperational := 8,
eSynchronisationSequenceControllerNotEnabled := 9
) UDINT;
END_TYPEName | Description |
|---|---|
eOff | The function block is not enabled via bEn. |
eOn | The sequence is running. |
eMultipleDirectionActionSeqCtrl | Multiple control directions of the sequence controllers. The sequence controllers are always checked in ascending numerical order, starting with the lowest-numbered controller. Changing the direction of action would be fine. In energy recovery, the control direction changes based on a comparison of the outside temperature and the exhaust air temperature. The example below shows the multiple control directions in field 5 of the array. |
eNextSequenceSetpointIsSmaller | The next sequence setpoint is less than the previous one. stSeqLink.arrSeqLinkData[1].fW >= stSeqLink.arrSeqLinkData[2].fW >= stSeqLink.arrSeqLinkData[3].fW … stSeqLink.arrSeqLinkData[BA_Param.nMaxSeqCtrl].fW |
eStartSequenceControllerNotEnabled | The start controller nNumStartCtrl has not been enabled. The next steps for finding a start controller are defined using the E_BA_NoStartCtrlFound enumeration. This ensures that the sequence always starts up. |
eSeqNumMultiple | A sequence number stSeqLink.arrSeqLinkData[x].nMyNum has been assigned more than once. This event is indicated by a TRUE value in stSeqLink.arrSeqLinkData[x].bSeqNumMultiple. |
eErrorParamMaxSeqCtrl | The global parameter BA_Param.nMaxSeqCtrl has a value of 0. This is the only event that stops sequence control. |
eNoSequenceControllerIsOperational | No sequence controller is operational. stSeqLink.arrSeqLinkData[x].bSeqCtrlOperable. |
eSynchronisationSequenceControllerNotEnabled | The synchronization sequence controller is not enabled. |
Example for eMultipleDirectionActionSeqCtrl:
stSeqLink.arrSeqLinkData[1].eActn = E_BA_Action.eReverse stSeqLink.arrSeqLinkData[2].eActn = E_BA_Action.eReverse stSeqLink.arrSeqLinkData[3].eActn = E_BA_Action.eReverse stSeqLink.arrSeqLinkData[4].eActn = E_BA_Action.eDirect stSeqLink.arrSeqLinkData[5].eActn = E_BA_Action.eReverse stSeqLink.arrSeqLinkData[6].eActn = E_BA_Action.eDirect stSeqLink.arrSeqLinkData[7].eActn = E_BA_Action.eDirect stSeqLink.arrSeqLinkData[8].eActn = E_BA_Action.eDirect