Troubleshooting
Stepper pulse output enabled but motor not moving: jumper first
Short answer
An output-enabled bit proves permission, not current through the drive's optocoupler. On the H0-CTRIO2 one jumper sets both pulse outputs to sink or source, so a sinking loop landed on the wrong common passes nothing. Fix the control loop, scope the pulses at the drive terminals, then lower the start rate before touching the motor.

On this page
An output-enabled status bit proves permission, not loop current. In the reported case the H0-CTRIO2 read enabled, the drive's internal test spun the motor at 3.5 A, and the shaft still did not turn on a PLC command — the fault lived in the interface between them. On this module one hardware jumper sets both pulse outputs to sink or source at once, so the jumper and the wiring topology must agree before any profile can move the shaft. Work the fault in this order: set the jumper and the control-voltage loop, prove the pulse train at the drive terminals, verify the command handshake, then lower the starting frequency. The numbers below come from that reported DL06 bench; take your own values from the datasheets of the exact parts you run.
What an enabled bit cannot show #
The output-enabled status bit (V2422.0) reports that the module's output function is permitted to run. It measures nothing outside the module: not the current in the field loop, not the pulse edges, not their arrival at the drive. A bench can pass every software check and still deliver no current to the drive's optocoupled input, which is exactly what a stationary motor with a passing drive test looks like. Before replacing anything, rule out the checks that cannot prove motion:
- Continuity from Y0 and Y1 to the drive. A continuity beep finds an open conductor; it cannot show polarity, loop voltage, or that the output switches under load.
- Output indicators and the CTRIO Workbench Monitor I/O tab. Both showed Y0 and Y1 active in the reported case while the shaft stood still. An LED and a software monitor cannot resolve a 20 kHz burst, so a lit indicator is not pulse evidence.
- The drive's internal test. It proves the power stage, motor and current setting make torque, but it bypasses the STEP and DIR terminals entirely, so it cannot clear this fault — and it is why raising motor current is pointless here: the motor already produced torque at the tested 3.5 A.
Everything that matters is electrical: the loop, then the waveform, then the command that starts it.
Set the sink/source jumper and the control loop #
The H0-CTRIO2 provides two optically isolated output points, Y0 and Y1, on common YC. Per the module manual, the outputs can be wired to sink or source current, and the sink/source jumper selection sets both outputs to the same option. Software cannot override that jumper, and a loop wired for one topology with the jumper set for the other passes no input current at all while the enabled bit still reads true.
Wire the sinking loop the drive expects:
- Take the machine out of service and power the panel down before moving the jumper or any conductor.
- Identify the control supply's positive and return terminals from its documentation. The reported bench powered its STP-DRV-4035 drive from an STP-PWR-3204 supply, and YC had first been landed on a drive terminal instead of a supply return — before reconnecting YC, confirm the terminal you call return feeds the same 5 V output as the drive inputs, not a separate opposite-polarity output.
- Set the sink/source jumper on the module board to sinking; the setting covers Y0 and Y1 together.
- Land the loop: STEP+ and DIR+ to the supply positive, Y0 to STEP-, Y1 to DIR-, YC to the supply return. Current then runs from the supply through each drive optocoupler, into Y0 or Y1, and out through YC.
- Reapply control power with no command active and measure the made loop: positive lead on the tied STEP+/DIR+ node, negative lead on YC, about 5 V expected. An open-circuit reading alone proves little — take the input current the drive's optocoupler needs from its datasheet and confirm the loop supplies it.
Prove the pulse train at the drive terminals #
The reported free-form profile fired 200 pulses at 20 kHz into a drive whose DIP switches were set to 400 steps per revolution. That pair makes an unambiguous pass/fail target:
- Expected travel: 200 pulses ÷ 400 steps/rev = 0.5 revolution. A correct command turns the shaft exactly half a turn and holds it; anything less means pulses went missing or the rotor never locked on to the train.
- Burst length: 200 pulses ÷ 20,000 pulses/s = 0.01 s = 10 ms. Far too short for an LED, a monitor tab or a meter to resolve, and a meter shows an average that reads like a stuck output.
Probe with an oscilloscope or logic analyzer, STEP- against the control return or across the drive's step input, while the profile runs. Confirm clean transitions between the drive's valid logic levels, the full edge count, and DIR- sitting stable before the first edge; read the direction setup time the drive requires from its documentation rather than guessing it. The same timing questions govern a plain discrete output clocking a drive, and they are worked through in Stepper pulse timing from a PLC discrete output module.
Sort what the probe shows:
- No edges at Y0: the fault is inside the module — configuration, profile load or handshake, next section.
- Edges at the module, none at STEP-. Field wiring, the common or the jumper; return to the loop steps above.
- Edges at STEP- but weak or ragged: loop current, common wiring or drive input loading; recheck the measured loop voltage against the drive's input specification.
- Clean pulses at the drive but no rotation: check the drive's own control-mode or input-mode setting — some drives hold their step and direction input inactive until that input is enabled in the drive configuration, the failure pattern described in a guide to enabling a step and direction input that reads inactive — then work the two sections below.
Check the command handshake before blaming hardware #
Once pulses exist, the remaining failure point is the sequence that starts them. The reported DL06 program confirmed the module's configured slot matched its installation (slot 1), loaded the free-form profile through module memory at V2301, and ran this handshake:
- SET B2456.7 to initiate the command after the profile load.
- Require B2422.7, command complete, with B2422.6, command error, clear, before anything else.
- RST B2456.7, then SET B2456.0 to enable the output.
- Set B2456.4 for direction before the move and hold it stable through the burst.
Two habits keep this honest. Pulse the initiate request for each test instead of leaving it latched, so a stale request cannot masquerade as a fresh one. And never read V2422.0 as completion: the enabled bit and the command-complete bit report different events, and a setup command can complete without producing a single step edge at Y0.
Lower the starting frequency before changing hardware #
A stepper must accelerate into the step rate. Opening the first train at 20 kHz from standstill can leave the rotor behind: no visible rotation, a buzz, or a single twitch, even with a clean train and a correct loop. That is also why the drive's internal test passes while the external move fails — the test accelerates on its own terms.
Build a temporary profile that starts low and ramps: keep the count high enough to see motion (at the drive's 400 steps-per-revolution setting, 400 pulses are exactly one revolution) and set the start frequency an order of magnitude under the run rate, about 2 kHz in this case. That 2 kHz opener is a rule of thumb, not a rating; what the rotor can lock on to from rest depends on the motor and the load. Run it unloaded or with the mechanism safely decoupled where the design allows, confirm the half-turn result, then raise the run rate in controlled increments. How a commanded rate sits against a drive's pulse-input limit and the microstep demand it implies is covered in Stepper Drive Pulse Frequency Limit vs Microstep Demand.
Leave the steps-per-revolution DIP setting alone. Changing it rescales the count-to-position mapping — the same arithmetic worked in How to Calculate Step and Direction Servo Pulse Scaling — and rescaling cannot repair a missing loop or a start rate the rotor cannot follow.
The order to work and the decision at each step #
- Jumper and loop. Sinking selected, YC on the supply return, about 5 V measured across the made loop. Decision: with that measurement in hand the electrical interface is proven, so stop re-checking conductors and move to the waveform.
- Waveform. 200 clean edges at STEP- with DIR- stable first. Decision: no edges at the module — configuration or handshake; edges at the module but not at the terminal — conductors, common or jumper; clean edges at the terminal — the interface is done, look downstream.
- Handshake. B2422.7 with B2422.6 clear, then B2456.0, with direction held through the burst. Decision: completion without motion means the fault sits downstream of the module, never upstream of it.
- Start rate. Ramp from about 2 kHz and watch for the half-turn result. Decision: motion at the low start rate proves loop, pulses and scaling together, so raise the run rate from there; a shaft that still stands with clean pulses at the drive points at the drive's input mode, not at the module.
Questions asked
Why does the drive's test run the motor but the PLC move does nothing?
The test function drives the power stage internally and never touches the STEP and DIR terminals, so it proves the motor, the supply and the current setting but not the external interface. Keep the tested current setting unchanged — 3.5 A in the reported case — and diagnose the optocoupled input loop: jumper selection, common wiring, loop voltage, then the pulse train itself.
What does a multimeter show on a pulse output while a profile runs?
At a 20 kHz burst the meter cannot follow the edges, so it displays an average sitting near half the loop voltage that looks like a stuck output. That same reading fits a working and a dead output, which is why the oscilloscope check at the drive terminals is the only one that proves the train.
Can the module common YC land on a terminal marked negative on the supply?
Only if that terminal is the return of the same 5 V output feeding STEP+ and DIR+. Some supplies provide a separate opposite-polarity output, and landing the common there reverses the loop so no input current flows. Identify the outputs from the supply documentation first, then confirm about 5 V between the tied positive node and YC.
Should I set the drive to 200 steps per revolution to make the motor move?
No. The steps-per-revolution setting only fixes how many pulses make one turn, so changing it rescales position without creating a single pulse. Repair the loop and the start rate first, verify the half-turn result, and take the available DIP positions from your drive's own table; on the reported drive they started at 400.