AH Motion Controller – Motion Control Instructions Manual Function After the gear relation is established, slave axis will follow master axis to move at the given proportional relationship to accomplish the synchronized control of master and slave axis. Master and slave axis could be real or virtual axis or the external encoder master axis. *Note: If the specified slave axis is executing other motion instruction while MC_GearIn is executed, the executing instruction will be aborted, and the specified axis will start to follow the master axis according to the gear relationship specified by MC_GearIn.
RatioNumerator and RatioDenominator When gear ratio is positive, the master and slave axes move in the same direction. Velocity 600 Slave 300 Master _3 o RatioNumerator :RatioDenominator=2:1 Time When gear ratio is negative, the master and slave axes move in opposite direction. Velocity 300 Master o Time -600 Slave RatioNumerator :RatioDenominator= -2:1 Acceleration and Deceleration - If the current speed of the slave axis is lower than the target speed when the MC_GearIn is executed, the slave axis will accelerate to the target speed by the specified acceleration rate ( Acceleration ).
- If the current speed of the slave axis is higher than the target speed when the MC_GearIn is executed, the slave axis will decelerate to the target speed by the specified deceleration rate ( Deceleration ). 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_GearIn. 3-186 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.