MC_AbortTrigger (motion control abort trigger)

The MC_AbortTrigger instruction cancels motion function blocks that are connected to trigger events.
MC_AbortTrigger only executes when assigned to an axis that is controlled by MC_TouchProbe.
Languages supported: Function block diagram, ladder diagram, structured text.
This instruction applies to the L50E and L70E controllers that support motion control.
MC_AbortTrigger
MC_AbortTrigger
MC_AbortTrigger parameters
Parameter
Parameter Type
Data type
Description
EN
Input
BOOL
Instruction block enable.
  • TRUE: Execute current MC_AbortTrigger computation.
  • FALSE: There is no computation.
Applies only to ladder diagram programs.
AxisIn
Input
Use the AXIS_REF data type to define the AxisIn parameter.
If the axis is a FB_Axis (feedback axis), use the FB_AXIS_REF data type to define AxisIn parameters.
TriggerInp
Input
USINT
This parameter is ignored.
Execute
Input
BOOL
When TRUE, cancels the trigger event at the rising edge.
ENO
Output
BOOL
Enable output.
Applies only to ladder diagram programs.
Axis
Output
AXIS_REF
Axis output is read-only in ladder diagram programs.
TriggerInput
Output
USINT
This parameter is ignored.
Done
Output
BOOL
TRUE: The trigger event is canceled.
Busy
Output
BOOL
TRUE: The function block is not finished.
Error
Output
BOOL
TRUE: An error is detected.
ErrorID
Output
UINT
A unique numeric that identifies the error. The errors for this instruction are defined in the motion control function block error IDs.

MC_AbortTrigger examples

MC_AbortTrigger function block diagram example
MC_AbortTrigger function block diagram example
MC_AbortTrigger ladder diagram example
MC_AbortTrigger ladder diagram example
MC_AbortTrigger structured text example
MC_AbortTrigger structured text example
Results
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal