Name Timing for changing to TRUE Timing for changing to FALSE
CommandAborted
• When this instruction is aborted because an-
other motion control instruction was executed
with the Buf
fer Mode set to Aborting.
• When this instruction is canceled due to an er-
ror.
• If StopMode is set to _mcImmediateStop,
when a change is made to a mode other than
CSP Mode during execution.
• When the slave is disconnected.
• When a slave communications error occurs
(except during process data communications).
• When the MC_AbortTrigger instruction is exe-
cuted.
• When Execute is TRUE and changes to
FALSE.
• After one period when Execute is FALSE.
Error When there is an error in the execution condi-
tions or input 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 axis.
*1
TriggerInput Trigger Input Con-
dition
_sTRIG-
GER_REF
---
Set the trigger condition.
*2
TriggerVariable Trigger Variable BOOL TRUE or
F
ALSE
Specify a trigger input variable when the Control-
ler Mode is specified for the trigger mode.
*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. Define 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_LA
TCH
_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
3 Axis Command Instructions
3-363
NY-series Motion Control Instructions Reference Manual (W561)
MC_TouchProbe
3
Variables