Name Timing for changing to TRUE Timing for changing to FALSE
Busy When Execute changes to TRUE.
• When Done changes to TRUE.
• When Error changes to TRUE.
• When CommandAborted
changes to TRUE.
CommandAborted
• When this instruction is aborted because an-
other motion control instruction was executed
with the Buffer Mode set to Aborting.
• When this instruction is canceled due to an er-
ror.
• When Execute is TRUE and changes to
FALSE.
• After one period when Execute is FALSE.
Error When there is an error in the execution of or in-
put parameters for the instruction.
When the error is cleared.
In-Out Variables
Name Meaning Data type
Valid
range
Description
Axis Axis _sAXIS_REF ---
Specify the target axis for latching.
*1
TriggerInput Trigger Input Con-
dition
_sTRIG-
GER_REF
---
Use this variable to select the trigger condition.
*2
*1. Specify a user-defined Axis Variable that was created in the Axis Basic Settings of the Sysmac Studio (default: MC_Ax-
is*) or a system-defined axis variable name (_MC_AX[*]).
If you use Sysmac Studio version 1.29 or higher
, you can specify the system-defined axis variable name for AT specifi-
cation of a user defined variable. This will allow you to specify the user defined variable.
If you use Sysmac Studio version 1.28 or lower, do not specify any user-defined variable created in the variable table.
*2. Create a user-defined variable with a data type of _sTRIGGER_REF.
_sTRIGGER_REF
Name Meaning Data type Valid range Function
Mode Mode _eMC_TRIG-
GER_MODE
0: _mcDrive
1: _mcController
Specify the trigger mode.
0: Drive Mode
1: Controller Mode
LatchID Latch ID Se-
lection
_eMC_TRIG-
GER_LATCH
_ID
0: _mcLatch1
1: _mcLatch2
Specify which of the two latch functions to use in
Drive Mode.
0: Latch 1
1: Latch 2
InputDrive Trigger Input
Signal
_eMC_TRIG-
GER_IN-
PUT_DRIVE
0: _mcEncoderMark
1: _mcEXT
Specify the Servo Drive trigger signal to use in
Drive Mode.
0: Z-phase signal
1: External input
Function
• The MC_AbortTrigger cancels a latch operation.
•
You can specify the latch operation to abort by specifying the Axis and LatchID for the MC_Abort-
Trigger (Disable External Latch) instruction.
• If you execute MC_AbortTrigger (Disable External Latch) for a trigger for which there is no latch re-
quest, MC_AbortTrigger does nothing and ends normally.
This is the same when MC_AbortTrigger (Disable External Latch) is executed for a MC_TouchProbe
(Enable External Latch) instruction for which Done is TRUE.
3 Axis Command Instructions
3-382
NY-series Motion Control Instructions Reference Manual (W561)