AutomateDirectUSAMotion LibraryShop the parts catalog

Troubleshooting

Stepper Axis Travels 1.25 Times the Commanded Distance

Servo and stepper motion Published 7 min read

Short answer

A constant ratio of 1.25 between commanded and actual travel is a pulse-to-unit scaling error, not a velocity-profile effect: a completed move's distance depends only on the pulse count sent and the pulses-to-distance conversion. Measure R = actual travel / commanded travel at each boundary — command entry, pulse output, driver microstep or electronic gear, gearbox and screw lead — and correct the one setting where R first leaves 1.00. Never hide the error with a compensating multiplier.

On this page
  1. The velocity profile is not the cause
  2. Establish which way the ratio runs
  3. Walk the four boundaries in order
  4. Where each wrong constant lives
  5. Worked example: 1.25 from a 4 mm lead entry
  6. Correct the boundary value, not the commanded distance
  7. Questions asked

A stepper axis that moves a constant 1.25 times the commanded distance has a scaling mismatch between a number the controller sends and the motion the mechanism delivers — the velocity profile is not the suspect. Acceleration and deceleration decide when each pulse goes out, not how many go out, so a completed move covers the same distance at any ramp setting. Measure the travel ratio R = actual travel / commanded travel, confirm it stays 1.25 across distances, speeds and both directions, then walk the four boundaries where that constant can break — command entry, pulse output, the driver's active pulses-per-revolution, and the gearbox-and-lead entries — and correct the one where R first leaves 1.00. A compensating multiplier on the operator's request hides the fault and leaves every limit and homed position in the wrong scale.

The velocity profile is not the cause #

On this kind of axis a relative move is a fixed pulse count: the displacement handed to mc_moverelative multiplied by the axis's pulses per unit. The velocity and acceleration entries in the TO_axis configuration set the rate at which those pulses leave, and nothing else. Change the ramps and the move takes longer or shorter; the pulse count, and therefore the distance, does not change.

That gives a cheap discriminator before any measuring: command the same distance at several speeds and accelerations. If the ratio is 1.25 every time, a conversion constant is wrong somewhere below. If the ratio grows with speed or load, pulses are going missing — stalling at speed, a loose coupling or set screw — and that is lost motion, not scaling; fix the mechanical cause first and re-measure.

Establish which way the ratio runs #

Define R = actual travel / commanded travel. The two readings hiding behind a report of 1.25 need opposite corrections:

  • The axis travels 1.25 times the request: R = 1.25, and the chain delivers 25 percent more motion per pulse than the configuration believes.
  • The request is 1.25 times the actual travel: R = 0.8, and the chain delivers 20 percent less.

Measure it once, properly: dial indicator or scale against a marked datum, a round command such as 100.0 mm, the reading taken only after motion completes, repeated at a second distance such as 20.0 mm and in both directions. A ratio that repeats across distances and directions is scaling. While R = 1.25 stands, every commanded move overshoots by a quarter — a 100.0 mm request arrives at 125.0 mm — so keep the test moves short of the ends of travel and at reduced speed.

Read the commanded number at the motion call itself, not on the operator screen: the value on screen can pass through a unit conversion or arithmetic before it reaches the block.

Walk the four boundaries in order #

Work from the cheapest check to the most involved and stop at the first boundary where the numbers stop matching.

  1. Operator entry to the move block. Log the displacement argument of mc_moverelative and compare it with the requested distance. Expected: the block receives the requested distance in the axis's engineering unit. A mismatch here is upstream arithmetic or a unit conversion, not the axis.
  2. Move block to the pulse output. The axis must emit commanded distance × pulses per unit pulses — the same scaling arithmetic as in how to calculate step and direction pulse scaling. Command exactly one motor revolution and mark the shaft: on the 6400-pulse setup, 6400 pulses must turn the shaft exactly once.
  3. Pulses through the driver. The driver's effective pulses per revolution are full steps per revolution times the active microstep divider, times any electronic gear — a 200-full-step motor at 32 microsteps is the 6400 in this setup. A displayed value is not an active value: switch-selected settings are often read only at power-up, and software entries need an explicit save and apply. Where a gearbox sits behind the motor, it changes the pulse rate the motor needs for a given speed, which is why slow travel with a gearbox is checked at the pulse rate first.
  4. Motor shaft to the load. Every stage in the mechanical path — gearbox ratio, belt or pulley tooth counts, screw lead, rack or pinion pitch radius — must appear exactly once in the configuration, on the basis the field expects: lead is travel per full revolution, not thread pitch, and a travel-per-revolution entry must not also carry the gearbox ratio. It is the same pulses-per-unit arithmetic worked through for a rack-and-pinion axis.

If the drive is a closed-loop stepper, its encoder reports actual position alongside the command, so you can separate command-side from motion-side error without a dial indicator; that commanded-versus-actual comparison is exactly what closed-loop stepper tuning: commanded versus actual position relies on.

Where each wrong constant lives #

R holds 1.00 up to a boundary and then departs: the constant that changes at that boundary is the one to fix.

R first leaves 1.00 at The wrong constant The correction
Command entry to move block A unit conversion or scale factor in the application data Correct the conversion so the block receives the requested distance in axis units
Pulses sent to shaft turns The axis pulses-per-revolution entry or the driver's active pulses-per-revolution Make both sides describe the same pulse event for one motor revolution
Shaft turns to load travel The gearbox ratio or the travel-per-revolution entry Enter the measured mechanical ratio and the measured lead or pitch radius

