SlideShare una empresa de Scribd logo
1 de 52
Descargar para leer sin conexión
Fundamental Guide to
Industrial Networking
Jeff Kordik
CTO
Applied Motion Products
A Connected World
• Buy a phone or tablet you expect connectivity
• Your phone can connect to a cell tower, the internet, GPS
satellites, the audio system in your car, and your TV set
• If your car isn’t on the internet, your next one will be.
Already devices within are on CAN bus
• By 2020 it is expected that 50 billion devices will be
interconnected. My phone can talk to the thermostat in my
home right now.
Connectivity in Automation
Devices in the automation world also need to talk
• To gather information from sensors
• And send control signal to actuators
Communication standards are essential
• Hardware & software defined protocols
• Get the data there
• Be sure it got there
• Know what it means to both ends
Connectivity in Automation
There are dozens of industrial networking standards
• If you’re starting an application, how do you choose?
• If you are planning to build products, which networks will bring
the most success?
• Let’s compare and contrast the most popular industrial networks
• And hopefully learn enough to make an informed choice of
which to use
Serial versus Ethernet
Most popular industrial networks started out on serial bus
• 1970’s and 1980’s
• RS-485 or CAN were available at the time to serve as the
physical layer: the wires, connectors and IC’s the network is
built on
Serial versus Ethernet
Rapid growth of Ethernet in office nets
• Drove Ethernet costs down, speed up
• Serial bits rates: 9.6k to 12Mbits/sec
• Ethernet: 100 – 1000 Mbits/sec
• 32 bit IP addressing allows practically unlimited number of
nodes
• 16 bit ports allow multiple protocols to “share the wire”
• Most fieldbus standards were adapted to Ethernet in early
2000’s
Serial versus Ethernet
Many popular serial protocols have been updated to run on
Ethernet
• Modbus/RTU  Modbus/TCP
• DeviceNet  EtherNet/IP
• CANopen  EtherCAT COE
• Profibus  Profinet
• CC-Link  CC-Link IE
Serial versus Ethernet
Why migrate to Ethernet?
• More speed
• More nodes
• Mixed protocols on same net
Host
Slave Device
IP 192.168.0.10
UDP
TCP port
502
Modbus Application
Slave Device
IP 192.168.0.20
UDP port
2222
TCP port
EtherNet/IP Application
Serial versus Ethernet
• The Industrial Ethernet market is growing by 22% annually
• Serial is growing just 4%
HMS Industrial Networks
48%
46%
6%
Worldwide Industrial Network Usage
Serial
Ethernet
Wireless
Serial Based Networks
HMS Industrial Networks
29%
14%
12%
8%
10%
27%
Relative Popularity of Serial Protocols
Profibus
Modbus RTU
CC-link
DeviceNet
CANopen
Other
Ethernet Based Networks
HMS Industrial Networks
24%
24%
15%
9%
28%
Relative Popularity of Ethernet Protocols
EtherNet/IP
Profinet
EtherCAT
Modbus TCP
Other
Geography
• North America
• Rockwell: DeviceNet, EtherNet/IP
• Galil, Trio, National Instruments, CTC: EtherCAT
• Europe
• Siemens: Profibus, Profinet
• Beckhoff: EtherCAT
• Asia
• Mitsubishi: CC Link
• Modbus is used everywhere
There is much fragmentation: Choose wisely or choose all
Typical Ethernet Model
• 5 Layers:
UDP TCP
Application
Transport layer
Internet Protocol
Ethernet
Ethernet
Network layer
Data link layer
Physical layer
Application layer
Modbus RTU
• Introduced by Modicon, a PLC maker, in 1979.
• First popular industrial network.
• Ubiquitous, easy to use, cheap.
• Reliable but not fast: 9.6k to 115k bits/sec.
• Tames RS-485 which is otherwise a less than reliable medium
• Good communication standard but not specialized for
applications
• Standard organization: The Modbus Organization
• RS-232 is point to point so only one slave device can connect
Modbus RTU Typical Network
Host
TX
RX
Slave Device
• RS-485 allows multiple devices to share the network.
• All devices share a parallel, two wire bidirectional bus
• Up to 247 devices, depending on manufacturer
• Most RS-485 transceivers limit the number of nodes to 32
Modbus RTU Typical Network
Host
Slave Device
TX/RX+
TX/RX-
Slave Device Slave Device Slave Device
• RS-485 can also be implemented as a four wire network.
• Modbus is inherently half duplex so using four wires does not increase
network bandwidth
• Modbus masters always wait for a response (or a time out) before
sending another message
Modbus RTU Typical Network
Host
Slave Device
TX-
RX+
Slave Device Slave Device Slave Device
RX-
TX+
• Simple and low cost
• Most DSP and MCU have built-in UARTs, making Modbus designs
incredibly simple and affordable
CPU
Modbus RTU Physical Layer
UART Transceiver network
Modbus TCP
• Introduced in 1999 by Schneider Electric
• Runs on standard Ethernet TCP/IP
• more speed (1000x), more devices on the wire
• Can share the network with other protocols and standard
TCP/IP traffic
• IPv4 allows nearly unlimited addressing (232 devices)
• A typical subnet would be limited to 28 or 216 devices
Typical Modbus TCP Network
Host
Slave Device Slave Device Slave Device Slave Device
Ethernet Switch
• IPv4 allows nearly unlimited addressing (232 devices)
• A typical subnet would be limited to 28 or 216 devices
Modbus TCP Dual Port Network
Host
Slave Device
CAT5 or CAT6 cabling
Slave Device Slave Device Slave Device
Modbus TCP Physical Layer
• MAC/PHY can be built into CPU – very common in ARM processors –
simple, low cost
• Magjack includes transformers and RJ-45 jack
• For harsh environments, M12 connectors can be used with separate
magnetics
CPU MAC Magjack networkPHY
Modbus TCP Physical Layer (Dual Port)
• Dual port Ethernet provides a “daisy chain” network
• Eliminates Ethernet switches
• Useful where a star topology is inconvenient
CPU MAC
3 port
switch
from previous nodePHY Magjack
to next nodePHY Magjack
CANopen
• Introduced in 1995
• Standards body: CAN in Automation (CiA)
• Many things defined by standards
• CIA301 – communication
• CIA402 – motion
• Standards improve but do not guarantee interoperability.
• Example: CIA402 object 606C is motor actual velocity
• But scaling is not defined. Could be RPM, steps/sec, etc.
• All devices share a parallel, two wire bidirectional bus
• Up to 127 devices
CANopen Typical Network
Host
Slave Device
CAN H
CAN L
Slave Device Slave Device Slave Device
CANopen Physical Layer
• Simple and low cost
• Many DSP and MCU have built-in CAN controllers, making CANopen
hardware designs inexpensive
CPU CAN controller Transceiver network
EtherCAT COE
• Introduced in 2003 by Beckhoff
• Same issue as CANopen but very real time, intelligent.
• To make up for loose standards definition, devices get “baked
in”. Partnering, pay to play
• EtherCAT is opening up.
• Not long ago, the only solution was strapping a Beckhoff ASIC to a
processor.
• Now you can get alternate EtherCAT slave controllers
• Or ARM processors with built-in EtherCAT hardware
• Up to 65,535 nodes
Typical EtherCAT Network
Host
Slave Device
CAT5e or CAT6 cabling
Slave Device Slave Device Slave Device
EtherCAT Physical Layer
• Always dual port, no external switches
• Slave node: large footprint design, relatively expensive
CPU
Magjack Incoming trafficPHY
Magjack Outgoing traffic
EtherCAT ASIC
Parallel bus
PHY
MII
MII
DeviceNet
• Developed by Allen-Bradley (now Rockwell)
• Introduced in 1994
• Uses CIP protocol on CAN physical and data link layers
• Low cost to implement
• Many DSP’s and MCU’s have built-in CAN controllers
• Can transceivers are widely available and inexpensive
• All devices share a parallel, two wire bidirectional bus
• Up to 127 devices
DeviceNet Typical Network
Host
Slave Device
CAN H
CAN L
Slave Device Slave Device Slave Device
DeviceNet Model
CIP Protocol
Transport layerDeviceNet Transport
CAN
DeviceNet Physical
Network layer
Data link layer
Physical layer
Slave Device Application
Application layer
DeviceNet Physical Layer
• Simple and low cost
• Many DSP and MCU have built-in CAN controllers, making DeviceNet
hardware designs inexpensive
CPU CAN controller Transceiver network
EtherNet/IP
• Developed by Allen-Bradley (now Rockwell)
• Introduced in 2001
• Standards organization: ODVA
• Runs on standard Ethernet
• Uses Common Industrial Protocol (CIP)
• Uses TCP transport for explicit messages
• UDP for fast, cyclical implicit messaging
• IPv4 allows nearly unlimited addressing (232 devices)
• A typical subnet would be limited to 28 or 216 devices
Typical EtherNet/IP Network
Host
Slave Device Slave Device Slave Device Slave Device
Ethernet Switch
Dual port solutions
are also popular
EtherNet/IP Network Model
UDP/TCP
CIP Protocol
Transport layer
Internet Protocol
Ethernet
Ethernet
Network layer
Data link layer
Physical layer
EtherNet/IP
Slave Device Application
Application layer
EtherNet/IP Physical Layer
• MAC/PHY can be built into CPU – very common in ARM processors –
simple, low cost
• Magjack includes transformers and RJ-45 jack
• For harsh environments, M12 connectors can be used with separate
magnetics
CPU MAC Magjack networkPHY
Dual port solutions
are also popular
Profibus DP
• Devised in Germany in 1987
• Primary controller: Siemens
• Popular in Europe
• Enhanced RS-485 physical layer
• Speeds to 12 Mbits
• Requires ASIC for data link layer
• Enhanced RS-485 allows multiple devices to share the network at high
speeds
• All devices share a parallel, two wire bidirectional bus
• Up to 32 devices per segment
Profibus DP Typical Network
Host
Slave Device
TX/RX+
TX/RX-
Slave Device Slave Device Slave Device
Profibus DP Network Model
DPVx Protocol
FDL
Enhanced RS-485
Data link layer
Physical layer
Slave Device Application
Application layer
• At least one ARM CPU is available with a built-in Profibus
subsystem,
• eliminates need for ASIC
• eliminates potential need for parallel bus
Profibus DP Physical Layer
Profibus
ASIC
Enhanced RS-485
Transceiver
network
Parallel or SPI bus
CPU
Profinet IO
• Introduced in 2003 by PI working group
• PI North America is standards organization
• Built on standard Ethernet
• Uses UDP and TCP transport
• Can “share the wire” with other protocols
Profinet IO Typical Network
• Thousands of nodes are possible
Host
Slave Device Slave Device Slave Device Slave Device
Ethernet Switch
Profinet IO Network Model
TCPUDP Transport layer
Internet Protocol
Ethernet
Ethernet
Network layer
Data link layer
Physical layer
Profinet IO
Slave Device Application
Application layer
Profinet IO Physical Layer
CPU MAC Magjack networkPHY
Summary
serial bus Ethernet
Modbus RTU DeviceNet Profibus DP CANopen Modbus TCP EtherNet/IP ProfiNet IO EtherCAT COE
year introduced 1979 1994 1987 1995 1999 2001 2003 2003
max physical layer speed (Mbits/sec) 0.1 0.5 12 1 1000 1000 1000 100
max nodes
32 typ
254 max 64
32/segment, 126
max 127
share wire?   
cyclic     
motion specific option ProfiDrive CIA402
CIPsync,
CIPmotion CIA402
standards body Modbus Org ODVA PNO, PI CiA Modbus Org ODVA PI ETG
controllers many many many mainly Rockwell Beckhoff, Siemens
Beckhoff, Trio, Galil, National
Instruments, others
Relative cost of slave node 1 3 7 3 5 7 6 10
Implementation Options
How do I go about designing a fieldbus node?
• If the device already has a fieldbus option, consider using an
external gateway to convert the protocol
• Use HMS Anybus module to device can be adapted to many
popular protocols
• Buy a commercial software stack (RTA)
• Design your own physical layer
Implementation Options
Pay to Play
• Some standards require you to pay an annual fee
• For access to written standards
• For test tool subscriptions
• For a vendor ID
• Additional fees apply for
• Conformance testing
• Plug fests
Other Considerations
Distributed Intelligence
• A stored program in each node can reduce needed bandwidth
for non-tightly coordinated axes
• Individual nodes can read I/O, make decisions, execute motion
• Can be cost effective because stored programming in an
already needed CPU costs little (beyond software development)
• Still has benefit of real time connectivity, streaming set up,
feedback, data logging
Other Considerations
Step & Direction
• Controller sends step pulses and a direction signal to each
motion node
Advantages
• Motion can be tightly coordinated
• Very low slave cost
Slave Device
Controller
Step,dir,fault
Slave Device Slave Device Slave Device
Other Considerations
Step & Direction
Disadvantages
• No certainty if signals reached the node
• Only feedback is fault signal.
• No status monitoring or data logging
Slave Device
Controller
Step,dir,fault
Slave Device Slave Device Slave Device
Contact
Jeff Kordik
CTO
Applied Motion Products
Watsonville, CA 95076
USA
(800) 525-1609
jeffkordik@applied-motion.com

Más contenido relacionado

La actualidad más candente

9.) audio video ethernet (avb cobra net dante)
9.) audio video ethernet (avb cobra net dante)9.) audio video ethernet (avb cobra net dante)
9.) audio video ethernet (avb cobra net dante)
Jeff Green
 

La actualidad más candente (20)

Asset Tracking and Location Technologies for Internet of Things
Asset Tracking and Location Technologies for Internet of ThingsAsset Tracking and Location Technologies for Internet of Things
Asset Tracking and Location Technologies for Internet of Things
 
LAN Design : Network Requirements : Planning : Implementation
LAN Design : Network Requirements : Planning : ImplementationLAN Design : Network Requirements : Planning : Implementation
LAN Design : Network Requirements : Planning : Implementation
 
Galil Webinar May 2014. The Evolution of Ethernet in Motion and I/O Control
Galil Webinar May 2014.  The Evolution of Ethernet in Motion and I/O ControlGalil Webinar May 2014.  The Evolution of Ethernet in Motion and I/O Control
Galil Webinar May 2014. The Evolution of Ethernet in Motion and I/O Control
 
subok
suboksubok
subok
 
Implementing Uncompressed over IP in software and the pitfalls
Implementing Uncompressed over IP in software and the pitfallsImplementing Uncompressed over IP in software and the pitfalls
Implementing Uncompressed over IP in software and the pitfalls
 
Link labs LTE-M NB-IOT Hype Webinar slides
Link labs LTE-M NB-IOT Hype Webinar slidesLink labs LTE-M NB-IOT Hype Webinar slides
Link labs LTE-M NB-IOT Hype Webinar slides
 
Link Labs LPWA Webinar
Link Labs LPWA WebinarLink Labs LPWA Webinar
Link Labs LPWA Webinar
 
Link labs 2G 3G CDMA transition webinar slides
Link labs 2G 3G CDMA transition webinar slidesLink labs 2G 3G CDMA transition webinar slides
Link labs 2G 3G CDMA transition webinar slides
 
LPWAN Cost Webinar
LPWAN Cost WebinarLPWAN Cost Webinar
LPWAN Cost Webinar
 
Wi fi technology & wap
Wi fi technology & wap Wi fi technology & wap
Wi fi technology & wap
 
FOSS in Broadcast
FOSS in BroadcastFOSS in Broadcast
FOSS in Broadcast
 
Air finder Supertag Webinar
Air finder Supertag WebinarAir finder Supertag Webinar
Air finder Supertag Webinar
 
Cisco Live! :: Carrier Ethernet 2.0 :: BRKSPG-2720 | Las Vegas July/2016
Cisco Live! :: Carrier Ethernet 2.0 :: BRKSPG-2720 | Las Vegas July/2016Cisco Live! :: Carrier Ethernet 2.0 :: BRKSPG-2720 | Las Vegas July/2016
Cisco Live! :: Carrier Ethernet 2.0 :: BRKSPG-2720 | Las Vegas July/2016
 
9.) audio video ethernet (avb cobra net dante)
9.) audio video ethernet (avb cobra net dante)9.) audio video ethernet (avb cobra net dante)
9.) audio video ethernet (avb cobra net dante)
 
LoRaWAN vs Haystack
LoRaWAN vs HaystackLoRaWAN vs Haystack
LoRaWAN vs Haystack
 
Thunderbolt
ThunderboltThunderbolt
Thunderbolt
 
Audinate avb white paper v1.2
Audinate avb white paper v1.2Audinate avb white paper v1.2
Audinate avb white paper v1.2
 
To Infiniband and Beyond
To Infiniband and BeyondTo Infiniband and Beyond
To Infiniband and Beyond
 
Low-Power Wide Area - Overview
Low-Power Wide Area - OverviewLow-Power Wide Area - Overview
Low-Power Wide Area - Overview
 
IoT13: Sigfox showcase
IoT13: Sigfox showcaseIoT13: Sigfox showcase
IoT13: Sigfox showcase
 

Similar a Kordik fundamental guidtoindustrialnetworking -v_imp

ch5-Fog Networks and Cloud Computing
ch5-Fog Networks and Cloud Computingch5-Fog Networks and Cloud Computing
ch5-Fog Networks and Cloud Computing
ssuser06ea42
 
Galil Ethernet or EtherCAT Motion Control Webinar January 26, 2016
Galil Ethernet or EtherCAT Motion Control Webinar January 26, 2016Galil Ethernet or EtherCAT Motion Control Webinar January 26, 2016
Galil Ethernet or EtherCAT Motion Control Webinar January 26, 2016
Electromate
 
Chapter 3 2-remote_network_design - Network Design
Chapter 3 2-remote_network_design - Network DesignChapter 3 2-remote_network_design - Network Design
Chapter 3 2-remote_network_design - Network Design
nakomuri
 

Similar a Kordik fundamental guidtoindustrialnetworking -v_imp (20)

Web technology
Web technologyWeb technology
Web technology
 
Lecture1
Lecture1Lecture1
Lecture1
 
2020 Vision For Your Network
2020 Vision For Your Network2020 Vision For Your Network
2020 Vision For Your Network
 
ch5-Fog Networks and Cloud Computing
ch5-Fog Networks and Cloud Computingch5-Fog Networks and Cloud Computing
ch5-Fog Networks and Cloud Computing
 
Galil Ethernet or EtherCAT Motion Control Webinar January 26, 2016
Galil Ethernet or EtherCAT Motion Control Webinar January 26, 2016Galil Ethernet or EtherCAT Motion Control Webinar January 26, 2016
Galil Ethernet or EtherCAT Motion Control Webinar January 26, 2016
 
Ch 17
Ch 17Ch 17
Ch 17
 
Communication protocols
Communication protocolsCommunication protocols
Communication protocols
 
Maximizing High-Performance Applications with CAN Bus
Maximizing High-Performance Applications with CAN BusMaximizing High-Performance Applications with CAN Bus
Maximizing High-Performance Applications with CAN Bus
 
Maximizing High Performance Applications with CAN Bus
Maximizing High Performance Applications with CAN BusMaximizing High Performance Applications with CAN Bus
Maximizing High Performance Applications with CAN Bus
 
Detailed description about Hubs Switches Modems and their working
Detailed description about  Hubs Switches Modems and their workingDetailed description about  Hubs Switches Modems and their working
Detailed description about Hubs Switches Modems and their working
 
FieldServer Overview 2015.r1
FieldServer Overview 2015.r1FieldServer Overview 2015.r1
FieldServer Overview 2015.r1
 
Chapter 3 2-remote_network_design - Network Design
Chapter 3 2-remote_network_design - Network DesignChapter 3 2-remote_network_design - Network Design
Chapter 3 2-remote_network_design - Network Design
 
PP_PCN
PP_PCNPP_PCN
PP_PCN
 
NXP FRDM-K64F Platform with ARM mbed Demo - Edinburgh 2016 Workshop
NXP FRDM-K64F Platform with ARM mbed Demo - Edinburgh 2016 WorkshopNXP FRDM-K64F Platform with ARM mbed Demo - Edinburgh 2016 Workshop
NXP FRDM-K64F Platform with ARM mbed Demo - Edinburgh 2016 Workshop
 
ICP DAS USA Products Presentation
ICP DAS USA Products PresentationICP DAS USA Products Presentation
ICP DAS USA Products Presentation
 
zigbee technology
zigbee technology zigbee technology
zigbee technology
 
9781111306366 ppt ch8
9781111306366 ppt ch89781111306366 ppt ch8
9781111306366 ppt ch8
 
Moving To IP Backhaul
Moving To IP BackhaulMoving To IP Backhaul
Moving To IP Backhaul
 
100G Networking Berlin.pdf
100G Networking Berlin.pdf100G Networking Berlin.pdf
100G Networking Berlin.pdf
 
FieldServer for Integrators Overview
FieldServer for Integrators OverviewFieldServer for Integrators Overview
FieldServer for Integrators Overview
 

Último

FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
dollysharma2066
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Dr.Costas Sachpazis
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Christo Ananth
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
ankushspencer015
 

Último (20)

Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank  Design by Working Stress - IS Method.pdfIntze Overhead Water Tank  Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdf
 
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Walvekar Nagar Call Me 7737669865 Budget Friendly No Advance Booking
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
 
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxBSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
NFPA 5000 2024 standard .
NFPA 5000 2024 standard                                  .NFPA 5000 2024 standard                                  .
NFPA 5000 2024 standard .
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
 
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
 

