FB_Template_EdgeAbortTimeout (FB)
FUNCTION_BLOCK FB_Template_EdgeAbortTimeout EXTENDS FB_Template_EdgeAbort
InOut:
Scope |
Name |
Type |
Comment |
Inherited from |
Input |
xExecute |
BOOL |
Rising edge: Starts action. Falling edge: Resets outputs. If a falling edge occurs before the function block has completed its action, the outputs operate in the usual manner and are only reset if either the action is completed or in the event of an error. In this case, the corresponding output values (xDone, xError, eError) are present at the outputs for exactly one cycle. |
|
Output |
xDone |
BOOL |
TRUE: Action has been successfully completed. |
|
xBusy |
BOOL |
TRUE: Function block in operation. |
||
xError |
BOOL |
TRUE: Error has occurred. Function block aborts action. FALSE: No error |
||
eError |
WORD |
Local library error ID |
||
Input |
xAbort |
BOOL |
TRUE: The action is stopped immediately and all outputs are reset to their initial values. |
|
udiTimeOut |
UDINT |
The time (µs) after which an FB (e.g. requiring an external acknowledgement) aborts operation due to a timeout with error message. |