Start from the configuration tool
The configuration tool has a multi-language interface, including Chinese and English; you can switch the language in the program settings.
The configuration tool is a graphical EtherCAT master test program. Use it to scan slaves, test communication and configure parameters, then export runnable code that you can integrate directly into your project.
Before you begin, make sure you have completed Preparation (installing the driver, preparing the ESI files).
Step 1: Get and start the program
Download the latest installer Darra-EtherCAT-Setup-*.exe from the downloads page, run it as Administrator and complete the installation, then start Darra_EtherCAT_Master.exe.
At startup the program checks its dependencies in the background (the DarraRT driver, the Visual C++ runtime) and writes the result to the log; it does not open an installation wizard. If something is missing, master initialization fails and reports why.
Step 2: Get to know the main window

Slave list
The tree list at the upper left shows all slaves:
Click a slave to view its details in the central tab page.
Main tab pages
| Tab | Function |
|---|---|
| Info | Basic slave information: name, vendor, address, PDO size, supported protocols, mailbox configuration, topology information |
| PDO | View and edit process data (inputs/outputs) in real time |
| CoE | Browse and edit the object dictionary (SDO parameters) |
| DC | Distributed Clocks (DC) configuration and synchronization monitoring |
| Diagnostics | Detailed master/link/frame-level diagnostic statistics |
| Startup | Startup sequence configuration (SDO writes on state transitions) |
| FMMU/SM | FMMU and Sync Manager configuration |
| FoE | File transfer: firmware update, file import and export |
| FSoE | Safety functions: safety address binding, safety PDO, fail-safe configuration |
| SoE | Servo parameters: IDN read/write, parameter metadata |
| EoE | Ethernet configuration: IP/subnet/gateway/DNS, frame send and receive, ping test |
| AoE | ADS communication: index group read/write, device information, state control, event subscription |
| VoE | Vendor-specific protocol communication: custom mailbox data exchange |
| MDP | Modular device: module identification |
Step 3: Select a NIC and scan for slaves
After startup, first click the button at the upper left of the middle of the window to open the Load NIC dialog:

- Primary NIC: select the Ethernet adapter connected to the EtherCAT slaves
- Redundant NIC (optional): if you need cable redundancy, select a second NIC
- Click Scan slaves; the table below lists every slave that was found
- Once the slave list is correct, click Confirm to enter the main window
Step 4: Browse slave information
Select a slave in the slave list and the central panel shows its details. Use the tabs to switch between the function pages:
- Info
- PDO
- CoE
- FMMU/SM
- DC
- Diagnostics
- Startup
- FoE
- FSoE
- EoE
- SoE
- AoE
- VoE
- MDP
Info — Basic slave information

The Info page shows the complete identity and configuration summary of the slave:
- Basic information: name, physical position, current state, group
- Identity information: Vendor ID, Product Code, version, serial number
- Address information: configured address, alias address
- PDO mapping: input/output byte counts and offsets
- Protocol support: CoE, SoE, EoE, FoE, AoE and others
- Mailbox configuration: send/receive buffer sizes and addresses
PDO — Process data

The PDO page shows the slave's process data (inputs/outputs) in real time, for online testing and debugging.
- Input data (TxPDO) — real-time data the slave sends to the master, displayed as boolean/byte/numeric/float
- Output data (RxPDO) — control data the master sends to the slave, which you can edit by hand and send in real time
- Display format — switch between several data formats
CoE — Object dictionary

The CoE page browses and edits the slave's object dictionary (SDO parameters).
- Object browsing — tree view of all object dictionary entries (index, subindex, name, type, current value)
- Parameter read/write — double-click a read/write parameter to edit its value directly
- Access conditions — CoE parameters are accessible in PRE_OP and above
FMMU/SM — Sync Manager and FMMU mapping

The FMMU/SM page shows the mapping configuration of the Sync Managers and the FMMU, so you can inspect how a slave's data exchange channels are configured.
- SM configuration — start address, length, control word and status of each Sync Manager
- FMMU mapping — the FMMU's logical-to-physical address mapping
- Direction — distinguishes input (TxPDO) and output (RxPDO) data channels
DC — Distributed Clocks
DC configures high-precision clock synchronization between slaves, with SYNC0/SYNC1 configuration, phase shift calculation and sync window monitoring.
- Automatic DC capability detection — the GUI parses the DC description from the ESI file (HasEsiDcSync); slaves that do not support DC have the DC configuration entry hidden, so it cannot be enabled by mistake
- SYNC0/SYNC1 configuration — set the cycle of the two sync signals separately (nanoseconds)
- Phase shift — set the phase shift by hand or calculate it automatically
- Propagation delay — receive times of each port (A/B/C/D)
- Sync window monitoring — real-time sync deviation (minimum/maximum/current)
- DC chain topology — the preceding and following slaves in the DC chain
Diagnostics — Communication monitoring

