IETrigATlTo (ITF)

INTERFACE IETrigATlTo EXTENDS IETrigATl, ITimeOutConstraint

In order to build a function block with an ETrigATlTo behaviour, its action provider has to be decorated with this interface. This will determine the state machine which then forces the function block to the appropriate ETrigATlTo behaviour.

See Decorators for more information about the concept.

A state chart for function blocks with ETrigATlTo behaviour

Starting

StartAction is running, until xComplete is TRUE, xBusyTRUE

At its beginning the SampleAction is probably executed one time.

Executing

CyclicAction is running until xComplete is TRUE

Cleaning

CleanupAction is running. At its end the ExitAction is probably executed one time.

After a Ready Condition as input, only the output states

Done (xComplete is TRUE) or Error (eErrorIDERROR.NO_ERROR) are possible.

After a Error Condition as input, only the output state

Error (eErrorIDERROR.NO_ERROR) is possible.

After a Abort Condition as Input, only the output states

Aborted (xAbort is TRUE) or Error (eErrorIDERROR.NO_ERROR) are possible.

(xBusy is still TRUE!)

Done

xDoneTRUE, xBusyFALSE

Error

xErrorTRUE, eErrorIDERROR.NO_ERROR, xBusyFALSE

Aborted

xAbortedTRUE, xBusyFALSE

Resetting

ResetAction is running, until xComplete is TRUE.

After that:

- the outputs xDone, xError and xAborted will be set to FALSE.

- The output eErrorID will be set to ERROR.NO_ERROR.