MC_AbortTrigger
The function block MC_AbortTrigger cancels a touch probe cycle started by MC_TouchProbe. MC_TouchProbe starts a touch probe cycle by activating a position latch in the drive hardware. The function block MC_AbortTrigger can be used to terminate the procedure before the trigger signal has activated the position latch. If the touch probe cycle has completed successfully, it is not necessary to call up this function block.
Inputs
VAR_INPUT
Execute : BOOL;
END_VAR
Name | Type | Description |
---|---|---|
Execute | BOOL | The command is executed with the rising edge and the external position latch is disabled. |
Inputs/outputs
VAR_IN_OUT
Axis : AXIS_REF;
TriggerInput : TRIGGER_REF;
END_VAR
Name | Type | Description |
---|---|---|
Axis | Axis data structure | |
TriggerInput | Data structure for describing the trigger source. This data structure must be parameterized before the function block is called for the first time. |
Outputs
VAR_OUTPUT
Done : BOOL;
Busy : BOOL;
Error : BOOL;
ErrorID : UDINT;
END_VAR
Name | Type | Description |
---|---|---|
Done | BOOL | TRUE as soon as the touch probe cycle has been successfully terminated. |
Busy | BOOL | TRUE as soon as the function block is active. FALSE if it is in the default state. |
Error | BOOL | TRUE, if an error occurs. |
ErrorID | UDINT | If the error output is set, this parameter supplies the error number. |
Requirements
Development environment | PLC libraries to include |
---|---|
TwinCAT 3.1.4024.11 | Tc3_DriveMotionControl |