Explainer
Why a servo spindle on Mach3 needs its own command and feedback path
Short answer
Yes, a servo spindle shares a Mach3 machine with two stepper slide axes, because the spindle is a speed channel rather than a third axis. It needs its own command path in the format the drive manual specifies, and for threading a one-pulse-per-revolution index signal back to Mach3. Plan on a belt reduction too: the servo makes its power at a higher speed than the induction motor it replaces.

On this page
- Can you mix stepper slide axes with a servo spindle on one Mach3 machine?
- What speed command does a servo drive accept from Mach3?
- Do you need a new interface card for the spindle?
- Why is a speed command not enough for threading?
- Does the new servo actually replace the old motor's torque?
- How do you commission the spindle without risking the machine?
- When is a VFD on the existing induction motor the better answer?
- Questions asked
Yes. A servo spindle and two stepper slide axes share one Mach3 machine without conflict, as long as the spindle gets two dedicated paths: a speed command from the computer to the servo drive, in whatever format the drive's manual specifies, and, for threading or rigid tapping, a one-pulse-per-revolution index signal from the spindle back to Mach3. The slides keep their existing step-and-direction card untouched. What the conversion really adds is a spindle interface, a sensor on the spindle and almost always a belt reduction, because a 1 kW servo makes its power at a higher speed than the 1 HP induction motor it replaces. The sections below follow the decision in the order you meet it.
Can you mix stepper slide axes with a servo spindle on one Mach3 machine? #
Yes, because the spindle is a speed-controlled channel, not a third axis: the two stepper slides keep their step and direction outputs, and the servo spindle gets its own speed command and, for threading, its own feedback wire back to the computer.
The slides are position channels: Mach3 interpolates them by issuing steps, and the drivers run open loop. The spindle is a speed channel: Mach3 issues a speed word and a direction, and the servo drive closes its own loop on the motor's encoder. The two jobs share no wire, so they cannot interfere, provided the spindle gets its own path. A servo drive will not accept the step-and-direction signal a stepper driver eats; that is the reason covered in why a stepper controller cannot drive a servo motor, and it is why the answer here is an added interface, not a rewired one. What you must not assume is that the servo's encoder becomes visible to Mach3 once the drive is powered: inside the drive it feeds the speed loop and stops there.
What speed command does a servo drive accept from Mach3? #
The drive's manual decides it: a servo drive in speed mode takes an analog reference, typically ±10 V dc, where the magnitude sets speed and the sign, or a separate direction input, sets rotation, and that is the command a spindle wants from Mach3.
A servo drive usually offers several command modes: an analog speed reference, a pulse-train follower, or a fieldbus. For a spindle you want speed mode on the analog reference, because Mach3 already speaks that language through its interface. The computer puts spindle speed out as a PWM signal, the interface board filters it into a smooth analog voltage, and the direction relays answer the M3, M4 and M5 commands. Scaling lives in two places: Mach3's spindle configuration maps the S word to duty cycle, and the drive maps reference volts to speed. One servo drive manual's parameters chapter, for example, lists an 'Analog Full Scale Velocity Command (Velocity Mode)', the speed reached at full reference, and an 'Analog Command Low-Pass Filter' that smooths the ripple a PWM-derived reference carries. Take both settings from the manual of your exact drive.
A calculated example with example settings: with the full-scale setting mapping the whole reference span to 2400 rpm, a commanded 1200 rpm asks for half of it, since 1200 ÷ 2400 = 0.5, so the board sends 0.5 × 10 V = 5 V, and the drive's speed loop holds that speed under load. Before you wire anything, confirm polarity, signal common and isolation against both manuals. The drive-side half of that match is laid out in finding a servo drive that accepts a 10V analog command; if your interface only emits pulses, step and direction to a ±10V servo drive: what converts it covers the converter that sits in between.
Do you need a new interface card for the spindle? #
Yes, unless the existing board's manual documents a spindle speed output and an index input, because a two-axis stepper card gives exactly two step-and-direction channels and nothing a servo drive can read.
Check the board's documentation for four things: a spindle speed output (PWM filtered to analog, or a converter input), direction relays, an index input routed to Mach3, and a statement that all of them keep working while two axes are stepping. Most two-axis boards stop at the step-and-direction channels, and none of it is safe to assume from the silkscreen. Two clean routes: keep the existing card for the slides and add a small spindle interface beside it, or replace the arrangement with one motion controller that documents two axis channels plus spindle speed and index, the controller-side questions walked through in choosing a motion controller for an analog servo Mach3 retrofit. Do not repurpose a spare axis output as a spindle command unless the drive is set to pulse-following and you accept that Mach3 then treats the spindle as a positioning axis.
Why is a speed command not enough for threading? #
Because a speed reference tells the drive how fast to turn but never where the spindle is, and a threading cycle has to start every pass at the same spindle angle, which takes one index pulse per revolution into Mach3.
Mach3 synchronizes threading passes, and its RPM readout, from a spindle index pulse: one pulse per revolution, produced by an optical sensor looking at a slot in a disc, or a proximity pickup on a single target such as a key. Without that pulse the control can only assume the spindle's phase, and the second pass of a thread starts wherever the spindle happens to be. The servo's own encoder does not solve this by itself: it closes the loop inside the drive, and Mach3 sees nothing of it unless the drive manual documents an encoder or index output and you wire that output to the interface's index input, matching the signal type to what the input accepts. Wiring drive feedback out to a control is the same job described in using a servo motor encoder as external machine feedback. The decision: threading or rigid tapping on the job list makes the index path mandatory; if the machine only turns, faces and drills, commission speed-only and write the limitation into the machine's notes.
Does the new servo actually replace the old motor's torque? #
Only through a belt ratio: as a calculated example, a 1 kW servo at 3000 rpm makes 3.18 N·m, while a 1 HP motor at 1725 rpm makes 4.13 N·m, so the servo needs about a 1.3:1 reduction to match the old motor's torque.
Run the check with your own nameplates; here are the example inputs and the arithmetic:
- Old induction motor, example nameplate: 1 HP at 1725 rpm. Power: 1 × 745.7 = 746 W. Angular speed: ω = 2π × 1725 ÷ 60 = 180.6 rad/s. Torque: T = P ÷ ω = 746 ÷ 180.6 = 4.13 N·m.
- Servo, example datasheet: 1 kW at rated 3000 rpm. ω = 2π × 3000 ÷ 60 = 314.2 rad/s. T = 1000 ÷ 314.2 = 3.18 N·m.
- Ratio and result: 4.13 ÷ 3.18 = 1.30, so fit roughly a 1.3:1 reduction; top spindle speed becomes 3000 ÷ 1.3 = 2308 rpm, call it 2300 rpm, and spindle torque becomes 3.18 × 1.3 = 4.13 N·m, back at the old motor's figure.
These are calculated results for the example inputs, not measured data; power at the spindle stays the motor's rating minus belt loss. The ratio usually goes in as a belt, and a pair of timing pulleys between motor and spindle sets it while keeping the motor off the spindle centerline. If the old motor already drove the spindle through pulleys, compare spindle-side speeds rather than nameplate speeds before fixing the ratio, and check the servo's continuous torque against your heaviest cut.
How do you commission the spindle without risking the machine? #
In a fixed order, with power isolated for the wiring: motor uncoupled first, then enable and direction, then speed tracking against a tachometer, then the index pulse at low speed, and the machine stop must remove the drive's run command in hardware, not command zero speed.
Wire motor power, protective earth and the motor feedback cable as the drive manual shows, keep command and index wiring away from motor power leads, and land every signal on a documented terminal. Set the drive's command mode and full-scale speed first, then make Mach3's spindle output match. Run the motor with the belt off: the drive should enable only on command, spin the right way for M3 and M4, and track commanded speed in steps across the range on a tachometer or the drive's own speed display. Then confirm the RPM readout follows the index pulse, couple up, and cut a test thread in scrap before any production part. One safety point belongs here: NFPA 79, and IEC 60204-1 internationally, treat the emergency stop as a function that must act through the machine's stop circuit and remove the drive's run or enable, because a software command of zero speed is not a stop.
When is a VFD on the existing induction motor the better answer? #
Whenever the work never cuts a thread or indexes the spindle: a VFD on the induction motor takes the same analog speed signal from the same interface, gives variable speed with no feedback wiring, and the servo earns its place only through position synchronization and fast reversal.
If the job list is turning, facing and drilling, the conversion can stop at speed control: keep the induction motor, add a VFD, feed it the analog reference, and skip the index sensor entirely, the trade that replacing a lathe's three-speed motor with a VFD works through. The servo pays for itself when you need threading synchronized from the index pulse, rigid tapping, or direction reversals fast enough that a VFD's ramp time becomes the cycle bottleneck. The decision by case: for threading, rigid tapping or indexed work, fit the servo with an analog speed command through a documented interface, the index input into Mach3, and the belt ratio from the torque check; for speed-only work, put a VFD on the existing motor, drive it from the same analog output, and leave the slide axes exactly as they are.
Questions asked
How many index pulses per revolution does Mach3 need for threading?
One. Mach3 synchronizes threading passes and its RPM readout from a single pulse each spindle revolution, so the sensor is one target: a slot in a disc, a key or a single bolt head. If the pulse comes from the motor side of a 1.3:1 belt, Mach3 would see 1.3 pulses per spindle revolution and both the readout and the sync would be wrong, so sense the spindle itself.
Is 1 kW more power than 1 HP, and why does the torque come out lower?
Yes on paper, because 1 kW equals 1.34 HP, but power is torque times speed: the servo makes its kilowatt at a higher shaft speed than the induction motor made its horsepower, and at equal power a higher speed always means less torque. The belt ratio trades the servo's extra speed back into the torque the spindle needs, which is why this conversion is a mechanics job as much as a wiring job.
Should the spindle be run as a third axis on step and direction instead?
Only if the drive is set to pulse-following mode and the interface has a spare axis channel that can hold the spindle's step rate, but Mach3 then treats the spindle as a positioning axis: everyday speed-only work gets clumsy, the channel is spent, and threading still needs the index input anyway. The analog speed channel is the cleaner spindle command.
Does plain turning need the spindle index wire?
No. Facing, turning and drilling run on the speed command and the direction relays alone; the index input only adds the RPM readout and unlocks threading and rigid tapping. Even so, pull that wire during the conversion, because adding it later means reopening the cabinet and fitting a sensor disc to a spindle that is already aligned and balanced.
