AutomateDirectUSAMotion LibraryIndustrial monitors & PCs

Explainer

When an EtherCAT Stepper Drive Is an IO Device, Not a Motion Axis

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

Short answer

An EtherCAT stepper drive can produce motion today as a cyclic IO device: the master exchanges PDOs only and the drive's internal interpolator builds the profile. A full CiA 402 motion axis needs acyclic CoE mailbox access that the master, the drive's object dictionary and the motion planner all provide. And an axis that enables without visibly moving is usually a scaling problem: at 256 microsteps a 200-step motor holds 51,200 counts per revolution, so command that many counts and expect exactly one turn.

On this page
  1. Two ways a drive can sit on the bus
  2. What cyclic IO operation gives you
  3. What a CiA 402 motion axis adds
  4. The controlword handshake that fires a move
  5. The counts-per-revolution check for a silent axis
  6. The decision
  7. Questions asked

A third-party EtherCAT stepper drive that scans in, reaches operational state and exchanges process data is already usable on day one, as an IO device. That is not a degraded motion axis; it is a different division of labor: the master writes targets cyclically and the drive's own interpolator builds the motion profile. A motion axis under CiA 402 needs more: acyclic CoE mailbox access that the master, the drive's object dictionary and the motion planner must all provide. This article separates the two modes, shows the controlword handshake that fires a move, and gives the counts-per-revolution check that explains a drive which enables cleanly and still does not visibly move. For the same enabled-but-still signature on a cyclic synchronous position axis, the article on why an EtherCAT CSP stepper axis enables but does not move starts one step earlier.

Two ways a drive can sit on the bus #

Every EtherCAT slave exchanges process data objects (PDOs): a fixed input and output mapping copied in both directions on every bus cycle and configured once in the engineering tool. On top of that, a device may offer a CoE mailbox, the acyclic channel of SDO telegrams that read and write the object dictionary. CiA 402 is the device profile for drives and motion control; it standardizes the state machine, the operating modes and the object set that servo drives, frequency inverters and stepper drives expose.

Mailbox support therefore splits into two separate questions. Does the EtherCAT master send CoE mailbox telegrams and expose them to the control program? And does the master's motion function accept the drive's object dictionary as a CiA 402 axis? A drive that answers yes to the first can still answer no to the second: third-party implementations often advertise a DS-402-style profile yet omit objects or handshake bits the motion planner treats as mandatory. Check both ends against the motion documentation before you design the machine around an axis.

What cyclic IO operation gives you #

In cyclic IO mode the drive interpolates internally. The master writes the operating mode, the controlword and a target position into its output PDOs and reads the statusword and actual position back in the input PDOs. The drive firmware turns each new target into its own trapezoid or velocity profile, so one controller can serve several self-contained axes without any motion planning on the master side.

What the mode does not give you is parameters. Microstep resolution, motor current and homing method live in the object dictionary, and PDOs cannot reach them. Set them at the drive itself, or with a CoE-capable tool during commissioning; the walkthrough of online drive parameterization via CoE shows what changes once that mailbox path is open. When an acyclic write lands but the value never takes effect, the notes on troubleshooting CoE writes through cyclic PDOs cover that specific failure.

What a CiA 402 motion axis adds #

With full motion-axis integration, the master generates the profile and the drive follows it. That buys coordinated multi-axis motion, homing through the profile, a standardized enable state machine and consistent fault handling across drive brands. The cost is compatibility work on both ends: the master's motion configuration must find every object it needs, and the drive must implement the CiA 402 state machine and mode set the master expects. Until those two documents agree, cyclic IO is the configuration that runs.

The controlword handshake that fires a move #

CiA 402 moves go through a fixed sequence: the controlword walks the drive through shutdown, switch-on and enable operation, then the operating mode selects profile positioning or velocity. In profile positioning, the new-setpoint bit acts on a rising edge. With the drive enabled, write the target position first, then raise the controlword to the trigger value and let it fall back before presenting the next target. Writing the trigger value twice in a row does not start a second move; the drive holds position with no fault, because the edge it waits for never occurred.

Treat that edge as live: the shaft can turn on the next controlword write after enable, so mark the coupling and clear the area before the first commanded move.

The counts-per-revolution check for a silent axis #

A drive that reaches operation enabled with no error bit and still does not visibly move is a scaling problem before it is a fault: the commanded target is smaller than one visible step, and nothing in the statusword reports that. Compute the counts the drive actually uses before touching anything else.

Worked example, for these stated assumptions only. Motor: 200 full steps per revolution, a 1.8-degree stepper. Drive microstep setting: 256 microsteps per full step. Counts per revolution = 200 steps x 256 microsteps = 51,200 counts. One count is 1/51,200 of a turn, about 0.007 degrees of shaft rotation, so a target of a few hundred counts moves the shaft a fraction of a degree, invisible at the coupling. Command a relative move of 51,200 counts and watch the marked shaft:

  • Exactly one revolution: both assumptions hold, and the axis scales from that number.
  • Half a revolution: the true setting is 128 microsteps, or the motor step angle differs; recompute counts per revolution from the drive's actual configuration.
  • Double: the drive is set to 512 microsteps; halve your scaling.

Half or double travel is the common outcome, and it is a scaling fix, not a hardware repair. The same multiplication drives the arithmetic on pulse-trained axes; the guide to servo pulse scaling calculation works the equivalent numbers for a step-and-direction drive. If the statusword does raise a fault bit instead, the axis-side checks in troubleshooting a servo axis that faults mid move are the next stop.

The decision #

Commit this way:

  • Run the drive as a cyclic IO device when it positions itself, its parameters are fixed at commissioning and the axis works alone. This is a finished configuration, not a stopgap.
  • Open the CoE mailbox when parameters must change from the master, and only after confirming the master exposes mailbox telegrams to the control program.
  • Integrate as a CiA 402 motion axis when moves must be coordinated with other axes or planned by the master, and only after the drive's object dictionary matches what the motion function requires.
  • When an enabled axis does not move and no fault shows, run the one-revolution relative-move check before changing wiring, tuning or hardware.

Questions asked

Can I change drive parameters while the drive runs as a cyclic IO device?

Not through the PDOs. Process data carries only the cyclic mapping; parameters live in the object dictionary and need acyclic SDO writes over the CoE mailbox. Change them at the drive or in a CoE-capable setup session during commissioning. Because the values persist in the drive, a one-time setup session is enough for a machine whose parameters never change at runtime.

What counts per revolution should I expect from a microstepping drive?

Multiply full steps per revolution by microsteps per step. A 1.8-degree motor has 200 full steps, so 256 microsteps gives 51,200 counts per revolution, 128 gives 25,600 and 16 gives 3,200. Take the step angle from the motor datasheet and the microstep setting from the drive's own configuration, then verify the product with one commanded relative move.

Why does my second target position not start a move?

In CiA 402 profile positioning the new-setpoint bit triggers on a rising edge. After a move completes, the controlword must drop back below the trigger value before the next target is written; writing the trigger value twice in a row produces no edge, so the drive holds position with no fault. Watch the statusword bit that acknowledges the accepted setpoint as part of the handshake.

Does motor frame size or supply voltage change how the drive integrates on EtherCAT?

No. Frame size, supply voltage and current belong to the drive's power stage and never cross the bus. Integration depends only on the communication profile the drive exposes: its PDO mappings for cyclic IO operation, and its CoE object dictionary for a CiA 402 motion axis. The same motor works behind either integration path.

Keep reading

  • Troubleshooting

    Fixing a Stepper Power-Up Timeout on an EtherCAT Axis

    The drive is healthy: it reaches run mode with no alarm while the motion runtime errors, because the CiA 402 handshake finishes after the master's power-on supervision time expires. Log statusword 0x6041 during a power attempt; bit 2 setting late with bit 3 clear means a timeout. Raise the supervision time or update the runtime — the wiring is not the fault.

    Servo and stepper motion

  • How-to

    Setting a stepper drive to 200 steps per revolution

    Yes. 200 steps per revolution is the drive's full-step point: set it in the drive's resolution setting, power-cycle, then divide the controller's pulse scaling constant by 100, because 20,000 divided by 200 equals 100. Skip that division and the axis travels a hundred times the commanded distance; full step buys pulse-rate headroom and gives up microstep smoothness and command resolution.

    Servo and stepper motion

  • Troubleshooting

    Stepper Axis Travels 1.25 Times the Commanded Distance

    A constant ratio of 1.25 between commanded and actual travel is a pulse-to-unit scaling error, not a velocity-profile effect: a completed move's distance depends only on the pulse count sent and the pulses-to-distance conversion. Measure R = actual travel / commanded travel at each boundary — command entry, pulse output, driver microstep or electronic gear, gearbox and screw lead — and correct the one setting where R first leaves 1.00. Never hide the error with a compensating multiplier.

    Servo and stepper motion