FUNCTION_BLOCK ETrigA EXTENDS ETrig IMPLEMENTS IETrigA
This function block is a base implementation of a PLCopen Edge Triggered Behavior Model (see: IETrigA). 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
|
Inherited from
|
Input
|
xExecute
|
BOOL
|
Rising edge: Starts defined operation
FALSE: Resets the defined operation after ready condition was reached
|
ETrig
|
Output
|
xDone
|
BOOL
|
TRUE: Ready condition reached
|
ETrig
|
xBusy
|
BOOL
|
TRUE: Operation is running
|
ETrig
|
xError
|
BOOL
|
TRUE: Error condition reached
|
ETrig
|
Input
|
xAbort
|
BOOL
|
TRUE: Aborts the operation
|
|
Output
|
xAborted
|
BOOL
|
TRUE: Abort condition reached
|
|
|