E_BA_NoEnableSeqCtrl

If during the running process the active sequence controller loses its operational readiness, then the enumeration E_BA_NoEnableSeqCtrl defines the procedure to find a new, active sequence controller.

E_BA_NoEnableSeqCtrl is used in FB_BA_SequenceLinkBase.

Syntax

TYPE E_BA_NoEnableSeqCtrl :
(
  eFirstSeqNum          := 1,
  eLastSeqNum           := 2,
  eFirstActionDirect    := 3,
  eLastActionReverse    := 4,
  eNextSeqCtrl          := 5,
  ePreviousSeqCtrl      := 6,
  eNextAction           := 7
) UDINT;
END_TYPE

Name

Description

eFirstSeqNum

The first sequence controller that is ready to operate becomes the new, active sequence controller.

eLastSeqNum

The last sequence controller that is operational becomes the new, active sequence controller.

eFirstActionDirect

The first operational sequence controller with the E_BA_Action.eDirect control direction will be the new active sequence controller. If none is found, then E_BA_NoEnableSeqCtrl.eLastSeqNum is implemented.

eLastActionReverse

The last sequence controller that is operational and has the control direction E_BA_Action.eReverse becomes the new, active sequence controller. If none is found, then E_BA_NoEnableSeqCtrl.eFirstSeqNum is implemented.

eNextSeqCtrl

The next operational sequence controller after the last active one becomes the new active sequence controller (after 5, 6 or higher would follow). If none is found, then E_BA_NoEnableSeqCtrl.eLastSeqNum is implemented.

ePreviousSeqCtrl

The previous operational sequence controller before the last active one becomes the new active sequence controller (after 5, 4 or lower would follow). If none is found, then E_BA_NoEnableSeqCtrl.eFirstSeqNum is implemented.

eNextAction

A new, active sequence controller is defined based on the control direction of the sequence controller that is no longer active.

Control direction eActn = E_BA_Action.eDirect (Cooling): The next sequence controller that is ready to operate and has the control direction E_BA_Action.eDirect becomes the new active controller in the sequence control (after 5, 6, or higher would follow). If none is found, then E_BA_NoEnableSeqCtrl.eLastSeqNum is implemented.

Control direction eActn = E_BA_Action.eReverse (Heating): The previous, operational sequence controller with the direction of action E_BA_Action.eReverse becomes the new, active one in the sequence control (after 5, 4, or lower would follow). If none is found, then E_BA_NoEnableSeqCtrl.eFirstSeqNum is implemented.