A ratio that reduces to a small fraction is usually two round numbers disagreeing. 1.25 is exactly 5/4, so before measuring anything else, look for a 4-versus-5 pair in the chain: a lead entry, gear teeth of 20 and 25, pulley teeth of 16 and 20. That check costs a minute and often ends the search.

Worked example: 1.25 from a 4 mm lead entry #

This is a calculated example for the stated inputs, not a measured result; it shows where the walk lands on this axis. Setup: 200-full-step motor, driver microstep divider 32, 6400 pulses per motor revolution configured on both sides, direct drive with no gearbox (motor revolutions per screw revolution G = 1), screw lead entered as 4.0 mm per revolution, requested move 100.0 mm.

  • Pulses per millimetre = P × G / L = 6400 × 1 / 4.0 mm = 1600 pulses/mm.
  • Pulses sent = 100.0 mm × 1600 pulses/mm = 160,000 pulses.
  • Boundaries 1 to 3 pass: the block receives 100.0, and 160,000 / 6400 = 25.00 shaft revolutions, confirmed with the shaft mark.
  • Boundary 4 fails: measured travel = 25.00 revolutions × 5.0 mm per revolution (the screw's measured lead) = 125.0 mm, so R = 125.0 / 100.0 = 1.25.

The correction is the lead entry: 5.0 mm measured, 4.0 mm entered. With 5.0 mm in place, pulses per millimetre = 6400 / 5.0 = 1280 pulses/mm; a 100.0 mm request sends 128,000 pulses, which is 20.00 revolutions × 5.0 mm = 100.0 mm, and R = 1.00.

The mirror case produces R = 0.8: a 5.0 mm lead entered on a 4.0 mm screw sends 20 percent too few pulses per millimetre and the axis stops short by the same arithmetic in reverse.

Correct the boundary value, not the commanded distance #

The fix is one number at the boundary where R first left 1.00, chosen because it matches the measured hardware. Never a 0.8 multiplier on the operator's request: it hides the wrong constant while axis position, soft limits, the homed position and every other move, gearing or camming relationship on the axis stay in the wrong scale, and the next person to touch the machine inherits a number with no physical meaning.

Save the existing axis and driver configuration, change only the identified entry, apply it the way that driver and controller require, and re-run the original measured move at reduced speed before restoring normal velocity. The decision, case by case: R constant above 1.00 means the chain produces too much motion per pulse, so raise the effective pulses-per-revolution or correct the travel entry until shaft turns and load travel agree with the pulse count; R constant below 1.00 is the same walk in mirror; R that changes with speed or load is lost steps or slip, and R that differs by direction is backlash — those are machine fixes, not scaling fixes.

Questions asked

Does a microstep or gear mismatch also make the axis run at the wrong speed?

Yes. Shaft speed at a given pulse frequency scales with the same pulses-per-revolution constant, so an axis that travels 1.25 times too far also turns 1.25 times too fast at the same commanded velocity. If nobody noticed a speed error, the machine probably runs at one tuned speed or the velocity entries were trimmed to compensate — a further sign the fix belongs in the scaling constant, not the ramps.

The ratio appears in one direction of travel only. Is that still scaling?

No. A conversion constant divides pulses identically in both directions, so a genuine scaling error is symmetric. A ratio that appears only when moving one way points at backlash across a reversal, steps lost near direction changes, or a load slipping on its shaft in that direction. Measure from the same marked origin in both directions with a dial indicator before touching any scaling entry.

Where do I find the pulses-per-revolution setting on a stepper driver?

On a step-and-direction driver it is usually a bank of DIP switches or a rotary switch on the drive, or a stored parameter on a digital drive; the table printed beside the switches or in the manual maps each position to pulses per revolution. Many drives read those switches only at power-up, so cycle power after any change and confirm the result with a shaft-mark test instead of trusting the label.

Can the driver's electronic gear produce exactly 1.25?

Yes. With 6400 pulses per revolution configured, an enabled electronic gear at 4-to-5 drops the effective value to 6400 x 4/5 = 5120 pulses per revolution, and R = 6400/5120 = 1.25. Check whether a gear or pulse-divider function is enabled in the driver with a numerator and denominator set; when it is, the mismatch lives in the driver, and the correction is to align that gear with the axis configuration or clear it.

Keep reading

  • How-to

    Calculating Pulses per Inch for a Rack and Pinion Axis

    Pulses per inch on a rack-and-pinion axis is (pulses per motor revolution × reduction) ÷ (π × pinion pitch diameter). With 2,000 pulses per motor revolution, a 2:1 gearhead and a 24-tooth pinion on a 24-diametral-pitch rack (1.000 in pitch diameter), enter 1,273.24 pulses per inch. A 16 in command that travels 41 in needs the setting multiplied by 16 ÷ 41 = 0.39024, applied only to the pulses-per-unit value.

    Servo and stepper motion

  • Explainer

    Servo Positioning Resolution Versus Stepper Step Angle Explained

    A 0.018° move needs 360 ÷ 0.018 = 20,000 usable feedback counts per revolution, which come from the encoder and the drive's decoding and scaling, not from the servo label. Matching 3,000 command pulses per revolution on a stepper and a servo only matches command scaling; short-time overload capacity and high-speed performance still differ.

    Servo and stepper motion

  • How-to

    Following a Master Axis With a Stepper Traverse

    Gear the traverse stepper to measured spool rotation, not to a fixed speed ratio: commanded traverse speed is v_t = p × n_s, so pitch stays constant as the spool fills. The follower ratio comes from pitch, screw lead and drive resolution — 25 step pulses per 64 master counts in the worked example — and master acceleration must be limited so the amplified slave ramp cannot stall the open-loop stepper.

    Servo and stepper motion