Use this page for EL72xx and EP72xx servo-drive issues such as diagnostics, warning/fault states, tuning, and installation-related OCT problems.
For the shared OPT profiles, supported devices, startup options and Qt panels, see Ex72xx option configurations.
The diagnostics buffer can be read with the ec_diagnostic_messages.py tool:
Example: EL7211-9014
python3 ec_diagnostic_messages.py -m1 -s3
DEVICE INFORMATION:
===================
name: EL7211-9014
master id: 1
slave id: 3
vendor id: 0x2
product id: 0x1c2b3052
host time: 2026-02-05 11:33:41.191176
DIAGNOSTIC MESSAGES:
====================
msg_no time text_id text flags diag_code dynamic
1 2000-01-01 00:00:00 0x4411 0x1 0x1c21e000 0x0
2 2026-02-05 10:30:39.407639 0x8406 0x2 0x1c21e000 0x0
3 2026-02-05 10:30:39.407639 0x8105 0x2 0x1c21e000 0x0
Sometimes the text_id values are converted to readable text by the tool, and
sometimes they are not. In the example above, the codes need to be looked up on
Beckhoff’s site.
Searching for the slave type and error code normally gives you the information:
Here we can see that the drive is missing DC-link voltage, meaning motor power is missing. The watchdog error most likely happened during IOC startup and is not the main problem.
If an EL7201 refuses PREOP to SAFEOP with AL status 0x001F (“Invalid
watchdog configuration”), check the watchdog settings. The EL7201 hardware
script uses divider 2498 and intervals 1000, giving a 100 ms timeout
independent of the IOC rate. Earlier versions calculated both values from the
sample rate, giving approximately 401 ms at 1 kHz and 1.6 s at 500 Hz.
The script accepts WATCHDOG_DIVIDER and WATCHDOG_INTERVALS overrides.
See Beckhoff’s explanation of 0x001F.
DC timing is calculated separately from ECMC_EC_SAMPLE_RATE. Set the master
rate through EC_RATE when loading ecmccfg, before configuring the slave.
The EL7201 script currently defaults to zero Sync0 shift as a trial for
intermittent PLL errors during startup. SYNC_0_SHIFT can override this in ns;
the EL7201_STD and EL7201_OPT profiles retain their half-cycle defaults.
| Master rate | Sync0 period | Sync0 shift | Sync1 period |
|---|---|---|---|
| 1000 Hz | 1000000 ns | 0 | 0 |
| 500 Hz | 2000000 ns | 0 | 0 |
Check epicsEnvShow("ECMC_EC_SAMPLE_RATE") in the IOC shell and remove any
hardcoded DC override that assumes a different rate. The warning
Slave did not sync after 5000 ms concerns distributed-clock convergence;
check the subsequent log messages and whether the slave reaches OP before
attributing it to the watchdog configuration.
If the drive is in an error or warning state and cannot be enabled, common reasons are:
A PD-Watchdog error was once observed when restarting the system after a complete power-down event during a yearly shutdown test.
Symptoms:
Diagnostic tool output below:
sandst_a@sls-ec-di22-05-01:~$ python3 /ioc/NeedfulThings/ecmc_ec_scripts/ec_diagnostic_messages.py -m3 -s14
DEVICE INFORMATION:
===================
name: EL7211-9014
master id: 3
slave id: 14
vendor id: 0x2
product id: 0x1c2b3052
host time: 2026-02-24 15:39:38.197238
DIAGNOSTIC MESSAGES:
====================
time text_id text flags dynamic
2026-02-23 14:56:55.174172 0x8105 (error) PD-Watchdog 0x2 0x0000000000000000000000
The likely reason was that the EtherCAT cable was connected to the lower port of the EK1100 coupler, which resulted in incorrect timing. Stepper systems still worked, but servos using DC clocks did not. After moving the cable, a power cycle was required.
Recover by power-cycling the power bus; the communication bus can remain
powered. If an EL9227-5500 is installed before this point in the EtherCAT
chain, the power bus can be toggled with channel 1 from the panels. At PSI, do
not toggle channel 2, since it may be connected to the communication-bus feed
of the EK1100. In that case communication is lost and can only be recovered
by someone physically going to the crate and pressing the button/LED.
PSI: Do not toggle channel 2 of EL9227-5500, since this may break power to the EtherCAT communication bus.
Restarting the IOC or switching the terminal between INIT and OP did not
help in this case.
Always be prepared to “KILL” or estop the axes while performing tuning.
0 and performing a move. This effectively becomes an open-loop positioning move. Normally, the actual value and setpoint should still track each other closely during the move; if not, the drive or encoder scaling is most likely wrong. Check gear ratios as well.Kp and Ti values in the drive.Strange issues have occurred when the OCT cable shielding was not kept intact up to the terminal. Problems were observed when individual wires were split out and mixed randomly in cable-management trays inside a control cabinet. This is not a good installation concept. Keep the shielding of both encoder and motor cables intact as far as possible, also inside the crate.
In those cases, the EL72xx diagnostic buffer showed encoder-related errors.
One identified issue was a defective OCT cable. Symptoms included frequent drive disable events and repeated transitions into fault state.
On 23 November 2026, an EP7211-0034 that had previously been operating normally stopped updating its actual encoder position.
ethercat upload tool. The symptom was therefore not limited
to the ECMC or EPICS position readback.Similar encoder feedback problems have been observed previously on Ex72xx
drives. The
ecmcEP7211-0034_ALL.cmd hardware configuration
contains a note about incorrect encoder feedback following the PREOP-to-OP
transition without an indication in the status word, and configures an
EtherCAT startup delay as a workaround. It is not known whether the frozen
position observed here has the same cause.
If the issue recurs, capture the raw position, drive status, EtherCAT state and drive diagnostic buffer before restarting the IOC, where safe to do so. Do not command motion with unreliable position feedback.