Troubleshooting
Why an EtherCAT servo drive shows an empty process data tab
Short answer
The Process Data tab is empty because the drive failed the INIT to PREOP transition the master requested, reporting PREOP where INIT was expected, not because its stored PDOs were erased. Clear the state path first, then reselect the drive's PDOs in the drive tool and map and link them in the master's I/O project; the ESI file and an EEPROM update rebuild neither.

On this page
- Two faults hiding behind one empty tab
- Work the checks from the cheapest
- Decoding the failed INIT to PREOP check on the reported drive
- Clearing the failed state transition
- Reselecting the PDOs and mapping the links
- Verifying the two layers separately
- What the ESI file and an EEPROM write touch
- Where each case ends
- Questions asked
The tab went empty because the drive never reached the EtherCAT state the master requested, not because anything stored on the drive was erased. The error output shows two faults to clear in order: the INIT to PREOP transition is failing, with the drive sitting in PREOP where the master demanded INIT, and the PDO selection and variable mapping that fill that tab are not in place. Clear the state path first, then reselect the PDOs in the drive tool and map and link them in the master's I/O project. The ESI file describes the drive without holding the selection, and an EEPROM write restores neither layer.
Two faults hiding behind one empty tab #
The project holds three layers for an EtherCAT servo drive, and the tab reports on two of them. The drive's reported device state is the first layer: INIT, PREOP, SAFEOP and OP, climbed in that order, with no process data moving below SAFEOP. The PDOs selected for use are the second: chosen in the drive's own configuration tool and shown in the master's Process Data tab. The variable links are the third: made in the master's I/O project between each mapped process value and the program variable that consumes it.
An empty mapping area means the selection or the links are missing, or that the failed transition upstream never let the configuration complete. In the reported case the master's log shows the state fault active at the moment of the load, so read the empty tab as a downstream symptom until the transition completes. The ESI file and an EEPROM write belong to the device-description layer, which is none of these three; that is why neither restored the tab.
Work the checks from the cheapest #
Each entry below names the confirming check that clears it before you move on.
- Link and power. The drive must be powered and the cable seated in its EtherCAT IN port with the link present. Confirming check: the slave lists in the master's scan at the expected position with a stable link.
- Device identity. The project must expect the device that is actually on the wire; the same INIT to PREOP transition fails with an identity or product-code complaint when the description and the connected drive disagree. Confirming check: rediscover the slave so the project re-reads its identity, then compare.
- Device state. Request INIT to PREOP and read the drive's reported state rather than the request. Confirming check: the readback matches the request under the comparison mask the output reports; in the reported case the transition instead ran to its 3000 ms timeout and aborted.
- PDO availability in the drive tool. The receive and transmit PDO assignments the application needs must exist and be selectable in the drive's configuration tool. Confirming check: the expected entries appear in the tool's selection list.
- Selection and links in the master. The Process Data tab must hold the chosen entries in its mapping area, and each link must resolve. Confirming check: every mapped variable shows a live link in the intended direction.
One entry stays at the bottom as a non-cause: erased PDO definitions on the drive. The reported EEPROM write changed nothing, and the selection lives in the project, so a re-flash is a device-identity operation to run only when the diagnostics name identity as the fault.
Decoding the failed INIT to PREOP check on the reported drive #
Inputs, taken from the master's error output for the CoE servo drive the project lists as Drive 4:
- requested state: INIT, state code 0x0001
- reported state: 0x0002
- comparison mask: 0x000f
- time allowed for the INIT to PREOP request: 3000 ms, the timeout the output reports before aborting
The rule in words: at every transition the master reads the drive's reported device state, keeps only the bits the mask lets through, and compares that against the requested state under the same mask. The transition passes only on equality.
The arithmetic: 0x0002 is 0010 in binary and 0x0001 is 0001. Mask 0x000f is 1111 and keeps all four low bits, so the comparison is 0010 against 0001 and it fails. In the EtherCAT state nibble, 0x0001 is INIT, 0x0002 PREOP, 0x0004 SAFEOP and 0x0008 OP, so the drive answered from PREOP.
Result: the requested INIT was never confirmed, the master aborted the change of state, and the INIT to PREOP request exhausted its allowance.
Decision: whenever that comparison returns 0x0002 against 0x0001 under mask 0x000f, the drive is parked in PREOP and the transition path is the fault to repair. Do not start PDO work until the same readback returns the requested state; a tab emptied in the same minute is this fault plus a missing selection, not evidence of erased drive data.
Clearing the failed state transition #
Start at the physical hop. Power at both ends of the cable, the cable seated, link present at the drive's IN port, and the slave visible in the master's scan. A visible slave has made the physical link; it has not completed a state transition, so keep those two facts apart.
Then request the transition again and read the reported state, not the request. After a communication error the master itself can drop out of OP and then try to climb back, passing through the intermediate states on the way. The log can therefore show abnormal INIT to PREOP churn after the real fault, and that churn is the recovery attempt, not a new failure.
If the output names a device-identification or product-code check instead of the device state, the project's description does not match the connected drive; rediscover the device so the master rebuilds its identity from the connected slave. When the same failure shows up at power-up rather than during configuration, it is the power-up timeout case for an EtherCAT axis that times out at power-up, with its own checks.
PREOP already carries mailbox traffic, which is why the drive answers parameter reads and PDO information requests while the transition is failing; process data does not move until SAFEOP, and output data does not move until OP. Because the mailbox works, PDO assignment can be inspected and corrected in PREOP even while process data is dead; the PREOP walkthrough for CoE PDO assignment covers that side in detail.
Reselecting the PDOs and mapping the links #
The Load PDO info from device action refreshes the master's view of what the drive offers, read over the mailbox; it does not tick entries into the mapping area and it does not create links. The selection is made in two places and the links in a third:
- In the drive vendor's PC tool for the drive — the same utility that sets its parameters — select the input and output PDOs the application needs.
- In the master's I/O project, TwinCAT in the reported case, open that drive's Process Data tab.
- Select the required inputs and outputs and tick the checkbox at the left of each entry; that is what moves a PDO down into the variable-mapping area. The checkbox is named for its mapping function, so pick it by what it does rather than by a remembered label.
- Link each mapped variable to the project variable that consumes or produces it, and check the direction as you go: in the I/O project's view, drive inputs are the values the drive sends and the master reads, and drive outputs are the values the master writes.
- Save and activate the configuration, then request the state change again. If the transition still fails, return to the state diagnostics, because mapping variables does not repair a failed state change.
Verifying the two layers separately #
Verify state first: request INIT, PREOP, SAFEOP and OP in order and confirm the readback matches at each step before going further, and confirm the error output stays free of the state mismatch and of any transition timeout.
Then verify mapping: the Process Data tab lists the chosen inputs and outputs in the mapping area, and each link resolves to a real project variable with the intended direction.
The cross-rule decides where to work. A transition that completes with the tab still empty points at selection or links; a populated tab with a transition that still fails points back at the state path. When OP holds and the links are live but the axis will not move, the fault has moved downstream to the enable path, which is the case worked through for an EtherCAT CSP stepper axis that enables but does not move.
What the ESI file and an EEPROM write touch #
The ESI file is the device description: it tells the master what the connected device is and which PDOs it can offer. It carries no project data, so installing the correct file cannot repopulate the tab; the selection and the links live in the master's configuration.
The slave's EEPROM carries the device identity the master reads when it detects the drive, so an EEPROM write is an identity operation. In the reported case one did not restore the tab, which matches the diagnosis: the fault lay in the transition and the project's selection, not in stored identity. Run a re-flash only when the diagnostics name identity as the fault, and read what an EtherCAT label tells you about a servo drive before rewriting anything at the device.
Where each case ends #
- Comparison failed with the drive parked in PREOP: repair the transition path — power, link, identity, then the request — before any PDO work.
- Transition completes but the tab stays empty: select the PDOs in the drive tool, tick them into the mapping area, link them, and activate the configuration.
- Tab populated but the transition still fails: back to the state diagnostics; mapping cannot repair a state fault.
- OP holds, links live, no motion: the enable path, covered in its own article above.
Questions asked
The check shows 0x0002 where 0x0001 was expected. Did the drive lose its stored PDOs?
No. Those are EtherCAT state codes: 0x0001 is INIT and 0x0002 is PREOP, and the mask 0x000f compares only the four low bits, so the drive simply reported PREOP while the master demanded INIT. The comparison carries nothing about stored PDO definitions, which is why an EEPROM write did not help. The empty tab came from the failed transition plus a missing selection and links in the project.
What works in PREOP and what needs SAFEOP or OP?
INIT carries no mailbox traffic and no process data. PREOP adds the mailbox, so parameter writes and PDO information requests work there, which is why the drive can answer the master while the state fault is still active. SAFEOP adds input process data, which the master reads while outputs are ignored. Only OP enables full process data in both directions. That ladder explains a drive that talks parameters in PREOP while its process data stays dead.
If the project holds the selection, what does the drive itself hold?
The drive holds its PDO capability as CoE objects and its identity in the EEPROM; the device description is stored locally on the slave and loaded at start-up. Those sources describe what the drive can offer. Which PDOs a given project uses, and where each one is linked, are recorded only in the master's configuration, which is why nothing on the drive needed restoring in this fault.
Why does the comparison use a mask of 0x000f instead of the full value?
The drive's reported state carries the state in its four low bits and raises bit 4 as an error flag when a transition goes wrong. Masking with 0x000f reads the state alone and ignores that flag, so the comparison cannot be spoiled by an unrelated error indication. When diagnosing, read the whole value as well: a set error flag alongside the state mismatch points at the drive's own diagnostics for why the transition stalled.

