AutomateDirectUSAMotion LibraryIndustrial monitors & PCs

Explainer

What decides whether a stepper drive accepts step and direction

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

Short answer

Whether a stepper drive accepts step and direction is decided at the connector by four documented quantities: the input circuit's voltage and current, the connector pinout, the minimum step pulse width with direction setup and hold times, and the maximum step frequency. Higher motor current or different pulse software changes none of them. Read the numbers from the exact drive's datasheet, run the timing arithmetic, and wire only after the circuit and pinout match.

On this page
  1. What decides whether a stepper drive accepts step and direction?
  2. Can more motor current or different software make the drive respond?
  3. What pulse width and direction timing does the drive need?
  4. How do you check the input circuit and pinout before wiring?
  5. How many steps per second does the axis need at full speed?
  6. Does my pulse source keep up: a worked timing check?
  7. What should you measure at the drive connector at first power-up?
  8. The drive is wired and still does not step: what do you check first?
  9. Questions asked

Whether a stepper drive accepts step and direction is settled at the drive's connector, not in the motor settings. Four documented quantities decide it: the input circuit's voltage and current, the connector pinout, the minimum step pulse width with its direction setup and hold times, and the maximum step frequency the input will count. Raise the current or swap the pulse software and none of those four changes. Below is where each number lives, the arithmetic that turns it into a pass or fail, and the checks to make before the first commanded move.

What decides whether a stepper drive accepts step and direction? #

Four things decide it, and all four are printed in the exact drive's documentation: the electrical input circuit, the connector pinout, the step pulse and direction timing, and the maximum step frequency the input can count.

Every accepted step advances the commanded position by one increment, the direction input sets the sign of that movement, and the drive then regulates winding current to follow. Compatibility therefore has two layers. The electrical layer asks whether your pulse source can operate the input circuit at the voltage and current it specifies. The timing layer asks whether each logic state is held long enough and whether direction changes land far enough from the step edges. A pulse that looks correct at the controller can arrive at the drive narrowed, drooping or below the recognition threshold.

Quantity What it decides Where it is documented
Input circuit voltage and current direct connection or an interface stage drive datasheet, input specifications
Connector pinout which contact carries step, direction, common, supply and motor connector drawing for the exact model
Minimum pulse width, direction setup and hold shortest pulse and reversal spacing accepted timing diagram
Maximum step frequency speed ceiling at a chosen resolution input specifications

A catalog line saying a drive family supports step and direction tells you the interface exists, not what these four numbers are. Take them from the datasheet of the exact model before anything is wired.

Can more motor current or different software make the drive respond? #

No. Winding current sets torque and heating, and software only shapes the pulses it emits, so neither can repair an input circuit that never recognizes the pulse or a pinout wired to the wrong contact.

A drive that ignores its step input shows one symptom, a motor that stands still, with many possible causes behind it. Raising the current setting adds thermal load to the windings and changes nothing at the command connector. Installing another pulse-generating application changes the shape of the pulses, but the output hardware, its voltage, its current capability and its connector stay the same, so an interface that failed before fails the same way. A headline peak-current figure is not a continuous setting either: set winding current by the drive's own definition, and only once the interface is proven. Measuring what actually flows is a separate job, covered in what decides stepper motor current measurement method.

What pulse width and direction timing does the drive need? #

Three numbers from the drive's timing diagram govern the interface: the minimum step pulse high time, the minimum low time, and the direction setup time, and the first two cap the countable frequency at one divided by their sum.

A full cycle needs one high time plus one low time at minimum, so the frequency ceiling equals one divided by the sum of the minimum high and low times. Direction has its own margins around every step edge: the new direction level must be stable for the specified setup time before the first pulse of a reversal and for the specified hold time after the last. If the source's pulses arrive narrower than the minimum, the drive does not count them at all, the failure shown in why a 150 ns pulse high time fails a servo drive input. A width that is correct at the source can shrink at the drive after a buffer stage or a long cable, so the number that counts is the one present at the drive's contacts.

How do you check the input circuit and pinout before wiring? #

With the drive unpowered, read three facts for your exact model: whether the step and direction inputs are optocoupled, the voltage and current each input needs, and which contact on the connector carries step, direction and common.

An optocoupled input is a light-emitting diode behind a resistor: the datasheet states the voltage that drives it and the current it draws, and your pulse source must deliver both, sourcing or sinking as the input expects. For example, an input specified at 5 V and 10 mA sits within reach of a buffered output stage rated 20 mA and beyond a bare logic output rated 2 mA. Where voltage, current capability, polarity or the reference arrangement differs, put an interface stage between the two rather than improvising; a 24 V output on a 5 V input needs the series resistor the datasheet prescribes, not an estimated one. What the computer side of such a link must provide is covered in what a stepper driver control connector needs from a PC.

Check the reference as carefully as the signal: not every terminal marked common is interchangeable, so follow the drawing for which return each command circuit uses. On multi-row backplane-style connectors, a shell that mates can still land supply on a signal contact if the rows are counted from the wrong viewing side, so verify continuity from every wire to its named contact while the drive is unpowered.

How many steps per second does the axis need at full speed? #

Multiply the target speed in revolutions per second by the microsteps per revolution: a 1.8 degree motor has 200 full steps, at 16 microsteps that is 3200 per revolution, and 600 rpm then demands 32,000 steps per second.

The rate is the motor's full-step count, 200 for a 1.8 degree motor, times the drive's resolution setting; one pulse-input drive family, for example, selects anywhere from 200 to 51,200 microsteps per revolution. The result must sit under two ceilings: the drive's maximum input frequency and the top rate the pulse source itself can emit. Raising the resolution raises the demand proportionally and buys smoothness, not speed, which is the trade worked through in stepper drive pulse frequency limit vs microstep demand.

