Chapter 3 Motion Control Instructions - When M2( Execute ) changes to True, MC_MoveVelocity 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_MoveVelocity. - If the MC_MoveVelocity 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_MoveVelocity. 3_ The following table lists the buffer effects of MC_ MoveVelocity. For more information of buffer mode, refer to section Motion Controller Motion Control Instructions Manual. Troubleshooting - If an error occurs during the execution of the instruction or when the axis is in the state of “Errorstop”, Error will change to True and the axis will stop moving. You can refer to ErrorID (Error Code) to address the problem.
- Information regarding error codes and indicators are attached as Appendices for a quick reference. The detailed troubleshooting procedures are explained in AH Motion Controller – Operation Manual. 3-85 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. Instruction _ Can be specified as a buffered instruction Can be followed by a buffered instruction Relevant signal to activate the next buffered instruction MC MoveVelocity YES YES InVelocity