23.03.2017 Views

wilamowski-b-m-irwin-j-d-industrial-communication-systems-2011

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

38<br />

EtherCAT<br />

Gianluca Cena<br />

Istituto di Elettronica e di<br />

Ingegneria dell’Informazione<br />

e delle Telecomunicazioni<br />

Adriano Valenzano<br />

Istituto di Elettronica e di<br />

Ingegneria dell’Informazione<br />

e delle Telecomunicazioni<br />

Claudio Zunino<br />

Istituto di Elettronica e di<br />

Ingegneria dell’Informazione<br />

e delle Telecomunicazioni<br />

38.1 Introduction.....................................................................................38-1<br />

38.2 Physical Layer...................................................................................38-1<br />

38.3 Communication Protocol..............................................................38-2<br />

Commands<br />

38.4 Addressing........................................................................................38-5<br />

Physical Addressing. •. Logical Addressing: FMMU<br />

38.5 SyncManager....................................................................................38-7<br />

38.6 Distributed Clock............................................................................38-8<br />

38.7 Application Layer............................................................................38-9<br />

Mailbox Services<br />

References..................................................................................................38-10<br />

38.1 Introduction<br />

Ethernet for control automation technology (EtherCAT) [ETG04,ETG05] is a high-performance<br />

Ethernet-based fieldbus system. Its main development goal was to apply Ethernet to automation applications,<br />

which require short-cycle times and low-<strong>communication</strong> jitters. EtherCAT is nowadays a popular<br />

solution for connecting control applications to field devices in <strong>industrial</strong> environments, including<br />

motion-control applications, and <strong>communication</strong> equipment and devices can be easily found off-theshelf<br />

[ESC20].<br />

The EtherCAT protocol is an open standard currently managed by the EtherCAT technology group<br />

(ETG). Its specification has been recently integrated into the international fieldbus standards IEC 61158<br />

[IE158] and IEC 61784 [IE784]. EtherCAT is based on a master/slave approach (where only one master<br />

is allowed in the network) and relies on a ring topology at the physical level. It can interoperate<br />

with both common TCP/IP-based networks and other Ethernet-based solutions, such as EtherNet/IP<br />

or PROFInet.<br />

38.2 Physical Layer<br />

The EtherCAT master processes data via standard hardware (full-duplex Ethernet network interface<br />

controllers) and dedicated software (e.g., Beckhoff TwinCAT), but it supports also open source solutions<br />

based on Linux-like operating <strong>systems</strong>. On the contrary, purposely designed hardware has to be used<br />

on slaves. The master node completely controls traffic over the network by initiating all transmissions.<br />

Every slave, when receiving a datagram, processes it (in hardware) and then forwards it to the next<br />

slave in the physical ring. Unlike Ethernet switches and bridges, frames are not managed according to<br />

38-1<br />

© <strong>2011</strong> by Taylor and Francis Group, LLC

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!