3 Axis Command Instructions
Name
•
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
error.
•
When this instruction is executed while there
is an error.
•
When you start this instruction during
MC_Stop instruction execution.
•
When the MC_GearOut instruction is execut-
ed.
Error
When there is an error in the execution condi-
tions or input parameters for the instruction.
In-Out Variables
Name
Master
Master Axis
Slave
Slave Axis
*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.
Precautions for Correct Use
If you specify the same axis for the master axis and slave axis, a Master and Slave Defined as
Same Axis minor fault (error code 5436 hex) will occur.
Function
• The MC_GearIn instruction performs gear operation for the slave axis specified with Slave (Slave
Axis). The following parameters are also specified: RatioNumerator (Gear Ratio Numerator),
RatioDenominator (Gear Ratio Denominator), ReferenceType (Position Type), Acceleration (Accel-
eration Rate), and Deceleration (Deceleration Rate).
• For Master (Master Axis), you can specify the command position, actual position, or most recent
command position.
3-248
Timing for changing to TRUE
Meaning
Data type
_sAXIS_REF
_sAXIS_REF
Timing for changing to FALSE
•
When Execute is TRUE and changes to
FALSE.
•
After one period when Execute is FALSE.
When the error is cleared.
Valid
range
---
Specify the master axis.
---
Specify the slave axis.
NY-series Motion Control Instructions Reference Manual (W561)
Description
*1
*1