INTERFACE ILConC EXTENDS IActionProvider, ILevelControlled, IHasContinuousBehaviour
In order to build a function block with a LConC 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 LConC behaviour.
See Decorators for more information about the concept.
A state chart for function blocks with LConC behaviour
⇒ StartAction is running, until xComplete is TRUE, xBusy ⇒ TRUE
⇒ CyclicAction is running until xComplete is TRUE
⇒ CleanupAction is running. At its end the ExitAction is probably executed one time.
After a Ready Condition as input, only the output state
Error (eErrorID ≠ ERROR.NO_ERROR) is possible.
After a Error Condition as input, only the output state
Error (eErrorID ≠ ERROR.NO_ERROR) is possible.
After a Abort Condition as Input, only the output states
Resetting or Error (eErrorID ≠ ERROR.NO_ERROR) are possible.
(xBusy is still TRUE!)
xError ⇒ TRUE, eErrorID ≠ ERROR.NO_ERROR, xBusy ⇒ FALSE
⇒ ResetAction is running, until xComplete is TRUE.
After that:
- the output xError will be set to FALSE.
- The output eErrorID will be set to ERROR.NO_ERROR.