EL72xx

Scope

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.

Topics

  1. Diagnostics
  2. Error/warning
  3. Tuning
  4. Electrical installation issues
  5. OCT cable failure
  6. EP7211-0034: frozen encoder position

Diagnostics

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:

  • 0x4411 : Warning “Drive. DC-Link undervoltage. (Warning). The DC link voltage of the terminal is lower than the parameterized minimum voltage”
  • 0x8406 : Error “Drive. DC-Link undervoltage. (Error). The DC link voltage of the terminal is lower than the parameterized minimum voltage”
  • 0x8105 : Error “General. PD-Watchdog. Communication between the fieldbus and the output stage is secured by a Watchdog.”

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.

Error/warning

EL7201 watchdog configuration and DC timing

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 rateSync0 periodSync0 shiftSync1 period
1000 Hz1000000 ns00
500 Hz2000000 ns00

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:

  • missing power supply
  • STO tripped
  • defective cable
  • incorrect or messy cabling between the connector and the actual terminal
  • phases connected in the wrong order, resulting in commutation failure
  • PD-Watchdog error (see below)

PD-Watchdog error

A PD-Watchdog error was once observed when restarting the system after a complete power-down event during a yearly shutdown test.

Symptoms:

  • Slave goes to OP but stays in fault state (or sometimes not even in fault state).
  • Position of absolute encoder is 0.
  • Refuses to enable.

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.

Tuning

Always be prepared to “KILL” or estop the axes while performing tuning.

  • Make sure the scaling factors are correct. Test by setting the ecmc position-controller parameters to 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.
  • For most applications, the default current-loop and velocity-loop values are good.
  • For slow, accurate, smooth motion, it can be beneficial to reduce the velocity Kp and Ti values in the drive.

Electrical installation issues

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.

OCT cable failure

One identified issue was a defective OCT cable. Symptoms included frequent drive disable events and repeated transitions into fault state.

EP7211-0034: frozen encoder position

On 23 November 2026, an EP7211-0034 that had previously been operating normally stopped updating its actual encoder position.

  • The raw EtherCAT position value was also frozen when read directly using the EtherLab ethercat upload tool. The symptom was therefore not limited to the ECMC or EPICS position readback.
  • Restarting the IOC restored normal encoder position updates.
  • The root cause is unknown.

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.