Вы находитесь на странице: 1из 8

November 2013

Essentials of
Industrial ethernet
A Control Essentials Guide, by the editors of Control

About the Control Essentials Series


The mission of the Control Essentials series is to provide process industry professionals with
an up-to-date, top-level understanding of a range of key process automation topics. Our intent
is to present essential engineering concepts in a practical, non-commercial fashion, together
with a review of the latest technology and marketplace drivers—all in a form factor well suited
for onscreen consumption. We hope you find this edition on Industrial Ethernet useful. Check in
at ControlGlobal.com/Essentials for other installments in the weeks to come.
—The Control Editorial Team

This Control Essentials guide made


possible by TURCK. See page 8 for
more information on TURCK’s full
range of Industrial Ethernet
products and services.
EXECUTIVE SUMMARY

E
thernet just celebrated its 30th birthday. In According to IMS Research, Industrial Ethernet
1983, IEEE published the 802.3 standard is growing fast and will become the dominant
as a draft and, ever since, Ethernet has networking technology within 10–15 years. ARC
come to dominate the commercial and consumer Advisory Group says that Industrial Ethernet is
world. Every home PC comes with an Ethernet establishing itself as the common industrial net-
port, and virtually all communications are done work, displacing application-specific fieldbuses
via Ethernet—except in the industrial world. across a broad spectrum of industries.
For years, industrial users criticized Ethernet’s What is Industrial Ethernet? Simply put, it’s
lack of determinism—that is, its inability to guar- just standard Ethernet with rugged connec-
antee a response time, which is critical for real- tors, devices that can withstand environmental
time control and monitoring systems. Critics also conditions found in industrial environments,
took issue with using an “office” network in an redundant configurations, and a few other
industrial environment, the lack of redundancy, changes that make Ethernet more determinis-
problems with electrical noise, and so on. Ethernet tic for industrial use. Because of this, Industrial
simply couldn’t be used, they said. Ethernet is crowding into virtually every area of
In 1999, the IEC decided that industrial net- a factory or process plant.
works needed to be defined and standardized, so The most popular Ethernet-based indus-
they wrote the IEC 61158 fieldbus standard, and trial networks include EtherCAT, EtherNet/IP,
said eight networks met the standard. Some of the Foundation Fieldbus HSE, Profinet, Sercos,
approved networks have more or less disappeared CC-Link, and standard Ethernet TCP/IP. The
from the scene (P-Net, SwiftNet and WorldFIP) beauty of Ethernet is that it’s like an “informa-
and some new ones joined, leaving Foundation tion super highway”; that is, the highway can ac-
fieldbus H1, HART, ControlNet, Profibus, De- commodate plenty of different types of traffic
viceNet, Modbus, Interbus and AS-I as the primary at the same time. For example, a single Ether-
non-Ethernet device-level networks. net cable might have EtherNet/IP connecting to
Ethernet wasn’t ready for industrial applications a f lowmeter, Profinet connecting fieldbus sys-
in 1999, so the industrial world was content to fol- tems, and Sercos connecting to motor drives.
low major automation vendors down the fieldbus Industrial Ethernet is a force to be reckoned
and device network path. But things have changed. with.
THE PLAYERS
CC-Link—Originally developed by Mitsubishi Electric, CC-Link be-
came an “open” network, and is supported by the CC-Link Partner As-
sociation (CLPA).

EtherCAT—Originally developed by Beckhoff, EtherCAT is now an


open network that uses “pass-through reading.” That is, EtherCAT mes-

