AH Motion Controller – Motion Control Instructions Manual Motion diagram: MC_VelocityControl M2 ( Execute M20 ( InVelocity M21 ( Busy M22 ( Active M23 ( CommandAborted M24 ( Error M25 ( ErrorID MC_Stop _3 M3 ( Execute - When M2( Execute ) changes to True, MC_VelocityControl drives the axis to the target velocity. When the axis reaches the specified target velocity, M20( InVelocity ) changes to True. - When M3( Execute ) changes to True, MC_Stop aborts MC_MoveVelocity and the axis decelerates according to the deceleration rate specified by MC_VelocityControl. - If the MC_VelocityControl is not aborted, it will stay at the specified target velocity, and M20( InVelocity) remains True.
BufferMode BufferMode determines the behavior to combine the axis motions for this instruction and the previous instruction. When the instruction is executed; - The selected buffer mode is valid if the previous instruction is executing. - The selected buffer mode is invalid if the axis is in “Standstill” state. The following table lists the available buffer mode settings of MC_VelocityControl. 3-92 ) ity) y) ) ed) ) p ) ity et city Time Deceleration is performed by the deceleration rate of MC VelocityControl. _ Deceleration is performed by the deceleration rate of MC VelocityControl. _ Buffer Mode Function 0: mcAborting Aborts the ongoing motion.
The next instruction takes effect immediately 1: mcBuffered Automatically executes the next instruction after the ongoing motion is completed.