MC_AbortTrigger_V2
The MC_AbortTrigger_V2 function block interrupts a measuring probe cycle initiated by MC_TouchProbe_V2. MC_TouchProbe_V2 initiates a measuring probe cycle by activating a position latch in external encoder or drive hardware. If the process is to be terminated before the trigger signal has activated the position latch, MC_AbortTrigger_V2 can be used for this purpose. If the measuring probe cycle has completed successfully, it is not necessary to call up this function block.
Inputs
VAR_INPUT
Execute : BOOL;
END_VAR
Execute |
The command is executed with the rising edge and the external position latch is deactivated. |
Outputs
VAR_OUTPUT
Done : BOOL;
Busy : BOOL;
Error : BOOL;
ErrorID : UDINT;
END_VAR
Done |
Becomes TRUE, as soon as the measuring probe cycle has been interrupted successfully. |
Busy |
Becomes TRUE as soon as the function block is active, and becomes FALSE when it has returned to its initial state. |
Error |
Becomes TRUE, as soon as an error occurs. |
ErrorID |
If the error output is set, this parameter supplies the error number. |
Inputs/outputs
VAR_IN_OUT
Axis : AXIS_REF;
TriggerInput : TRIGGER_REF;
END_VAR
Axis | |
TriggerInput |
TRIGGER_REF data structure for describing the trigger source. This data structure must be parameterized before the function block is called for the first time. |