ILCon (ITF)¶
INTERFACE ILCon EXTENDS IActionProvider, ILevelControlled
Um einen Funktionsbaustein mit LCon-Verhalten zu erstellen, muss sein Action Provider mit dieser Schnittstelle dekoriert werden. Dieser parametriert so die Zustandsmaschine, die dann den Funktionsbaustein zu einem angemessen LCon-Verhalten zwingt.
Siehe Decorators für weitere Informationen zum Konzept.
Zustandsdiagramm für Funktionsbausteine mit LCon-Verhalten
- Starting:
⇒
StartActionläift, bisxCompleteTRUEist,xBusy⇒TRUE- Executing:
⇒
CyclicActionläuft, bisxCompleteTRUEist- Cleaning:
- ⇒
CleanupActionläuft An seinem Ende wirdExitActionwahrscheinlich einmal ausgeführt.Nach einerReady Conditionals Eingang, sind nur die AusgangszuständeDone(xCompleteisTRUE) oderError(eErrorID≠ERROR.NO_ERROR) möglich.Nach einerError Conditionals Eingang, ist nur der AusgangszustandError(eErrorID≠ERROR.NO_ERROR) möglich.Nach einerAbort Conditionals Eingang, sind nur die AusgangszuständeResettingoderError(eErrorID≠ERROR.NO_ERROR) möglich.(xBusyis stillTRUE!) - Done:
xDone⇒TRUE,xBusy⇒FALSE- Error:
xError⇒TRUE,eErrorID≠ERROR.NO_ERROR,xBusy⇒FALSE- Resetting:
- ⇒
ResetActionläuft, bisxCompleteTRUEistDanach:- the outputsxDoneandxErrorwill be set toFALSE.- The outputeErrorIDwill be set toERROR.NO_ERROR.
Methods:
StartAction, inherited from IStartActionProvider
