Skip to main content

ESI file

New to EtherCAT

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:

InformationDescriptionExample
Device identityVendor ID and product codeBeckhoff EL2008, ID: 0x00000002
Communication protocolsSupported mailbox protocolsCoE, FoE, EoE
Process dataInput/output PDO definitions8 digital outputs, 1 bit each
Synchronization modesSupported synchronization methodsFreeRun, SM synchronization, DC synchronization
Distributed Clocks (DC)DC configuration parametersSYNC0 cycle, shift time
State machineState transition configurationInit → PreOP → SafeOP → OP
Object dictionaryCoE object definitionsIndex, subindex, data type
DiagnosticsError codes and descriptions0x001A - 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​

  1. Get the ESI file — download it from the device vendor's website (usually an .xml file)
  2. Import it into the configuration tool — open the Darra configuration tool → scan the network → the tool matches the ESI file automatically
  3. Configure and export — finish the configuration in the tool → export a DENI file
  4. Use it in code — new DarraEtherCAT().SetENI("config.deni").Build()
Works without an ESI file

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
SDK reference
  • Use DARRA EtherCAT Master Tools to load and manage ESI files automatically