The Diagnostics page provides detailed statistics at three levels: master, link and frame.
- Master level — overall master health, redundancy state, error statistics
- Link level — send/receive statistics and link health of each NIC
- Frame level — frame errors, lost frames, out-of-order frames, checksum errors, timeouts, WKC errors
Startup — Startup sequence configuration

The Startup page manages the SDO parameters that are written automatically when a slave changes state.
- Parameter list — view all startup parameters (transition step, write timing, index/subindex, data)
- Source — distinguishes parameters generated from the ESI file from those added by hand
- Editing — create, edit, delete and reorder startup parameters
FoE — File transfer
FoE uploads files to or downloads files from a slave (firmware update, configuration import and export, log retrieval and so on). The slave must be in BOOT or PRE_OP state for this.
- Upload firmware — write a new firmware file to the slave to upgrade the device
- Import configuration — upload a configuration file to the slave for flexible configuration
- Export log — read the runtime log and error records from the device
- Download parameter file — read the parameter backup file stored in the device
- Default password field — the top of the page provides a Password input box for password-protected vendor firmware; fill it in before transferring
- Default timeout configuration — the per-frame default timeout and retry count can be adjusted in the panel, for large files
- BUSY progress callback — during a large file transfer the status bar shows bytes transferred / total bytes / percentage and the current rate
- Cancel button — click Cancel during a transfer to stop immediately; the master sends a FoE Abort to the slave and resets the mailbox
FSoE — Safety functions
FSoE configures and monitors functional safety devices (the protocol targets SIL3/PLe; this product does not claim certification), including safety address binding, safety state monitoring, safety PDO viewing and fail-safe configuration.
- Safety address binding — assign a unique safety address (Safety Address) to a safety slave
- Safety state monitoring — real-time view of the safety state machine: Reset → PreOp → SafeOp → Op
- Safety PDO view — shows safety input/output data (including the CRC)
- Fail-safe configuration — configure the fail-safe value of safety outputs (the default output when communication is interrupted)
- Parameter download — download FSoE device parameters with SRA CRC verification
EoE — Ethernet configuration
EoE configures the TCP/IP network parameters of a slave; the typical case is the IP configuration of an EoE gateway device, which lets the slave reach an external TCP/IP network through the EtherCAT network.
- IP configuration — read and write the slave's IP address, subnet mask and gateway
- MAC management — view and change the MAC address
- DNS configuration — set DNS server addresses and domain names
- Ping test — test the slave's network connectivity (ICMP)
- Raw frame send/receive — send and receive Ethernet frames through the EtherCAT tunnel
SoE — Servo drive parameters
SoE reads and writes the parameters of SERCOS-compatible servo drives, with support for several data types and multiple drives.
- IDN parameter browsing — list all available IDN parameters
- IDN encode/decode calculator — the panel has a built-in IDN calculator that converts both ways between the
S-x-xxxx/P-x-xxxxtext form and the 16-bit IDN code, so parameter addresses can be typed by hand - Parameter read/write — several data types: int16/int32/uint16/uint32/float/double/string
- Parameter metadata — name, unit, minimum/maximum/default value of each IDN
- PDO mapping information — the AT (input) and MDT (output) mapping configuration
- Multiple drives — independent access to several logical drives inside one slave
AoE — ADS communication
AoE is used for ADS protocol communication, with index group read/write, device information queries, state control and event subscription.
- Index group read/write — read and write device data through ADS index groups and offsets
- Device information — query the ADS device name, version and other information
- State control — control the device state through ADS
- Event subscription — subscribe to ADS notification events
- Error code reference — the SDK defines the ETG.1020 standard AoEResultCode error codes (62 entries); when the return value is other than 0, look the reason up in the enum
VoE — Vendor-specific protocol
VoE is used for vendor-defined mailbox protocol communication; it sends and receives mailbox data in a custom format, for non-standard function extensions of a particular vendor.
- Custom mailbox — send and receive vendor-specific mailbox data frames
- Flexible format — the data format is defined by the vendor and is not constrained by the standard protocol
- Event log — a built-in Notification real-time event log panel scrolls every VoE frame pushed asynchronously by any slave in time order (timestamp, slave address, length, HEX data); you can pause, clear or export it
MDP — Modular device configuration
The MDP page identifies and manages the module information of a modular device (Modular Device Profile).
- Module identification — list every function module in the device and its type
- Module configuration — the PDO mapping and parameters of each module
The protocol tab pages above are shown only when the slave supports the corresponding protocol. For example, only slaves that support CoE have a CoE tab.
Step 5: Configure startup parameters (optional)
Switch to the Startup tab:

