Troubleshooting
Troubleshooting STEP/DIR spindle wiring to a stepper drive
Short answer
Wire the spindle step/dir output with three conductors: pin 2 to PUL+, pin 3 to DIR+, GND to both PUL- and DIR-, and pin 1 left unconnected, since it has no role in step/dir mode. If the motor steps but will not reverse, command both directions and meter pin 3 for a level change before suspecting the drive.

On this page
Wire a step/dir spindle output to a stepper or hybrid servo drive with exactly three conductors, and leave the fourth pin alone: pin 2 to PUL+, pin 3 to DIR+, controller GND to both PUL- and DIR-, with pin 1 floating. In step/dir mode pin 1 drives nothing, and loading it is the wiring that puts the controller's spindle output stage at risk. When the motor steps but refuses to reverse, the fault is rarely the drive: command both directions, meter pin 3, and expect its level to flip before you touch anything else. The walk-through below uses the MASSO G3 spindle port and its F1 and F2 screens as the worked case; the pin map, the settings and the voltage checks carry over to any controller that offers a spindle step output.
What the reported symptom isolates #
The reported setup ran a closed-loop stepper as the spindle. The motor stepped only with the controller's pin 2 landed on PUL+; pin 3 on either positive input did nothing, and direction never changed. The same result came back on a second drive-and-motor pair, one hybrid servo and one plain stepper, which clears both drives and points at what they share: the controller port, the cable landings and the spindle settings. Pin 1, meanwhile, had stayed wired to a VFD, with a switch in the feed to the drive.
Two drive pairs repeating one symptom is evidence against the drives, so stop swapping them and test the port's outputs directly. A spindle step output is an ordinary pulse-and-direction channel; the signal-level rules are the same ones covered in driving step and direction inputs from a controller velocity output.
The three-wire hookup and the pin 1 rule #
Land the cable like this:
| Spindle port pin | Drive terminal | What it carries |
|---|---|---|
| Pin 2 | PUL+ | the step pulses |
| Pin 3 | DIR+ | the direction level |
| GND | PUL- and DIR- | the common return |
| Pin 1 | no connection | analog and PWM spindle modes only |
Pins 2 and 3 form a common-ground output: the drive's optocoupler inputs take their return from controller GND, so both minus terminals land there. The PUL and DIR names are the step and direction inputs as this class of drive labels them; confirm the terminals against your drive's manual before energizing, since layouts vary between makers.
Pin 1 has no job in step/dir mode; it belongs to the analog and PWM spindle modes, which is why the controller's step/dir wiring guidance calls for pins 2, 3 and GND only. The reported case ran with pin 1 tied to a VFD through a switch, the exact arrangement that guidance rules out: the port is built to feed one load per mode, and a loaded pin 1 puts the spindle output stage at risk. Free the wire entirely rather than switching it, because a closed switch still connects the pin.
One safety note before any of this: lock out the cabinet feed and let the drive's internal bus discharge before moving wires. The step/dir side is low voltage, but the same enclosure holds mains.
Confirm the F1 spindle settings first #
The wiring map does nothing if the port is not in step/dir mode, and checking it costs nothing. On the F1 Main Spindle Settings screen, the working case read:
- Spindle Controll Method = STEP/DIR (spelled as on the screen)
- Maximum RPM = 3000
- Pulses for one spindle revolution = 200
- Encoder (pulses per revolution) = 100, the closed-loop spindle motor's feedback entry
These are the entries of the working setup, not universal values. The pulses-per-revolution entry in particular is your choice, and it scales the step rate with the same arithmetic as the step and direction servo pulse scaling calculation used for any axis. Some controllers also gate their step/dir input behind an enable flag, the mode-before-wiring trap that the walk-through of enabling a motor controller's step and direction input documents.
Direction test on the F2 screen #
With the three-wire map landed and pin 1 floating, run this sequence on the F2 screen:
- Command clockwise at 3000 RPM and meter pin 2 and pin 3 against GND. The reported readings: pin 2 about 1.9 V, pin 3 near 0 V.
- Command counterclockwise at the same speed. Pin 2 held the same average; pin 3 rose to about 3.0 V.
- Read the pair correctly. A meter on the pulsing pin shows an average, not the waveform: against 3 V swings, a 1.9 V average works out to roughly a 63 percent duty cycle at that speed, arithmetic for those levels. The reading proves pulses are present; it does not measure the pulse rate.
- Judge by pin 3. The direction pin must flip level when the command flips. If it swings and the motor reverses, the wiring is right. If it swings and the motor will not reverse, the fault is downstream of the controller.
These are the reported readings at those settings, a measured result for that case, not a specification. Your controller's documentation states its own step/dir output levels; treat large disagreement as a fault to find, not a passing grade.
Example: pulse rate the drive must accept at 3000 RPM #
Two F1 entries set the demand the drive has to meet: Maximum RPM = 3000 and Pulses for one spindle revolution = 200. At full commanded speed the step rate works out as:
- 3000 rev/min ÷ 60 s/min = 50 rev/s
- 50 rev/s × 200 pulses/rev = 10,000 pulses/s = 10 kHz
That 10 kHz is a calculated example for those two entries, not a measured figure, and it scales directly: double the pulses-per-revolution entry and the rate doubles, raise the maximum RPM and it rises with that. The decision it forces: any step/dir drive on this spindle has to swallow a continuous 10 kHz stream with headroom, so pick one whose maximum input frequency is several times that figure. A drive that steps cleanly at low RPM but drops steps as speed climbs has hit a frequency ceiling, which is the failure mode covered in the piece on why a closed-loop stepper stops responding above 200 kHz.
Fault list, cheapest check first #
Work down this list; each entry carries its confirming check, and no cause is assigned from the symptom alone:
- Control method not on STEP/DIR. Read the method entry on the F1 screen. A VFD or analog mode left selected changes what the pins do, and no pin map fixes it.
- Pin 1 still feeding the VFD. With power locked out, check continuity from pin 1 to the VFD harness, then pull the lead off entirely rather than adding a switch.
- A wire landed in the wrong place, such as pin 2 and pin 3 swapped or a signal on a minus terminal. Detach the cable at both ends and run continuity pin by pin against the table above.
- An open direction return. Meter continuity from DIR- back to controller GND. An open return leaves pulses running while direction goes dead, exactly the reported behaviour; check PUL- the same way while you are there.
- Drive input polarity or active level. Compare the drive manual's input section, optocoupler current and whether the direction input is level-sensitive, against the controller's output. This is a documentation check; no parts needed.
- The spindle output stage itself. Only if checks 1 through 5 pass and pin 3 still sits at one level under both commands: the port is the remaining suspect, and the controller goes to service, not the drive.
The decision for each case #
- Pin 3 swings 0 V to 3.0 V with the command and the motor reverses: the wiring is correct, pin 1 stays floating, and the job is done.
- Pin 3 swings but the motor will not reverse: the meter has proven the controller good, so fix downstream. Land DIR+ per the map, confirm both minus terminals on GND, then check the drive's direction active level in its manual.
- Pin 3 static under both commands while pin 2 pulses: the controller side is open. Confirm the F1 method reads STEP/DIR and pin 1 is truly floating; if both hold, the spindle output stage is the suspect.
- Pin 2 reads about 0 V under both commands: no step output at all. Check the method setting, then the pin 2 landing, then the port.
The reported case closed with the three-wire map landed and pin 1 freed. Which of the two fixes yours needs is exactly what the F2 meter test decides.
Questions asked
Can the pulse and direction returns share one wire?
Both PUL- and DIR- land on controller GND, so they share the same reference. Whether they can share one conductor depends on the drive: run separate return wires unless the drive manual states the minus terminals are commoned internally. A single missing return is easy to misread as a dead direction input, because pulses keep running while direction does nothing.
Does 1.9 V on the pulse pin prove the pulses are good?
It proves pulses are present and nothing more. A digital meter averages the pulse train, so a 1.9 V reading against the port's output swing is roughly a 63 percent duty cycle at that speed. The reading says nothing about frequency or edge quality. To see the actual stream, put an oscilloscope or frequency counter on pin 2 and compare the rate against what your settings demand.
Why did two different drive and motor pairs show the same fault?
Because everything the two setups shared sat upstream: the controller port, the cable landings and the spindle settings. When a second drive repeats the first drive's behaviour exactly, stop swapping hardware, because the fault lives in what they share. Meter the port's outputs first; a drive swap that changes nothing is evidence against the drive, not an argument for a third one.
Is pin 1 ever used on the spindle port?
Yes, in the analog and PWM spindle modes, which is exactly why it must float in step/dir mode: the damage risk comes from loading a pin that step/dir never drives. If the machine later goes back to a VFD, pin 1 returns to work only when the control method goes back with it, never both modes at once.
