FB_Template_EdgeAbort (FB)ΒΆ
FUNCTION_BLOCK FB_Template_EdgeAbort EXTENDS FB_Template_Edge
- 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 erroreError
WORD
Local library error ID
Input
xAbort
BOOL
TRUE
: The action is stopped immediately and all outputs are reset to their initial values.
Methods:
Structure: