ETrigTl (FB)

FUNCTION_BLOCK ETrigTl EXTENDS EdgeTriggeredTimingControlledBehaviourModelBase IMPLEMENTS IETrigTl

Base implementation of a PLCopen Edge Triggered Behavior Model (see: IETrigTl)

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

xExecute

BOOL

Rising edge: Starts defined operation

FALSE: Resets the defined operation after ready condition was reached

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

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

SampleAction, inherited from EdgeTriggeredTimingControlledBehaviourModelBase

StartAction, inherited from TimingControlledBehaviourModelBase

StartModel

Structure: