Chapter 3 Motion Control Instructions Motion diagram: 3_ - When MC_ReadMotionState is enabled (M4=True), after that M40( Valid ) change to True, indicating the motion state is available to be reported. - When MC_MoveVelocity is executed (M2=True), the axis starts to accelerate to the designated target velocity. M51 ( Accelerating ) and M53 ( DirectionPositive ) change to True, indicating the axis is accelerating in positive direction. - When the axis reaches the specified target velocity, it operates at a constant speed. M51 ( Accelerating ) changes to False and M50 ( ConstantVelocity ) changes to True.
- When MC_Stop is executed (M3=True), MC_MoveVelocity is aborted and the axis starts to decelerate to a stop. M50 ( ConstantVelocity ) changes to False and M52 ( Decelerating ) changes to True. - When the axis reaches zero velocity, M52 ( Decelerating ) and M53 ( DirectionPositive ) change to False. - In the second cycle of the motion behavior, MC_ReadMotionState is disabled (M4=False) while the axis is in constant velocity. In this case, outputs M50 ( ConstantVelocity ) and M53 ( DirectionPositive ) remain True and will not be updated no matter the commanded motion is completed or not.
3-137 Velocity 300 Time MC MoveVelocity _ M2(Execute) M20(InVelocity) M21(Busy) M22(Active) M23(CommandAborted) MC Stop _ M3(Execute) M30(done) M31(Busy) M32(Active) M33(CommandAborted) MC ReadMotionState _ M4(Enable) M40(Valid) M41(Busy) M50(ConstantVelocity) M51(Accelerating) M52(Decelerating) M53(DircetionPositive) M54(DircetionNegative) MC ReadMotionState _ M4(Enable) M40(Valid) M41(Busy) M50(ConstantVelocity) M51(Accelerating) M52(Decelerating) M53(DircetionPositive) M54(DircetionNegative) MC MoveVelocity _ M2(Execute) M20(InVelocity) M21(Busy) M22(Active) M23(CommandAborted) MC Stop _ M3(Execute) MC Stop _ M3(Execute) M30(done) M31(Busy) M32(Active) M33(CommandAborted)