LCon (FB)

FUNCTION_BLOCK LCon EXTENDS BehaviourModelBase IMPLEMENTS ILCon

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

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

Output

xDone

BOOL

TRUE: Ready condition reached

xBusy

BOOL

TRUE: Operation is running

xError

BOOL

TRUE: Error condition reached

Properties:

ActionController, inherited from BehaviourModelBase

ModelTimeLimit, inherited from BehaviourModelBase

ModelTimeOut, inherited from BehaviourModelBase

Methods:

_Execute

AbortModel

CleanupAction, inherited from BehaviourModelBase

CyclicAction, inherited from BehaviourModelBase

ExitAction, inherited from BehaviourModelBase

GetConfiguration, inherited from BehaviourModelBase

GetConfiguration2, inherited from BehaviourModelBase

GetModelState

ResetAction, inherited from BehaviourModelBase

ResetModel

StartAction, inherited from BehaviourModelBase

StartModel

Structure: