IMDHMIControls LibraryShop main store

Troubleshooting

Why a CoE servo drive powers up but Motion reports an error

Drives and motion Published 6 min read

Short answer

When the slave holds OP and the statusword reaches operation enabled with the fault bit clear, the power error comes from the Motion app's evaluation, not the wiring. Set the Data Layer diagnostic units value to true to read the real message, compare the installed Motion app version with the 2.02 power-up fix and the 1.20.1 third-party drive improvement, or correct the drive firmware, which is what cleared the reported case.

On this page
  1. Which hop is failing
  2. Prove the drive walked the state machine
  3. Get the real message out of the app
  4. Compare the installed version with the fix
  5. When the fix belongs in the drive
  6. Masking a captured statusword of 0x0637 to prove operation enabled
  7. Prove the fix end to end
  8. Questions asked

When a CoE servo drive clicks into run, the EtherCAT slave holds OP and the statusword comes back clean, yet the Motion app on the ctrlX CORE raises a power error, the fault sits in the master's evaluation, not in the wiring or the power stage. Three moves settle it: switch the Data Layer diagnostic units value to true and read the real message, compare the installed Motion app version with the acknowledged power-up fix, or correct the drive-side behavior the master will not accept. The reported case ended on the third move. Work through the steps below in order; each ends with a check.

Which hop is failing #

The power command travels a fixed path: the Motion app issues the axis command, the EtherCAT master frames it onto the wire, the drive's CoE state machine executes it, the statusword returns in the process data, and the app evaluates what came back. Each hop has its own failure signature.

  • Link and slave state. A wiring or configuration break shows as working-counter errors, lost frames or the slave leaving OP. When the slave holds OP through the failed power attempt, cyclic data flows and this hop is proven.
  • Command path. The controlword 0x6040 in the CoE online monitor steps through its sequence, so the command reaches the drive.
  • Drive state machine. The drive reaches run and raises no fault of its own.
  • App evaluation. With every upstream hop passing, the generic power error is raised here.

If the slave leaves OP during the attempt, stop; that is a bus fault with a different repair. If it holds OP with a clean handshake, stop looking at cables and start looking at what the app does with data it already has.

Prove the drive walked the state machine #

The app steps the controlword through shutdown (0x0006), switch on (0x0007) and enable operation (0x000F), waiting for the matching statusword after each step. To name a state, mask the statusword 0x6041; the upper bits are advisory, and only the masked value identifies the state.

CiA 402 state Mask Masked value
Switch on disabled 0x004F 0x0040
Ready to switch on 0x006F 0x0021
Switched on 0x006F 0x0023
Operation enabled 0x006F 0x0027
Fault 0x004F 0x0008

The handshake is the same one used when running CiA 402 CANopen drives from an S7-1500 through a gateway; only the transport changes.

Capture the statusword at every step while pressing Power. The drive must land on operation enabled with bit 3, the fault bit, clear. A drive that reaches the state but also sets a warning bit, or that transitions faster or slower than the master's timeout, passes a manual check and still fails the automated one. Check before moving on: you hold a written sequence of controlword and statusword pairs from switch on disabled to operation enabled, with the fault bit never set.

Get the real message out of the app #

The default power error is generic by design. The app publishes a diagnostic units setting in the Data Layer; set that value to true and the app writes detailed diagnostics for the axis. Repeat the power attempt and record the exact message and any numeric code as displayed, without paraphrasing. The wording tells you whether the app timed out waiting for a statusword, rejected a state, or failed a mode check.

Then compare the modes of operation objects, commanded 0x6060 and displayed 0x6061, together with the PDO mapping against the device description file loaded in the controller. If the axis configuration expects an object the mapped PDOs do not carry, the master reads stale values from a perfectly healthy drive. The device-description and PDO ground is the same as in interfacing an EFC5610 drive with a ctrlX CORE over EtherCAT.

Check before moving on: the diagnostic text is recorded, and the mapped PDOs carry the controlword, the statusword and the mode objects the axis configuration expects.

Compare the installed version with the fix #

Third-party axes over CoE are a supported combination, with the protocol constraints covered in why ctrlX MOTION needs EtherCAT for third-party axes, and the power-up path carries a known defect history.

  1. Open the controller's app management and read the installed Motion app version.
  2. Compare it with the announcements: a defect in switching third-party drives to power was acknowledged, its correction was announced for version 2.02, and a separate improvement for working with third-party drives for version 1.20.1.
  3. If the installed version predates the fix, schedule the update and repeat the power test afterwards.
  4. Keep the diagnostic text and the captured handshake as the before-update baseline.

One warning belongs here: do not work around the app by forcing the controlword from a separate tool. With the app still owning the axis, a second writer on 0x6040 corrupts the state sequence, and you will chase a fault you created yourself.

When the fix belongs in the drive #

In the reported case the root cause was traced to the drive, and changing the drive's software cleared the error, so the app update became unnecessary. The specific change was not documented, so take the firmware and its release notes from the drive manufacturer or its distributor only. Before flashing, back up the drive parameters, note the current firmware version, and confirm the target release notes list CiA 402 or EtherCAT CoE behavior changes. After flashing, re-import the device description file that matches the new firmware, because a mismatched file changes the object and PDO expectations and puts you back at a power error with a different cause.

Drive-side behaviors known to trigger this symptom class:

  • a warning bit the master treats as a condition;
  • quick stop bit 5 cleared, or voltage enabled bit 4 arriving late;
  • operation enabled reached later than the master's timeout;
  • an unexpected modes of operation display value.

Compare each against your captured sequence before you flash anything.

Masking a captured statusword of 0x0637 to prove operation enabled #

Inputs, with their source:

  • The captured statusword: 0x0637, an example reading of the steady fault-free word the monitor shows in this case, with bits 0, 1, 2, 4, 5, 9 and 10 set. Your own capture replaces it.
  • The operation-enabled mask and target, and the fault-bit weight, from the CiA 402 table above.

Rule in words: AND the captured word with the operation-enabled mask; the result must equal the operation-enabled target. Then AND the word with the fault-bit weight 0x0008; the result must be zero.

0x0637            = 0000 0110 0011 0111
0x006F            = 0000 0000 0110 1111
0x0637 AND 0x006F = 0000 0000 0010 0111 = 0x0027 -> operation enabled
0x0637 AND 0x0008 = 0000 0000 0000 0000 = 0x0000 -> fault bit clear

Result: at the moment of capture the drive sits in operation enabled with no fault, so the drive side of the handshake is proven.

Decision: if every capture in the sequence passes both tests while the slave holds OP, commit to the master side: diagnostic units on, version compared, then the update or the drive-firmware route. If any capture masks to anything other than the operation-enabled target, or the fault-bit test returns anything but zero, the fault is drive-side and the app is innocent; repair the sequence before touching the app.

Prove the fix end to end #

A powered axis follows commanded motion at once, so run this sequence with the machine in a state where an unexpected move is acceptable.

  • Cold-cycle the controller and the drive so both begin at switch on disabled.
  • Confirm the slave reaches and holds OP.
  • Press Power while logging both words; the masked statusword must reach operation enabled with the fault bit clear.
  • Confirm the app reports the axis powered and the diagnostics show no new message.
  • Command a small move and confirm the axis reaches target.
  • Power off and on three times; every cycle must complete without an error.

Six passes close the power path out; file the log with the machine documentation.

Questions asked

The drive shows run, so why does the app still raise a power error?

Run is only the drive's local indication. The app separately verifies the order of the state transitions, the timing against its own timeout, and the consistency of the mode objects. When one of those checks fails it refuses the powered state and reports the generic power error, even though the drive stayed enabled the whole time.

Which Motion app version contains the power-up fix?

The correction for switching third-party drives to power was announced for version 2.02, and a separate improvement for working with third-party drives for 1.20.1. Below 2.02, schedule the update. Where the update cannot be scheduled soon, the drive-firmware route is the proven alternative, because it cleared the reported case without any change to the app.

Is it safe to leave the drive enabled while the app shows the error?

No. The drive sits in operation enabled while the app treats the axis as unpowered, so the two sides disagree about who commands motion. Clear the enable before opening the cabinet or changing configuration, and repeat the power-up test only with the axis free to make an unexpected move.

What should I collect before escalating to the app or drive vendor?

The captured controlword and statusword pairs from switch on disabled to operation enabled, the exact diagnostic text recorded with diagnostic units on, the installed Motion app version, the drive firmware version, and the device description file loaded in the controller. With that set, either side can replay the evaluation without the machine.

Keep reading

  • Explainer

    Why ctrlX MOTION needs EtherCAT for third-party axes

    ctrlX MOTION addresses axes only as EtherCAT slaves through CoE (CiA 402) or SoE, so a PROFINET/PROFIBUS servo module like the Siemens F-TM cannot be declared as a native axis. Command it instead with CODESYS Fieldbus Communication plus CODESYS SoftMotion, which excludes the ctrlX MOTION feature set.

    Drives and motion

  • How-to

    How to run CiA402 axes in structured text without NC

    You can move EtherCAT servo axes from a PLC without a motion-control license by writing the CiA 402 state machine and the move profiles in plain structured text that maps the drive PDOs directly: one function block per axis, one command owner per axis, every transition gated on the returned status word. Commission the five hops from application to drive with a gate check each, and prove task timing under full load before enabling torque.

    Drives and motion

  • Troubleshooting

    Troubleshooting S7-1200 PROFINET servo motion control issues

    Fix an S7-1200 PROFINET servo project in order: compile the motion calls in FB1 first, set drive and TIA Portal to the same telegram — Telegram 3 on this pairing — then prove one axis holds enable and velocity through repeated scans. A first-generation CPU 1214C executes independent single-axis motion only; the flying shear's deterministic master-slave cut belongs in the drives or in a motion-class controller, and no telegram adds it.

    Drives and motion