Function
• The MC_CombineAxes instruction starts combining axes when Execute changes to TRUE.
Precautions for Correct Use
Precautions for Correct Use
Do not execute the MC_SetPosition instruction for the Master (Master Axis) if you use this
instruction on a CPU Unit with unit version 1.09 or earlier. If the MC_SetPosition instruction is
executed for the Master (Master Axis), the Slave (Slave Axis) may follow the Master (Master
Axis) quickly.
If you want to use the MC_SetPosition instruction for the Master (Master Axis), disable the rela-
tionship between the Master (Master Axis) and Slave (Slave Axis) executing the instruction.
Refer to Precautions for Master and Auxiliary Axes in Synchronized Control on page 1-6 for pre-
cautions on the master axis. This precaution also applies to Auxiliary (Auxiliary Axis) in the same
way as for Master (Master Axis).
Instruction Details
From the starting point, the relative value of the Auxiliary (Auxiliary Axis) position is added to or sub-
tracted from the relative value of the Master (Master Axis) position and is output as a relative value for
the Slave (Slave Axis) command position.
CombineMode Set to _mcAddAxes
Slave (Slave Axis) position = Master (Master Axis) position (relative position) + Auxiliary (Auxiliary
Axis) position (relative position)
Master
Velocity
Position: 200
Auxiliary
Velocity
Position: 100
NY-series Motion Control Instructions Reference Manual (W561)
Execute of
MC_CombineAxes
changes to TRUE
Time
Position: 600
Execute of
MC_CombineAxes changes
to TRUE
Time
Position: 200
3 Axis Command Instructions
Slave
Velocity
+
Position: 0
Execute of
MC_CombineAxes
changes to TRUE
Time
Position: 500
3-295
3