LConTl (FB)

FUNCTION_BLOCK LConTl EXTENDS TimingControlledBehaviourModelBase IMPLEMENTS ILConTl

Base implementation of a PLCopen Level Controlled Behavior Model (see: ILConTl)

For use, this block should be extended and the specific inputs and outputs must be supplemented. The output eErrorID of the application-specific enum type ERROR must be added.

InOut:

Scope

Name

Type

Comment

Input

xEnable

BOOL

TRUE: Activates the defined operation FALSE: Aborts/resets the defined operation

udiTimeLimit

UDINT

Max. operating time per invocation [µs], 0: No operating time limit

Output

xDone

BOOL

TRUE: Ready condition reached

xBusy

BOOL

TRUE: Operation is running

xError

BOOL

TRUE: Error condition reached

Properties:

ActionController, inherited from TimingControlledBehaviourModelBase

ModelTimeLimit

ModelTimeOut, inherited from TimingControlledBehaviourModelBase

Methods:

_Execute

AbortModel

CleanupAction, inherited from TimingControlledBehaviourModelBase

CyclicAction, inherited from TimingControlledBehaviourModelBase

ExitAction, inherited from TimingControlledBehaviourModelBase

GetConfiguration, inherited from TimingControlledBehaviourModelBase

GetConfiguration2, inherited from TimingControlledBehaviourModelBase

GetModelState

ResetAction, inherited from TimingControlledBehaviourModelBase

ResetModel

StartAction, inherited from TimingControlledBehaviourModelBase

StartModel

Structure: