MC_Phasing command

MC_Phasing is used to achieve an offset of the slave axis relative to the master axis. Accordingly, a phase offset of the master axis is specified from the point of view of the slave axis and the slave axis tries to eliminate this offset by accelerating or decelerating. The motion is always executed jerk-limited at the constant set in "Jerk”. This value is valid for both "Acceleration" and "Deceleration".

If the optional parameters “Acceleration", "Deceleration” and “Jerk” are not specified or set to ≤ 0, the dynamic values are taken from the corresponding axis list.

The mechanical analogy is to release the coupling of the master and slave axes for a limited period.

When camming this command causes a change of the ‘apparent’ master position from the slave viewpoint. When gearing a phase shift between master and slave takes place by commanding a superimposed motion in the slave. Therefore with gearing, MC_Phasing has the same effect as MC_MoveSuperImposed (into which it is actually converted in the control system).

The dynamic values: "Velocity", "Acceleration" and "Deceleration" refer to the change in the "apparent" master position from the point of view of the slave with camming; but with gearing, they refer to the superimposed motion of the slave axis itself.

Optionally, the program can wait for the job to end (“WaitSyn” keyword) or can assign a Job ID (“Id” keyword) for later synchronisation.

NC command:

<axis_name>[ MC_Phasing Master=<expr> PhaseShift=<expr> Velocity=<expr>
                    [Acceleration=<expr>] [Deceleration=<expr>] [Jerk=<expr>] [Id=<expr>] [WaitSyn] { \ } ]

Block diagram of the function block in PLCopen:

Input pin



Logical axis number of the master axis


[0.1 µm or 10-4 °]


[1 µm/s or 10-3 °/s]


[1 mm/s2 or 1°/s2]


[1 mm/s2 or 1°/s2]


[1 mm/s3 or 1°/s3]

Programing Example


MC_Phasing command

S[MC_Phasing Master=11 PhaseShift=25 Velocity=1000 Acceleration=500 \

Deceleration=600 Jerk=20000]