ESI file
The ESI file is the device's identity card. You do not write ESI files — the device vendor supplies them. When you use the Darra configuration tool, importing the ESI file is all it takes for the tool to identify the device and complete the configuration. Even without an ESI file, the Darra SDK identifies and configures the vast majority of slaves automatically.
What is an ESI file?
ESI (EtherCAT Slave Information) is an XML description file that describes the characteristics of a slave device.
Every EtherCAT slave device has a matching ESI file. It works as the device's identity card and user manual, and contains the complete configuration information for the device.
Core information in an ESI file
An ESI file contains the following key information:
| Information | Description | Example |
|---|---|---|
| Device identity | Vendor ID and product code | Beckhoff EL2008, ID: 0x00000002 |
| Communication protocols | Supported mailbox protocols | CoE, FoE, EoE |
| Process data | Input/output PDO definitions | 8 digital outputs, 1 bit each |
| Synchronization modes | Supported synchronization methods | FreeRun, SM synchronization, DC synchronization |
| Distributed Clocks (DC) | DC configuration parameters | SYNC0 cycle, shift time |
| State machine | State transition configuration | Init → PreOP → SafeOP → OP |
| Object dictionary | CoE object definitions | Index, subindex, data type |
| Diagnostics | Error codes and descriptions | 0x001A - Synchronization error |
Why the ESI file matters
Zero-configuration startup
With an ESI file, the master completes the following automatically:
- PDO mapping configuration
- Sync Manager settings
- FMMU mapping
- Distributed Clocks configuration
No hand-written configuration code is needed.
Compatibility
An ESI file that follows the ETG standard ensures:
- Masters from different vendors can identify the device
- Different device versions remain backward compatible
- A standardized configuration process
Diagnostics and debugging
The ESI file provides:
- Detailed descriptions of error codes
- Valid parameter ranges
- State machine transition conditions
- Links to help documentation
How to use an ESI file
Procedure
- Get the ESI file — download it from the device vendor's website (usually an
.xmlfile) - Import it into the configuration tool — open the Darra configuration tool → scan the network → the tool matches the ESI file automatically
- Configure and export — finish the configuration in the tool → export a DENI file
- Use it in code —
new DarraEtherCAT().SetENI("config.deni").Build()
The Darra SDK has built-in automatic configuration: even without an ESI file it identifies and configures the vast majority of slaves. An ESI file mainly enables advanced features, such as custom PDO mapping and DC synchronization settings.
Where ESI files come from
Where to get an ESI file
- Device vendor website — the newest and most accurate ESI file
- ETG website — the standard ESI file for certified devices
- Bundled with configuration tools — some third-party configuration tools include common ESI files
- Disc supplied with the device — shipped together with the device
FAQ
What if the ESI file is missing?
- Contact the device vendor for the latest ESI file
- Check whether the ETG website has an ESI file for the certified device
- Use the generic automatic slave configuration built into the SDK (it supports the vast majority of slaves, so a device can be configured without an ESI file)
What if the ESI version does not match?
- ESI files carry a version number; make sure the ESI matches the firmware version
- Find and use the best-matching version the vendor provides
- A wrong ESI file can cause configuration failures or abnormal operation, so always confirm that the versions match
- Delete the wrong ESI file and use the automatic configuration in the SDK
- Use DARRA EtherCAT Master Tools to load and manage ESI files automatically