AutomateDirectUSAMotion LibraryIndustrial monitors & PCs

Explainer

What decides PLC servo drive pulse interface compatibility

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

Short answer

Four documented quantities decide whether a PLC can command a servo drive by pulse train: the pulse input's voltage level (5 VDC versus 24 VDC circuits), the electrical signaling (open collector versus line driver), the command encoding (pulse plus direction, CW/CCW or A/B), and the servo-enable polarity (NPN or PNP) with its supply and return path. Check all four against the drive's pulse-input wiring diagram before any wire is landed.

On this page
  1. The four checks and where each answer lives
  2. Signal voltage: 5 VDC versus 24 VDC
  3. Electrical signaling: open collector versus line driver
  4. Command encoding: pulse plus direction, CW/CCW or A/B
  5. Servo enable polarity: NPN or PNP with its supply path
  6. Worked example: command frequency for a 100 mm/s axis
  7. What each mismatch looks like on the machine
  8. The decision, case by case
  9. Questions asked

A PLC moves a pulse-command servo axis only when the command path between its pulse outputs and the drive's pulse inputs matches on four documented quantities: the input's signal voltage, the electrical signaling, the command encoding, and the servo-enable polarity with its supply and return path. All four answers live in two documents — the PLC output module's specification and the drive's pulse-input wiring diagram — and all four must agree before any wire is landed. A mismatch on any one of them produces the classic commissioning scene: the PLC output indicator flashing, the drive showing no alarm, and the axis standing perfectly still. This article defines each quantity, shows where its answer is documented, works a command-frequency example at a realistic travel speed, and ends with the pass or fail decision for each case.

The four checks and where each answer lives #

Command-path compatibility breaks into four independent questions. None of them is a rule of thumb; each is a documented fact about your specific PLC output hardware and your specific drive:

Quantity Options you will find Where the answer is documented
Signal voltage 5 VDC or 24 VDC input circuits PLC output module specification; drive pulse-input wiring diagram
Electrical signaling Open collector or differential line driver Wiring-diagram pages of both manuals
Command encoding Pulse plus direction, CW/CCW, or A/B Drive command-mode parameters; PLC motion-function documentation
Servo-enable polarity NPN sinking or PNP sourcing, with supply and return path Drive discrete-input diagram; PLC output type on the module label

Two questions here are easy to blur. Pulse plus direction, CW/CCW and A/B describe how pulses represent motion — the command encoding. Open collector and line driver describe how current carries those pulses — the electrical signaling. Selecting one does not select the other: a drive can take pulse and direction over an open-collector input or A/B over a line-driver input, and the wiring and the parameters each follow their own page of the manual.

Signal voltage: 5 VDC versus 24 VDC #

Servo pulse inputs are built for one of two voltage classes: 5 VDC logic circuits or 24 VDC industrial signal circuits. Many drive manuals give separate terminals, or a configuration step, for each class, and the pulse-input wiring diagram names the class for every terminal it draws.

The rule runs one way: never put 24 VDC on an input wired for 5 VDC. If the PLC can only deliver 24 VDC signals and the input you want is a 5 VDC circuit, the fix is the interface stage the drive manual documents — usually a resistor network drawn directly on that wiring page — built to the values shown there, not to a value guessed at the bench.

Voltage and current travel together. The drive diagram states how much current the input draws; the PLC output module specification states how much current each output can switch. The input's demand must fit inside the output's rating, with the supply and return coming from the sides the diagram assigns.

Electrical signaling: open collector versus line driver #

An open-collector output does not push voltage out; it closes a path to its common and lets the receiving side's supply push current through it. That is why the return path decides everything here: if the drive's input circuit is not given the supply and common its diagram calls for, the PLC output indicator can flash faithfully while no current ever flows through the drive's input. A drive receiving nothing raises no alarm — the axis just stands still.

A line-driver output sends each signal as a differential pair, a positive and a negative terminal, at RS-422-level voltages of about 5 V. The receiver reads the difference between the two wires, which is why differential signaling holds up at high pulse counts and in electrically noisy cabinets where a single-ended open-collector link starts dropping edges.