F
igure 1 shows the predicted use of Industrial Ethernet networks in sages are passed on before processing in each network node, providing for
2015, according to IMS Research. It’s interesting to note that stan- very short cycle times. EtherCAT is supported by the EtherCAT Technol-
dard Ethernet TCP/IP is predicted to be the most popular, at 40.2%. ogy Group (ETG).
The next two most popular are Profinet and EtherNet/IP — in no small
part because of ardent support from Siemens and Rockwell Automation, EtherNet/IP—Originally developed by Rockwell Automation, EtherNet/
respectively. IP is now an open network supported by the Open DeviceNet Vendors As-
Most Industrial Ethernets were first developed by vendors to support their sociation (ODVA). It is built on standard Ethernet TCP/IP protocols, and
own products. The vendors helped form support groups, then turned their can be used for both discrete automation and process control.
proprietary network over to the support group as an “open” network avail-
able to all. To the right is a capsule summary of the major players. Ethernet Powerlink—Originally developed by B&R Automation, Pow-
erlink is supported by the Ethernet Powerlink Standardization Group
(EPSG). It uses a “time slicing” method to guarantee transfer of time-
critical data.
Others, 9.5%
HSE, 0.7% Ethernet TCP/IP—Ethernet consists of physical hardware, such as ca-
bles, connectors, routers and switches, which are all the same no matter
sercos III, 2.1%
Ethernet what Industrial Ethernet is being used. TCP/IP is a protocol that defines
TCP/IP, 40.2% how data in the packets is arranged and interpreted. Modbus TCP/IP, for
EtherCAT, 3.1%
example, simply embeds its packets into the TCP/IP protocol. Other in-
dustrial Ethernets define their own protocols.
POWERLINK,
4.2%
Foundation Fieldbus HSE—Developed to support Foundation Fieldbus
(FF) applications, HSE uses standard Ethernet hardware to connect sys-
Modbus
TCP/IP, 6.4% tems and subsystems in a FF system.

Profinet—Originally developed by Siemens and the Profibus User Or-


EtherNet/IP, ganization, Profinet—like FF HSE—was initially established to provide
13.9% high speed communications for Profibus fieldbus systems. Profinet has
Gigabit Ethernet, since expanded into direct device communications and can be used for
5.5% both automation and process control.
PROFINET, 14.5%

Sercos III—Developed by Bosch Rexroth and the German Machine Tool


Figure 1. Estimated use of Industrial Ethernet by 2015. Builders Association (VDW), Sercos III is primarily used for fast motion
Source: IMS Research. control applications. Sercos is supported by Sercos International (SI). It
uses the CIP safety protocol, making it compatible with EtherNet/IP.
HOW ETHERNET WORKS

F
ollowing is a vastly simplified expla-
nation of how Ethernet and Indus-
trial Ethernet work. The IEEE 802.3
standard defined the OSI Reference Model,
which describes how information moves
over Ethernet. The OSI model has seven
layers, which include:
• Application layer, which consists of appli-
cation programs that use the network
• Presentation layer, which standardizes data
presentations to the applications
• Session layer, which manages sessions be-
tween applications Figure 2. Industrial Ethernet can be set up in star, line (bus) or ring topologies.
• Transport layer, which provides end-to-end
error detection and correction
• Network layer, which manages connec- along the cable. If one exists, it sends incoming messages to it. If no device exists, the NIC
tions across the network for the upper layers sends the message back. This allows Ethernet networks to be assembled in several different
• Data Link layer, which provides reliable data delivery across the physical link topologies: star, line (bus) or ring (Figure 2).
• Physical layer, which defines the physical characteristics of the network media In a star topology, a central Ethernet switch connects to one or more devices over a bidi-
Ethernet hardware at the physical level is essentially the same for all versions of Ethernet. rectional cable. The advantages of a star network are speed of transmission, isolation of criti-
This includes cables, connectors, routers, switches, etc. Any computer, PLC, flowmeter, ro- cal devices, and the ability to easily diagnose problems. Star connections are often used in
bot or device that has an Ethernet Network Interface Card (NIC) can connect to Ethernet. fast real-time applications, such as motion control or machine safety, where response time
In almost all cases, the NIC function is built into devices these days. Each NIC has a unique is critical.
48-bit MAC (media access control) address. Ring networks are used to connect multiple devices, and overcome the distance limita-
The data format or protocol for standard Ethernet is contained in the Data Link layer. In- tions of wired Ethernet (100 m maximum). Because a disruption in the ring—such as a fork-
dustrial Ethernet encompasses the physical, data link, network and transport layers by using lift running over a cable—can disrupt communications, a ring can be set up to send data in
Internet Protocol (IP) addressing in the network layer and Transmission Control Protocol both directions.
(TCP) in the transport layer. This is also known as the IP suite, or TCP/IP. A bus network connects multiple devices along a single bidirectional cable. A bus
The NIC has intelligence that can analyze incoming data; if the device sees that an in- network is simple, inexpensive and minimizes the amount of cable needed for a net-
coming message is addressed to its MAC address, it will process the data; otherwise, it passes work. If one device fails, however, the entire network can fail unless a redundant sys-
the message to the next device on the cable. A NIC knows if another device exists farther tem is established.
INDUSTRIAL ETHERNET HARDWARE

