Fieldbus & Industrial Networking


EtherCAT Automation Protocol

April 2016 Fieldbus & Industrial Networking

The EtherCAT protocol has become a worldwide established technology for real-time master-slave communication between controllers and field devices, enabling unique benefits in terms of low cycle times and highly precise synchronisation.

Many plants and machines currently consist of several machine units with discrete controllers, which perform different control tasks, yet need to work in close cooperation with one another. The EtherCAT Automation Protocol (EAP) is a standard defined by the EtherCAT Technology Group which enables cyclic communication between controllers via a standard Ethernet network. It supports routing capabilities to route into EtherCAT fieldbus networks down to the single slave device for parametrisation, diagnostics, and firmware update purposes.

The EtherCAT protocol with its unique operating principle – processing datagrams on-the-fly – has become one of the most widespread Ethernet-based communication standards at the fieldbus level in the past 10 years. It is certainly the most used technology in terms of different vendors and device types which feature support for the protocol. The EtherCAT protocol (also named as EtherCAT Device Protocol, or EDP) is specifically intended for hard real-time communication between a controller and a variable number of field devices, such as I/O, servo drives, servo valves, or gateways. It ensures very low cycle times (down to tens of µs), due to most efficient bandwidth usage, as well as a very high degree of synchronisation between the devices connected to the network (down to hundreds of ns).

Many plants consist of several process operations, each containing some degree of independent parts, individually managed by a controller to which different field devices are connected. These controllers often need, in turn, to exchange cyclic as well as acyclic data with each other. The EtherCAT Automation Protocol (EAP), specified by the EtherCAT Technology Group (ETG), provides an efficient mechanism for cyclic data exchange at the plant level, with communication cycle times in the low single digit millisecond range. Additionally, acyclic communication for parameter exchange and information routing to single EtherCAT Device Protocol fieldbus networks is supported. These features make EAP a particularly suitable solution for machine builders that need modular plant architectures, where several controllers each take care of specific functionalities, yet need to communicate with each other, in order to cooperate to advance the overall work of the plant.

EAP – communication at the plant level

Intended for communication between controllers, the EtherCAT Automation Protocol enables autonomous controller operation, often with different local cycle times. Therefore, the master-slave approach used by the EtherCAT Device Protocol is no longer optimal in this case; instead, EAP adopts a publisher-subscriber (Pushed Data Exchange) model. Each EAP device which intends to provide data is configured as Publisher, and transmits the data onto the network. One or more Subscriber devices can “intercept” the Ethernet packets sent by Publishers and use the corresponding data. Data can be published based on a cyclic event (with a periodicity which can correspond to, or be a multiple integer of, the cycle time of the Publisher device) or on a value change. Publisher devices can configure the transmitted information as unicast (only one specific Subscriber can receive this information), multicast (a subset of Subscribers is defined, by which the transmitted information can be received), or broadcast.

As an alternative to the Pushed Data Exchange, EAP also supports a Polled Data Mode. In this case, the polling device sends output data to one (1:1 connection) or several subscribers (1:N connection) and triggers the polled device(s) to provide data accordingly. The amount and type of data which can be transmitted over EAP is arbitrary. Base data types, as well as structured variables, can be transmitted and received.

Information is provided by the sender together with a 16-bit cycle field (updated with the cycle time of the sender device). This is incremented every time the information is transmitted: receivers can use this field as a sequence number, in order to check if one or more packets were lost during propagation. In addition, each receiver associates a 16-bit quality field (updated with the cycle time of the receiver device) to the incoming information, reporting the time elapsed after the information is received for the last time. Thanks to these diagnostic variables, EAP receiver devices are always able to monitor the real-time performance of the communication, and to suitably react in case of communication errors.

Low hardware requirements

Due to the reduction in real-time constraints required by the communication at the plant level, EAP devices require no dedicated chips (like the EtherCAT Slave Controller for EtherCAT Device Protocol) at all: frames are no longer processed on-the-fly, and the hardware interface is represented by a standard network port. Thus a standard, switched network communication infrastructure can be used with EAP – wireless connections between endpoints are supported as well. EAP data can be transmitted highly efficient on raw Ethernet frames (if no routing outside the Local Area Network is needed) or mapped into UDP/IP packets (and therefore routable via IP protocol also outside the single subnet). The EtherCAT Automation Protocol can also be transmitted in parallel to other network-based protocols like OPC UA, HTTP or FTP, improving the vertical integration of the communication architecture.

Cyclic and acyclic communication with EAP

Besides cyclic communication, EAP supports the possibility to exchange acyclic information, as well, using the AoE (ADS over EtherCAT) protocol. Each EtherCAT EAP or EDP device is identified by a unique AoE address, and information can be routed from one AoE device to another. All the commonly used Mailbox protocols, such as CoE, SoE or FoE (CAN application protocol, Servo drive profile or File transfer over EtherCAT), can be mapped into the AoE telegrams and routed from one EtherCAT controller to another. In this way, configuration and diagnostic tools can send and receive acyclic data, which will be used to configure specific controller properties, or route into the EtherCAT Device Protocol networks, reaching single slave devices for parametrisation or diagnostic purposes.

Co-existence with OPC UA

A function of its real-time performance, extended diagnostic capabilities, and the possibility to be transmitted in parallel to other protocols on a traditional network infrastructure without specific hardware requirements, EAP represents a perfect intermediate layer between the fieldbus level and the IT world, distinguished by hard real-time requirements in terms of determinism and synchronisation. In the last few years, protocols such as OPC UA have been established as vendor-independent standards for data exchange at the plant level. From this point of view, EAP should not be seen as alternative to OPC UA, as much as a complementary technology. While OPC UA is particularly suitable for the vertical integration between the real-time control layer and high-level, geographically distributed client applications like HMIs or databases, benefit from the ability of EAP to set itself at a slightly lower level, primarily intended for the horizontal integration among different controllers. The two protocols can coexist on the same hardware infrastructure, in order to flexibly fulfil the communication needs of the most diverse plant architectures.