Where a drive manual lists a maximum command frequency for each input type, the open-collector figure is the lower one. Use the number published for the wiring you will actually build, not the headline figure, and land the wires exactly as the diagram shows — the page on servo drive pulse and direction wiring on a retrofit lays out that terminal work for a real machine.

Command encoding: pulse plus direction, CW/CCW or A/B #

Three encodings dominate pulse-command servo drives. In pulse plus direction, one channel pulses once per commanded increment while a second channel sits at a level that selects the rotation direction. In CW/CCW, each direction owns a pulse channel, and the shaft turns when the channel for that direction pulses. In A/B, both channels pulse with their edges offset by a quarter cycle, and the receiver reads direction from which channel leads.

The drive selects the encoding it expects through a parameter, and the PLC motion function must emit the same encoding on the same channel assignment. A drive set to A/B while the PLC emits pulse and direction is not a wiring fault: nothing at the terminals looks wrong and no alarm appears. It surfaces as axis behavior that makes no sense, which is why the encoding parameter and the PLC output format get checked against each other before the first move.

Servo enable polarity: NPN or PNP with its supply path #

The pulse inputs move the axis only while the drive is enabled, and the enable — most drive manuals name it servo-on or similar — is an ordinary discrete input driven by a PLC output. An NPN output sinks current to its common, so it needs a drive input circuit that provides the supply side of the loop. A PNP output sources current from its supply, so it needs a drive input that accepts that current and returns it. Read the polarity off the PLC module — relay, transistor sinking, or transistor sourcing — and take the matching current path from the drive's discrete-input diagram. With the polarity wrong, the drive simply never enables: no motion, no alarm, and an output indicator that switches away happily.

Set the enable to track the controller's software axis state, so the drive never stays enabled while the program believes the axis is off; the page on why a servo amplifier enable should follow the software axis state gives the reasoning and the wiring. One safety boundary around all of this: the enable is an operational command, never a safety function — commission inside the machine's guards and its risk assessment, with safety-related control parts designed to the applicable standard such as ISO 13849-1, and treat these notes as wiring guidance, not as a safety validation.

Worked example: command frequency for a 100 mm/s axis #

Command compatibility has a fifth, quantitative test: the pulse rate your mechanics demand must fit inside what both devices document. The inputs below are example values, so substitute your own and redo the arithmetic:

  • Ballscrew pitch: 5 mm per revolution, coupled 1:1 to the motor.
  • Electronic gear: 10,000 pulses per motor revolution, the drive parameter that scales pulses to shaft angle.
  • Travel speed: 100 mm/s, with acceleration and deceleration of 1 s each — the same example inputs a Siemens application note on positioning through a pulse interface uses, so they are realistic shop numbers.

Pulses per millimetre of slide travel: 10,000 pulses/rev ÷ 5 mm/rev = 2,000 pulses/mm.

Command frequency at travel speed: 2,000 pulses/mm × 100 mm/s = 200,000 pulses/s, or 200 kHz.

Across the 1 s ramp the frequency climbs from zero to that steady rate — an average of 100 kHz and a slope of 200 kHz/s, which is 200 Hz every millisecond. The PLC pulse output must document that output frequency and be able to follow that programmed acceleration rate.

A 250 mm move at these settings commands 250 mm × 2,000 pulses/mm = 500,000 pulses in the motion function's pulse-quantity field.

The decision these numbers produce: the drive's documented maximum input frequency must sit above 200 kHz for the input type you wire, and the PLC pulse output must match. For scale, Panasonic documents a command input of 8 Mpps for the A6SF variant of its MINAS A6S servo series — a rating of that order absorbs this example many times over — but the only figure that counts is the one on your drive's pulse-input specification page, taken for your wiring class.

What each mismatch looks like on the machine #

  • Output indicator flashing, no alarm, axis still. The drive's input never sees current: a voltage-class or return-path mismatch. Check the supply and common against the drive's diagram first — it is the cheapest thing on this list to verify.
  • The slide creeps or moves without the motor shaft turning. Encoding mismatch: the drive's parameter and the PLC's output format disagree. The page on servo pulse input mode mismatch works this case through.
  • The drive never enables. Enable polarity or return path wrong. Match the PLC output type to the drive's discrete-input diagram.
  • Positions correct at first, drifting across the shift. Lost pulses, from noise on a single-ended link or a direction-timing violation; the page on why a pulse-command servo axis loses position between moves orders the checks.
  • An overcurrent or thermal alarm. Not a command-path problem. Check loading, motor wiring and the drive's current monitor; raising the pulse frequency fixes neither a broken input loop nor an overloaded motor.

