LConTlTo (FB)

FUNCTION_BLOCK LConTlTo EXTENDS LConTl IMPLEMENTS ILConTlTo

Base implementation of a PLCopen Level Controlled Behavior Model (see: ILConTlTo) 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

Inherited from

Input

xEnable

BOOL

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

LConTl

udiTimeLimit

UDINT

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

LConTl

Output

xDone

BOOL

TRUE: Ready condition reached

LConTl

xBusy

BOOL

TRUE: Operation is running

LConTl

xError

BOOL

TRUE: Error condition reached

LConTl

Input

udiTimeOut

UDINT

Max. operating time for executing [µs], 0: No operating time limit

Properties:

ActionController, inherited from TimingControlledBehaviourModelBase

ModelTimeLimit, inherited from LConTl

ModelTimeOut

Methods:

_Execute

AbortModel, inherited from LConTl

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, inherited from LConTl

StartAction, inherited from TimingControlledBehaviourModelBase

StartModel, inherited from LConTl

Structure: