ETrig (FB)

FUNCTION_BLOCK ETrig EXTENDS EdgeTriggeredBehaviourModelBase IMPLEMENTS IETrig

This function block is a base implementation of a PLCopen Edge Triggered Behavior Model (see: IETrig). 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

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

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

SampleAction, inherited from EdgeTriggeredBehaviourModelBase

StartAction, inherited from BehaviourModelBase

StartModel

Structure: