Explainer
PWM output module to stepper drive: what decides compatibility
Short answer
A PWM output module can command a stepper drive only when its documented output waveform, voltage level, polarity and pulse-rate limits match the drive's command-input specification, read from both datasheets. Changing the fieldbus coupler swaps the network path but not the electrical signal, so decide module-versus-input first and choose the bus after that.

On this page
- The signal chain and where each decision lives
- What to read from the drive's command-input specification
- What to read from the PWM output module's specification
- Sizing example: a 200-step motor at 10 microsteps from a 5 V differential input
- Why changing the fieldbus does not fix an electrical mismatch
- Commissioning check, in order
- The decision
- Questions asked
A PWM output module can command a stepper drive only when four things match the drive's command-input specification: the waveform convention the drive expects, the electrical level, the polarity, and the pulse-rate range. The fieldbus behind the module, EtherCAT or PROFINET, changes how the controller delivers data to the coupler but not the signal the drive receives. So the deciding check is module output versus drive input, read from both datasheets, and the bus choice comes second. This article walks through that check and gives a worked timing example.
The signal chain and where each decision lives #
The chain is controller, network, bus coupler, output module, drive input. Each link answers a different question:
- Controller to coupler: does the master support this fieldbus and can it configure the coupler and its modules? This is a software and configuration question.
- Coupler to module: does the coupler's documented supported-module list include the exact output module? This is a hardware-compatibility question, answered by the coupler documentation, not inferred from the connector fitting.
- Module to drive input: do the module's output waveform, level, polarity and maximum pulse rate meet the drive's input specification? This is the deciding question for whether the drive can be commanded at all.
A configuration tool discovering a module proves the first two links, nothing about the third. If the drive's manual calls for a pulse-and-direction input with a stated minimum pulse width and a differential logic-level signal, a module that produces a duty-cycle-encoded PWM waveform at 24 V does not satisfy it, no matter how clean the bus communication looks.
What to read from the drive's command-input specification #
The drive manual or input terminal specification gives you the contract. Typical entries, using the figures a step-and-direction input of this class documents:
- Command mode: step-and-direction (pulse and direction), clockwise/counterclockwise two-pulse, or an analog or stored-move interface. Whether a stepper drive accepts step and direction at all is decided by its input circuit, as covered in the article on stepper drive step and direction compatibility.
- Electrical level: for example a differential 5 V input documented as high at 4 to 5 V and low at 0 to 0.5 V, or a 20 mA current-loop input. A 24 V single-ended output does not drive that differential input directly; it needs the level shifting the drive's manual specifies, such as the series resistor a sourcing output needs at an opto input, described in the article on sourcing PLC output to stepper driver opto input.
- Minimum pulse width: the shortest pulse the input is guaranteed to register. This sets the drive's maximum step rate.
- Direction setup: how long the direction level must be stable before the step edge it qualifies.
If the manual instead documents only an analog command input or a stored-move interface, a PWM module is the wrong tool entirely; the interface options are laid out in the article on PLC to stepper drive interface options.
What to read from the PWM output module's specification #
The module datasheet answers the other half:
- Output convention: does the module produce a pulse train whose frequency carries the command, a duty-cycle value, or only a fixed-carrier PWM signal intended for driving a lamp, valve or heater? A general PWM output with a fixed carrier cannot deliver a variable step rate; you need a module whose documentation explicitly supports pulse-train output at a commanded frequency.
- Output type and level: source or sink, 24 V or the drive's logic level, single-ended or differential, and the current it can deliver into the drive's input impedance.
- Maximum output frequency and resolution: the fastest pulse rate the module can produce and the granularity of the commanded rate.
Sizing example: a 200-step motor at 10 microsteps from a 5 V differential input #
This is a calculated example, not a measured result; take the drive's minimum pulse width from the drive manual and the module's maximum pulse rate from the module datasheet of the exact parts.
Inputs:
- Motor: 200 steps per revolution (a common hybrid stepper size, take yours from its datasheet).
- Drive microstep setting: 10 microsteps per full step, so 2,000 microsteps per revolution. What sets that count is covered in the article on how microstep resolution is decided.
- Target shaft speed: 300 rpm.
- Drive input minimum pulse width: 2.5 microseconds, a value documented for differential 5 V step inputs in this drive class; verify against your drive's manual.
Rule: required step rate equals motor steps per revolution times microsteps per step times revolutions per second. The drive accepts it only if the pulse period at that rate, at the module's configured duty cycle, leaves every pulse at least as wide as the drive's minimum pulse width, and the module's maximum output frequency exceeds the required rate.
Arithmetic:
- Revolutions per second: 300 rpm divided by 60 = 5 rev/s.
- Step rate: 200 × 10 × 5 = 10,000 steps per second (10 kHz).
- Pulse period at 10 kHz: 1 ÷ 10,000 s = 100 microseconds.
- Pulse width at a 50 percent configured duty cycle: 50 microseconds, which is 20 times the drive's 2.5 microsecond minimum, so the input timing passes.
- Drive maximum step rate from its minimum pulse width: 2.5 microseconds sets a worst-case period of 5 microseconds, or 200,000 steps per second; 10 kHz is far below it.
Decision: the timing chain passes for this case provided the candidate PWM module documents pulse-train output above 10 kHz at a level that meets the drive's 4 to 5 V high, 0 to 0.5 V low differential input. If the module's documented maximum pulse-train rate is below 10 kHz, it fails for this move regardless of the bus behind it; if the required rate rose toward the drive's 200,000 steps per second ceiling, the module's maximum rate and its frequency resolution would become the binding limits and both would need checking explicitly.
Why changing the fieldbus does not fix an electrical mismatch #
Swapping an EtherCAT coupler for a PROFINET coupler, with the matching PWM module family, changes the network path and possibly the supported module list, but the signal at the drive terminals is produced by the module and its configuration, and it is the same kind of signal either way. If the module cannot produce the waveform the drive input requires, neither network makes it suitable. Conversely, if the module output matches the drive input, the bus choice is decided by ordinary criteria: which master you already run, which coupler documents support for the exact module, and the update behavior you need, which is a separate question covered in the article on fieldbus servo command update rate.
A software library that lets the controller talk to a coupler is a configuration aid. It cannot change a module's electrical characteristics or a drive's input requirements, and its availability on a given controller should be confirmed from the library's own documentation before hardware is ordered on the strength of it.
Commissioning check, in order #
- Collect the drive's command-input specification and the candidate module's output specification. Record command mode, levels, polarity, minimum pulse width, direction setup time, and the module's maximum pulse-train rate.
- Confirm the coupler documents support for the exact module and the master supports the coupler.
- Do the timing and level comparison of the worked example with your own numbers.
- Configure the bus and module, and confirm output process data changes as commanded from the controller.
- With the drive disabled per its operating instructions, measure the signal at the drive input terminals: waveform, level, polarity and pulse rate against the specification. One safety note: keep the drive disabled and follow your machine's lockout practice during any live-terminal measurement; a stepper drive that receives a valid pulse train while enabled will move the axis.
- Enable the drive per its documented sequence and command a slow test move. Confirm direction, then speed.
If the bus reports healthy but the waveform at the drive terminals is wrong, fix module configuration or replace the module. If the waveform matches the specification and the motor still does not turn, the fault is at the drive enable, drive setup, wiring or motor, not at the network.
The decision #
Commit only after both datasheets agree. If the drive documents a differential low-voltage step-and-direction input and the PWM module documents pulse-train output above your required step rate at a compatible level and polarity, the pair works and either bus coupler that supports the module is acceptable. If the drive documents only an analog or stored-move interface, or the module produces only a fixed-carrier PWM signal, the pair does not work, and no fieldbus change repairs it; pick an interface the drive documents instead.
Questions asked
Does changing the bus coupler from EtherCAT to PROFINET change what the drive sees?
No. The coupler and network decide how fast and how reliably the controller delivers output data to the module. The electrical signal at the drive input, its level, waveform shape and pulse rate, comes from the output module and its configuration, and it is identical whichever network sits behind the coupler.
Can a PWM output stand in for a dedicated pulse-and-direction output?
Only if the drive's input specification accepts the exact signal the module produces: the same waveform convention, voltage level, polarity and timing. A pulse-and-direction input expects discrete pulses of a documented minimum width and a direction level that is stable around each edge. A PWM module configured for a duty-cycle convention will not meet that unless its documentation explicitly supports pulse output at the required rate.
The bus configures fine but the motor does not move. Where is the fault?
Work from the drive backward. Confirm the drive enable input is made and the drive is out of its fault state, then verify the command signal electrically at the drive terminals with the drive disabled: level, polarity, pulse width and direction behavior. If the waveform matches the drive's input specification and the axis still does not turn, check drive parameter setup and motor wiring.