O
ne of the biggest differences between “of-
fice” Ethernet and Industrial Ethernet is the
hardware. Although both use the same types
of plugs, cable, cords, switches and routers (Figure 3),
equipment built for Industrial Ethernet is more robust,
and able to withstand industrial environments.

Connectors and Cordsets — The two types of con-


nectors for Ethernet copper cable are RJ45 and M12. The
RJ45 connector is the same con-
nector that plugs into your laptop,
but the M12 connector is a round,
8-pin device that supports data Figure 3. Typical Industrial Ethernet hardware configuration. A is cordsets, B is cable, C is I/O, and
rates up to 10 GB/sec. The M12 is D is interconnect products, such as switches and routers.
best for harsh environments. SC
and LC connectors are commonly
used with fiber. Cordsets are Eth- table, watches for traffic intended for that MAC address, allow legacy or proprietary networks to gain access to the
ernet cables that come with con- and sends the message directly to that device. A managed main Ethernet network.
nectors at both ends. With raw switch has features that allow for
cable, on the other hand, tech- redundant configurations, man- Ethernet I/O — Although Ethernet is slowly but surely get-
nicians must cut cable to length agement of network traffic, di- ting embedded into many types of sensors, transmitters, motor
in the field and attach connectors. Cables are rated for agnostics, etc., while an unman- drives, robots and
speed and susceptibility to noise. Category 5 cables are aged switch is simpler, for use in other I/O devices,
used in offices, but industrial applications call for Cat- smaller networks. While a switch millions of sensing
egory 6 or 6E cables, which can carry 10GB, are less sus- connects to devices, a router links two or more Ethernet and control devices
ceptible to crosstalk and EMI noise, and resist physical networks, each having independent IP addresses. A router are still not con-
deterioration in industrial environments. often has interfaces for different physical types of network nected. Ethernet
connections, such as copper cables, fiber optic, or wire- I/O systems con-
Switches, Gateways and Routers — A switch is less. The larger the network, the more routers are needed nect to these devices, accept their mV, 4-20mA and other out-
a multi-port device that receives a transmission at one to manage Ethernet traffic. A gateway is a type of router puts, and put them into an Ethernet packet for transmission.
port and sends it to the targeted device. The switch learns that connects two different types of networks with differ- Likewise, they accept data values from a packet and convert
the MAC addresses of all devices, builds a MAC address ent protocols, such as Ethernet and DeviceNet. Gateways them to outputs suitable for the control device.
ISSUES & TRENDS