Kordik fundamental guidtoindustrialnetworking -v_imp

  • 1. Fundamental Guide to Industrial Networking Jeff Kordik CTO Applied Motion Products
  • 2. A Connected World • Buy a phone or tablet you expect connectivity • Your phone can connect to a cell tower, the internet, GPS satellites, the audio system in your car, and your TV set • If your car isn’t on the internet, your next one will be. Already devices within are on CAN bus • By 2020 it is expected that 50 billion devices will be interconnected. My phone can talk to the thermostat in my home right now.
  • 3. Connectivity in Automation Devices in the automation world also need to talk • To gather information from sensors • And send control signal to actuators Communication standards are essential • Hardware & software defined protocols • Get the data there • Be sure it got there • Know what it means to both ends
  • 4. Connectivity in Automation There are dozens of industrial networking standards • If you’re starting an application, how do you choose? • If you are planning to build products, which networks will bring the most success? • Let’s compare and contrast the most popular industrial networks • And hopefully learn enough to make an informed choice of which to use
  • 5. Serial versus Ethernet Most popular industrial networks started out on serial bus • 1970’s and 1980’s • RS-485 or CAN were available at the time to serve as the physical layer: the wires, connectors and IC’s the network is built on
  • 6. Serial versus Ethernet Rapid growth of Ethernet in office nets • Drove Ethernet costs down, speed up • Serial bits rates: 9.6k to 12Mbits/sec • Ethernet: 100 – 1000 Mbits/sec • 32 bit IP addressing allows practically unlimited number of nodes • 16 bit ports allow multiple protocols to “share the wire” • Most fieldbus standards were adapted to Ethernet in early 2000’s
  • 7. Serial versus Ethernet Many popular serial protocols have been updated to run on Ethernet • Modbus/RTU  Modbus/TCP • DeviceNet  EtherNet/IP • CANopen  EtherCAT COE • Profibus  Profinet • CC-Link  CC-Link IE
  • 8. Serial versus Ethernet Why migrate to Ethernet? • More speed • More nodes • Mixed protocols on same net Host Slave Device IP 192.168.0.10 UDP TCP port 502 Modbus Application Slave Device IP 192.168.0.20 UDP port 2222 TCP port EtherNet/IP Application
  • 9. Serial versus Ethernet • The Industrial Ethernet market is growing by 22% annually • Serial is growing just 4% HMS Industrial Networks 48% 46% 6% Worldwide Industrial Network Usage Serial Ethernet Wireless
  • 10. Serial Based Networks HMS Industrial Networks 29% 14% 12% 8% 10% 27% Relative Popularity of Serial Protocols Profibus Modbus RTU CC-link DeviceNet CANopen Other
  • 11. Ethernet Based Networks HMS Industrial Networks 24% 24% 15% 9% 28% Relative Popularity of Ethernet Protocols EtherNet/IP Profinet EtherCAT Modbus TCP Other
  • 12. Geography • North America • Rockwell: DeviceNet, EtherNet/IP • Galil, Trio, National Instruments, CTC: EtherCAT • Europe • Siemens: Profibus, Profinet • Beckhoff: EtherCAT • Asia • Mitsubishi: CC Link • Modbus is used everywhere There is much fragmentation: Choose wisely or choose all
  • 13. Typical Ethernet Model • 5 Layers: UDP TCP Application Transport layer Internet Protocol Ethernet Ethernet Network layer Data link layer Physical layer Application layer
  • 14. Modbus RTU • Introduced by Modicon, a PLC maker, in 1979. • First popular industrial network. • Ubiquitous, easy to use, cheap. • Reliable but not fast: 9.6k to 115k bits/sec. • Tames RS-485 which is otherwise a less than reliable medium • Good communication standard but not specialized for applications • Standard organization: The Modbus Organization
  • 15. • RS-232 is point to point so only one slave device can connect Modbus RTU Typical Network Host TX RX Slave Device
  • 16. • RS-485 allows multiple devices to share the network. • All devices share a parallel, two wire bidirectional bus • Up to 247 devices, depending on manufacturer • Most RS-485 transceivers limit the number of nodes to 32 Modbus RTU Typical Network Host Slave Device TX/RX+ TX/RX- Slave Device Slave Device Slave Device
  • 17. • RS-485 can also be implemented as a four wire network. • Modbus is inherently half duplex so using four wires does not increase network bandwidth • Modbus masters always wait for a response (or a time out) before sending another message Modbus RTU Typical Network Host Slave Device TX- RX+ Slave Device Slave Device Slave Device RX- TX+
  • 18. • Simple and low cost • Most DSP and MCU have built-in UARTs, making Modbus designs incredibly simple and affordable CPU Modbus RTU Physical Layer UART Transceiver network
  • 19. Modbus TCP • Introduced in 1999 by Schneider Electric • Runs on standard Ethernet TCP/IP • more speed (1000x), more devices on the wire • Can share the network with other protocols and standard TCP/IP traffic
  • 20. • IPv4 allows nearly unlimited addressing (232 devices) • A typical subnet would be limited to 28 or 216 devices Typical Modbus TCP Network Host Slave Device Slave Device Slave Device Slave Device Ethernet Switch
  • 21. • IPv4 allows nearly unlimited addressing (232 devices) • A typical subnet would be limited to 28 or 216 devices Modbus TCP Dual Port Network Host Slave Device CAT5 or CAT6 cabling Slave Device Slave Device Slave Device
  • 22. Modbus TCP Physical Layer • MAC/PHY can be built into CPU – very common in ARM processors – simple, low cost • Magjack includes transformers and RJ-45 jack • For harsh environments, M12 connectors can be used with separate magnetics CPU MAC Magjack networkPHY
  • 23. Modbus TCP Physical Layer (Dual Port) • Dual port Ethernet provides a “daisy chain” network • Eliminates Ethernet switches • Useful where a star topology is inconvenient CPU MAC 3 port switch from previous nodePHY Magjack to next nodePHY Magjack
  • 24. CANopen • Introduced in 1995 • Standards body: CAN in Automation (CiA) • Many things defined by standards • CIA301 – communication • CIA402 – motion • Standards improve but do not guarantee interoperability. • Example: CIA402 object 606C is motor actual velocity • But scaling is not defined. Could be RPM, steps/sec, etc.
  • 25. • All devices share a parallel, two wire bidirectional bus • Up to 127 devices CANopen Typical Network Host Slave Device CAN H CAN L Slave Device Slave Device Slave Device
  • 26. CANopen Physical Layer • Simple and low cost • Many DSP and MCU have built-in CAN controllers, making CANopen hardware designs inexpensive CPU CAN controller Transceiver network
  • 27. EtherCAT COE • Introduced in 2003 by Beckhoff • Same issue as CANopen but very real time, intelligent. • To make up for loose standards definition, devices get “baked in”. Partnering, pay to play • EtherCAT is opening up. • Not long ago, the only solution was strapping a Beckhoff ASIC to a processor. • Now you can get alternate EtherCAT slave controllers • Or ARM processors with built-in EtherCAT hardware
  • 28. • Up to 65,535 nodes Typical EtherCAT Network Host Slave Device CAT5e or CAT6 cabling Slave Device Slave Device Slave Device
  • 29. EtherCAT Physical Layer • Always dual port, no external switches • Slave node: large footprint design, relatively expensive CPU Magjack Incoming trafficPHY Magjack Outgoing traffic EtherCAT ASIC Parallel bus PHY MII MII
  • 30. DeviceNet • Developed by Allen-Bradley (now Rockwell) • Introduced in 1994 • Uses CIP protocol on CAN physical and data link layers • Low cost to implement • Many DSP’s and MCU’s have built-in CAN controllers • Can transceivers are widely available and inexpensive
  • 31. • All devices share a parallel, two wire bidirectional bus • Up to 127 devices DeviceNet Typical Network Host Slave Device CAN H CAN L Slave Device Slave Device Slave Device
  • 32. DeviceNet Model CIP Protocol Transport layerDeviceNet Transport CAN DeviceNet Physical Network layer Data link layer Physical layer Slave Device Application Application layer
  • 33. DeviceNet Physical Layer • Simple and low cost • Many DSP and MCU have built-in CAN controllers, making DeviceNet hardware designs inexpensive CPU CAN controller Transceiver network
  • 34. EtherNet/IP • Developed by Allen-Bradley (now Rockwell) • Introduced in 2001 • Standards organization: ODVA • Runs on standard Ethernet • Uses Common Industrial Protocol (CIP) • Uses TCP transport for explicit messages • UDP for fast, cyclical implicit messaging
  • 35. • IPv4 allows nearly unlimited addressing (232 devices) • A typical subnet would be limited to 28 or 216 devices Typical EtherNet/IP Network Host Slave Device Slave Device Slave Device Slave Device Ethernet Switch Dual port solutions are also popular
  • 36. EtherNet/IP Network Model UDP/TCP CIP Protocol Transport layer Internet Protocol Ethernet Ethernet Network layer Data link layer Physical layer EtherNet/IP Slave Device Application Application layer
  • 37. EtherNet/IP Physical Layer • MAC/PHY can be built into CPU – very common in ARM processors – simple, low cost • Magjack includes transformers and RJ-45 jack • For harsh environments, M12 connectors can be used with separate magnetics CPU MAC Magjack networkPHY Dual port solutions are also popular
  • 38. Profibus DP • Devised in Germany in 1987 • Primary controller: Siemens • Popular in Europe • Enhanced RS-485 physical layer • Speeds to 12 Mbits • Requires ASIC for data link layer
  • 39. • Enhanced RS-485 allows multiple devices to share the network at high speeds • All devices share a parallel, two wire bidirectional bus • Up to 32 devices per segment Profibus DP Typical Network Host Slave Device TX/RX+ TX/RX- Slave Device Slave Device Slave Device
  • 40. Profibus DP Network Model DPVx Protocol FDL Enhanced RS-485 Data link layer Physical layer Slave Device Application Application layer
  • 41. • At least one ARM CPU is available with a built-in Profibus subsystem, • eliminates need for ASIC • eliminates potential need for parallel bus Profibus DP Physical Layer Profibus ASIC Enhanced RS-485 Transceiver network Parallel or SPI bus CPU
  • 42. Profinet IO • Introduced in 2003 by PI working group • PI North America is standards organization • Built on standard Ethernet • Uses UDP and TCP transport • Can “share the wire” with other protocols
  • 43. Profinet IO Typical Network • Thousands of nodes are possible Host Slave Device Slave Device Slave Device Slave Device Ethernet Switch
  • 44. Profinet IO Network Model TCPUDP Transport layer Internet Protocol Ethernet Ethernet Network layer Data link layer Physical layer Profinet IO Slave Device Application Application layer
  • 45. Profinet IO Physical Layer CPU MAC Magjack networkPHY
  • 46. Summary serial bus Ethernet Modbus RTU DeviceNet Profibus DP CANopen Modbus TCP EtherNet/IP ProfiNet IO EtherCAT COE year introduced 1979 1994 1987 1995 1999 2001 2003 2003 max physical layer speed (Mbits/sec) 0.1 0.5 12 1 1000 1000 1000 100 max nodes 32 typ 254 max 64 32/segment, 126 max 127 share wire?    cyclic      motion specific option ProfiDrive CIA402 CIPsync, CIPmotion CIA402 standards body Modbus Org ODVA PNO, PI CiA Modbus Org ODVA PI ETG controllers many many many mainly Rockwell Beckhoff, Siemens Beckhoff, Trio, Galil, National Instruments, others Relative cost of slave node 1 3 7 3 5 7 6 10
  • 47. Implementation Options How do I go about designing a fieldbus node? • If the device already has a fieldbus option, consider using an external gateway to convert the protocol • Use HMS Anybus module to device can be adapted to many popular protocols • Buy a commercial software stack (RTA) • Design your own physical layer
  • 48. Implementation Options Pay to Play • Some standards require you to pay an annual fee • For access to written standards • For test tool subscriptions • For a vendor ID • Additional fees apply for • Conformance testing • Plug fests
  • 49. Other Considerations Distributed Intelligence • A stored program in each node can reduce needed bandwidth for non-tightly coordinated axes • Individual nodes can read I/O, make decisions, execute motion • Can be cost effective because stored programming in an already needed CPU costs little (beyond software development) • Still has benefit of real time connectivity, streaming set up, feedback, data logging
  • 50. Other Considerations Step & Direction • Controller sends step pulses and a direction signal to each motion node Advantages • Motion can be tightly coordinated • Very low slave cost Slave Device Controller Step,dir,fault Slave Device Slave Device Slave Device
  • 51. Other Considerations Step & Direction Disadvantages • No certainty if signals reached the node • Only feedback is fault signal. • No status monitoring or data logging Slave Device Controller Step,dir,fault Slave Device Slave Device Slave Device
  • 52. Contact Jeff Kordik CTO Applied Motion Products Watsonville, CA 95076 USA (800) 525-1609 jeffkordik@applied-motion.com