Does my pulse source keep up: a worked timing check? #

With example inputs of 2.5 microsecond minimum high and low times, 5 microsecond direction setup and a 200 kHz drive limit, a 32 kHz axis demand passes with a six times margin, as the arithmetic shows.

The numbers below are example inputs chosen to show the working; this is a calculated example, not a measured result, and your drive's datasheet supplies the real values.

  • Axis demand: 600 rpm divided by 60 gives 10 revolutions per second; 200 full steps times 16 microsteps gives 3,200 steps per revolution; 10 times 3,200 gives 32,000 steps per second, a 32 kHz pulse train.
  • Timing ceiling: 1 divided by (2.5 µs + 2.5 µs) equals 1 divided by 5 µs, which is 200 kHz, so the demand uses about a sixth of the ceiling.
  • Pulse period: 1 divided by 32,000 s gives 31.25 µs; at 50 percent duty each state lasts about 15.6 µs, comfortably above the 2.5 µs minimum.
  • Direction margin: the new direction level must be set at least 5 µs before the first step of a reversal; configure a 10 µs direction pre-delay in the source, which fits inside the 31.25 µs period.

The decision for these inputs: the timing layer passes with margin, so wiring may proceed once the electrical checks above also pass. If your own numbers fail a line, the fix is specific. Demand above the timing ceiling means lower resolution or lower speed; a direction pre-delay that will not fit means a longer interval after each reversal; neither is fixed by more current.

What should you measure at the drive connector at first power-up? #

Probe the step and direction contacts at the drive end while jogging slowly in both directions: you want pulses at the width you configured, a direction level that flips before the first pulse of each reversal, and amplitude above the input threshold.

Measure at the drive end, because the buffer stage and the cable are part of the circuit and can degrade a pulse that left the source clean. Then close the loop on counting: command a fixed move and measure the travel with an indicator. A constant ratio between commanded and measured travel points at the resolution configured in the pulse source; an intermittent shortfall points back at pulse quality, acceleration or torque. Keep the axis clear of limits and hands for these first moves, because an interface that miscounts can drive straight into a hard stop.

The drive is wired and still does not step: what do you check first? #

Check in cost order: the drive's enable input and fault light, then supply voltage at the drive terminals, then pulse presence at the connector with the source running, then the common return, and only then the motor circuit.

A drive that receives valid pulses and still stands still is a different fault from one that receives nothing, so confirm each suspect with its own check: the enable input against the state the manual requires, the fault light against the manual's indication table, the supply with a meter at the drive's own terminals, the step contact with a scope while the source runs, the common return with a continuity check power off, and the motor circuit with a winding resistance measurement. The retrofit version of this path, from pulse source to drive, is walked through in servo drive pulse and direction wiring on a retrofit.

The decision, case by case: all four quantities met at the connector, wire it and move on to tuning; circuit mismatched but timing fine, add the interface stage the datasheet's numbers call for; frequency demand over the ceiling, drop resolution or speed; no pulses at the connector, fix the source side before touching the drive; pulses present and counted but no motion, work the enable, fault and supply list. Interface first, current and acceleration after; that order does not change.

Questions asked

Can one pulse source drive two stepper drives in parallel?

Only if the source's output supplies the sum of both input currents at the rated voltage. Two optocoupled inputs drawing 10 mA each need 20 mA, which many buffered stages deliver and bare logic pins do not; otherwise give each drive its own buffer. Both drives then step together, so they need the same direction signal as well.

What happens if the direction signal changes at the same moment as a step?

The drive can count that step in the old direction or miss it entirely, and the axis loses position by that count at every reversal. The setup and hold times exist to prevent exactly this; the fix is a direction pre-delay or extended hold configured in the pulse source, not a gentler acceleration ramp.

Does a higher microstep setting change the minimum pulse width?

No. Microstepping changes how many pulses make a revolution, so the same motor speed demands a proportionally higher step rate, but the minimum pulse width and direction timing stay the datasheet's numbers. Raising the resolution tightens the frequency check and leaves the timing check untouched.

How should the step and direction wiring be routed in the cabinet?

Pair each command signal with its return conductor, keep the run short, and route it away from motor and supply leads. Use shielded cable for long runs or noisy cabinets, bonding the shield the way the drive manual specifies, and mount interface stages close to the drive so the clean signal travels the shorter distance.

Keep reading

  • Troubleshooting

    Why a Closed Loop Stepper Will Not Move Above 200 kHz

    The axis sits dead because the kernel exceeds the drive's documented step input limit, making each high or low state narrower than the input can latch. Set the kernel to half the ceiling, derive steps per mm from the drive's command resolution divided by the screw's travel per revolution, and verify the encoder A-channel polarity at the drive terminals.

    Servo and stepper motion

  • Comparison

    A step and direction servo drive versus an open-loop stepper

    A step and direction servo drive takes the same pulse train as an open-loop stepper drive but closes the position loop inside the drive on the motor's encoder counts, so lost steps become a following-error fault instead of silent drift. The deciding arithmetic is the pulse budget: steps per inch times feed gives the steps per second your controller must supply, and a high-count encoder can exhaust that budget before the motor runs out of torque.

    Servo and stepper motion

  • How-to

    Driving Step and Direction Inputs From a Controller Velocity Output

    A step drive counts edges, so the velocity number must become a timed train: pulses per second equal steps per degree times degrees per second, the demand's sign drives the direction pin, and the drive's documented minimum pulse width and maximum input frequency decide whether the generator can deliver it. Command travel as target minus start position, never by integrating velocity.

    Servo and stepper motion