Troubleshooting
Stepper Drive Enabled Over CiA402: Read Position, No Motion
Short answer
A CiA402 drive that returns actual position but will not move is almost always below operation enabled: position feedback proves the communication path, not the power stage or command acceptance. Decode the status word with the state mask, send shutdown, switch on and enable operation in order while confirming each returned state, then run the selected mode's set-point handshake. Most enabled-but-dead axes are stuck one state short or in the wrong mode.

On this page
- Why does my stepper drive read position but not move?
- How do you decode the CiA402 status word?
- What order do you send the enable commands in?
- Why does writing a target position start nothing?
- How do you prove the PLC is actually sending the control word?
- What confirms the drive is physically ready to move?
- Which fix does each decoded state call for?
- Questions asked
A stepper drive on EtherCAT that returns a believable actual position but never moves is telling you one thing: the input data path works. It says nothing about the power stage, the drive state, or whether your move command was ever accepted. Over CiA402, motion needs three separate acceptances: the state machine at operation enabled, a mode of operation the drive echoes back, and that mode's set-point handshake. Position reads prove none of them. The fix is a sequence, not a bit, and this checklist walks it: decode the status word, climb the enable ladder in order, then run the handshake. If your drive takes pulse and direction instead of fieldbus objects, the parallel checklist is stepper pulse output enabled but motor not moving: jumper first.
Why does my stepper drive read position but not move? #
Because position feedback only proves the input data path: the drive can answer reads while sitting in switch on disabled with its power stage idle. Motion needs the CiA402 state machine at operation enabled and an accepted mode of operation, and reading position exercises neither.
The CiA402 profile keeps the drive state machine separate from the fieldbus state: an EtherCAT network can be up and exchanging cyclic data while the drive itself sits below operation enabled, and the drive must be in operation enabled to operate. Actual position is an input object the drive publishes from every state, so a live readout and a dead axis are fully consistent. Before touching wiring, assume the drive never received, or never accepted, an enable.
How do you decode the CiA402 status word? #
Mask the low state bits of the status word with 0x006F and compare: eight masked values name the eight CiA402 states, and only 0x0027 is operation enabled. Everything else explains a stationary axis without touching a wire.
The control object 0x6040 carries your requests to the state machine, and the status word the drive sends back carries the answer. Take the status word from the object your device description maps for it, then apply the mask:
Status word AND 0x006F |
CiA402 state | What the drive does there |
|---|---|---|
0x0000 |
Not ready to switch on | Waits; self-test or an inhibit is active |
0x0040 |
Switch on disabled | Waits for the shutdown command |
0x0021 |
Ready to switch on | Waits for switch on |
0x0023 |
Switched on | Bus alive, power stage idle, refuses all moves |
0x0027 |
Operation enabled | Executes the accepted mode's commands |
0x0007 |
Quick stop active | Stays stopped until commanded out |
0x000F |
Fault reaction active | Running its configured reaction |
0x0008 |
Fault | Latched; needs a reset after the cause is fixed |
Worked decode, a calculated example and not a reading from your drive: the master's online view shows status word 0x0223. In binary that is 0000 0010 0010 0011; the mask 0x006F is 0000 0000 0110 1111; the AND leaves 0000 0000 0010 0011, which is 0x0023: switched on. The drive is exactly one command short of operation enabled, and no target you write will move it from there. Send the enable command and the word becomes 0x0227, which masks to 0x0027: operation enabled, and only now does a move command mean anything. The upper status bits carry mode-specific signals, target reached and set-point acknowledge among them, that you will use for the handshake.
What order do you send the enable commands in? #
Send shutdown (0x0006), switch on (0x0007), then enable operation (0x000F), confirming each returned status word before the next: the drive climbs one state per accepted command, and a skipped or out-of-order command is simply not executed.
The control word is a command, not a set of independent switches: the drive evaluates the bit combination against the state it is in, which is why toggling single bits one at a time usually dead-ends at an intermediate state or is ignored entirely. Writing the full enable value while the drive is still in switch on disabled is not a defined transition; the state machine stays put and the write still succeeds from the master's side. That is the trap that makes a drive look enabled while nothing moves.
| Command | Control word value | From state | To state | Status word after (masked) |
|---|---|---|---|---|
| Fault reset | 0x0080, rising edge |
Fault | Switch on disabled | 0x0040 |
| Shutdown | 0x0006 |
Switch on disabled | Ready to switch on | 0x0021 |
| Switch on | 0x0007 |
Ready to switch on | Switched on | 0x0023 |
| Enable operation | 0x000F |
Switched on | Operation enabled | 0x0027 |
Advance only when the masked status word shows the new state; a successful write in your program proves nothing. After a fault, fix the cause first, then pulse the reset bit: the drive lands back in switch on disabled, and the ladder restarts from shutdown. Repeated resets do not repair a supply or a wiring problem.
Why does writing a target position start nothing? #
Because a target write is not a move command: the drive must first echo the mode you selected, and profile position mode then needs a new set-point handshake — request, acknowledge, release — before any target counts. One bare write does nothing by design.
Select the mode and read the mode display back; only an echoed mode counts as accepted. Homing is mode 6, interpolated position is mode 7, and cyclic synchronous position is mode 8; a drive left in homing ignores position targets completely. Write the mode, confirm the echo, and keep the move request inactive until you have it.
In profile position mode the move itself is a handshake: raise the new set-point request in the control word, wait for the drive's set-point acknowledge in the status word, then lower the request before the next move. In cyclic synchronous position mode there is no handshake, because the drive consumes a fresh target every bus cycle once enabled; an enabled drive in mode 8 that still does not move points at scaling, units or the master's cycle, the territory of why an EtherCAT CSP stepper axis enables but does not move. Keep the order: state first, then mode, then that mode's handshake, each gated on the one before.
How do you prove the PLC is actually sending the control word? #
Compare three copies of the control word — the application variable, the master's output process image, and the drive's own value — because only the last one moves anything. A mismatch between any two shows whether the program or the mapping drops your command.
Work down this list before blaming the drive:
- Name the runtime that executes the program. A project running in the editor's simulation exchanges no cyclic data with a real master; position reads can even work over a separate connection while the simulated outputs never reach the drive. Run the program on the physical controller that owns the EtherCAT master.
- Confirm the bus is in the operational state. Cyclic process data exchanges only in EtherCAT's OP state; read the master and slave diagnostics and clear any configuration mismatch or output-transfer fault first.
- Find every writer. Search the project for anything else writing the control word or the targets: a motion library or a second routine running later in the cycle overwrites a value you set by hand. Keep one owner.
- Compare all three copies with the enable request held: application variable, mapped output, drive-side value. A variable that changes but never reaches the process image is a mapping fault; a process image the drive ignores is a state-machine refusal.
- Freeze the evidence. With the enable request present, record the raw status word, the decoded state, the requested and displayed mode, and any active fault. One snapshot settles the branch.
What confirms the drive is physically ready to move? #
With operation enabled reached, a stepper's shaft holds against turning and the power terminals carry supply: if the shaft spins freely on an unloaded axis, the power stage is not driving. Then run one small test move, target inside the machine limits, travel area clear.
Check, in this order:
- Supply present at the drive's power input, per its installation documentation.
- Motor current setting within both the motor's and the drive's ratings; take the two limits from the nameplates and manuals of the exact units.
- Any hardwired enable or brake-release input satisfied, if the wiring uses one.
- Holding torque present when enabled, checked only with the axis unloaded and guarded.
Before the first commanded move, clear the travel path, keep the emergency stop within reach, and keep the target inside the limits the machine's risk assessment allows.
Which fix does each decoded state call for? #
Each decoded state maps to one fix: below operation enabled, finish the command ladder; fault, read and clear the cause; enabled with the mode missing, rewrite the mode; enabled and acknowledged but motionless, correct supply, current settings or wiring. No state calls for random bit toggling.
| What you observe | Decision |
|---|---|
Masked status 0x0008 |
Read the fault cause, fix it, then pulse the reset bit and rerun the ladder from shutdown |
| Any state below operation enabled | Send the next ladder command and confirm the returned state before writing any target |
| Operation enabled, mode not echoed | The mode write never landed or the mode is unsupported; fix the mapping or pick a listed mode |
| Operation enabled, profile position, no acknowledge | Run the handshake in order: request up, wait for acknowledge, request down |
| Operation enabled, mode 8, still motionless | Scaling, units or the master's cycle; take the CSP checklist linked above |
| Operation enabled, acknowledged, shaft free | Power stage: supply, current setting, motor wiring |
Questions asked
The drive jogs fine from its own software but ignores the PLC — what does that prove?
A local jog proves the power stage, motor, current settings and mechanics in one move, so the fault is isolated to the command path: state, mode or handshake. Skip the wiring checks and go straight to the status-word decode, the enable ladder and the mode echo. If the local jog also fails, the cause is electrical, and no control word sequence will fix it.
The drive reaches operation enabled but drops to fault the moment a move starts — what now?
Record the fault code before resetting it, because that code decides the branch: a tracking fault points at scaling, units or limits; an overcurrent or short-circuit fault points at the motor cable or a wrong current setting; an undervoltage points at a supply dip under load. Fix the cause, pulse the reset bit, and rerun the ladder from switch on disabled.
Does the same CiA402 sequence work over CANopen?
Yes. CiA402 is the CANopen drive profile carried over EtherCAT, so the state machine, control word and status word are identical on both buses: the current state is read from the status word, and the control word plus the command values travel in the cyclic receive data. Only the transport and its configuration differ.
When should you use interpolated position mode instead of cyclic synchronous position?
Pick interpolated position, mode 7, when the master sends position points on a time grid and the drive should smooth between them; pick cyclic synchronous position, mode 8, when the controller computes a fresh target every bus cycle and the drive only follows. A stepper axis making simple point-to-point moves needs neither: profile position with its handshake is the simpler start.

