EtherCAT® Master Stack

for Embedded Systems

The EtherCAT Master Stack library is especially designed for the use on embedded systems. The master stack achieves best performance with lowest resource usage. As target platforms, small microcontrollers up to industrial PCs are supported. The library is written portable in ANSI-C.

  • Optimal performance

  • Small footprint

  • Royalty-free

All details for the icECAT. EtherCAT Master Stack

  • EtherCAT Master Class-B feature set (according to ETG.1500) and the most important Class-A features
  • Supported EtherCAT mailbox protocols:
    • CoE (CAN over EtherCAT)
    • SoE (Servo drive profile  over EtherCAT) (NEW)
    • EoE (Ethernet over EtherCAT)
    • FoE (File Transfer over EtherCAT)
    • VoE (Vendor specific)
  • Distributed Clocks (DC): High-precision clock synchronization for DC slaves: Synchronous writing of outputs and reading of inputs throughout the entire EtherCAT network. Achieved accuracy significantly below 1 µs (typical: 20…30 ns)
  • Cable Redundancy (Basic functions und diagnosis functions)
  • Slave-to-Slave communication
  • EtherCAT network configuration (ENI) either via the integrated XML parser or via generated source code
  • EtherCAT State Machine (ESM), fast network startup by parallel initialization of several slaves
  • Cyclic communication in one or more cyclic tasks with different cycle times
  • Different modes for the scheduling of cyclic and acyclic frames (e.g. concatenated sending of frames by the cyclic task, separate frame scheduler, …)
  • Optimized for speed:
    The outgoing and incoming process image can be accessed directly in the cyclic frame without the need to additionally copy the data. Macros can be used for high-performance access to the process data.
  • Acyclic communication:
    Sending of asynchronous frames with EtherCAT commands by the application
  • Statistics and error counters, event API for notification of errors in the network
  • Configurable state monitoring and network monitoring
Feature Roadmap:
  • SDO Info Service
  • Access to the “Slave Information Interface” (SII)
  • Explicit Device Identification
  • Station Alias Addressing
The software architecture of the stack is modular and offers flexibility for “embedding” into the EtherCAT master application:
  • The master stack library provides a C API to the application.
  • An easy integration into existing applications is possible, because the stack does not impose the software architecture to the application.
  • The master stack library itself is completely passive. The cyclic tasks can be driven by the application. Different approaches for scheduling (single-threaded, multi-threaded) and for synchronization are possible. For example, the application can use a hardware-specific timer or synchronize the tasks to other external events.
  • Multiple instances of the master stack are possible in one application.
  • The stack comes with an adaptation layer that allows easy integration of the portable stack and the sample applications on an operating system.
  • Optional stack features that are not necessary in an application can be removed at compile time to minimize the footprint.

» Architecture diagram

An Ethernet network can be accessed via the network driver of an underlying operating system. Furthermore, optimized link layer drivers with DMA support and “Zero-Copy Buffer Handling” for common Ethernet controllers are available. With this architecture, the master stack achieves optimal performance: cycle times below 100 microseconds are already possible on small platforms.

The icECAT Master Stack comes with useful tooling for development and configuration:
  • EtherCAT Master Monitor for controlling the state of master and slaves and for displaying and editing process variables. The tool can be started at runtime on the target system or on a remote host (connected via TCP/IP).
  • Tool for converting ENI files into source code
  • icECAT EtherCAT Configuration Library*
    for integration into a customer-specific configuration tool
    *) available as separate product
Supported CPU architectures:
Supported operating systems:
Optimized link layer drivers are available for:

All libraries and tools are shipped in source code. The master stack is offered under a project-based license (royalty-free).

Convince yourself of the functionality and performance of the icECAT EtherCAT Master Stack. IBV offers evaluation versions for the following platforms:

Please contact the sales team of IBV:

IBV offers professional engineering, integration, support and consulting services for Industrial Ethernet technologies on real-time and embedded systems.

Do you have any questions about this product, would you like a technology consulting or do you need a customer-specific adaptation? – Feel free to contact the IBV sales team:

Video tutorials – How to run icECAT Master Stack on various target systems

How to run icECAT EtherCAT Master Stack on NXP i.MX RT1064

More videos will follow …

Please visit also our YouTube channel