IETrigATl (ITF)¶
INTERFACE IETrigATl EXTENDS IETrigA, ITimeLimited, ITimingControlled
Um einen Funktionsbaustein mit ETrigATI-Verhalten zu erstellen, muss sein Action Provider mit dieser Schnittstelle dekoriert werden. Dieser parametriert so die Zustandsmaschine, die dann den Funktionsbaustein zu einem angemessen ETrigATI-Verhalten zwingt.
Siehe Decorators für weitere Informationen zum Konzept.
Zustandsdiagramm für Funktionsbausteine mit ETrigATI-Verhalten
- Starting:
- ⇒
StartActionläift, bisxCompleteTRUEist,xBusy⇒TRUEAm Anfang wirdSampleActionwahrscheinlich einmal ausgeführt. - 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 der AusgangszuständeAborted(xAbortisTRUE) oderError(eErrorID≠ERROR.NO_ERROR) sind möglich.(xBusyis stillTRUE!) - Done:
xDone⇒TRUE,xBusy⇒FALSE- Error:
xError⇒TRUE,eErrorID≠ERROR.NO_ERROR,xBusy⇒FALSE- Aborted:
xAborted⇒TRUE,xBusy⇒FALSE- Resetting:
- ⇒
ResetActionläuft, bisxCompleteTRUEistDanach:- the outputsxDone,xErrorandxAbortedwill be set toFALSE.- The outputeErrorIDwill be set toERROR.NO_ERROR.
Methods:
StartAction, inherited from IStartActionProvider