The decision, case by case #

  1. From the PLC side, write down four facts from the output module's specification: signal level, maximum output frequency, rated output current, and whether the transistor outputs sink or source. An electromechanical relay output cannot carry a kilohertz pulse train, so it is out of the running regardless of its other ratings.
  2. From the drive side, take five facts from its pulse-input and discrete-input diagrams: voltage class per terminal, input current, supported encodings, maximum frequency per input type, and enable polarity.
  3. Compare the interface quantities one at a time. Voltage classes differ: build the manual's documented interface stage. Signaling differs: wire the loop or the differential pairs exactly as drawn. Encoding differs: set the drive parameter and the PLC function to one format with matching channel roles. Enable polarity differs: correct the polarity and its supply path.
  4. Compute the command frequency from your own pitch, gear and speed the way the example above does, and require it to sit below both documented maxima, with the ramp slope inside the PLC output's acceleration capability.
  5. Configure the PLC axis only after the four interface checks pass; the guide to configuring a PLC pulse-output servo axis before PLS2 moves covers that axis setup and the small first move.

The pass mark is all four interface quantities matching plus frequency headroom, and every miss has a standard fix: a voltage class difference takes the documented interface stage, a signaling difference takes the diagram's wiring, an encoding difference takes a parameter, an enable difference takes polarity-correct wiring, and a frequency shortfall takes different hardware on one side or the other. Land no wire until all five agree.

Questions asked

Does every servo drive accept all three pulse encodings?

Most pulse-command servo drives select the encoding with a command-mode parameter, but the supported set differs by model, and the parameter can only choose among what the input hardware supports. The supported encodings are listed on the drive's command-input or pulse-train page of its manual. Set that parameter to the encoding the PLC motion function actually emits, and confirm which terminal carries which channel role.

Where do I find the maximum command frequency for my drive?

On the pulse-input specification page of the drive manual, stated as a maximum input frequency in pulses per second. Some manuals list a separate, lower figure for open-collector wiring than for differential line-driver wiring, so take the number that matches the wiring you are building. Do not confuse it with the encoder feedback frequency, which is a separate rating with its own page.

Is the servo-enable input wired like the pulse inputs?

No. The enable is an ordinary discrete input that switches once per cycle, so it carries no command-frequency rating at all. It still needs the polarity match: a sinking NPN output wants a drive input that provides the supply side of the loop, while a sourcing PNP output wants a drive input that accepts the current and returns it. The drive's discrete-input diagram shows which circuit it has.

Can the direction signal change while pulses are being sent?

The drive's command timing diagram gives the direction signal a setup and hold time around the pulse edge it samples; flip direction inside that window and the axis can take one increment the wrong way. In practice, change direction while the pulse train is stopped, and hold the new direction level steady for longer than the diagram's setup time before pulses resume.

Keep reading

  • 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

  • Explainer

    Step and Direction to a ±10V Servo Drive: What Converts It

    No: a step-and-direction stream cannot be wired to a ±10 V analog servo input, because pulses count position while the analog input reads a voltage as a torque or speed level. A motion controller or pulse-to-analog converter that counts the pulses, closes the position loop from encoder feedback and outputs the scaled voltage does the conversion; the drive's digital terminals are enable and fault I/O, not a command path.

    Servo and stepper motion

  • Explainer

    Why a Pulse Output Cannot Command an Analog Servo Input

    A pulse output cannot command an analog servo input because pulses carry position as edge counts with a direction state, while the analog input expects one regulated voltage proportional to speed or torque; no pulse module regulates that voltage. Wire the pulse output to the drive's step and direction inputs. If the machine truly needs an analog command, add a real analog output source, never the pulse train.

    Servo and stepper motion