MC_AbortTrigger
This Function Block is used to abort function blocks which are used to record trigger events (e.g. MC_TouchProbe).
Syntax
Definition:
FUNCTION_BLOCK MC_AbortTrigger
VAR_INPUT
Axis : Type_PtpTouchProbe;
END_VAR
VAR_IN_OUT
TriggerInput : Reference To TRIGGER_REF;
END_VAR
VAR_INPUT
Execute : BOOL;
END_VAR
VAR_OUTPUT
Done : BOOL;
Busy : BOOL;
Error : BOOL;
ErrorId : UDINT;
END_VAR
Inputs
|
Name |
Type |
Description |
|---|---|---|
|
Axis |
Reference to the axis | |
|
Execute |
BOOL |
Aborts the monitoring of trigger event at rising edge. |
In/Outputs
|
Name |
Type |
Description |
|---|---|---|
|
TriggerInput |
Reference To TRIGGER_REF |
Reference to the trigger signal source like DriveTouchProbeRef or BinaryTouchProbeRef |
Outputs
|
Name |
Type |
Description |
|---|---|---|
|
Done |
BOOL |
Abort Trigger succeeded |
|
Busy |
BOOL |
Function block is not finished and new output values are to be expected. |
|
Error |
BOOL |
Error occurred within function block. |
|
ErrorId |
UDINT |
Error identifier |