AutomateDirectUSAMotion LibraryIndustrial monitors & PCs

Explainer

Why Stepper Backlash Correction Needs Exact Stop Mode

Servo and stepper motion Published 7 min read By AutomateDirectUSA engineering team

Short answer

Backlash correction on a stepper axis works only in Exact Stop mode — set it in General Config or program G61. In Constant Velocity mode the compensated axis reverses during blending, a motor hits a step rate it cannot follow and the axis loses steps silently. Set Exact Stop, verify against an independent scale, and fix large mechanical lash before trusting software.

On this page
  1. Why Constant Velocity blends moves and loses steps
  2. What the Exact Stop fix changes in the motion planner
  3. Where you set Exact Stop mode
  4. Verifying correction on a machine that rapids at 200 IPM
  5. What backlash correction cannot fix
  6. The decision for each case
  7. Questions asked

If you run backlash correction on a stepper axis, put the controller in Exact Stop mode — pick Exact Stop in General Config, or program G61 — before you trust a single compensated move. In Constant Velocity mode the correction splits a reversal in mid-blend, one motor gets a step rate it cannot follow, and the axis loses steps that the controller's own DRO will never show. This article explains why the two path-control modes behave so differently on steppers, where the setting lives, and how to verify the correction against an independent scale.

Why Constant Velocity blends moves and loses steps #

The failure shows up on multi-axis moves where at least one axis travels less than its configured backlash distance while another axis travels farther. In Constant Velocity, the planner blends the moves into one continuous path so the machine never decelerates at the corner. That is normally a virtue, but with backlash correction enabled the compensated axis may have to travel in both directions within a single blend to take up the lash — a short reversal inside an ongoing move.

A stepper cannot reverse direction mid-stream cleanly. The controller keeps driving it at a step rate sized for the original move, the rotor cannot follow the sudden reversal at that rate, the motor briefly locks up, and steps are lost. The position loop that would catch this on a servo does not exist here: nothing feeds the actual shaft angle back, so the controller DRO still shows the commanded position while the physical axis sits somewhere short. The error accumulates quietly, part after part.

The same blending physics is what makes compensated jog moves erratic, which the article on why backlash compensation makes jog moves erratic covers in detail; a program with many small coordinated moves simply produces more reversals in a shorter time, so the lost steps show up faster.

What the Exact Stop fix changes in the motion planner #

The documented fix, present in controller version 1.90.004, splits every compensated reversal into two internal sections. First comes a backlash preload move, in which the controller performs only the lash take-up; then comes the actual commanded move, which now runs against a preloaded nut. The motor reverses once, during a short dedicated preload move it can handle, instead of reversing abruptly inside a high-rate blended stream.

That split only works when each move genuinely ends before the next one starts. Exact Stop mode is what forces the planner to decelerate to a full stop at every path change, so the controller always has a clean boundary at which to insert the preload. Constant Velocity never provides that boundary, which is why the correction is documented as not effective there on stepper systems — not merely less accurate, but ineffective, with lost steps as the symptom.

Two cautions. First, symptoms of the same stall-and-lose-steps behavior were also reported on version 2.0.033, but whether that version carries the same internal defect was never established — treat the Exact Stop requirement as mandatory on any stepper build with correction enabled. Second, if a stall does occur and you are unsure whether the motor was damaged by the lockup, the article on whether a stepper is damaged after losing steps in a stall walks through that check.

Where you set Exact Stop mode #

There are two ways, and they do the same thing:

  • In General Config, set the path-control choice to Exact Stop instead of Constant Velocity. This is the machine-wide default.
  • Program G61 at the start of the cutting file. This selects Exact Stop as a modal condition for that program. G64 selects Constant Velocity; if a postprocessor emits G64 in the header, remove it or the header will undo your configuration choice.

The difference between these two words — full stop at every path change versus blended velocity — is the subject of a dedicated G61 versus G64 path-control explainer on our engineering library, if you want the G-code semantics in more depth.

Exact Stop has a cost: the machine stops briefly at every path change. On a wood-cutting test, stops of roughly half a second were reported, and repeated stops at the same spot can leave witness marks or dimples in the part. If your finish cannot tolerate that, the lasting fix is to reduce the mechanical lash so you can go back to Constant Velocity — not to disable the correction.

Verifying correction on a machine that rapids at 200 IPM #

The following is a worked example for one machine; substitute your own numbers.

Inputs. Maximum rapid rate: 200 IPM, an example value taken from this machine's motor tuning or datasheet — read yours before computing. Test feed fraction: 80 percent of maximum, the fraction the documented test method calls for. Native backlash: 0.0025 in, measured at the tool with a dial indicator on this example machine. Improvement factor: 10 to 20 times, a reported example from testing, not a guaranteed figure.

Rule. Test feed equals the fraction times the maximum rapid rate. Expected residual lash equals native lash divided by the improvement factor.

Arithmetic.

  • Test feed: 0.80 × 200 IPM = 160 IPM.
  • Residual lash, at 20 times improvement: 0.0025 in ÷ 20 = 0.000125 in.
  • Residual lash, at 10 times improvement: 0.0025 in ÷ 10 = 0.00025 in.