A
recent study by the Aberdeen Group notes that manufacturers need real-time vis- the plant’s IT technicians to service, diagnose and maintain automation networks without
ibility into plant floor operations to optimize production, maintenance and safety. additional training.
Networks provide this data, but many manufacturers are managing multiple net- For example, most Ethernet devices support Simple Network Management Protocol
works, which entails extra levels of hardware and software that do the same thing. Aberdeen (SNMP). This enables IT technicians to monitor, troubleshoot and administer network de-
sees a major trend toward the adoption of industrial Ethernet across entire manufacturing vices using standard network management tools. This leverages the investments a company
operations. “The opportunity exists now more than ever to overcome the historic isolation has made in their IT support infrastructure, and minimizes the need for an automation or
of the control platform from the enterprise,” says the study. “Moving forward, it is time for process control engineer to also be an IT support engineer.
manufacturers to visualize the real-time enterprise and take steps to lay the real-time net-
work foundation that they need to support it.” The Challenge of Cyber Security
Aberdeen agrees with IMS Research and ARC that Industrial Ethernet is growing at a Security can be a nightmare with multiple networks, as each one has to be protected against
remarkable rate, and may soon take over manufacturing. This may come at the expense of intruders. With the increasing use of wireless networks, RTUs with maintenance ports, and
fieldbus networks, as ARC noted. For example, EtherNet/IP is now available in flowmeters, remote systems in unattended locations, intruders have many more opportunities to get in—
where it provides the same functions as fieldbus—device diagnostics, operation in hazard- as was illustrated by the Stuxnet virus, which got into systems from infected PLCs.
ous environments, and multiple flowmeters on a single “segment.” However, EtherNet/IP Cyber security has become a major issue affecting manufacturing and process control.
does not require the expense and overhead of fieldbus, and its data is readily available to any President Obama issued Executive Order 13636 “Improving Critical Infrastructure Cy-
device with an Ethernet connection, such as a PLC or PC. ber Security” on February 12, 2013. The National Institute of Standards and Technology
Devices on EtherNet/IP can be polled by a condition monitoring system to determine if (NIST) is currently working with industry leaders—such as the Automation Federation— to
there are any diagnostic messages that need to be sent to maintenance personnel. An industrial finalize a comprehensive cyber security framework
PC equipped with asset management, maintenance, condition monitoring or HMI/SCADA While this guide cannot address security in depth, suffice it to say that Industrial Ethernet
software can access all the I/O and diagnostic information it needs directly from the devices users can employ the latest security devices and techniques, such as firewalls, demilitarized
via the Ethernet interface. Ethernet devices can now operate in hazardous areas. Intrinsically zones (DMZs), and defense-in-depth security strategies as they become available. The same
safe power-over-Ethernet (PoEX) allows Ethernet devices to be used in Zones 1 and 2. cannot be said for non-Ethernet networks.
Over the past 30 years, Ethernet has overcome numerous obstacles, eliminated propri-
Managing Multiple Networks etary commercial and industrial networks, and is now moving into the industrial world at
When a manufacturer has multiple networks in a plant—such as Ethernet, fieldbus, wireless its 10 GB/sec speed. While there will continue to be a need for certain kinds of specialized
and dedicated device networks—it must support and maintain all of them. Each network networks—such as fieldbus or dedicated device level networks that are more deterministic,
requires training that cannot be applied to the others. One of the advantages to adopting cheaper, less sensitive to electrical noise, or work over longer distances—Ethernet’s penetra-
Industrial Ethernet across a plant is that it simplifies maintenance and training, and allows tion of the industrial market is just getting started.
ACRONYMS & DEFINITIONS
• Broadcast message—A communication from one device on a network to all
devices on the network.
• Bus topology—a network configuration where all devices are connected by a
single cable, which ends at the last device (see Ring and Star topologies).
• Collisions—Ethernet devices “listen” to the network to ensure they are the only
device transmitting at the time. If two devices transmit at the same time, a “colli-
sion” occurs, which garbles the messages (see CSMA/CD).
• Connectors—Two types of connectors for copper cable are RJ45 and M12. The
M12 connector is best for harsh environments. SC and LC connectors are com-
monly used with fiber.
• CSMA/CD (Carrier Sense Multiple Access/Collision Detection)—A
method for detecting collisions, and retrying messages until correct.
• DMZ (Demilitarized Zone)—A separate or perimeter network that isolates
vulnerable services such as email or web servers from the rest of the system.
• Firewall—Hardware or software that analyzes packets and determines if it should
be allowed through based on rules established by the user.
• Gateway—A routing device that connects two different types of networks with
different protocols, such as Ethernet and RS-485.
• Hub—Network device that receives a transmission at one port and sends it out all • Ring topology—Network configuration in which multiple devices are connected by
its other ports. Hubs are rarely used. Switches are preferred. a single cable arranged in a “ring”; that is, the cable goes from device to device in a cir-
• Logical address—a configurable network address, or a device’s IP address. IP cular fashion, returning to its point of origin.
addresses can be assigned by an administrator. • Router—Links two or more Ethernet networks, each having independent IP ad-
• MAC (media access control) address—the unique, 48-bit physical address dresses.
for an Ethernet device. • Switch—Multi-port device that receives a transmission at one port and sends it to the
• Managed Switch—A switch with features that allow for redundant configura- targeted device, based on its MAC address. The switch learns the MAC addresses of all
tions, management of network traffic, diagnostics, etc. devices connected to its ports.
• Multicast message—Communication from one device to multiple devices on • Star topology—A network configuration where a central device—such as a PLC—
a network (but not all—see Broadcast messages) connects to single devices via separate cables; i.e., one device per cable.
• Redundant configuration—A network that provides for an alternate communica- • Unmanaged Switch—A simpler type of switch, used in smaller networks. It has few
tion path in case of network failure. This typically involves a duplicated cable, two Eth- of the features of a managed switch.
ernet ports per device, and a switch that supports a redundancy protocol. • Unicast message—Communications between two devices on a network.
MAde possible by

This Control Design Essentials guide on Industrial Ethernet was


made possible by TURCK, which manufactures a full range of
Industrial Ethernet distributed I/O products in a variety of
mechanical and field wiring formats and supporting a range
of Industrial Ethernet protocols.

Learn more about TURCK’s industrial Ethernet offerings.

Вам также может понравиться