ILCon (ITF)¶
INTERFACE ILCon EXTENDS IActionProvider, ILevelControlled
In order to build a function block with a LCon
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 LCon
behaviour.
See Decorators for more information about the concept.
A state chart for function blocks with LCon behaviour
- Starting:
⇒
StartAction
is running, untilxComplete
isTRUE
,xBusy
⇒TRUE
- Executing:
⇒
CyclicAction
is running untilxComplete
isTRUE
- Cleaning:
- ⇒
CleanupAction
is running. At its end theExitAction
is probably executed one time.After aReady Condition
as input, only the output statesDone
(xComplete
isTRUE
) orError
(eErrorID
≠ERROR.NO_ERROR
) are possible.After aError Condition
as input, only the output stateError
(eErrorID
≠ERROR.NO_ERROR
) is possible.After aAbort Condition
as input, only the output statesResetting
orError
(eErrorID
≠ERROR.NO_ERROR
) are possible.(xBusy
is stillTRUE
!) - Done:
xDone
⇒TRUE
,xBusy
⇒FALSE
- Error:
xError
⇒TRUE
,eErrorID
≠ERROR.NO_ERROR
,xBusy
⇒FALSE
- Resetting:
- ⇒
ResetAction
is running, untilxComplete
isTRUE
.After that:- the outputsxDone
andxError
will be set toFALSE
.- The outputeErrorID
will be set toERROR.NO_ERROR
.
Methods:
StartAction, inherited from IStartActionProvider