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