Industrial Technologies

Presented by Wilfred Voss [email protected] esd electronics, Inc. 525 Bernardston Road Greenfield, MA 01038 hp://www.esd-electronics-usa.com

Download this presentaon at hp://www.esd-electronics-usa.com/online-seminars.html About esd electronics, Inc.

• CAN Hardware Interfaces – PCI, cPCI, VME, PMC, PC104, ISA, and more • CAN Gateways – USB, EtherNet, Bluetooth, IEEE488, and more • CAN Converters – CANopen, DeviceNet, Profibus, and more • CAN Embedded Controllers • Drivers and APIs for various operang systems • Free CAN Analyzer soware – included with driver

hp://www.esd-electronics-usa.com esd Ethernet Products

Gateways:  CAN <> Ethernet  CAN <> /TCP EtherCAT Master Soware  CAN <> ProfiNet EtherCAT StarterKit in preparaon  CAN <> EtherCAT hp://www.esd-electronics-usa.com Systems - Advantage

 Reduced wiring  Increased system reliability  Improved service and maintenance  Reduced downme  Reduced operang costs  Cost savings  Improved performance due to mul-processor system architecture Central vs. Distributed Control - 1 Central vs. Distributed Control - 2 ISO 7 Layer Model Established Protocols

 Controller Area Network  CANopen  DeviceNet  SAE J1939  MilCAN

 Profibus  Ethernet – Non-Determinisc  Others Ethernet RT Protocols

 EtherCAT  Powerlink  Ethernet/IP  Modbus/TCP  ProfiNet  …and more… Advantages of CAN/CANopen

 Extremely Reliable  No Message Collision – Compare to RS232/485 or Ethernet  Very Low Resource Requirements  Cost Savings – Even Beer Than RS232/485  CAN Protocol is on Chip  Designed for Virtual Real-Time Apps - Compare to RS232/485 or Ethernet Advantages of CANopen

 DS401 – General I/O Modules  DSP402 – Drives and Moon Control  DS405 – IEC 61131-3 Programmable Devices  DS406 – Encoders  DS412 – Medical Devices  …and many more… Disadvantages of CANopen

 Level of Complexity (Learning Curve) Limited baud rate of 1 Mbit/sec  CANopen is a soware add-on to provide network funconality to CAN  CANopen reduces the CAN bandwidth to ~50%  CANopen performance depends heavily on use of SDOs & PDOs  Greatest disadvantage: Limited network length Literature

hp://www.copperhillmedia.com The Famous Quote

Houston, we have a soluon…

Uhm…We’re looking for the problem. The Ethernet Challenge

Fast! 100 MBit/sec

(up to 1000 mes faster than CANopen)  Increased system performance  Unlimited network length  Use of established HW components (RJ-45, switches, hubs, etc.)  Higher acceptance world-wide  Component prices are increasingly compeve  Ethernet TCP/IP is not determinisc  Wiring plus periphery (hubs, switches) can be expensive The Future of CAN

Greater lifeme expectancy than CANopen due to applicaons such as:

 Automobiles  Embedded Soluons  SAE J1939  Legacy applicaons

700 2007 600

500 2006 2005 2004 400 2003 300 2002 2001 200 2000 100 1999 1998 0 Embedded Soluons SAE J1939 MilCAN The Future of CANopen

The Future Is Dim!

Source CiA: Lifeme unl 2017 – It will be much sooner!

Legacy applicaons:  Moon Control << Ethernet  Industrial Machine Control << Ethernet  Medical Equipment and Devices << Ethernet  Niche Applicaons (lis, escalators, gambling machines, telescopes, bicycles, specialty vehicle systems, cost-sensive I/O control applicaons, etc.)  MilCAN MilCAN CAN in Automaon

hp://www.can-cia.com CiA: CAN, CANopen

 Facing the Ethernet challenge  Focus on developing markets (India, China)  No office in North America  Cooperates with ETG and EPSG (Device Profiles)  Large web site  Some documents freely available

hp://www.can-cia.com Ethernet & TCP/IP

Ethernet = ; TCP/IP = Protocol Ethernet Originated Xerox Palo Alto Research Center (PARC) mid-1970s  Basic Philosophy: Any Staon Can Send Message At Any Time  1983 – IEEE Issued Carrier Sense & CSMA/CD  TCP/IP Added For A Complete Soluon 1980s  Praccal Key Combinaon Neither One Would Have Survived Without The Other Ethernet & TCP/IP

 CSMA/CD We Can’t All Talk At The Same Time…  CSMA – Carrier-Sense Mulple Access One Talker; Mulple Listeners  CD – Collision Detecon Be Polite; Don’t Interrupt Ethernet & TCP/IP

 Messages Of (Virtually) Unlimited Length  Messages Cannot Be Interrupted  Random Pause And Retry  Very Limited Bus Arbitraon  Large Protocol Overhead Hubs & Switches

 Connecng Mulple Nodes  Hubs & Switches Are Cost Factors  Hubs Distribute Messages To Everybody  Switches Detect Desnaon  Switches Perform Beer On Busy Networks Ethernet RT Protocols

 EtherCAT  Powerlink  Ethernet/IP  Modbus/TCP  ProfiNet Comparison

 Boleneck TCP/UDB/IP Protocol Stack  Bypassing of TCP/UDP/IP stack for real-me data exchange EtherCAT Technology Group

hp://www..org ETG: EtherCAT

 Standard originally developed by Beckhoff  Large membership  Membership is free  All documents can be downloaded by members  Office in US  Aggressive Markeng  Very Aggressive Trademark/Copyright Protecon  Professional Web Site