Result. Run the test at 160 IPM and expect roughly 0.00013 to 0.00025 in of residual lash after correction — about an eighth to a quarter of a thousandth on this example machine.

Decision. Load a G-code file containing many small moves; the documented test file is roadrunner.tap. Set the feed to 160 IPM and let the whole program run. The test passes only if your independent external DRO — a dial indicator on each axis or a glass scale, not the controller's own display — remains synchronized with the controller position at the end, with no motor stalls along the way. If the two disagree, you are running Constant Velocity, a G64 in the file is overriding your setting, or the correction values are wrong; fix that before cutting metal. Repeat the comparison after any change to backlash values, feed, acceleration or mechanics, because every one of those changes the step stream the motors must follow.

What backlash correction cannot fix #

Software correction masks lash; it does not remove it. Force preloading keeps clearance under control while the machine is still or crawling, but it loses its grip while slewing a heavy carriage at high feed. Under a cut, the tangential force pushes and pulls the carriage across whatever lash remains, so a heavy cut on a loose machine produces grave inaccuracies and a terrible finish regardless of what the compensation table says. One safety point follows directly from that: with significant lash and climb milling, the pull across the clearance can bite the tool into the work hard enough to break the cutter or pull the part — do not climb mill a machine you know has lash you have not corrected mechanically.

Reported testing puts the achievable gain at 10 to 20 times improvement in backlash-related accuracy, limited mainly by leadscrew thread uncertainty. That makes correction a superb finishing tool on a machine that already has good mechanics, and nearly useless on one that does not. If your lash is more than you can tolerate, fix the mechanics first — ball screws rather than worn Acme — and apply the correction afterward.

The decision for each case #

  • Stepper axis with backlash correction enabled: run Exact Stop, by General Config or G61, always. Constant Velocity is not usable for the documented method.
  • G-code files from a postprocessor: check the header for G64 and remove it, or it silently overrides your Exact Stop setting for that program.
  • Small native lash, in the low thousandths: correction is a real accuracy gain; verify it with the independent DRO test at 80 percent of your maximum rapid rate before trusting it on a part.
  • Large lash, in the tens of thousandths: repair the mechanics first. Software will deliver little, and cutting forces will move the carriage through the clearance it leaves behind.
  • Finish-sensitive work: expect pauses at path changes in Exact Stop and inspect for dimples; if the marks matter, the durable fix is less mechanical lash, which buys you Constant Velocity back.

Questions asked

Does backlash correction work in Constant Velocity mode on a stepper system?

No. For the documented stepper implementation the correction is only effective in Exact Stop mode. In Constant Velocity the planner blends moves together, the compensated axis reverses mid-stream, and the motor can hit an impossible step rate and lose steps. Set Exact Stop in General Config or program G61, then verify against an independent scale before cutting.

Where is the Exact Stop setting in the controller?

It lives in General Config, as a choice between Exact Stop and Constant Velocity. The G-code words do the same thing: G61 selects Exact Stop and G64 selects Constant Velocity, and a word in the program overrides the configuration choice for that program. In any build, look for the setting that chooses how the motion planner behaves at path changes.

How much backlash can software correction remove?

It does not remove mechanical lash — it masks a fraction of it. Reported results show a 10 to 20 times improvement, limited mainly by leadscrew thread uncertainty. On a machine with 0.030 in of Acme lash, the best reported result was about plus or minus 0.001 to 0.003 in, and cutting forces can still walk the carriage through the full clearance. Reduce the mechanical backlash first.

Why does my machine pause at every corner in Exact Stop mode?

That pause is the mode working as designed: the planner decelerates to a full stop at each path change so every compensated reversal can be split cleanly. Brief stops, around half a second, were reported on a cutting test. Inspect finished parts for witness marks or dimples at the stops; if the finish suffers, the real fix is reducing mechanical lash so you can run Constant Velocity again.

Keep reading

  • How-to

    Why a twin-motor gantry axis needs slaved step streams

    Slave the spare axis to Y in Mach3 so both stepper motors get their own driver and identical step counts. Never bridge the parallel-port pins or wire two motors to one driver: the pins cannot feed two inputs and the driver cannot supply twice the phase current. Match direction, tuning values and current settings, then verify squareness with a dial indicator.

    Servo and stepper motion

  • Explainer

    Stepper motors on a friction wheel driven cutting machine

    Friction drive does not rule out stepper motors. The wheel must transmit the peak axis force, the friction coefficient times the normal force pressing it to the rail, without slipping, and the motor must hold synchronism through every commanded acceleration. Check wheel slip and lost steps as two separate limits, demand at least a two-to-one traction margin, and add feedback that reads the carriage before trusting open-loop position on a cutting machine.

    Servo and stepper motion

  • Troubleshooting

    Why a Stepper Axis Oversteps After a Timing Belt Conversion

    An axis that stops a fixed increment past target on every repeat after a timing belt conversion is losing steps, not coasting. Convert the measured drift into motor full steps: about half a revolution per repeat points at the new belt drive losing synchronism, a few microsteps after each reversal points at direction setup time, and drift only when two axes run together points at the shared 24 VDC supply.

    Servo and stepper motion