WELCOME!!!!!
11.05.2011
The Ethernet Fieldbus Joey Stubbs, PE, PMP
North American Representative EtherCAT Technology Group
11.05.2011
Ethernet Overview: CSMA/CD, TCP/IP & others
Architecture Physical Layer: Signal, Cables + Wiring Media Access Control Name Resolution Routing IP, TCP + UDP
This diagram was hand drawn by Robert M. Metcalfe and photographed by Dave R. Boggs in 1976 to produce a 35mm slide used to present Ethernet to the National Computer Conference in June of that year. .
11.05.2011
ETG EtherCAT Training Class
Ethernet Definition (Wikipedia)
Ethernet is a frame-based computer networking technology for local area networks (LANs). It defines wiring and signaling for the physical layer, and frame formats and protocols for the media access control (MAC)/data link layer of the OSI model. Ethernet is mostly standardized as IEEE's 802.3.
It has become the most widespread LAN technology in use during the 1990s to the present, and has largely replaced all other LAN standards such as token ring, FDDI, and ARCNET.
11.05.2011 ETG EtherCAT Training Class
ISO/OSI, IEEE 802 and TCP/IP
ISO/OSI - Model
7 Application Layer
contains a variety of commonly used protocols, such as file transfer, virtual terminal, and email
TCP/IP - Model
5 Application Layer: HTTP, FTP, rlogin, Telnet, DHCP,...
6 Presentation Layer
manages the syntax and semantics of the information transmitted between two computers
5 Session Layer
establishes and manages sessions, conversions, or dialogues between two computers
4 Transport Layer
splits data from the session layer into smaller packets for delivery on the network layer and ensures that the packets arrive correctly at the other end
Transport Layer: TCP + UDP
Handles communication among programs on a network.
3 Network Layer
controls the operation of a packet transmitted from one network to another, such as how to route a packet.
3 1/2
Network Layer: IP (Internet Protocol),
This layer is used for basic communication, addressing and routing.
2 Data Link Layer
transforms a stream of raw bits (0s and 1s) from the physical layer into an error-free data frame (packets) for the network layer
Medium Access Control (MAC)
IEEE 802.3: CSMA/CD (Ethernet), 802.4 Token Bus (ARCnet), 802.5 Token Ring Cables, cards and physical aspects: ISO/IEC 11801, parts also in IEEE 802.3
1 Physical Layer
transmits signals across a communication medium
11.05.2011
ETG EtherCAT Training Class
Ethernet Transmission Media (IEEE 802.3ak)
10BASE2 10BROAD36 10BASE-T 10BASE-THD 10BASE-TFD 10BASE-FP 10BASE-FB 10BASE-FL 10BASE-FLHD 10BASE-FLFD 100BASE-T4 100BASE-TX 100BASE-TXHD 100BASE-TXFD 100BASE-FX 100BASE-FXHD 100BASE-FXFD 100BASE-T2 100BASE-T2HD 100BASE-T2FD 1000BASE-X 1000BASE-XHD 1000BASE-XFD 1000BASE-LX 1000BASE-LXHD 1000BASE-LXFD 1000BASE-SX 1000BASE-SXHD 1000BASE-SXFD 1000BASE-CX 1000BASE-CXHD 1000BASE-CXFD Thin coax 1000BASE-T Broadband DTE 1000BASE-THD UTP, duplex mode unknown 1000BASE-TFD UTP, half duplex mode 10GBASE-X UTP, full duplex mode 10GBASE-LX4 Passive fiber 10GBASE-CX4 Synchronous fiber 10GBASE-R Asynchronous fiber, duplex mode unknown 10GBASE-ER Asynchronous fiber, half duplex mode 10GBASE-LR Asynchronous fiber, full duplex mode 10GBASE-SR Four-pair Category 3 UTP 10GBASE-W Two-pair Category 5 UTP, duplex mode unknown 10GBASE-EW Two-pair Category 5 UTP, half duplex mode 10GBASE-LW Two-pair Category 5 UTP, full duplex mode 10GBASE-SW X fiber over PMD, duplex mode unknown X fiber over PMD, half duplex mode X fiber over PMD, full duplex mode Two-pair Category 3 UTP, duplex mode unknown Two-pair Category 3 UTP, half duplex mode Two-pair Category 3 UTP, full duplex mode X PCS/PMA over undefined PMD, duplex mode unknown X PCS/PMA over undefined PMD, half duplex mode X PCS/PMA over undefined PMD, full duplex mode X fiber over long-wavelength laser PMD, duplex mode unknown X fiber over long-wavelength laser PMD, half duplex mode X fiber over long-wavelength laser PMD, full duplex mode X fiber over short-wavelength laser PMD, duplex mode unknown X fiber over short-wavelength laser PMD, half duplex mode X fiber over short-wavelength laser PMD, full duplex mode X copper over 150-Ohm balanced cable PMD, duplex mode unknown X copper over 150-Ohm balanced cable PMD, half duplex mode X copper over 150-Ohm balanced cable PMD, full duplex mode Four-pair Category 5 UTP PHY, duplex mode unknown Four-pair Category 5 UTP PHY, half duplexmode Four-pair Category 5 UTP PHY, full duplex mode X PCS/PMA over undefined PMD X fibre over 4 lane 1310nm optics X copper over 8 pair 100-Ohm balanced cable R PCS/PMA over undefined PMD R fibre over 1550nm optics R fibre over 1310nm optics R fibre over 850nm optics W PCS/PMA over undefined PMD W fibre over 1550nm optics W fibre over 1310nm optics W fibre over 850nm optics
Large variety of physical layers
11.05.2011
ETG EtherCAT Training Class
IEEE 802.3: Media Access Control CSMA/CD
"Carrier-Sense Multiple-Access with Collision-Detection
The node that wants to send checks if the media is available
Carrier-Sense
All nodes are equal and may send autonomously "Multiple-Access The sender checks after sending if there was a collision
"Collision-Detection
maximum Ethernet propagation delay: 25,6s (10MBit/s)
(determined by cable length & repeater delays)
Start Transmission Carrier Sense undisturbed Transmission
Collision Window
11.05.2011 ETG EtherCAT Training Class
Media Access Control CSMA/CD
Carrier
Node A Signal Propagation Delay Node A A starts sending Node A
Node B
Sense
Multiple Access / Collision
Node B
Node B B starts sending
Detection
Node A Collision Node B
11.05.2011
ETG EtherCAT Training Class
Ethernet Collision Domain
Hub
Hub
Hubs
half duplex Hub Cascading & Length limited
Some vendors are not compliant with these rules
11.05.2011
A
ETG EtherCAT Training Class
Collision Recovery
Jamming Signal consists of 4-6 Byte 0xFF and is sent after detecting a collision Delay time before repetition: First Collision 9,6us + x * 51,2us [x=0 ,1] 50% Second Collision 9,6us + x * 51,2us [x=0 ,1, 2, 3] 75% ...Sixth Collision 9,6us + x * 51,2us [x=0 ,1, 2,...1023] 99,9%
Arbitrary Delay Time Transmission Start Collision Detection Carrier Sense Repetition
Jamming-Signal Collision Window
11.05.2011
ETG EtherCAT Training Class
Switched Ethernet Topology
Switch
Switches full duplex
B
Switch
full duplex communication
Switch sends single cast communication only to the destination port
Queues avoid collisions
A
ETG EtherCAT Training Class
11.05.2011
Ethernet Packet
7 1 6 6 2 46-1500 0-46 Pad 4 FCS Byte
Preamble SFD DA
SA LEN DATA
Length
Data Payload
Sender Address Destination Address Start Frame Delimiter 10101011 Preamble 1010101010..... used for Bit Synchronisation
Frame Check Sequence (CRC)
Padding Field
The Length Byte has two meanings: if it is >0x5DC then it describes the type of the payload (Ethertype. e.g. IP 0x0800 or ARP 0x0806 or EtherCAT 0x88A4) If the data length is <46 Byte, Padding Bytes are introduced to achieve a minimum length of 46 Bytes (for collision detection)
11.05.2011
ETG EtherCAT Training Class
Ethernet MAC-ID
Medium Access Control Address MAC-ID has to be unique Two Fields of 3 Bytes: 1. OUI (Organizationally Unique Identifier) 2. Serial Number The OUI is assigned by the IEEE Standards Department (USA) e.g. Beckhoff OUI : - 00 01 05 http://standards.ieee.org/ regauth/oui/index.shtml
11.05.2011
ETG EtherCAT Training Class
Ethernet -TCP/IP Stack
Structure allows one to exchange protocol layers
8 Bytes 20 Bytes UDP-Hdr. (IP-Port) UDP-Data TCP-Data
TCP-Header (IP-Port) 20 Bytes IP-Header (IP-Address) 22 Bytes
08-00 PROT
IP-Data
Ethernet-Header (MAC-ID)
46...1500 Bytes Ethernet-Data
CRC
11.05.2011
ETG EtherCAT Training Class
Transport Layer Protocols
These protocols are assigned an IP Protocol number .
AH, IP Authentication Header. AX.25. CBT, Core Based Trees. DVMRP, Distance Vector Multicast Routing Protocol. EGP, Exterior Gateway Protocol. ESP, Encapsulating Security Payload. GGP, Gateway to Gateway Protocol. GRE, Generic Routing Encapsulation. HMP, Host Monitoring Protocol. ICMP, Internet Control Message Protocol. ICMPv6, Internet Control Message Protocol for IPv6. IDPR, Inter-Domain Policy Routing Protocol. IFMP, Ipsilon Flow Management Protocol. IGAP, IGMP for user Authentication Protocol. IGMP, Internet Group Management Protocol. IGRP, Interior Gateway Routing Protocol. IP in IP Encapsulation. IPPCP, IP Payload Compression Protocol. IRTP, Internet Reliable Transaction Protocol. ISO-IP. L2TP, Level 2 Tunneling Protocol. Minimal Encapsulation Protocol. MLD, Multicast Listener Discovery. Mobility Header MOSPF, Multicast Open Shortest Path First. MTP, Multicast Transport Protocol. NARP, NBMA Address Resolution Protocol. NETBLT, Network Block Transfer. NVP, Network Voice Protocol. OSPF, Open Shortest Path First Routing Protocol. PGM, Pragmatic General Multicast. PIM, Protocol Independent Multicast. PTP, Performance Transparency Protocol. RDP, Reliable Data Protocol. RSVP, Resource ReSerVation Protocol. SCTP, Stream Control Transmission Protocol. SEND, SEcure Neighbor Discovery. SDRP, Source Demand Routing Protocol. SKIP, Simple Key management for Internet Protocol. ST, Internet Stream Protocol. TCP, Transmission Control Protocol. TMux, Transport Multiplexing Protocol. TP/IX. UDP, User Datagram Protocol. UDP-Lite, Lightweight User Datagram Protocol. VMTP, Versatile Message Transaction Protocol. VRRP, Virtual Router Redundancy Protocol.
11.05.2011
ETG EtherCAT Training Class
Application Layer Protocols (I)
These protocols are assigned one or more SCTP, TCP or UDP port numbers.
ACAP, Application Configuration Access Protocol. AgentX. AODV, Ad hoc On-Demand Distance Vector. APEX, Application Exchange Core. ATMP, Ascend Tunnel Management Protocol. AURP, AppleTalk Update-based Routing Protocol. Authentication Server Protocol. BFTP, Background File Transfer Program. BGP, Border Gateway Protocol. BOOTP, Bootstrap Protocol. CFDP, Coherent File Distribution Protocol. Chargen, Character Generator Protocol. CLDAP, Connection-less Lightweight X.500 Directory Access Protocol. COPS, Common Open Policy Service. CRANE, Common Reliable Accounting for Network Element. Daytime, Daytime Protocol. DCAP, Data Link Switching Client Access Protocol. DHCP, Dynamic Host Configuration Protocol. DHCPv6, Dynamic Host Configuration Protocol for IPv6. DIAMETER. DICT, Dictionary Server Protocol. Discard, Discard Protocol. DIXIE. DMSP, Distributed Mail Service Protocol. DNS, Domain Name System. DRAP, Data Link Switching Remote Access Protocol. DTCP, Dynamic Tunnel Configuration Protocol. Echo. EMSD, Efficient Mail Submission and Delivery. EPP, Extensible Provisioning Protocol. ESRO, Efficient Short Remote Operations. ETFTP, Enhanced Trivial File Transfer Protocol. Finger. FTP, File Transfer Protocol. GDOI, Group Domain of Interpretation. Gopher. HOSTNAME. HSRP, Hot Standby Router Protocol. HTTP, HyperText Transfer Protocol. ICAP, Internet Content Adaptation Protocol. ICP, Internet Cache Protocol. iFCP, Internet Fibre Channel Protocol. IKE, Internet Key Exchange. IMAP, Interactive Mail Access Protocol.
11.05.2011
ETG EtherCAT Training Class
Application Layer Protocols (II)
IPFIX, IP Flow Information Export. IPP, Internet Printing Protocol. IRC, Internet Relay Chat. ISAKMP, Internet Security Association and Key Management Protocol. iSCSI. IUA, ISDN Q.921-User Adaptation. Kerberos. Kermit. L2F, Layer 2 Forwarding. L2TP, Level 2 Tunneling Protocol. LDAP, Lightweight Directory Access Protocol. LDP, Label Distribution Protocol. LDP, Loader Debugger Protocol. LFAP, Light-weight Flow Admission Protocol. LMTP, Local Mail Transfer Protocol. LPR. MADCAP, Multicast Address Dynamic Client Allocation Protocol. MASC, Multicast Address-Set Claim. MATIP, Mapping of Airline Traffic over Internet Protocol. Mbus, Message Bus. MGCP, Multimedia Gateway Control Protocol.
Mobile IP. MPP, Message Posting Protocol. MSDP, Multicast Source Discovery Protocol. MTP, Mail Transfer Protocol. MTQP, Message Tracking Query Protocol. MUPDATE, Malbox Update. NAS, Netnews Administration System. NFILE. NFS, Network File System. NNTP, Network News Transfer Protocol. NTP, Network Time Protocol. ODETTE-FTP, ODETTE File Transfer Protocol. OLSR, Optimized Link State Routing. Ph. Photuris. POP, Post Office Protocol. Portmapper. PPTP, Point to Point Tunneling Protocol. PWDGEN, Password Generator Protocol. Quote, Quote of the Day Protocol. RADIUS, Remote Authentication Dial-In User Service. RAP, Internet Route Access Protocol. RIP, Routing Information Protocol.
11.05.2011
ETG EtherCAT Training Class
Application Layer Protocols (III)
RIPng. Rlogin. RLP, Resource Location Protocol. RMCP, Remote Mail Checking Protocol. RSIP, Realm Specific IP. RTCP, RTP Control Protocol. RTP, Real-Time Transport Protocol. RTSP, Real Time Streaming Protocol. RWhois, Referral Whois Protocol. SACRED, Securely Available Credentials. Send, Message Send Protocol. SFTP, Simple File Transfer Protocol. SGMP, Simple Gateway Monitoring Protocol. SIFT/UFT, Sender-Initiated/Unsolicited File Transfer. SIP, Session Initiation Protocol. SLP, Service Location Protocol. SMTP, Simple Mail Transfer Protocol. SMUX. SNMP, Simple Network Management Protocol. SNPP, Simple Network Paging Protocol. SNTP, Simple Network Time Protocol. SOCKS. SRTCP, Secure RTCP. SRTP, Secure Real-time Transport Protocol.
SSP, Switch-to-Switch Protocol. STATSRV, Statistics Server. STUN, Simple Traversal of UDP Through NAT. SUA, Signalling Connection Control Part User Adaptation Layer. Syslog. SYSTAT. TACACS. TBRPF, Topology Broadcast based on Reverse-Path Forwarding. Telnet. TFTP, Trivial File Transfer Protocol. Time, Time Protocol. TRIP, Telephone Routing over IP. TSP, Time Stamp Protocol. TUNNEL. UMSP, Unified Memory Space Protocol. UUCP. VEMMI, VErsatile MultiMedia Interface. WebDAV, Web Distributed Authoring and Versioning. Whois. Whois++. Z39.50.
11.05.2011
ETG EtherCAT Training Class
Ethernet Introduction: Summary
Ethernet is the technology described in the IEEE 802.3 standards The term Ethernet is mistakingly used for a suite of network technologies: Ethernet, IP, TCP, UDP, FTP, HTTP and more, which are also referred to as the Internet Technologies Stacking of protocol layers and thus tunneling of protocols is a key feature of the Internet Technologies. Ethernet is used on a large variety of physical layers. Switching topologies have replaced collision domains CSMA/CD is legacy technology, hubs are outdated. TCP/IP is a powerful protocol implemented in rather complex software stacks.
ETG EtherCAT Training Class
11.05.2011
Okay, Lets talk about EtherCAT
EtherCAT is: - Faster - Synchronization - Industrial Ethernet - Flexible - Easier to configure
- Cost effective
- Easier to implement - Well proven - Open - Conformance - Safety - Redundancy - Versatile
11/05/2011
EtherCAT: Ethernet Control Automation Technology
EtherCAT is faster
EtherCAT is: - Faster - Synchronization - Industrial Ethernet - Flexible - Easier to configure
22 Bytes
Bandwidth Usage of Ethernet for I/O and Drives:
Ethernet Frame: 84 Bytes incl. Preamble + IPG (interpacket gap)
Data pay load: e.g. 2 Bit..6 Byte
4 Bytes 12 Bytes
- Cost effective
- Easier to implement - Well proven - Open - Conformance - Safety - Redundancy - Versatile Master
Ethernet Header
Data: 46 Bytes
CRC
IPG
Request with output data I/O Response with input data
Ethernet Header Data: 46 Bytes CRC IPG
Node reaction time
with 4 Byte input + 4 Byte output per node:
4.75% application data ratio at 0 s reaction time/node 1.9% application data ratio at 10 s reaction time/node
EtherCAT Technology Group, 2009
27
Polling: Functional Principle (Modbus TCP example)
EtherCAT is: - Faster - Synchronization - Industrial Ethernet - Flexible - Easier to configure
- Cost effective
- Easier to implement - Well proven - Open - Conformance - Safety - Redundancy - Versatile
Polling Each Request/Response Cycle passes TCP/IP Stack 4 Times plus Switch Delays Depending on Master, Poll Request can be issued before the corresponding response has returned.
5
Slave
Master Slave
Modbus
1
TCP IP
Modbus
4 2
TCP IP
2
Slave
Slave
Slave
March 30, 2006
Industrial Ethernet Technologies
Frame Processing within each node
EtherCAT is: - Faster - Synchronization - Industrial Ethernet - Flexible - Easier to configure
.. .. DVI
Master
IPC
EtherCAT Segment (Slaves)
- Cost effective
- Easier to implement - Well proven - Open - Conformance - Safety - Redundancy - Versatile
Node n
DPRAM
Node n+1
DPRAM
Ethernet Frame
EtherCAT Slave Controller EtherCAT Slave Controller
10.07.2008
EtherCAT Communication
30
Functional Principle: Ethernet on the fly
EtherCAT is: - Faster - Synchronization - Industrial Ethernet - Flexible - Easier to configure EtherCAT Slave Controller EtherCAT Slave Controller
Slave Device
Slave Device
- Cost effective
- Easier to implement - Well proven - Open - Conformance - Safety - Redundancy - Versatile
Process data is extracted and inserted on the fly:
Process data size per slave almost unlimited (1 Bit60 Kbyte, if needed using several frames) Compilation of process data can change in each cycle, e.g. ultra short cycle time for axis, and longer cycles for I/O update possible in addition asynchronous, event triggered communication
EtherCAT Technology Group, 2009
31
Frame Processing Order on the System
EtherCAT is: - Faster - Synchronization - Industrial Ethernet - Flexible - Easier to configure
EtherCAT Segment
Master
- Cost effective
- Easier to implement - Well proven - Open - Conformance - Safety - Redundancy - Versatile
cable
Way EtherCAT Frame travels
10.07.2008
EtherCAT Communication
32
Functional Principle: Ethernet on the fly
EtherCAT is: - Faster - Synchronization - Industrial Ethernet - Flexible - Easier to configure
Master
- Cost effective
HDR 1 HDR 2
Ethernet Header
- Well proven - Open - Conformance - Safety - Redundancy - Versatile
ECAT HDR
PLC Data
NC Data
HDR 2
- Easier to implement
Data n
Ethernet
Minimal protocol overhead via implicit addressing
Optimized telegram structure for decentralized I/O Communication completely in hardware: maximum (+ predictable!) performance No switches needed if only EtherCAT devices in the network Outstanding diagnostic features Ethernet-compatibility maintained
EtherCAT Technology Group, 2009 33
EtherCAT - The Ethernet Fieldbus.
EtherCAT is: - Faster - Synchronization - Industrial Ethernet - Flexible - Easier to configure
EtherCAT is real time down to the I/O level No underlying sub-systems any more No delays in gateways In- and outputs, sensors, actuators, drives, displays: everything in one system!
- Cost effective
- Easier to implement - Well proven - Open - Conformance - Safety - Redundancy - Versatile
EtherCAT Technology Group, 2009
34
EtherCAT is faster
EtherCAT is: - Faster - Synchronization - Industrial Ethernet - Flexible - Easier to configure
Transmission Rate:
2 x 100 Mbit/s (Fast Ethernet, Full-Duplex)
Update Times:
256 digital I/O in 11 s 1000 digital I/O distributed to 100 nodes in 30 s = 0.03 ms 200 analog I/O (16 bit) in 50 s, 20 kHz Sampling Rate 100 Servo-Axis (each 8 Byte In + Out) in 100 s = 0.1 ms 12000 digital I/O in 350 s
- Cost effective
- Easier to implement - Well proven - Open - Conformance - Safety - Redundancy - Versatile
EtherCAT Technology Group, 2009
35
EtherCAT is faster
EtherCAT is: - Faster - Synchronization - Industrial Ethernet - Flexible - Easier to configure
Bandwidth Usage Comparison:
At 4 Byte user data per node:
Polling / Timeslicing: ~ 2..5 %
From 2 Bit user data per node:
EtherCAT: ~ 80..97 % (Full Duplex, 2 x 100 MBit/s)
- Cost effective
- Easier to implement - Well proven - Open - Conformance - Safety - Redundancy - Versatile
100 90 80 70 60 50 40 30 20 10 0
Polling / Timeslicing
EtherCAT
EtherCAT Technology Group, 2009
36
Performance: Application Example
EtherCAT is: - Faster - Synchronization - Industrial Ethernet - Flexible - Easier to configure
40 Axis (each 20 Byte Input- and Output-Data) 50 I/O Station with a total of 560 EtherCAT Bus Terminals 2000 Digital + 200 Analog I/O, Bus Length 500 m Performance EtherCAT: Cycle Time = 276 s at 44 % Bus Load, Telegram Length = 122 s
- Cost effective
- Easier to implement - Well proven - Open - Conformance - Safety - Redundancy - Versatile
in spite of this cycle time still 56% bandwidth remaining, e.g. for TCP/IP
EtherCAT Technology Group, 2009
37
EtherCAT Distributed Clocks
EtherCAT is: - Faster - Synchronization - Industrial Ethernet - Flexible - Easier to configure IPC Master
EtherCAT Node measures time difference between leaving and returning frame
- Cost effective
- Easier to implement - Well proven - Open - Conformance - Safety - Redundancy - Versatile
EtherCAT Technology Group, 2009
38
Distributed Clocks
EtherCAT is: - Faster - Synchronization - Industrial Ethernet - Flexible - Easier to configure IPC Master
Precise Synchronization (<< 1 s!) by exact adjustment of Distributed Clocks
M
t
- Cost effective
- Easier to implement - Well proven - Open - Conformance - Safety - Redundancy - Versatile
EtherCAT Technology Group, 2009
39
Distributed Clocks
EtherCAT is: - Faster - Synchronization - Industrial Ethernet - Flexible - Easier to configure
Long Term Scope View of two separated devices 300 Nodes in between, 120m Cable Length
- Cost effective
- Easier to implement - Well proven - Open - Conformance - Safety - Redundancy - Versatile
Interrupt Node 1
Simultaneousness: ~15 ns Jitter: ~ +/-20ns
Interrupt Node 300
EtherCAT Technology Group, 2009
40
EtherCAT is Industrial Ethernet!
EtherCAT is: - Faster - Synchronization - Industrial Ethernet - Flexible - Easier to configure
MTU: max. 1514 Byte
EtherCAT uses Standard Ethernet Frames: IEEE 802.3 Alternatively via UDP/IP (if IP Routing is needed) no shortened frames
- Cost effective
- Easier to implement - Well proven - Open - Conformance - Safety - Redundancy - Versatile
Or: via UDP/IP UDP Port 0x88A4 11 Bit Length 1 Bit Res. 4 Bit Type Ethernet H. 48 Bit Destination 48 Bit Source 16 Bit EtherType 16 Bit Header 48 -1498 Byte EtherCAT Datagrams 32 Bit CRC
Embedded in Standard Ethernet Frame, EtherType 0x88A4
1n EtherCAT Datagrams 64 Bit UDP H. 16 Bit Header 48 -1470 Byte EtherCAT Datagrams CRC
160 Bit IP Header
EtherCAT Technology Group, 2009
42
EtherCAT is Industrial Ethernet!
EtherCAT is: - Faster - Synchronization - Industrial Ethernet - Flexible - Easier to configure
fully transparent for TCP/IP all Internet technologies (HTTP, FTP, Webserver,) available without restricting the real time capabilities! EtherCAT Slave Device
Standard TCP/IP Stack
Ethernet Application TCP UDP Real Time Application
- Cost effective
- Easier to implement - Well proven - Open - Conformance - Safety - Redundancy - Versatile
IP
Mailbox
Acyclic Data Process Data
EtherCAT MAC / DLL Ethernet PHY Ethernet PHY
EtherCAT Technology Group, 2009
43
Switchport: Any Ethernet Protocol
EtherCAT is: - Faster - Synchronization - Industrial Ethernet - Flexible - Easier to configure
Interface to any Ethernet Device or Network Ethernet Frames are inserted into EtherCAT Protocol:
Ethernet over EtherCAT
EtherCAT Switchport
Ethernet MAC PHY
- Cost effective
- Easier to implement - Well proven - Open - Conformance - Safety - Redundancy - Versatile Mailbox Process Data
RX1 TX RX2 RX RX3 RX4
Fragmentation
PHY
TX2 TX3 TX1
EtherCAT MAC / DLL
TX1 TX3 TX2
PHY
EtherCAT Technology Group, 2009
44
EtherCAT wiring is more flexible
EtherCAT is: - Faster - Synchronization - Industrial Ethernet - Flexible - Easier to configure
Standard Ethernet Topology: Star
- Cost effective
- Easier to implement - Well proven - Open - Conformance - Safety - Redundancy - Versatile
EtherCAT Technology Group, 2009
46
EtherCAT wiring is more flexible
EtherCAT is: - Faster - Synchronization - Industrial Ethernet - Flexible - Easier to configure
Flexible tree structures arbitrarily extendable
Topology variants like Line, Star, Tree, Daisy Chain + Drop Lines possible; can be used in any combination! Up to 65,535 nodes for each EtherCAT segment Standard Ethernet cabling
Line
- Cost effective
- Easier to implement - Well proven - Open - Conformance - Safety - Redundancy - Versatile Master
Drop Line Star/Tree
EtherCAT Technology Group, 2009
47
EtherCAT wiring is more flexible
EtherCAT is: - Faster - Synchronization - Industrial Ethernet - Flexible - Easier to configure
Ethernet Signal Variants of EtherCAT:
100BASE-TX (up to 100 m between 2 nodes) 100BASE-FX (up to 2 km between 2 nodes) LVDS (for modular devices)
LVDS*
100 m
- Cost effective
- Easier to implement - Well proven - Open - Conformance - Safety - Redundancy - Versatile
2 km
Master
Ethernet on 100BASE-TX up to 100 m with transformer coupling
Ethernet on 100BASE-FX (fibre optics) up to 2 km Ethernet on LVDS* physical layer: for modular devices
Any number of physical layer changes allowed
EtherCAT Technology Group, 2009
*LVDS: Low Voltage Differential Signaling according to ANSI/TIA/EIA-644, also used in IEEE 802.3ae (10Gigabit Ethernet)
48
EtherCAT Extra Large System Test
EtherCAT is: - Faster - Synchronization - Industrial Ethernet - Flexible - Easier to configure
- Cost effective
- Easier to implement - Well proven - Open - Conformance - Safety - Redundancy - Versatile
10,056 EtherCAT Nodes
EtherCAT Technology Group, 2009
49
EtherCAT instead of PCI
EtherCAT is: - Faster - Synchronization - Industrial Ethernet - Flexible - Easier to configure
Protection of your investment smooth migration path from legacy fieldbus to EtherCAT seamless integration of existing fieldbus devices, e.g.:
AS-Interface CANopen CC-Link ControlNet DeviceNet Ethernet/IP FIPIO Interbus IO-Link Lightbus LonWorks Modbus Plus, RTU, TCP PROFIBUS PROFINET IO
- Cost effective
- Easier to implement - Well proven - Open - Conformance - Safety - Redundancy - Versatile
maximum system expandability with low cost fieldbus gateways
50
EtherCAT Technology Group, 2009
EtherCAT is easier to configure
EtherCAT is: - Faster - Synchronization - Industrial Ethernet - Flexible - Easier to configure
Topology:
Automatic topology target/actual comparison
Diagnosis:
Diagnosis with exact localization
- Cost effective
- Easier to implement - Well proven - Open - Conformance - Safety - Redundancy - Versatile
Network planning:
Performance independent of:
Slave implementation Topology (no Switches/Hubs)
Addressing
No manual address setting required Addresses can be assigned automatically Addresses can be kept
no new addressing if nodes are added
EtherCAT Technology Group, 2009
51
EtherCAT is lower costs (1): Engineering
EtherCAT is: - Faster - Synchronization - Industrial Ethernet - Flexible - Easier to configure
Implementation / Tools:
Standard Network Monitor Tools, e.g. MS Network Monitor or Wireshark: free of charge Parser Software: free of charge
- Cost effective
- Easier to implement - Well proven - Open - Conformance - Safety - Redundancy - Versatile
Less effort for Network planning:
Simplified configuration Default settings will work, no network tuning
Improved Diagnosis:
Faster error handling leads to less downtime
Faster Setup:
No address setting required
EtherCAT Technology Group, 2009
52
EtherCAT is lower costs (2): Hardware
EtherCAT is: - Faster - Synchronization - Industrial Ethernet - Flexible - Easier to configure
Master:
no special plug in card (co-processor) on-board Ethernet Port is fine
- Cost effective
- Easier to implement - Well proven - Open - Conformance - Safety - Redundancy - Versatile
Slave:
low cost Slave Controller
FPGA or ASIC
32 Bit C
for simple devices: no C needed no powerful C needed
Infrastructure:
no Switches/Hubs required Standard Ethernet Cabling + Connectors
EtherCAT Technology Group, 2009
53
EtherCAT is easier to implement: Slave
EtherCAT is: - Faster - Synchronization - Industrial Ethernet - Flexible - Easier to configure
Slave Implementation:
All time critical functions implemented on ASIC or FPGA
ESC handles Real-time Protocol in Hardware
Integrated Communication State Machine Network Performance independent of
Slave-C Performance Protocol Stack
- Cost effective
- Easier to implement - Well proven - Open - Conformance - Safety - Redundancy - Versatile
For usage with or without C (Host CPU)
Integrated DPRAM (18kByte) Integrated Distributed Clock Handling Ultra precise interrupts to C
EtherCAT Technology Group, 2009
54
EtherCAT is an open technology
EtherCAT is: - Faster - Synchronization - Industrial Ethernet - Flexible - Easier to configure
Protocol is disclosed completely:
EtherCAT is IEC, ISO and SEMI Standard (IEC 61158, IEC 61784, ISO 15745, SEMI E54.20)
- Cost effective
- Easier to implement - Well proven - Open - Conformance - Safety - Redundancy - Versatile
Slave Controller from several sources available Slave Controller provides interoperability ETG organizes Interoperabilitly Testing (Plug Fests), Workshops and Seminars Conformance Testing + Certificates
EtherCAT Technology Group, 2009
63
Conformance and Interoperability
EtherCAT is: - Faster - Synchronization - Industrial Ethernet - Flexible - Easier to configure
Conformance and interoperability are very important factors for the success of a communication technology
Conformity to the specification is an obligation to all users of the EtherCAT technology Therefore the EtherCAT Conformance Test Tool (CTT) is used Test Cases for the CTT are provided by the Working Group Conformance within the ETG community The EtherCAT Conformance Test proves conformance with issuing a certificate after passing the test at an official EtherCAT Test Center (ETC)
- Cost effective
- Easier to implement - Well proven - Open - Conformance - Safety - Redundancy - Versatile
EtherCAT Technology Group, 2009
72
Safety over EtherCAT: Features (1)
EtherCAT is: - Faster - Synchronization - Industrial Ethernet - Flexible - Easier to configure
- Cost effective
- Easier to implement - Well proven - Open - Conformance - Safety - Redundancy - Versatile
Safety over EtherCAT (FSoE) defines a safety communication layer for the transportation of safety process data between Safety over EtherCAT devices. FSoE is an open technology within the EtherCAT Technology Group (ETG). The protocol is developed according to IEC 61508
It meets the Safety Integrity Level (SIL) 3 Residual Error Probability R(p) < 10-9
The protocol is approved by an independent Notified Body (TV)
EtherCAT Technology Group, 2009
73
Safety over EtherCAT: Implementation Example
EtherCAT is: - Faster - Synchronization - Industrial Ethernet - Flexible - Easier to configure
Decentralized Safety-Logic Standard PLC routes the safety messages
Standard PLC
Safety Inputs
- Cost effective
- Easier to implement - Well proven - Open - Conformance - Safety - Redundancy - Versatile
S S S
Safety Outputs
Safety Drives
Safety Logic
EtherCAT Technology Group, 2009
74
EtherCAT: High availability
EtherCAT is: - Faster - Synchronization - Industrial Ethernet - Flexible - Easier to configure
Cabling redundancy
Master
2nd Ethernet port needed on master side only
Hot Swap of devices Hot Connect of network segments
Hot Connect Group
- Cost effective
- Easier to implement - Well proven - Open - Conformance - Safety - Redundancy - Versatile
EtherCAT Technology Group, 2009
75
Why do Companies choose EtherCAT?
EtherCAT is: - Faster - Synchronization - Industrial Ethernet - Flexible - Easier to configure
High Performance
EtherCAT is the fastest Industrial Ethernet technology
Flexible Topology
Benefit not only for widely distributed applications
Ease of Use
Easy configuration and maintenance
- Cost effective
- Easier to implement - Well proven - Open - Conformance - Safety - Redundancy - Versatile
Low Cost
Inexpensive implementation & infrastructure
Functional Safety
Safety communication integrated
Product Variety
Great variety of available EtherCAT products
EtherCAT Technology Group, 2009
76
EtherCAT - The Ethernet Fieldbus.
EtherCAT is: - Faster - Synchronization - Industrial Ethernet - Flexible - Easier to configure
Why go for something slower, just because it is more expensive?
- Cost effective
- Easier to implement - Well proven - Open - Conformance - Safety - Redundancy - Versatile
EtherCAT Technology Group, 2009
77
EtherCAT - The Ethernet Fieldbus.
EtherCAT is: - Faster - Synchronization - Industrial Ethernet - Flexible - Easier to configure
Please visit
www.ethercat.org
for more information
- Cost effective
- Easier to implement - Well proven - Open - Conformance - Safety - Redundancy - Versatile
EtherCAT Technology Group ETG Headquarters Ostendstr. 196 90482 Nuremberg, Germany Phone: +49 911 54056 20 [email protected]
EtherCAT Technology Group, 2009 78