Application example

The production of solar panels consists of several steps for which identification and marking systems, as well as testing units and special handling modules, are used. The transport system is divided into process isles, up to 14 in this application, and each segment is equipped with a control unit and an operating unit. In addition to that, operating panels can be connected to the system, in a variable number according to process needs and at the necessary point in the production line.

The data exchange among the different control units is implemented over EAP. Every station exchanges status and control information in each direction, both with the preceding and with the following unit: 600 bytes in each direction with a cycle time of 10 ms. Moreover, each local control unit exchanges 1000 bytes of data in each direction with the central unit, at the same cycle time.

Vertical communication to the HMI and MES systems is done via OPC UA in parallel to the cyclic EAP communication. Both technologies complement one another perfectly: EtherCAT as the real-time-capable Ethernet fieldbus for machine and plant controls, leveraging the EtherCAT Automation Protocol for lean data exchange between masters, and OPC UA as a platform for scalable communication with integrated Security by Design, enabling encrypted data transfer up to MES/ERP systems and into the cloud.

Conclusion

Recent technical developments in automation point to a steadily increasing vertical integration of the communication standards at the fieldbus and plant levels with IT technology. The establishment of concepts like Industrie 4.0 or Internet of Things (IoT) confirms this trend. In this scenario, the EtherCAT Automation Protocol represents an important intermediate layer between the fieldbus and web-based technologies. It enables cyclic communication between controllers, with excellent real-time capabilities and extensive diagnostic capabilities using standard Ethernet networks as the hardware infrastructure. It also allows the trans­mission of other IP-based protocols in parallel, as well as supporting acyclic communication mechanisms. These can be seamlessly routed into the well-known EtherCAT fieldbus networks for efficient configuration and rich diagnostic functionality.

For more information contact EtherCAT Technology Group, +49 911 540 56 226, press@ethercat.org, www.ethercat.org





Share this article:
Share via emailShare via LinkedInPrint this page

Further reading:

EtherCAT interoperability removes industrial networking barriers
Fieldbus & Industrial Networking
Selecting the right communication technology is one of the most important decisions engineers make, and interoperability helps with that decision. Key development tools and standards ensure interoperability among many EtherCAT devices and manufacturers.

Read more...
Condition monitoring to go
Turck Banner Southern Africa Fieldbus & Industrial Networking
Anyone who wants to efficiently monitor the climate in control cabinets will find a comprehensive range of control cabinet monitors for the DIN rail in Turck Banner’s cabinet condition monitoring family.

Read more...
A new standard in high-speed Ethernet communication
Fieldbus & Industrial Networking
The TXMC897 module from TEWS Technologies supports a range of Ethernet standards and speeds, making it suitable for diverse applications, including the defence, industrial, and IIoT markets.

Read more...
Data-driven battery production
Turck Banner Southern Africa Fieldbus & Industrial Networking
The availability of high-performance batteries at moderate prices is one of the most important factors for the success of electromobility. As a long-standing automation partner to the automotive industry, Turck Banner supports the major battery manufacturers with its know-how.

Read more...
Bring critical temperature data to your condition monitoring system
Turck Banner Southern Africa Fieldbus & Industrial Networking
Data conversion just got easier. Turck Banner converters are compact, simple add-ons that seamlessly fit into your factory applications. You can take various types of signals such as discrete, analogue and many others, and convert them to protocols like IO-link, PICK-IQ, PWM/PFM, and Modbus.

Read more...
Case History 190: Measurement problem ruins level control.
Michael Brown Control Engineering Editor's Choice Fieldbus & Industrial Networking
The widely held belief in many plants that tuning will solve all base layer control problems is completely fallacious. Bad tuning is generally not the main reason for loops to perform badly. It is important when performing optimisation that all elements in a loop are considered, in addition to the control strategy, before even thinking of tuning.

Read more...
Precise part machining
Beckhoff Automation Editor's Choice Fieldbus & Industrial Networking
toolcraft manufactures on behalf of its customers using its 60 CNC machines, and designs, plans and builds turnkey production systems for companies in various industries, having added injection moulding, mould making and additive manufacturing technologies along the way. Robotics is the company’s newest technology division. This is why toolcraft relies on PC-based control, including in the production cells, which have seven-axis milling robots for machining components at CNC level.

Read more...
Fully digital vertical roller mills
Loesche South Africa Fieldbus & Industrial Networking
Vertical roller mills are found in mining and cement milling operations worldwide. They require complex technology for their operation. As a leader in this field, LOESCHE has proven software solutions for digitalisation that can optimise each piece of milling equipment for energy efficiency, and increase its availability and output, making the plant easy to operate.

Read more...
CNC cycle package for triple-axis milling and drilling
Beckhoff Automation Fieldbus & Industrial Networking
Beckhoff provides a comprehensive package of different cycles for triple-axis milling and drilling machines with the TwinCAT 3 CNC milling base.

Read more...
Precise machining of small parts
Beckhoff Automation Fieldbus & Industrial Networking
Producing large parts with precision is not easy. But how do you produce the smallest components, such as gears and screws for the watch industry or contact pins for connectors, with micron-level accuracy and in large quantities? Swiss companies Esco and Affolter achieve this feat in their CNC machines with TwinCAT CNC and servo drive technology from Beckhoff.

Read more...