Date post: | 04-Jun-2018 |
Category: |
Documents |
Upload: | quinteroudina |
View: | 228 times |
Download: | 2 times |
of 72
8/13/2019 Fundamentals of EtherNET IP
1/72
Copyright 2012 Rockwell Automation, Inc. All rights reserved.
NIS06Fundamentals of EtherNet/IPBob Amich, Rockwell Automation
Josh Matson, Rockwell Automation
8/13/2019 Fundamentals of EtherNET IP
2/72
Copyright 2012 Rockwell Automation, Inc. All rights reserved.
Agenda
EtherNet/IP Advantage Summary
Plantwide Network Architectures
Layers 1 - 7
OSI Reference Model
Industrial Network Trends
8/13/2019 Fundamentals of EtherNET IP
3/72
Copyright 2012 Rockwell Automation, Inc. All rights reserved.
What you will learn
Trends in Industrial Network Convergence Technology enablers and business drivers
Fundamentals of EtherNet/IP
What it is, capabilities and features Networking basics
breaking down the lingo and acronyms
models and standards
Multidiscipline control and information applications
Representative plantwide network architectures EtherNet/IP advantages which enables and drives convergence of
control and information
8/13/2019 Fundamentals of EtherNET IP
4/72
Copyright 2012 Rockwell Automation, Inc. All rights reserved.
Industrial Network ConvergenceContinuing Trend
Information I/O ControlSafety
ApplicationsMotionControl
Industrial Network Convergence
Evolution of industrial Ethernet applications
EtherNet/IPEnabling & DrivingConvergence of Industrial Control and Information with IT
HighAvailability
8/13/2019 Fundamentals of EtherNET IP
5/72
Copyright 2012 Rockwell Automation, Inc. All rights reserved.
Industrial Network ConvergenceContinuing Trend
EtherNet/IPEnabling & Driving
Convergence of Industrial Control and Information with IT
8/13/2019 Fundamentals of EtherNET IP
6/72
Copyright 2012 Rockwell Automation, Inc. All rights reserved.
Industrial Network Design Methodology
Understand application and functional requirements Devices to be connectedindustrial and non-industrial Data requirements for availability, integrity and confidentiality
Communication patterns, topology and resiliency requirements
Types of trafficinformation, control, safety, time synchronization, motion control, voice, video
Develop a logical framework (roadmap) Define zones and segmentation
Place applications and devices in the logical frameworkbased on requirements
Develop a physical framework to align with and
support the logical framework
Determine security requirements Take into consideration IT requirements
Establish early dialogue with IT for
plantwide applications
Use technology & industry standards,
reference models and reference architectures
MANAGE /
MONITOR
IMPLEMENT
AUDITDESIGN/PLAN
ASSESS
8/13/2019 Fundamentals of EtherNET IP
7/72
Copyright 2012 Rockwell Automation, Inc. All rights reserved.
OSI Reference ModelOpen Systems Interconnection
Application
Presentation
Session
Transport
Network
Data Link
Physical
Layer 7
Layer 6
Layer 5
Layer 4
Layer 3
Layer 2
Layer 1
Network Services to User App
Encryption/Other processing
Manage Multiple Applications
Reliable delivery/Error correction
Logical addressing - Routing
Media Access Control
Specifies voltage, pin-outs, cable
CIP
TCP - UDP
IP
IEEE 802.3
TIA - 1005
Routers
Switches
Cabling
Layer Name Layer No. Function Examples
CIP
5-Layer TCP/IP Model
What makes EtherNet/IPindustrial?
Physical Layer
Hardening
Infrastructure Device
HardeningCommon Application
Layer Protocol
8/13/2019 Fundamentals of EtherNET IP
8/72
Copyright 2012 Rockwell Automation, Inc. All rights reserved.
OSI Reference ModelProtocol Stack
Application
Presentation
Session
Transport
Network
Data Link
Physical
Layer 7
Layer 6
Layer 5
Layer 4
Layer 3
Layer 2
Layer 1
TCP - UDP
IP
IEEE 802.3
TIA - 1005
Layer Name Layer No. Function
CIPModbus TCPPCCC/CSP
HTTPVoIP
Coexistence
Coexistence Interoperability
8/13/2019 Fundamentals of EtherNET IP
9/72
Copyright 2012 Rockwell Automation, Inc. All rights reserved.
OSI Reference ModelProtocol Stack
Application - CIP Layer 7 Application - CIP
Presentation - Null Layer 6 Presentation - NullSessionNull Layer 5 Session - Null
TransportTCP/UDP Layer 4 TransportTCP/UDP
NetworkIP Layer 3 Network - IP
Data Link - Ethernet Layer 2 Data Link - EthernetPhysical - Ethernet Layer 1 Physical - Ethernet
Sender Receiver
8/13/2019 Fundamentals of EtherNET IP
10/72Copyright 2012 Rockwell Automation, Inc. All rights reserved.
OSI Reference ModelProtocol Stack
Application
Presentation
Session
Transport
Network
Data Link
Physical
Layer 7
Layer 6
Layer 5
Layer 4
Layer 3
Layer 2
Layer 1
TCP - UDP
IP
IEEE 802.3
TIA - 1005
Layer Name Layer No. Function
CIP
Encapsulation Decapsulation
RSLogix 5000RSLinx Classic
ControlLogix
8/13/2019 Fundamentals of EtherNET IP
11/72Copyright 2012 Rockwell Automation, Inc. All rights reserved.
OSI Reference ModelProtocol Stack Example - Encapsulation
CIP
RSLogix 5000, via RSLinx Classic, usesCIP to create a message to readinformation from a Logix Controller Payload
CIPTCP
RSLinx Classic passes the message on tothe TCP program which adds on pieces toguarantee the integrity of the message
Segment
CIPTCPIP
TCP program passes the new message to the IPprogram which adds information to get themessage routed Packet
CIPTCPIPEnetIP program passes the newmessage to Ethernet program whichadds on the Ethernet part needed tosend it over the network
Frame
Physical LayerEthernet Frame is sent out the PHY
8/13/2019 Fundamentals of EtherNET IP
12/72Copyright 2012 Rockwell Automation, Inc. All rights reserved.
OSI Reference ModelPhysical Layer Independent
Application
Presentation
Session
Transport
Network
Data Link
Physical
Layer 7
Layer 6
Layer 5
Layer 4
Layer 3
Layer 2
Layer 1
TCP - UDP
IP
IEEE 802.3
Copper
Layer Name Layer No. Function
CIP
Physical LayerIndependent
8/13/2019 Fundamentals of EtherNET IP
13/72Copyright 2012 Rockwell Automation, Inc. All rights reserved.
OSI Reference ModelPhysical Layer Independent
Application
Presentation
Session
Transport
Network
Data Link
Physical
Layer 7
Layer 6
Layer 5
Layer 4
Layer 3
Layer 2
Layer 1
TCP - UDP
IP
IEEE 802.3
Fiber
Layer Name Layer No. Function
CIP
Physical LayerIndependent
8/13/2019 Fundamentals of EtherNET IP
14/72Copyright 2012 Rockwell Automation, Inc. All rights reserved.
IEEE 802.3
Fiber
IEEE 802.11
Wi-Fi
OSI Reference ModelData Link Layer Independent
Application
Presentation
Session
Transport
Network
Data Link
Physical
Layer 7
Layer 6
Layer 5
Layer 4
Layer 3
Layer 2
Layer 1
TCP - UDP
IP
Layer Name Layer No. Function
CIP
Standard IP provides Portability and seamless Routing
Physical LayerIndependent
8/13/2019 Fundamentals of EtherNET IP
15/72Copyright 2012 Rockwell Automation, Inc. All rights reserved.
OSI Reference ModelOpen Systems Interconnection
Application
Presentation
Session
Transport
Network
Layer 7
Layer 6
Layer 5
Layer 4
Layer 3
Vendor Specific
Vendor Specific
Layer Name Layer No. Function
IE Protocol
Data Link
Physical
Layer 2
Layer 1
IEEE 802.3
TIA - 1005
Limits Portability and Routability,
may require additional assets
to forward information throughout
the plantwide architecture
8/13/2019 Fundamentals of EtherNET IP
16/72Copyright 2012 Rockwell Automation, Inc. All rights reserved.
OSI Reference ModelOpen Systems Interconnection
Application
Presentation
Session
Transport
Network
Layer 7
Layer 6
Layer 5
Layer 4
Layer 3
Vendor Specific
Vendor Specific
Layer Name Layer No. Function
IE Protocol
Data Link
Physical
Layer 2
Layer 1
Vendor Specific
TIA - 1005
Non standard Ethernet,
will require additional assets
to connect into
the plantwide architecture
8/13/2019 Fundamentals of EtherNET IP
17/72Copyright 2012 Rockwell Automation, Inc. All rights reserved.
OSI Reference ModelNetwork Independent
Layer 7
Layer 4
Layer 3
Layer 2
Layer 1
Layer No.
NetworkIndependent
8/13/2019 Fundamentals of EtherNET IP
18/72Copyright 2012 Rockwell Automation, Inc. All rights reserved.
OSI Reference ModelOpen System Interconnection
Application
Presentation
Session
Transport
Network
Data Link
Physical
Layer 7
Layer 6
Layer 5
Layer 4
Layer 3
Layer 2
Layer 1
Network Services to User App
Encryption/Other processing
Manage Multiple Applications
Reliable delivery/Error correction
Logical addressing - Routers
Media Access Control
Specifies voltage, pin-outs, cable
TCP - UDP
IP
IEEE 802.3
TIA - 1005
Routers
Switches
Cabling
Layer Name Layer No. Function Examples
Similar sounding network devices, services and terms exist at Layer 2 (L2) and Layer3 (L3)e.g. QoS, Resiliency, Security, Connections
CIP
8/13/2019 Fundamentals of EtherNET IP
19/72Copyright 2012 Rockwell Automation, Inc. All rights reserved.
Layer 1Physical Layer
Design and implement a
robust physical layer
Environment Classification - MICE
More than cable Connectors
Patch panels
Cable management
Grounding, Bonding and Shielding(noise mitigation)
Standard Physical Media Wired vs. Wireless
Copper vs. Fiber
UTP vs. STP Singlemode vs. Multimode
SFPLC vs. SC
Standard Topology Choices Switch-Level & Device-Level
Cable Selection
ENET-WP007
LAN Troubleshooting Guide
Industrial Ethernet PhysicalInfrastructure ReferenceArchitecture Design Guide
ODVA Guide
Fiber GuideENET-TD003
http://www.flukenetworks.com/fnet/en-us/search/searchresult.htm?mode=ShowAll&query=frontlinehttp://www.panduit.com/Solutions/IndustrialAutomation/index.htmhttp://www.panduit.com/Solutions/IndustrialAutomation/index.htmhttp://www.panduit.com/Solutions/IndustrialAutomation/index.htmhttp://www.odva.org/Portals/0/Library/Publications_Numbered/PUB00148R0_EtherNetIP_Media_Planning_and_Installation_Manual.pdfhttp://literature.rockwellautomation.com/idc/groups/literature/documents/td/enet-td003_-en-e.pdfhttp://literature.rockwellautomation.com/idc/groups/literature/documents/td/enet-td003_-en-e.pdfhttp://literature.rockwellautomation.com/idc/groups/literature/documents/td/enet-td003_-en-e.pdfhttp://literature.rockwellautomation.com/idc/groups/literature/documents/td/enet-td003_-en-e.pdfhttp://literature.rockwellautomation.com/idc/groups/literature/documents/td/enet-td003_-en-e.pdfhttp://literature.rockwellautomation.com/idc/groups/literature/documents/td/enet-td003_-en-e.pdfhttp://literature.rockwellautomation.com/idc/groups/literature/documents/td/enet-td003_-en-e.pdfhttp://literature.rockwellautomation.com/idc/groups/literature/documents/td/enet-td003_-en-e.pdfhttp://literature.rockwellautomation.com/idc/groups/literature/documents/td/enet-td003_-en-e.pdfhttp://www.odva.org/Portals/0/Library/Publications_Numbered/PUB00148R0_EtherNetIP_Media_Planning_and_Installation_Manual.pdfhttp://www.odva.org/Portals/0/Library/Publications_Numbered/PUB00148R0_EtherNetIP_Media_Planning_and_Installation_Manual.pdfhttp://www.panduit.com/Solutions/IndustrialAutomation/index.htmhttp://www.panduit.com/Solutions/IndustrialAutomation/index.htmhttp://www.panduit.com/Solutions/IndustrialAutomation/index.htmhttp://www.panduit.com/Solutions/IndustrialAutomation/index.htmhttp://www.flukenetworks.com/fnet/en-us/search/searchresult.htm?mode=ShowAll&query=frontline8/13/2019 Fundamentals of EtherNET IP
20/72Copyright 2012 Rockwell Automation, Inc. All rights reserved.
Layer 1Physical Layer
It provides the hardware means of sending and receiving data on a
carrier, including defining cables, cards and physical aspects.
LAN or WAN Voltage levels, physical data rates, maximum transmission distances,
physical connectors
Ethernet examples: 10Base-2, 10Base-5, 10Base-T, 100Base-TX
100Base-SX
Responsible for converting a frame,Layer 2 output, into electrical signalsto be transmitted over the physical network.
Other PHY examples: RS-232
T1, E1
ISDN
802.11
8/13/2019 Fundamentals of EtherNET IP
21/72Copyright 2012 Rockwell Automation, Inc. All rights reserved.
Layer 1Physical LayerAuto-Negotiation vs. Fixed Settings
Pulses detectLink speed andintegrity
(10/100/1000)
NegotiateFull/HalfDuplex
Negotiateoptionalfeatures (like
MDIX)
8/13/2019 Fundamentals of EtherNET IP
22/72Copyright 2012 Rockwell Automation, Inc. All rights reserved.
Layer 1Physical LayerEN2TR Example
RSLinx ClassicModule Configuration
EN2TR WebpageNetwork Settings
RSLogix 5000EN2TR Properties
8/13/2019 Fundamentals of EtherNET IP
23/72Copyright 2012 Rockwell Automation, Inc. All rights reserved.
Layer 1Physical LayerInfrastructureActive Devices
A repeater recreates the incoming signal and re-transmits it without noiseor distortion that may have effected the signal as it was transmitted downthe cable.
Repeaters were available on legacy Ethernet to increase the overall length
of the network and allow additional nodes to be added.
8/13/2019 Fundamentals of EtherNET IP
24/72
8/13/2019 Fundamentals of EtherNET IP
25/72Copyright 2012 Rockwell Automation, Inc. All rights reserved.
Layer 1Physical LayerTopology - Linear
LinearDevice-Level
LinearSwitch-Level
Layer 2 Access Link
Layer 2 Interswitch Link/802.1Q Trunk
Layer 3 Link
Layer 2 Access Switch
Stratix 8000
Multi-Layer SwitchLayer 2 and Layer 3Stratix 8300
Layer 3 Router
Layer 2 Bridge
8/13/2019 Fundamentals of EtherNET IP
26/72Copyright 2012 Rockwell Automation, Inc. All rights reserved.
Layer 1Physical LayerTopologyStar and Redundant Star
Star Redundant Star
8/13/2019 Fundamentals of EtherNET IP
27/72Copyright 2012 Rockwell Automation, Inc. All rights reserved.
Layer 1Physical LayerTopology - Ring
RingDevice-Level Ring
Switch-Level
8/13/2019 Fundamentals of EtherNET IP
28/72Copyright 2012 Rockwell Automation, Inc. All rights reserved.
Layer 2Data Link802.3EthernetLocal Area Network (LAN)
The Data Link layer is divided into two sub layers:
The Media Access Control(MAC) sub-layer and the Logical Link Control
(LLC) sub-layer.
MAC (802.3) lower sub-layer controls how a device on the network gains access to the
data and permission to transmit it. Ethernet Media Access: CSMA/CD
LLC (802.2) upper sub-layer controls frame synchronization, flow control, and acts as
an interface between the MAC sub-layer and the network layer.
Layer 2 LAN and WAN Examples:
802.3, 802.5, Frame Relay, ATM, ISDN, MPLS (service providers) Layer 2 Protocol Examples:
ARPAddress Resolution Protocol
Layer 2 Services Examples
QoSQuality of Service, VLANVirtual Local Area Network , Resiliency and Security
Data (Payload) FCSSADASFD Type/Len802.3 Frame
Pre
8/13/2019 Fundamentals of EtherNET IP
29/72
Copyright 2012 Rockwell Automation, Inc. All rights reserved.
Layer 2Data LinkHardware Addressing
All devices on Ethernet communicate using the Ethernet address for the device. This
address is sometimes referred to as the hardware, burned-in or MAC address
(MAC stands for Media Access Controller).
The hardware address is a unique (in the world) 6-byteaddress that is embedded in
the circuitry of every device that sits on an Ethernet network. First 3-bytesidentify aspecific vendor.
Every vendor of Ethernet products obtains their own unique address range
Allen-Bradleys is 00:00:BC:XX:XX:XX and 00:1D:9C:XX:XX:XX
Example - 00:00:BC:03:52:A9
Note that each digit of the MAC address is a hex number (range 0-F)
http://www.techzoom.net/tools/check-mac.en
MAC Decoder
http://www.techzoom.net/tools/check-mac.enhttp://www.techzoom.net/tools/check-mac.enhttp://www.techzoom.net/tools/check-mac.enhttp://www.techzoom.net/tools/check-mac.enhttp://www.techzoom.net/tools/check-mac.enhttp://www.techzoom.net/tools/check-mac.enhttp://www.techzoom.net/tools/check-mac.enhttp://www.techzoom.net/tools/check-mac.en8/13/2019 Fundamentals of EtherNET IP
30/72
Copyright 2012 Rockwell Automation, Inc. All rights reserved.
Layer 2Data LinkLAN Transmission Methods
Unicast
A method by which a frame is sent to a single destination.
Multicast
A technique that allows copies of a single frame to be passed to a
selected subset of possible destinations. Example: 01-00-0C-CC-CC-CC (Cisco Discovery ProtocolCDP)
Broadcast
A frame delivery system that delivers a given frame to all hosts on theLAN.
FF:FF:FF:FF:FF:FF
8/13/2019 Fundamentals of EtherNET IP
31/72
Copyright 2012 Rockwell Automation, Inc. All rights reserved.
Layer 2 - Data LinkBridging
A bridge is a device that isolates traffic between segments by selectively forwarding
frames to their proper destination. It is transparent to the network and protocol
independent.
Similar to the repeater, the bridge isnt used much any more, but more advanced
devices which perform the bridging function are commonly used.
Ethernet Ethernet
Ethernet Token Ring
AccessPoint
Work GroupBridge
Bridge
Bridge
Ethernet Ethernet
EtherNet/IP DeviceNetBridge
Layer 2
Layer 3 Layer 7
8/13/2019 Fundamentals of EtherNET IP
32/72
Copyright 2012 Rockwell Automation, Inc. All rights reserved.
Layer 2 - Data LinkSwitching
Multi-port Bridge
Examples - Stratix 8000 and 6000
All ports are in the same broadcast domain
Forwards frames based on the MAC address and a forwarding
table
CAM Tablecontent addressable memory
Learns a stations location by examining source address
Sends out all ports when destination address is
broadcast, multicast, or unknown address Forwards when destination is located on different
interface
Managed switches provide Layer 2 features, such as
segmentation (VLAN tag), security, QoS, resiliency, etc.
16
8
LAN
8/13/2019 Fundamentals of EtherNET IP
33/72
Copyright 2012 Rockwell Automation, Inc. All rights reserved.
Layer 2Data LinkSwitching Options
Industrial versus COTS - Panel & DIN Rail Mounting vs. Table & Rack (e.g. 1RU)
Managed versus Unmanaged
Advantages Disadvantages
Managed
Switches
Unmanaged
Switches
Loop prevention
Security services
Diagnostic information
Segmentation services (VLANs)
Prioritization services (QoS)
Network resiliency
Multicast management services
Inexpensive
Simple to set up
More expensive
Requires some level of support andconfiguration to start up
No loop prevention No security services
No diagnostic information
No segmentation or prioritization services
Difficult to troubleshoot
No network resiliency support
8/13/2019 Fundamentals of EtherNET IP
34/72
Copyright 2012 Rockwell Automation, Inc. All rights reserved.
Layer 2Data LinkEN2TR Example
EN2TR Webpage
MAC Address
EN2TR WebpageEthernet Statistics
RSLinx ClassicEN2TR DiagnosticsEthernet Statistics
2
8/13/2019 Fundamentals of EtherNET IP
35/72
Copyright 2012 Rockwell Automation, Inc. All rights reserved.
Layer 2Data LinkEtherNet/IP is Standard
Standard MAC - 00:00:BC:XX:XX:XX & 00:1D:9C:XX:XX:XX
Transmission types: unicast, multicast and broadcast
EtherType
Commone.g. IPv4, ARP
ODVA Embedded Switch Beacon - EtherType - 0x08E1
Layer 2 service example
QoSCoS
Data (Payload) FCSSADASFD Type/Len
802.3 Frame
Pre
8/13/2019 Fundamentals of EtherNET IP
36/72
L 3 N t k
8/13/2019 Fundamentals of EtherNET IP
37/72
Copyright 2012 Rockwell Automation, Inc. All rights reserved.
Layer 3NetworkLAN Transmission Methods
Unicast
A method by which a packet is sent to a single destination.
Multicast
A technique that allows copies of a single packet to be passed to a
selected subset of possible destinations 224.0.0.0 - 239.255.255.255 EtherNet/IP IP Multicast Address Range:
239.192.0.0 - 239.195.255.255
Broadcast A packet delivery system that delivers a given packet to all hosts on
the LAN. 255.255.255.255
L 3 N t k
8/13/2019 Fundamentals of EtherNET IP
38/72
Copyright 2012 Rockwell Automation, Inc. All rights reserved.
Layer 3NetworkInternet Protocol Address
Fixed or assigned from a pool?
What type of server? If assigningfrom a pool
Unique Network Identity
Resolves Hostnames to IPaddresses on the network
User-Friendly Name to identify anode on the network
L 3 N t k
8/13/2019 Fundamentals of EtherNET IP
39/72
Copyright 2012 Rockwell Automation, Inc. All rights reserved.
Option Description Advantages Disadvantages
Static
Hardware
Devices hard coded with an
IP Address
Simple to commission and
replace
In large environments, can be burdensometo maintain
Limited ranged of IP addresses and subnet
Not all devices support
Static via BOOTP
Configuration
Server assigns devices IP
addresses
Precursor to DHCP
Supported by every device
Requires technician to configure IP
address/MAC address when a device is
replaced
Adds complexity and point of failure
DHCP
Server assigns IP addresses
from a pool (NOT
RECOMMENDED for
industrial devices)
Efficient use of IP address
range
Can reduce administration
work load
More complex to implement and adds a point
of failure
Devices get different IP addresses when they
reboot
DHCP Option 82Server assigns consistent IPaddresses from a pool (NOT
RECOMMENDED)
Efficient use of IP Address
rangeCan reduce administration
work load
More complex to implement and adds a pointof failure
Mixed environments may not work
DHCP port-
based allocation
Automatically assign IP
address per physical switch
port
Efficient use of IP Address
range
Eases commissioning and
maintenance in large
environments
Requires some maintenance and upkeep, on
a per switch basis
Layer 3NetworkIP Addressing Schema
L 3 N t k
8/13/2019 Fundamentals of EtherNET IP
40/72
Copyright 2012 Rockwell Automation, Inc. All rights reserved.
Layer 3NetworkIPDefault Gateway
Gateways and Routers use the network portion of IP addresses to
identify where networks are.
Switch/route packets by IP Address.
Stratix 8300Layer 2 and Layer 3 switching.
A table is kept that tells the device which port a message should be
transmitted out in order to get the message to the proper network. If the particular network is not directly attached to that device, it will
simply
forward the message to the next
gateway or router in the path for
further routing.
Time-to-live (TTL)
RA EtherNet/IP implementation for
multicastTTL=1
RA EtherNet/IP implementation for
unicastTTL=64
10.17.10.0
10.10.10.0
1
2
Network
Routing TablePort
Default Gateway10.10.10.110.17.10.1
VLAN 17Subnet 10.17.10.0/24
VLAN 10Subnet 10.10.10.0/24
10.17.10.56
10.10.10.56
L 3 N t k
8/13/2019 Fundamentals of EtherNET IP
41/72
Copyright 2012 Rockwell Automation, Inc. All rights reserved.
Layer 3 - NetworkRouting
Switch/route packets by IP Address.
Extend network distance
LAN, MAN, WAN
Connect different LANs
Broadcast control Multicast control, EtherNet/IP
multicast not routable - TTL=1
Layer 3 features such as security,
QoS, resiliency, etc.
Make sure IT understands required
protocols
Is there a need to route to other subnets?
Multicast traffic?
Security or segmentation?
WAN
Default Gateway10.10.10.110.17.10.1
10.17.10.56
10.10.10.56
VLAN 17Subnet 10.17.10.0/24
VLAN 10Subnet 10.10.10.0/24
L 3 N t k
8/13/2019 Fundamentals of EtherNET IP
42/72
Copyright 2012 Rockwell Automation, Inc. All rights reserved.
Layer 3NetworkRouter and Routing
Routed protocols Examples:
Internet Protocol (IP)
Novel Netware Internetwork Packet Exchange (IPX)
Routing Protocols
Routers talking to routers
Maintaining optimal network topology/path to subnets, and forwarding packets along those pathsstaticand dynamic routes
Examples:
OSPFOpen Shortest Path First, IETF Standard (Link-State Routing)
EIGRPEnhanced Interior Gateway Routing Protocol, Cisco innovation (Distance Vector Routing)
Router Redundancy Protocols
Fault tolerance for default gateways Examples:
VRRPVirtual Router Redundancy Protocol, IETF Standards
HSRPHot Standby Router Protocol , Cisco innovation
GLBPGateway Load Balancing Protocol , Cisco innovation
Layer 3 Network
8/13/2019 Fundamentals of EtherNET IP
43/72
Copyright 2012 Rockwell Automation, Inc. All rights reserved.
Layer 3NetworkEN2TR Example
EN2TR WebpageARP Table
EN2TR WebpageIP Statistics
RSLogix 5000EN2TR PropertiesPort Diagnostics
Layer 3 Network
8/13/2019 Fundamentals of EtherNET IP
44/72
Copyright 2012 Rockwell Automation, Inc. All rights reserved.
Layer 3NetworkEtherNet/IP is Standard
Standard IPv4
Transmission types: unicast, multicast and ip directed-broadcast
TTL
Unicast - 64
Multicast - 1
Multicast addresses - 239.192.0.0/14 range 239.192.0.0 -239.195.255.255
Layer 3 service example
QoSToS - DSCP
ID Offset TTL Proto HCS IP SA IP DA DataLen
Version
/Len
ToS
ByteIPv4 Packet
Layer 4 Transport
8/13/2019 Fundamentals of EtherNET IP
45/72
Copyright 2012 Rockwell Automation, Inc. All rights reserved.
Layer 4TransportSegment
This layer provides transparent transfer of data between end systems, or devices, and is responsible for end-
to-end error recovery and flow control. It ensures complete data transfer.
User Datagram Protocol - UDP
Connectionless/best effort
Does not use acknowledgements
IP - Unicast and Multicast
CIPused for Class 1 (Implicit) I/O
and P/C connectionsport 2222
Transmission Control Protocol - TCP
Connection-oriented, end-to-end reliable
transmission
Utilizes acknowledgements (ACK) to ensure
reliable delivery
IP - Unicast
CIPused for Class 3 (Explicit) messaging
such as Operator Interfaceport 44818
UDP Header
TCP Header
Layer 4 Transport
8/13/2019 Fundamentals of EtherNET IP
46/72
Copyright 2012 Rockwell Automation, Inc. All rights reserved.
Layer 4TransportPorts and Sockets
KnowledgeBase Answer# 29402
Layer 4 Transport
http://rockwellautomation.custhelp.com/app/answers/detail/a_id/29402/kw/TCP%20UDP%20ports/r_id/109439http://rockwellautomation.custhelp.com/app/answers/detail/a_id/29402/kw/TCP%20UDP%20ports/r_id/1094398/13/2019 Fundamentals of EtherNET IP
47/72
Copyright 2012 Rockwell Automation, Inc. All rights reserved.
CommunicationsModule
TCP connections CIP Connections
1756-ENBT 64 128
1756-EN2T 128 256
1756-EN2TR 128 256
1756-EN3TR 128 256
1756-EN2F 128 256
ENET-UM001G-EN-PEtherNet/IP Modules in Logix5000 Control Systems
. provides connection and packet rate specs for modules
Layer 4TransportControlLogix Module connection support (partial list)
Layer 4 Transport
http://literature.rockwellautomation.com/idc/groups/literature/documents/um/enet-um001_-en-p.pdfhttp://literature.rockwellautomation.com/idc/groups/literature/documents/um/enet-um001_-en-p.pdfhttp://literature.rockwellautomation.com/idc/groups/literature/documents/um/enet-um001_-en-p.pdfhttp://literature.rockwellautomation.com/idc/groups/literature/documents/um/enet-um001_-en-p.pdfhttp://literature.rockwellautomation.com/idc/groups/literature/documents/um/enet-um001_-en-p.pdfhttp://literature.rockwellautomation.com/idc/groups/literature/documents/um/enet-um001_-en-p.pdfhttp://literature.rockwellautomation.com/idc/groups/literature/documents/um/enet-um001_-en-p.pdfhttp://literature.rockwellautomation.com/idc/groups/literature/documents/um/enet-um001_-en-p.pdf8/13/2019 Fundamentals of EtherNET IP
48/72
Copyright 2012 Rockwell Automation, Inc. All rights reserved.
Layer 4TransportEN2TR Example
EN2TR WebpageDiagnostic Overview
EN2TR WebpageTCP Connection
EN2TR Webpage
UDP Statistics
Layer 4 Transport
8/13/2019 Fundamentals of EtherNET IP
49/72
Copyright 2012 Rockwell Automation, Inc. All rights reserved.
Layer 4TransportEtherNet/IP is Standard
Standard TCP & UDP
Standard TCP & UDP Port Usage
UDP Header
TCP Header
Layer 7 Application
8/13/2019 Fundamentals of EtherNET IP
50/72
Copyright 2012 Rockwell Automation, Inc. All rights reserved.
PLANT
MACHINE
Guten tag?
Bonjour?
Layer 7ApplicationCommon Industrial Protocol
Hello.
How are you?
Hi.Im great.
An open, common, standard, and proven language is everything!!
Layer 7 Application
8/13/2019 Fundamentals of EtherNET IP
51/72
Copyright 2012 Rockwell Automation, Inc. All rights reserved.
Layer 7ApplicationCommon Industrial Protocol
Layer 7
Layer 4
Layer 3
Layer 2
Layer 1
Layer No.
Standard set of services
for accessing data andcontrolling industrialdevice operation
Standard to integrateI/O control, deviceconfiguration and
data collection in industrialautomation and controlsystems
odva.org
Layer 7 Application
http://odva.org/Home/tabid/53/lng/en-US/language/en-US/Default.aspxhttp://odva.org/Home/tabid/53/lng/en-US/language/en-US/Default.aspx8/13/2019 Fundamentals of EtherNET IP
52/72
Copyright 2012 Rockwell Automation, Inc. All rights reserved.
Layer 7ApplicationCommon Industrial Protocol
CIP uses object modeling to
describe devices Device Profiles define the
communication view of adevice
Electronic Data Sheets (EDS)
Layer 7 Application
8/13/2019 Fundamentals of EtherNET IP
53/72
Copyright 2012 Rockwell Automation, Inc. All rights reserved.
Layer 7ApplicationCIPObject Modeling - Example
Object Class: Human
ObjectInstance:
Peter
ObjectInstance:
Sam
Attributes
Weight: 82 kg Weight: 75 kg
Height: 1.8 m Height: 1.7 m
Age: 28 years Age: 29 years
Layer 7 Application
8/13/2019 Fundamentals of EtherNET IP
54/72
Copyright 2012 Rockwell Automation, Inc. All rights reserved.
Layer 7ApplicationCIP Objects
Connection Objects model the communication characteristics of aparticular application to application(s) relationship
In EtherNet/IP these are actually several objects
Connection
Device #2Device #1
ConnectionObjects
ConnectionObjects
ApplicationObject
ApplicationObject
Sensor
Actuator Controller
CIP Safety
8/13/2019 Fundamentals of EtherNET IP
55/72
Copyright 2012 Rockwell Automation, Inc. All rights reserved.
CIP SafetyLayer 7 - Application
CIP Extension
High-integrity Safety Services and Messages for CIP Data redundancy - data sent twice (actual & inverted)
Safety CRC redundancyactual & inverted
End-to-end Safety CRCs - individual CRCs for data(actual & inverted) and overall message
Every packet is time stamped IEC 61508SIL3 and EN 954-1 - Cat 4
Two behaviors must be implemented: Real-time transfer of safety data
Safety Validator Object Client (Device producing safety data)
Server (Device consuming safety data) Safety Messages
Configuration of safety devices Safety Supervisor Object
Originator (Device originating connection)
Target (Target of connection origination)
SafetyOpen, SafetyOpen Response
CIP Safety
8/13/2019 Fundamentals of EtherNET IP
56/72
Copyright 2012 Rockwell Automation, Inc. All rights reserved.
CIP SafetyLayer 7 - Application
Safety I/O
Safety I/OSafety I/O
I/O
I/O
Safety Controller
Safety ControllerController
CameraHMI
VFD
Safety I/O
Catalyst 3750
StackWise
Catalyst 2960FactoryTalk
Server
CIP Sync
8/13/2019 Fundamentals of EtherNET IP
57/72
Copyright 2012 Rockwell Automation, Inc. All rights reserved.
CIP SyncLayer 7 - Application
CIP Extension
Defines time synchronization servicesand object for CIP Networks
Allows distributed control components to share a common notion
of time
Implements IEEE-1588 precision clock synchronization protocol Referred to as precision time protocol (PTP)
Provides +/- 100 ns synchronization (hardware-assisted clock)
Provides +/- 100 s synchronization (software clock)
Time Synchronized Applications such as:
Input time stamping
Alarms and Events
Sequence of Events (SOE)
First fault detection
Time scheduled outputs
Coordinated Motion
FTP HTTP OPC SNMP
IP
IEEE 802.3 Ethernet
OSPF ICMP IGMP
RARPARP
UDP
CIP
TCP
Layer 1-2
Layer 3
Layers 5-7
Layer 4
Synchronized
Clock Value
Optional
Hardware
Assist
1588
CIP Motion
8/13/2019 Fundamentals of EtherNET IP
58/72
Copyright 2012 Rockwell Automation, Inc. All rights reserved.
CIP MotionLayer 7 - Application
Traditional approach to motion control - Network Scheduling (time-slot)
CIP Motion approach - Pre-determined Execution Plan for position path,
based on a common understanding of time between the motion
controller and drives where to be and at what time
CIP Motion
8/13/2019 Fundamentals of EtherNET IP
59/72
Copyright 2012 Rockwell Automation, Inc. All rights reserved.
CIP MotionLayer 7 - Application
CIP Extension
Controller and Drive Profiles Motion Axis Object
Safety I/O
Safety I/OController
I/O
Safety Controller
I/O
Controller
Camera
HMI
VFD
Servo Drive Servo Drive
Layer 7 Application
8/13/2019 Fundamentals of EtherNET IP
60/72
Copyright 2012 Rockwell Automation, Inc. All rights reserved.
Layer 7 ApplicationEN2TR Example
EN2TR WebpageDiagnostic Overview
EN2TR WebpageDiagnostic Overview
RSLinx Classic - EDS
RSLinx ClassicEN2TR DiagnosticsConnection Manager
8/13/2019 Fundamentals of EtherNET IP
61/72
Copyright 2012 Rockwell Automation, Inc. All rights reserved.
Plantwide Network Architectures
Isolated Network with Single Controller(ODVA)
Examples
Machine Builder Solution
(Machine or section of machine)
Controller
VFDDrive
HMI
I/O I/O
ServoDrive
Controller
VFDDrive
HMI
I/O
I/O
Servo
Drive
Controller
VFDDriveHMI
I/O
I/O
ServoDrive
Star
Ring
Linear
8/13/2019 Fundamentals of EtherNET IP
62/72
Copyright 2012 Rockwell Automation, Inc. All rights reserved.
Plantwide Network Architectures
Isolated Network with Multiple Controllers
(ODVA)
Examples
Integrated Machine Builder Solutions
Single Cell/Area Zone, Multiple
Machines or Lines
Controller
VFDDrive
HMI
I/O I/O
ServoDrive
Controller
VFDDrive
HMI
I/O
I/O
ServoDrive
Stratix8300
Controller
VFDDriveHMI
I/O
I/O
ServoDrive
Star
Ring
Linear
8/13/2019 Fundamentals of EtherNET IP
63/72
Copyright 2012 Rockwell Automation, Inc. All rights reserved.
Plantwide Network Architectures
Connected and Integrated Control System (ODVA)
Examples
Integrated Machine Builder Solutions or End User Plant Network
Single Cell/Area Zone, Multiple Lines, Multiple Machines
Production - VLANs
VFDDrive
HMI
Stratix 8000/8300REP
Class 1 & 3
Camera
SafetyController
ServoDrive
I/OSafety I/O
VLAN 43Camera
VLAN 43
Controller
VFDDrive
HMI
HMI
I/O
Controller
I/O
I/O
IP Camera - VLAN
Controller
I/O
Levels 02Cell/Area Zones
Industrial ZoneLevel 3
VLAN 17Subnet 10.17.10.0/24
VLAN 10Subnet 10.10.10.0/24
VLAN 16Subnet 10.16.10.0/24
Convergence-Ready
8/13/2019 Fundamentals of EtherNET IP
64/72
Copyright 2012 Rockwell Automation, Inc. All rights reserved.
EtherNet/IP Advantage Summary
Single Network Technology for: Discrete Control, Process Control, Batch Control, Configuration, Information/Diagnostics, Safety
Control, Time Synchronization, Motion Control and Energy Management
Established300+ Vendors, over 4,500,000 nodes
ODVA: Cisco Systems and Rockwell Automation are principal members
SupportedAll EtherNet/IP products require conformance testing
Standard- Ethernet and TCP/IP Protocol Suite
IT friendly
Future-readySustainable; Industry Standards such as IEEE and IETF
Topology & Media Independentflexibility and choice
Portability and Routability
Physical layer and data link layer independence; seamless data forwarding
Common industrial application layer protocol
DeviceNet, ControlNet and EtherNet/IP
Seamless bridging throughout CIP networks
8/13/2019 Fundamentals of EtherNET IP
65/72
Additional Material
8/13/2019 Fundamentals of EtherNET IP
66/72
Copyright 2012 Rockwell Automation, Inc. All rights reserved.
Additional MaterialODVA
Website:
http://www.odva.org/
Media Planning and Installation Manual
http://www.odva.org/Portals/0/Library/Publications_Numbered/PUB00148R0_EtherNetIP_Media_Plan
ning_and_Installation_Manual.pdf
Network Infrastructure for EtherNet/IP: Introduction and Considerations
http://www.odva.org/Portals/0/Library/Publications_Numbered/PUB00035R0_Infrastructure_Guide.pdf
Device Level Ring
http://www.odva.org/Portals/0/Library/CIPConf_AGM2009/2009_CIP_Networks_Conference_Technica
l_Track_Intro_to_DLR_PPT.pdf
The CIP Advantage
http://www.odva.org/default.aspx?tabid=54
Additional Material
http://www.odva.org/http://www.odva.org/Portals/0/Library/Publications_Numbered/PUB00148R0_EtherNetIP_Media_Planning_and_Installation_Manual.pdfhttp://www.odva.org/Portals/0/Library/Publications_Numbered/PUB00148R0_EtherNetIP_Media_Planning_and_Installation_Manual.pdfhttp://www.odva.org/Portals/0/Library/Publications_Numbered/PUB00035R0_Infrastructure_Guide.pdfhttp://www.odva.org/Portals/0/Library/CIPConf_AGM2009/2009_CIP_Networks_Conference_Technical_Track_Intro_to_DLR_PPT.pdfhttp://www.odva.org/Portals/0/Library/CIPConf_AGM2009/2009_CIP_Networks_Conference_Technical_Track_Intro_to_DLR_PPT.pdfhttp://www.odva.org/default.aspx?tabid=54http://www.odva.org/default.aspx?tabid=54http://www.odva.org/Portals/0/Library/CIPConf_AGM2009/2009_CIP_Networks_Conference_Technical_Track_Intro_to_DLR_PPT.pdfhttp://www.odva.org/Portals/0/Library/CIPConf_AGM2009/2009_CIP_Networks_Conference_Technical_Track_Intro_to_DLR_PPT.pdfhttp://www.odva.org/Portals/0/Library/Publications_Numbered/PUB00035R0_Infrastructure_Guide.pdfhttp://www.odva.org/Portals/0/Library/Publications_Numbered/PUB00148R0_EtherNetIP_Media_Planning_and_Installation_Manual.pdfhttp://www.odva.org/Portals/0/Library/Publications_Numbered/PUB00148R0_EtherNetIP_Media_Planning_and_Installation_Manual.pdfhttp://www.odva.org/8/13/2019 Fundamentals of EtherNET IP
67/72
Copyright 2012 Rockwell Automation, Inc. All rights reserved.
Cisco and Rockwell Automation Alliance
Websites http://www.ab.com/networks/architectures.html
Design Guides
Converged Plantwide Ethernet (CPwE)
Application Guides
Fiber Optic Infrastructure Application Guide Education Series
Whitepapers
Top 10 Recommendations for Plantwide EtherNet/IP
Deployments
Securing Manufacturing Computer and Controller Assets Production Software within Manufacturing Reference
Architectures
Achieving Secure Remote Access to Plant Floor
Applications and Data
Additional Material
http://www.ab.com/networks/architectures.htmlhttp://www.ab.com/networks/architectures.htmlhttp://literature.rockwellautomation.com/idc/groups/literature/documents/td/enet-td001_-en-p.pdfhttp://literature.rockwellautomation.com/idc/groups/literature/documents/td/enet-td003_-en-e.pdfhttp://literature.rockwellautomation.com/idc/groups/literature/documents/wp/enet-wp022_-en-e.pdfhttp://literature.rockwellautomation.com/idc/groups/literature/documents/wp/enet-wp022_-en-e.pdfhttp://literature.rockwellautomation.com/idc/groups/literature/documents/wp/enet-wp005_-en-e.pdfhttp://literature.rockwellautomation.com/idc/groups/literature/documents/wp/enet-wp006_-en-e.pdfhttp://literature.rockwellautomation.com/idc/groups/literature/documents/wp/enet-wp006_-en-e.pdfhttp://literature.rockwellautomation.com/idc/groups/literature/documents/wp/enet-wp009_-en-e.pdfhttp://literature.rockwellautomation.com/idc/groups/literature/documents/wp/enet-wp009_-en-e.pdfhttp://literature.rockwellautomation.com/idc/groups/literature/documents/wp/enet-wp009_-en-e.pdfhttp://literature.rockwellautomation.com/idc/groups/literature/documents/wp/enet-wp009_-en-e.pdfhttp://literature.rockwellautomation.com/idc/groups/literature/documents/wp/enet-wp006_-en-e.pdfhttp://literature.rockwellautomation.com/idc/groups/literature/documents/wp/enet-wp006_-en-e.pdfhttp://literature.rockwellautomation.com/idc/groups/literature/documents/wp/enet-wp005_-en-e.pdfhttp://literature.rockwellautomation.com/idc/groups/literature/documents/wp/enet-wp005_-en-e.pdfhttp://literature.rockwellautomation.com/idc/groups/literature/documents/wp/enet-wp022_-en-e.pdfhttp://literature.rockwellautomation.com/idc/groups/literature/documents/wp/enet-wp022_-en-e.pdfhttp://literature.rockwellautomation.com/idc/groups/literature/documents/td/enet-td003_-en-e.pdfhttp://literature.rockwellautomation.com/idc/groups/literature/documents/td/enet-td001_-en-p.pdfhttp://www.ab.com/networks/architectures.htmlhttp://www.ab.com/networks/architectures.html8/13/2019 Fundamentals of EtherNET IP
68/72
Copyright 2012 Rockwell Automation, Inc. All rights reserved.
Cisco and Rockwell Automation Alliance
Education Series Webcasts
The Trend - Network Technology and Cultural Convergence
What every IT professional should know about Plant Floor Networking
What every Plant Floor Controls Engineer should know about working with IT
Industrial Ethernet: Introduction to Resiliency Fundamentals of Secure Remote Access
for Plant Floor Applications and Data
Securing Architectures and Applications
for Network Convergence
Convergence-Ready EtherNet/IP Solutions
Available Online
http://www.ab.com/networks/architectures.html
http://www.ab.com/networks/architectures.htmlhttp://www.ab.com/networks/architectures.html8/13/2019 Fundamentals of EtherNET IP
69/72
Additional Material
8/13/2019 Fundamentals of EtherNET IP
70/72
Copyright 2012 Rockwell Automation, Inc. All rights reserved.
Network Sessions
W5: Robust, Secure Plantwide EtherNet/IP Infrastructure
RA, Cisco, Panduit & Fluke Networks
W6: Achieve Secure Remote Access to Plantwide Applications RA & Cisco
T8: Networks: Fiber Optic Application Best Practices for EtherNet/IP Panduit, RA & Fluke Networks
T43: Wireless: Applying Plantwide Industrial Wireless Communications for Cost
Savings RA & Cisco
Lab 16: Applying EtherNet/IP in Real-Time Applications
Automation Fair 2012November 7th8th, 2012Philadelphia
8/13/2019 Fundamentals of EtherNET IP
71/72
Copyright 2012 Rockwell Automation, Inc. All rights reserved.
www.rockwellautomation.com
Follow ROKAutomation on Facebook & Twitter.Connect with us on LinkedIn.
110
Please remember to tidy up your work area for the next session.We want your feedback! Please complete the session survey!
Thank you for participating!
8/13/2019 Fundamentals of EtherNET IP
72/72
Questions?