Escolar Documentos
Profissional Documentos
Cultura Documentos
1
PLC
21206 What is Ethernet?
Since its development in 1976 by Xerox, in cooperation with DEC and Intel, Ethernet has
been has become the “defacto” standard for information networks.
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 2
PLC
21206 Ethernet Features
• Provides the ability to share resources such as printers, scanners, data servers
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 3
PLC
21206 IEEE
• The IEEE owns the Ethernet network specification detailed in IEEE 802.3 specification
These standards are open to all and supported by
– SIG’s activities (Special Interest Groups)
– Conferences
– Publications
– Internet Home Page
Example: RFC 2616
describes a protocol called Hyper Text Transfer Protocol, or http
(http://standards.org/getieee802
(http://standards.org/getieee802
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 4
PLC
21206 Protocols on Ethernet
It’s helpful to think of a protocol as a language. If two devices speak the same language or
protocol, they can communicate.
There are many different protocols that can be encapsulated in an Ethernet message. In fact,
multiple protocols are routinely encapsulated into a single message. Each of the different
protocols serves a specific purpose for the particular message. Some popular protocols used on
Ethernet are:
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 6
PLC
21206 TCP/IP vs. EtherNet/IP
EtherNet/IP networks use both TCP, and IP protocols in addition to CIP, the
Common Industrial Protocol.
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 7
PLC
21206 EtherNet/IP and ODVA
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 8
PLC
21206 OSI Reference Model
Open Systems Interconnect Reference Model
The OSI “model” describes how networks work in general. It consists of seven “layers”,
and a number of concepts which will be introduced throughout this series.
If
Ifthis
thisisisbeginning
beginningto
tosound
soundlike
likeGreek….
Greek….
ISO
ISOisisnot
notintended
intendedto
tobebean
anacronym
acronymat
atall,
all,but
butcomes
comes
from
fromthe
theGreek
Greekword
wordisos,
isos,meaning
meaningequal!
equal!
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 9
PLC
21206 OSI Reference Model
Device Profiles
Layer 7- Application
Application Objects
Layer 6 - Presentation CIP Network & Transport
The layers are not always rigid, and often the boundaries between
them are gray.
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 10
PLC
21206 OSI Reference Model
Device Profiles
Layer 7- Application
Application Objects HTTP,FTP,DHCP
CIP Network & Transport
Layer 6 - Presentation and
Implicit Msg Explicit Msg Common Industrial Protocol
Layer 5 - Session
Encapsulation Protocol
The tasks of CIP are defined by the top three layers, but we will
start our investigation from the bottom, at Layer 1 the Physical
Layer.
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 11
PLC
21206 OSI reference Model
It’s this layer of the OSI “stack” that is responsible for the describing hardware
specifications such as the layout of pins, voltages, and...
network “topology”.
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 12
PLC Network Topologies Used In Ethernet
21206 Networks
Although Ethernet networks can be bus-based, star-based, or a combination of both, all
new Ethernet networks, and certainly all EtherNet/IP networks are variations of star
configurations.
The center of the star, is an active device such as an Ethernet switch, which will
be covered in this module.
Bus Star
(Coaxial cable) (Twisted pair, fiber, wireless)
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 13
PLC
21206 Bus Topology
What is it?
– All nodes are connected using a “backbone” which
connects other segments using taps, and
terminators similar to ControlNet.
Where is it used?
– Bus topology was used when coax media was
desired. It may be found in older, existing Bus
architectures, but is not installed in new (Coax Media)
architectures.
The bus topology is used in a lot of existing installations, but since twisted pair is more popular now, and many
devices come with a pre-installed RJ-45 port, it is not seen as often in brand new installations.
With a bus topology, a backbone is run, and devices tap into the backbone where necessary
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 14
PLC
21206 Bus Topology
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 15
PLC
21206 Star Topology
What is it?
– In a star, all nodes are connected to an active
device, either a hub or switch
Where is it used?
– Star topology is used with twisted pair, fiber optic,
and wireless systems. This is the standard
topology used in nearly all offices, factories, and
homes.
Star
Twisted Pair, Fiber Optic
and Wireless
- A star topology is the topology that is used In most new installations. It is also the topology that must be used
for implicit messaging with EtherNet/IP
- With the star topology, all of the nodes are connected to a hub or a switch in the center of the network.
- A star topology must be used when using twisted pair and fiber media.
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 16
PLC
21206 The Good And The Bad On The Star Topology
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 17
PLC
21206 Combination Topologies
- Most of the time, what happens is there are combination topologies out there.
- There may be too many nodes to connect to one hub in a star topology.
What administrators do in that case is to connect two hubs together using another
piece of twisted pair. We call this topology a Hybrid Star. Star/Bus
- Another option to having more than one hub is to connect the hubs using coax.
We call this topology a star/bus topology.
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 18
PLC
21206 Media Components
•Transmission Media
•Transceiver/MAU
•Attachment Unit Interface (AUI)
•Ethernet Controller Card
•Repeater
•Bridge
•Switch
•Router/ Gateway
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 19
PLC
21206 Ethernet Transmission media
Twisted pair cable is the primary media used today for connecting devices to an Ethernet
network. Fiber optic cable is also used, though more commonly in backbone type
applications (connecting groups of nodes together over larger distances).
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 20
PLC
21206 Ethernet Cable Reference
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 21
PLC
21206 Ethernet Cabling Specifics
- Twisted pair is the most popular cable-- it is also low in cost. It is the cable that we use to connect our laptops to the network.
- Fiber optic cable is a lot more expensive-- it will be found where the network has to span a long distance, and in electrically
noisy areas where the noise will interfere with the cable on other networks
- These will be the cable types of choice for EtherNet for control (EtherNet/IP)
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 22
PLC
21206 10BASE-T, 100BASE-T and 1000BASE-T
• 100BASE-T is the IEEE standard that defines the requirement for sending information at
100 Mbps on unshielded twisted-pair cabling, and defines various aspects of running
baseband Ethernet on this cabling.
• 1000BASE-T (also called gigabit Ethernet) is the IEEE standard that defines the
requirement for sending information at 1000 Mbps on unshielded twisted-pair cabling,
and defines various aspects of running baseband Ethernet on this cabling
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 23
PLC
21206 Media, standards, and networks
RG-58
Coaxial Cat 3 Cat 5e Cat 6a
Cable TIA/EIA-568-B TIA/EIA-568-B TIA-568-B.2-10 Fiber optic
Wire Type UTP UTP UTP
“Thin Net”
IEEE
Standard 802.3a 802.3i 802.3ab 802.3an 802.3u
Number
Segment
185m 100m 100m 100m 2km
Length
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 24
PLC
21206 Cat5e cables
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 25
PLC
21206 Transceivers
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 26
PLC
21206 Transceivers
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 27
PLC
21206 Active Devices
Twisted pair based media networks all use various devices to enable their basic “star”
configurations. The three common active devices are:
• Hubs
• Switches
• Routers
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 28
PLC
21206 Active devices on the network - Hubs
Repeaters were used on Ethernet coaxial cable systems to increase the overall
length of the network and allow additional nodes to be added. A repeater
recreated the incoming signal and re-transmitted it without noise or distortion that
may have effected the signal as it was transmitted down the cable.
When UTP (unshielded twisted pair) cabling became popular multiport repeaters
were required to implement the star configurations. These multiport repeaters
are known as hubs.
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 29
PLC
21206 Ethernet Hub
A hub at the center of a star topology utilizes twisted pair or fiber cable to connect to
devices.
A hub sends everything it receives, on any channel out all other channels. A hub
simply acts as a multiport repeater.
A message coming
in one port will be
broadcast out every
other port
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 30
PLC
21206 OSI Reference Model
Hubs don’t make any intelligent decisions, so they are simply a part of the “physical”
connection, even though they are an active, electronic component.
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 31
PLC
21206 OSI Reference Model
Device Profiles
Layer 7- Application
Application Objects
HTTP,FTP,DHCP
Layer 6 - Presentation CIP Network & Transport
and
Implicit Msg Explicit Msg
Layer 5 - Session Common Industrial Protocol
Encapsulation Protocol
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 32
PLC
21206 Ethernet Bridge and Switches
Messages AAmultiport
multiportbridge
bridgeisis
between nodes on Only messages known
knownas asanan
between nodes on
segment A stay
different segments
Ethernet
EthernetSwitch
Switchand
and
on segment A
pass through the bridge isisone
oneofofthe
themost
most
Segment A important
important
Segment B
components
componentsofof
bridge
Ethernet
Ethernetnetworks.
networks.
Segment A
00BC03…
Messages
00AE44... between nodes on
segment B stay
on segment B
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 33
PLC
21206 Ethernet Switch
Switches
selectively
Incoming message is route packets of
transmitted only to the information to
desired node. specific devices
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 34
PLC
21206 Hub vs. Switch
Since switches selectively forward packets instead of broadcasting them like a hub,
switches are more efficient because that they effectively eliminate collisions on the
network, and the amount of bandwidth used.
Switches
selectively
Incoming message is route packets of
transmitted to the desired information to
node only. specific devices
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 35
PLC
21206 OSI reference Model
Their most important data handling job is accomplished using the rules defined by Layer
2 of the OSI stack.
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 36
PLC
21206 OSI Reference Model
Device Profiles
Layer 7- Application
Application Objects
HTTP,FTP,DHCP
Layer 6 - Presentation CIP Network & Transport
and
Implicit Msg Explicit Msg Common Industrial Protocol
Layer 5 - Session
Encapsulation Protocol
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 37
PLC
21206 Routers/Gateways
Sometimes, the term “Gateway” is used to refer to a router which also translates data
between different formats.
The most important data handling job of Routers is accomplished though software using
the rules defined by Layer 3 of the OSI stack.
Of course Routers also do consist of Layer 1 pieces as well, such as Ethernet cables
and connectors.
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 39
PLC
21206 OSI Reference Model
Device Profiles
Layer 7- Application
Application Objects
HTTP,FTP,DHCP
Layer 6 - Presentation CIP Network & Transport
and
Implicit Msg Explicit Msg Common Industrial Protocol
Layer 5 - Session
Encapsulation Protocol
IP-Multicast
Layer 3 - Network IP Routers
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 40
PLC
21206 Routers vs. Switches
Routers Switches
Act as a junction between networks to Connect devices to form a network and
transfer data packets between them. selectively forward frames to the
correct destination.
Based on rules defined by Based on rules defined by
Layer 3 (Network) of the OSI stack Layer 2 (Device) of the OSI stack.
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 41