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
xExecuteBOOLRising edge: Starts defined operationFALSE: Resets the defined operation after ready condition was reachedOutput
xDoneBOOLTRUE: Ready condition reachedxBusyBOOLTRUE: Operation is runningxErrorBOOLTRUE: Error condition reached