How-to
Reversing an Axis After a Belt Drive Retrofit in Mach3
Short answer
Yes — flip the direction active level for that axis in Config > Ports and Pins > Motor Outputs (the Dir LowActive checkbox) and commanded travel reverses; never mirror programs or swap motor and encoder wiring. The 0.02 in of lost motion is separate: seat the ball screw in its thrust supports mechanically, because no polarity change removes it.
On this page
Yes — Mach3 reverses the axis, and you never have to mirror your programs. For a step/direction servo, the setting is the direction active level on the axis's row in Config > Ports and Pins > Motor Outputs: the Dir LowActive checkbox. Toggle it and every subsequent direction command is read the other way, exactly as for a stepper, because most servo drives accept the same step and direction inputs. What the checkbox cannot do is remove the 0.02 in of lost motion that pushed you toward the belt drive. That play lives in the screw's support, it comes out by seating the screw, and command polarity has nothing to do with it: fix the support, flip the bit, then verify with a slow jog.
Why the axis runs backward now #
The original machine coupled the motor inline with the screw. The new mount places the motor above the gantry and drives the screw through a belt, with the motor facing the opposite way. The rotation the screw sees is the combined result of motor orientation, pulley arrangement and the screw's thread hand, so turning the motor end-for-end flips which way a positive command moves the carriage. You could recover the original sense mechanically by crossing the belt, but a checkbox is quicker than re-routing one. The control still expects plus-X to give positive machine travel, so you bring the configuration into line with the machine rather than the programs into line with its new geometry. If a feedback device rides on the motor you relocated, it now sits behind a belt, and it deserves the alignment and tension checks that come with mounting a motor encoder behind a belt reduction.
Seat the screw before you touch the configuration #
The reversal error you measured was read with the motor coupled directly, and it tracked axial play in the servo's own shaft. Coupled inline, whatever the screw does axially goes straight into the motor, and the reaction loads that follow are what snapped the old mount. A ball screw turns torque into thrust, and thrust needs a defined path through the screw's thrust-bearing arrangement into the machine frame; when the screw can float axially, that float appears at the carriage as backlash. The belt drive takes the motor shaft off that load path and clears room to seat the screw inside the gantry arm, which is where the backlash dies. The support and preload work that removes axial float is the subject of fixing ballscrew thrust bearing axial play and preload.
Two checks on the new hardware while you are in there. The machined aluminum mount replaces a broken part, and material alone does not prove the assembly carries the loads, so verify mount geometry, fastener engagement, pulley alignment and the motor's permissible radial load at the pulley against the motor's documentation. Then confirm the screw still seats in its support with the belt tensioned, because the belt's pull loads the same brackets you just torqued.
Working through the 0.02 in of lost motion on the retrofit X axis #
Inputs, each with its source:
- Reversal error at the carriage with the motor coupled direct: 0.02 in, an indicator reading taken on this machine before the retrofit.
- Unloaded reversal reading after a belt-driven screw on the same machine was re-seated in its end supports: under 0.0005 in, reported for its Y axes.
- Cutting load: with the cutter engaged, belt stretch adds a small, load-dependent factor; unloaded readings exclude it.
The rule in words: the lost motion removed by seating the supports is the before reading minus the after reading, and the share of the original error still remaining is the after reading divided by the before reading.
The arithmetic:
0.020 in − 0.0005 in = 0.0195 in removed.
0.0005 in ÷ 0.020 in = 0.025, so 2.5 % of the original lost motion remains.
The result: 97.5 % of the reversal error was support seating, not anything a configuration screen controls. The residual 0.0005 in is the unloaded number, and whatever appears beyond it does so only under cutter load, as belt stretch.
The decision: an unloaded reversal reading under 0.0005 in says the thrust path is seated and the axis is ready for the polarity change. If your own after-reading is still more than half of your before-reading, the screw is floating in its supports, and you fix that first, because no direction setting will hide it.
Reversing the axis in Mach3 #
The setting is documented in the Ports and Pins chapter of the Mach3 manual; the procedure around it is what keeps the first move safe.
- Back up the configuration and record the axis's row — step pin, direction pin, port, and the current checked or unchecked state of Dir LowActive — before changing anything.
- Confirm the command path: a drive wired for step and direction is reversed from Mach3, while an analog-command servo or an external motion controller is reversed in its own configuration, covered below.
- With machine power locked out, check the mechanical work: mount fasteners, pulley retention on both shafts, belt alignment, screw seating and unobstructed carriage travel.
- Open Config > Ports and Pins > Motor Outputs, find the row for the reversed axis, and toggle Dir LowActive — checked to unchecked, or unchecked to checked. Change nothing else on the row.
- Save the configuration, then reopen the screen and confirm the new state took.
- Turn homing off for the axis on the Config > Homing/Limits screen, so a reference move cannot carry the carriage the wrong way.
- Enable the drives and jog a short positive move at the lowest jog speed; the carriage must travel toward the machine's established positive direction.
- Jog negative and confirm the axis reverses. Stop immediately on unexpected acceleration, binding or a drive fault, and restore the checkbox to its recorded state if anything misbehaves.
Analog servos and external motion controllers #
Most servo drives fitted to routers accept step and direction, so the checkbox above is the whole correction. Two arrangements move the decision elsewhere:
| Command arrangement | Where direction is reversed |
|---|---|
| Step/direction drive on the control's outputs | Config > Ports and Pins > Motor Outputs, Dir LowActive |
| Industrial analog-command servo | The drive's own setup software |
| External motion controller between the control and the drives | The controller's plug-in input configuration, where each motor's direction input is set active high or active low |
For the last two rows, read the documentation of the installed drive or controller to confirm which side owns the polarity. With an external controller, the setting in Mach3 may be passed through or ignored, and the plug-in is where the direction input's active level actually lives.
First moves, homing and limits #
The first jog after a polarity change is the one that can catch you out: make it with the carriage clear of both travel ends and at the lowest jog speed, because a reversed reference move drives the carriage away from its switch rather than toward it. Once direction is confirmed, set the homing direction on the same Homing/Limits screen so the reference cycle hunts the correct switch, run one full reference cycle, and confirm that machine coordinates and soft limits read as intended before you load a program.
What not to do #
Mirroring your programs is not a fix. It rewrites part geometry instead of correcting the machine, and a mirrored axis changes the sense of circular interpolation and cutter compensation, so the mirrored program will not produce the same part.
A three-phase induction motor is reversed by swapping any two phase leads; why any two phase swaps reverse a three-phase motor comes down to the stator's rotating field inverting. A step/direction servo is different — it is reversed at its command interface, not in its wiring — and swapping motor or encoder leads as a trial-and-error correction can leave the drive closing its loop the wrong way, which shows up as an axis that runs away.
Leave backlash compensation out of this repair. The lost motion came out of the supports, and software compensation cannot substitute for a seated thrust path.
Questions asked
Does the same change work on a gantry axis driven by two motors?
Yes, and both motors must be changed together. Each motor output row has its own Dir LowActive setting, so a twin-motor axis needs both rows toggled in one session before you jog. Flipping only one side drives the two screws against each other and racks the gantry, so keep the first moves short and stop the moment the frame binds.
Do I need to change the step calibration value after reversing the axis?
No. The direction bit only selects which way the drive counts incoming pulses, so distance scaling is untouched. The calibration value changes only if the retrofit changed the ratio between motor and screw, which a belt reduction does. After any ratio change, calibrate by commanding a known move, measuring actual travel, and scaling the step count by commanded divided by actual.
What happens to the limit switches when an axis is reversed?
Nothing changes in the wiring, but your expectations do. The reversed axis now arrives at the opposite switch for a given command, so drive to each end slowly and confirm the correct switch trips before trusting soft limits. Inputs are configured separately from motor outputs, so no input setting has to change for the reversal itself.
How much unloaded reversal error is acceptable before running parts?
A workable rule of thumb is unloaded lost motion below a tenth of your tightest feature tolerance. The re-seated screw on this machine reads under 0.0005 in unloaded, which is exactly a tenth of a 0.005 in tolerance. Anything beyond the unloaded figure appears under cutter load as belt stretch, which is compliance rather than play.