hp://www.ethercat.org EtherCAT - Characteriscs

 Ethernet package is no longer received, interpreted, and copied. Instead the is processed on the fly.  Bypassing of TCP/UDB/IP stack for real-me data exchange  Supports CANopen device profiles  Requires a slave controller  Master needs only the master soware plus network card  Very few resources for master soware Standardizaon Group

hp://www.ethernet-powerlink.org Powerlink

POWERLINK V2 is DEAD! B&R isn’t…

 Standard originally developed by B&R, Austria  ESPG – Ethernet POWERLINK Standardizaon Group, Berlin, Germany  Decent membership  V2 is extension to moon control  B&R refuses to comply with V2  B&R very successful selling V1  Lenze abandons Powerlink

hp://www.ethernet-powerlink.org Powerlink Characteriscs

 Strict determinisc performance  Each Staon has med and strongly limited communicaon rights  Each staon can send data to each other staon in the network  Time-slots for asynchronous data transfer  Supports CANopen device profiles  Requires hubs (switches, too?) Open DeviceNet Vendor Associaon

hp://www.odva.org Ethernet/IP

 Strong “polical” support by Rockwell Automaon  Introduced/maintained by ODVA = Open DeviceNet Vendor Associaon  IP = Industrial Protocol  Very limited web site  Supports device profiles  Specificaon is free of charge  Greatest strength: Market share by Rockwell, American technology  Open in regards to higher speed standards

hp://www.odva.org Modbus/TCP

hp://www.modbus-ida.org Modbus/TCP KISS = Keep It Simple, Stupid!

 Derivate of Modbus (RS232/422/485) protocol  Developed by Modicon (Schneider)  Modbus telegram is embedded in frames of TCP, UDB, IP layers  Open in regards to higher speed standards  Widely used because easy and already available for a long me  Slow! Cycle mes 5 – 10 msec  No device profiles hp://www.modbus-ida.org ProfiNet

hp://www.profibus.com ProfiNet

 ProfiNet is NOT Profibus over Ethernet!  “Strong support” by Siemens  Was developed by PNO ( Profibus Nutzer/User Organizaon)  Three releases V1 - 3  Version 3 requires addional hardware  High level of complexity  Very difficult to implement (jier me req. = < 1 μsec)

hp://www.profibus.com ISO 7 Layer Model Comparison - 1

 Boleneck TCP/UDB/IP Protocol Stack  Bypassing of TCP/UDP/IP stack for real-me data exchange Comparison - 2

EtherCAT Ethernet/IP Powerlink Modbus/TCP

Vendor ETherCAT Open Ethernet Modbus-IDA Organizaon Technology Group DeviceNet Powerlink Group Vendor Specificaon Associaon Group

Homepage www.ethercat.org www.odva.org www.ethernet- www.modbus- powerlink.org ida.org

Availability Members Free Members Free of specificaon Comparison - 3

EtherCAT Ethernet/IP Powerlink Modbus/TCP

Availability Example code, Example Code Standard Example Code of ASIC, FPGA Ethernet Chips technology

Products 2003 2000 2001 1999 Available Since Interacon Master/Slave Client/Server Master/Slave Client/Server Structure

* Client/Server Allows Direct Node-to-Node Communicaon Comparison - 4

EtherCAT Ethernet/IP Powerlink Modbus/TCP

Communicaon One frame for Message Message Message Method all Oriented Oriented Oriented communicaon partners

Ethernet Data 100 Mbit/sec 100/10 100 Mbit/sec 100/10 Transfer Rate Mbit/sec Mbit/sec

Physical Line, Daisy Star Star Star, Tree Topology Chain, Tree Comparison - 5

EtherCAT Ethernet/IP Powerlink Modbus/TCP

Logical Open Ring Bus Bus Ring Bus Topology

Infrastructure Switches Switches (Hubs Hubs, no Hubs, Switches Components between are possible, Switches different but not segments efficient)

Device Profiles CANopen, DeviceNet, CANopen None SERCOS ControlNet EtherCAT Master Soware

 Configuraon and management of EtherCAT® networks.  Cyclic exchange of process data.  Support for event based mailbox communicaon using:

• CANopen over EtherCAT® (CoE) • Ethernet over EtherCAT® (EoE) • File over EtherCAT® (FoE)  Easy to use API common to all implementaons as an

interface between the applicaon and the EtherCAT® master stack.

hp://www.esd-electronics-usa.com CAN-EtherCAT Gateway

 Fast and Reliable Link Between EtherCAT and CAN  No Limitaon in Number of Nodes  CANopen Funconality as Master or Slave Device  Manual and Datasheet Available as Download From Web Site

hp://www.esd-electronics-usa.com CAN ProfiNet Gateway

 Fast and reliable linking PROFINET IO and CAN with data buffering  CAN-PLC link e.g. to SIEMENS SIMATIC- S7-300 or S7-400  Interfacing CANopen modules (CiA DS-301) or CAN layer-2 (ISO11898-1)  Gateway operates as a PROFINET IO device with a maximum of 1440 input data and 1440 bytes output data on the PROFINET bus  CAN high speed interface (ISO 11898-2) 100BaseTX PROFINET interface hp://www.esd-electronics-usa.com CAN Ethernet Gateway

 CAN-10/100 BaseT Ethernet  CAN- Modbus-TCP-gateway  Ethernet protocols: TCP/IP, Modbus/TCP or common CAN-API as used on PCI interface boards  CAN interface electrically isolated, designed acc. To ISO 11898, bit rate up to 1 Mbit/s  Configuaon per Web browser  CANopen master firmware  Suitable for CANOpen and J1939.

hp://www.esd-electronics-usa.com