Delta Electronics AH — MC_PhasingAbsolute

AH Motion Controller – Motion Control Instructions Manual Motion diagram: Position Slave position at PhaseShift = 10000 Slave position before the phase shift 120000 Slave position after the phase shift 90000 100000 Slave position at PhaseShift = -10000 60000 70000 25000 35000 10000 Master position Velocity Time 300 600 900 1200 Slave velocity Master velocity Time _3 AbsolutePhaseShift 10000 -10000 Time MC_PhasingAbsolute M2(Execute) M20(done) M21(Busy) M23(CommandAborted) M22(Active) M24(Error) - The gear relationship between master axis and slave axis is established after M10 ( InGear ) of MC_GearIn is True.

The velocity ratio and position ratio between master axis and slave axis are both 1:2. - Suppose that master axis moves at a constant speed of 300 and D100 ( PhaseShift ) value is 10,000. When M2( Execute ) of MC_PhasingAbsolute changes to True, the velocity, acceleration and deceleration and phase shift set in the instruction will be superimposed to the master axis. - The execution of MC_PhasingAbsolute does not affect the operation of master axis but the operation of slave axis according to gear relationship. As the diagram shows above, when M20 ( Done ) shifts to True at master position = 25,000, the slave position can be obtained as below:

Actual slave position after the phase shift = (Current master position - previous master position + PhaseShift value – previous shifted amount ) * ( RatioNumerator / RatioDenominator) + previous slave position = (25,000-10,000+10,000- 0 )*2+20,000 = 70,000. Note : previous shifted amount is deducted because PhaseShift is evaluated as an absolute value. - When D100 ( PhaseShift ) is changed to -10,000 and M2 ( Execute ) changes to True again, the instruction will be executed again. As the diagram shows above, when M20 (Done ) changes to True at master position 60,000, the slave position can be obtained as below:

Actual slave position after the phase shift = (Current master position - previous master position + PhaseShift value – previous shifted amount ) * (RatioNumerator / RatioDenominator) + original slave position = 3-198