Startup parameters are the SDO parameters written automatically when a slave changes state (such as PDO mapping or operating mode), making sure the slave enters its running state with the expected configuration.
Parameter sources
- Generated from the ESI file — if a matching ESI file is present, the SDK parses it and generates the startup parameters
- Generated from the slave — without an ESI file, the SDK tries to read the PDO assignment from the slave's current SM configuration and generates the parameters
- Added by hand — click the Add button and enter the index, subindex, data type and value
Parameter structure
Each startup parameter contains the following fields:
- Transition — during which state transition the parameter is written (for example IP → PRE_OP, PS → SAFE_OP)
- Write timing — before the transition (BeforeTransition) or after it (AfterTransition)
- Index / subindex — the target CoE object dictionary address
- Data — the value to write; several data types are supported
Typical operations
- View: the list shows all configured startup parameters, including the source (ESI / manual)
- Edit: double-click a parameter row to change the value to write
- Delete: select a parameter and click the delete button to remove it
- Order: parameters are sorted automatically by transition and write timing, and the execution order can also be adjusted by hand
In most cases the parameters generated from the ESI file are enough and need no manual change. Add or edit startup parameters by hand only when a slave needs special initialization (for example, changing the motion mode or configuring a specific PDO mapping).
Step 6: Start communication
Use the State machine buttons in the top navigation bar to control the master state.
| Button | Target state | Description |
|---|---|---|
| INIT | INIT | Initialization; establishes the communication link |
| PRE_OP | PRE_OP | Mailbox communication ready; parameters can be configured |
| SAFE_OP | SAFE_OP | PDO inputs valid; outputs are blocked |
| OP | OP | Fully started; inputs and outputs are both valid |
Click the OP button directly; the master performs the INIT → PRE_OP → SAFE_OP → OP state transitions automatically in order.
After a successful start, you can watch the Simple diagnostics panel in the bottom-right corner of the window:
- State: shown as OP (green)
- Frequency: PDO communication frequency (Hz)
- Average jitter: fluctuation of the frame send time
- Link quality: communication quality as a percentage
- Frame loss rate: proportion of lost data
Hot-plug and optional modules
Modules can be unplugged and plugged back in while the system runs. A module that is declared and passes the identity check is configured by the master automatically and brought up to OP once it is plugged back in; while it is missing, the other slaves keep running as usual.
For modules that may be absent, mark their slots as optional in the DENI configuration (<deni:Optional>): an optional slot that is offline does not affect this run's entry into OP. The configuration tool (GUI) has no separate hot-plug page; optional slots are declared in the configuration, and the binding mode is set through the SDK.
Usage: see Hot-plug and the SDK pages for each language (C# / C++ / C).
Step 7: Test PDO data
Switch to the PDO tab page:

Input test (slave → master)
The PDO panel shows the data the slave sends in real time, in several display formats:
- Boolean: on/off state
- Byte: raw byte value
- Numeric: integer value
- Float: floating-point value
Output test (master → slave)
In the PDO output panel you can set output values by hand and send them to the slave in real time.
Step 8: View diagnostic information
Switch to the Diagnostics tab page:

Diagnostics are divided into three levels:
| Level | Content |
|---|---|
| Master | Overall master health, redundancy state, error statistics |
| Link | Send/receive statistics and link health of each NIC |
| Frame | Frame errors, lost frames, out-of-order frames, checksum errors, timeouts, WKC errors |
If DC synchronization is enabled, the DC page also shows sync window diagnostics, including the minimum/maximum sync deviation and statistics.
ETG.1510 OD browsing
The ETG.1510 sub-page at the top of the diagnostics panel browses the master object dictionary, listing the diagnostic objects the master exposes following the ETG.1510 standard (Master Information, Configuration List, Diagnosis Information, Slave Information and so on). Entries can be expanded by index to see their current values, which makes it easy to feed upper-layer SCADA / OPC UA services.
Step 9: Save the configuration
When testing is done, click the Export code button in the top menu bar to save the current master and slave configuration to a file.
The next time you start the program, you can load the saved configuration with the Import button, without configuring the parameters again.
Step 10: Export code
This is the key step from the configuration tool to a real project. Click the Export code button in the left navigation bar to open the export window.
The left navigation bar of the export window has three groups: Export (DENI configuration file, Details), Program code (C# / C / C++ / Python / Java / Rust), Diagnostic information (debug information, export log).
- DENI configuration file
- Details
- C#
- Python
- Java
- C
- Rust
- Debug information
- Export log
DENI configuration file — Master configuration export

Exports the master configuration file in XML format (.deni), containing the complete master and slave configuration.
- SHA256 verification — the configuration file carries an integrity check that detects tampering
- Cross-master loading — the exported configuration can be imported into other Darra master instances
- Complete configuration — network topology, PDO mapping, startup parameters, DC configuration and all other information
Details — Excel report export
Exports a detailed network report in Excel format, suitable for offline analysis and documentation archiving.
- Network topology — slave list, address assignment, connection relationships
- PDO mapping — the complete input/output PDO mapping table
- CoE object dictionary (optional) — export the complete object dictionary table (index, name, type, access, current value)
- CoE startup sequence (optional) — export the SDO write parameter table used on state transitions
C# — .NET project code generation

Generates a complete .NET project, containing code files, configuration files and the runtime libraries; it compiles and runs directly.
- PDO structs — strongly typed structs generated from the slave PDO mapping
- Master initialization — the complete flow of NIC selection, slave scan and state machine transitions
- Cyclic read/write — the code that reads and writes PDO data in real time in the loop
- DC synchronization (standard) — Distributed Clocks synchronization configuration
- FSoE safety (standard) — safety PDO structs, safety address binding, fail-safe settings
- FoE file operations (optional) — firmware upload/download example code
- EoE network configuration (optional) — IP/subnet/gateway/DNS configuration code
- SoE parameter configuration (optional) — IDN parameter read/write code
- AoE communication (optional) — ADS index group read/write and event subscription code
- MasterIO static mapping (optional) — static IO mapping code
The generated C# code maps one-to-one to the methods, properties and events in SDK documentation — C#.
Python — Script code generation
Generates a single .py file, containing the PDO structs, master initialization, state machine transitions and the complete cyclic read/write script.
- Master flow — initialization, scan, state transitions, cyclic read/write
- Optional protocols — FoE, EoE, SoE, AoE
The generated Python script maps one-to-one to the interfaces in SDK documentation — Python.
Java — Java project code generation
Generates a single .java file, containing the PDO structs, master initialization, state machine transitions and the complete cyclic read/write code.
- Master flow — initialization, scan, state transitions, cyclic read/write
- Optional protocols — FoE, EoE, SoE, AoE
The generated Java code maps one-to-one to the interfaces in SDK documentation — Java.
C — C project code generation
Generates a single .c file, containing the PDO structs, master initialization, state machine transitions and the complete cyclic read/write code.
- Master flow — initialization, scan, state transitions, cyclic read/write
- Optional protocols — FoE, EoE, SoE, AoE
The generated C code maps one-to-one to the interfaces in SDK documentation — C.
Rust — Rust project code generation
Generates a single .rs file, containing the PDO structs, master initialization, state machine transitions and the complete cyclic read/write code.
- Master flow — initialization, scan, state transitions, cyclic read/write
- Optional protocols — FoE, EoE, SoE, AoE
The generated Rust code maps one-to-one to the interfaces in SDK documentation — Rust.
Debug information — Runtime debug data
Shows debug information about the running master, for troubleshooting and technical support.
- Runtime state — real-time state of the master and the slaves
- Communication statistics — frame send/receive counts, error counts, WKC statistics
- Timing — PDO cycle, jitter, latency and other timing data
Export log — Local log export (Chinese only)
Exports the local debug log and operation records, for offline analysis and problem reporting.
- Operation records — the complete operation history and state change records
- Error log — communication errors, timeouts, WKC exceptions and other error details
- Timestamps — every record carries a precise timestamp, for timing analysis
- Standard (guided-export code contains it): included automatically when the slave supports it, with no checkbox (DC, FSoE; the FSoE safety connection still has to be established explicitly at runtime)
- Optional: enable in the Settings area at the bottom left of the export window (FoE, EoE, SoE, AoE, MasterIO)
Master configuration reference
The master configuration items in the right-hand panel:
| Item | Description |
|---|---|
| PDO frame optimization | Enables Overlapping Groups, so that several slave groups communicate in parallel |
| Packed mode | Bit-level PDO packing mode that optimizes boolean mapping |
| Frame high priority | Raises the send priority of EtherCAT frames (IEEE 802.1Q) |
| UDP mode | Sends EtherCAT frames over UDP (ETG.1500) |
| DC automatic offset | Automatically resolves the SYNC0 phase of Distributed Clocks |
| DC drift compensation | Automatically compensates system time drift |
| Diagnostic capture | Collects detailed diagnostic data when enabled |
| Adaptive timeout | Adjusts the timeout dynamically according to the network RTT |
| Mutex protection | Protects PDO data consistency in multi-threaded scenarios |
| Mailbox gateway | Enables the ETG.8200 mailbox communication proxy |
| Frame loss threshold | Triggers the PDOFrameLoss event when consecutive lost frames exceed this value (default 3) |
| Frame repeat count | ETG.1500 frame repeat count (1-3) |
| Process data watchdog | Process data watchdog timeout of the slave (milliseconds) |
| PDI watchdog | PDI interface watchdog timeout of the slave (milliseconds) |
| VLAN ID / priority | VLAN 802.1Q network tag configuration |
| Version matching policy | Version matching mode during the slave scan (exact/compatible/ignore) |