Professional Documents
Culture Documents
Access to this document was granted through an Emerald subscription provided by emerald-srm:318550 []
Downloaded by HACETTEPE UNIVERSITY At 00:22 27 June 2016 (PT)
For Authors
If you would like to write for this, or any other Emerald publication, then please use our Emerald for Authors service
information about how to choose which publication to write for and submission guidelines are available for all. Please visit
www.emeraldinsight.com/authors for more information.
About Emerald www.emeraldinsight.com
Emerald is a global publisher linking research and practice to the benefit of society. The company manages a portfolio of
more than 290 journals and over 2,350 books and book series volumes, as well as providing an extensive range of online
products and additional customer resources and services.
Emerald is both COUNTER 4 and TRANSFER compliant. The organization is a partner of the Committee on Publication Ethics
(COPE) and also works with Portico and the LOCKSS initiative for digital archive preservation.
Abstract
Purpose – Ethernet continues to evolve as a viable fieldbus technology for industrial automation. This paper seeks to discuss the development of the
Common Industrial Protocol (CIP) for Ethernet and standards with particular reference to time synchronisation, real time motion control and safety.
Design/methodology/approach – The CIP is introduced, with an overview of four network adaptations: CompoNet, DeviceNet, ControlNet, and
EtherNet/IP. Developments in the EtherNet/IP implementation are discussed, along with key features. These include CIP Safety to meet the requirements
for safety-related control, CIP Sync for time synchronisation across CIP networks and CIP motion for real-time closed loop motion control.
Downloaded by HACETTEPE UNIVERSITY At 00:22 27 June 2016 (PT)
Findings – Standard, unmodified Ethernet will support time synchronisation, real time motion control and safety-related applications with the CIP
adaptation EtherNet/IP. The CIP enables complete integration of control with information, multiple CIP networks and internet technologies. CIP provides
seamless communication from the plant floor throughout the enterprise, with a scalable and coherent architecture, incorporating functionality, such as
safety, time synchronisation and motion control, hitherto only available with specialised or incompatible networks.
Practical implications – The implementations of CIP Sync, CIP Motion and CIP Safety and the corresponding standards provide functionality and
flexibility not available from disparate specialist networks. The ability to fully integrate internet technologies and safety, synchronisation, motion and
safety together is a distinguishing feature. Industrial Ethernet technologies vary in the ability to integrate to the same level of functionality and offer
similar flexibility.
Originality/value – The development of CIP technology and the use of open standards are described. The opportunity to use the combination of an
established automation protocol and standard, unmodified Ethernet provides potential cost benefits, flexibility, and innovative solutions, whilst
providing integration, performance and cost advantages.
DeviceNet, DeviceNet Safety, CIP, CIP Motion, CIP Safety and CIP
Assembly Automation
27/2 (2007) 109– 117 Sync are trademarks of ODVA. EtherNet/IP is a trademark of ControlNet
q Emerald Group Publishing Limited [ISSN 0144-5154] International under license by ODVA. Other trademarks are the property
[DOI 10.1108/01445150710733333] of their respective owners.
109
Developments in real-time control with EtherNet/IP Assembly Automation
R.S.H. Piggin Volume 27 · Number 2 · 2007 · 109 –117
cannot be fully and seamlessly bridged. Consequently, users demanding applications. Vendors and users of ControlNet
compromise their investments and rarely achieve all of the products are members of ControlNet International (CI, www.
productivity and quality benefits promised by open network controlnet.org) to promote the use of ControlNet.
technology.
2.4 EtherNet/IP
1.2 Today’s networks In 2000, ODVA and CI introduced another member of the
Common application layers are the key to advanced CIP family: EtherNet/IP, where “IP” stands for “Industrial
communication and true network integration. The Common Protocol.” In this network adaptation, CIP runs over TCP/IP,
Industrial Protocol (CIPe) allows complete integration of and therefore, can be deployed over any TCP/IP supported
control with information, multiple CIP networks and internet data link and physical layers, the most popular of which is
technologies. Built on a single, media-independent platform, IEEE 802.3 (2000), commonly known as Ethernet. The
CIP provides seamless communication from the plant floor universal principles of CIP easily lend themselves to possible
throughout the enterprise, with a scalable and coherent future implementations on new physical/data link layers, e.g.
architecture. CIP allows companies to integrate I/O control, ATM, USB or FireWire. The overall relationship between the
device configuration and data collection across multiple three implementations of CIP and the ISO/OSI 7-layer model
networks. This ultimately minimises engineering and is shown in Figures 1 and 2 (Schiffer, 2006; ISO/IEC 7498,
installation time and costs whist maximising return on 1994).
investment.
Developments to the CIP protocols, including CIP Sync, 3. EtherNet/IP
CIP Motion and CIP Safety are discussed. The focus of this
Downloaded by HACETTEPE UNIVERSITY At 00:22 27 June 2016 (PT)
paper is EtherNet/IP, the CIP protocol utilising TCP/UDP/IP 3.1 Standard Ethernet
over Ethernet. Since, its introduction in 2000, EtherNet/IP has shown a
Other Ethernet developments are taking place, the majority remarkable growth in many applications that utilised
affecting automation will form parts of the “Real-Time” traditional fieldbuses. This success is largely attributed to
Ethernet (RTE) work of TC65, SC65 C Working Groups. the fact that this TCP/UDP/IP-based Ethernet system has
These will be published in the IEC 61784 standard series introduced real-time behaviour into the Ethernet domain
(IEC 61784-2, n.d.), and will include EtherCAT, EtherNet/ without giving up any of its highly appreciated features such
IP, Foundation Fieldbus HSE, Modbus TCP/IP, Powerlink as company-wide access with standard and specialised tools
and PROFInet. Discussion of these is beyond the scope of this through corporate networks. The specific strength of
paper; for an illustration of fieldbus and standards EtherNet/IP is the fact that does not require a modified or
development see Thomesse (2005). highly segregated network; switches and routers using
standard features known in the office world can be used
2. Common Industrial Protocol without modification. This differentiates the technology from
other RTE implementations. At the same time, this means
2.1 DeviceNet that all existing transport level or TCP/UDP/IP level
Introduced in 1994, DeviceNete is the first member of the protocols can continue to be used without any need for
CIP family. DeviceNet is a CIP implementation using the special bridging devices. The substantially improved real-time
popular controller area network (CAN) data link layer behaviour of CIP Sync, CIP Motion and the introduction of
developed by Bosch, originally for multiplexing electronic CIP Safety allows EtherNet/IP to be used in applications that
control units (ECUs) in vehicles. CAN in its native form (ISO previously required a set of several dedicated fieldbuses
11898) defines only layers 1 and 2 of the OSI 7-layer model (Schiffer, 2006).
(EN 50325-2, 2000; ISO 11898, 1993; Chaffee and
Hirschinger, 2006). DeviceNet is optimised, requiring only 3.2 CIP Safety
the layers 1, 2, and adds an application layer (layer 7). Since, CIP Safety provides functional safety for CIP networks and
DeviceNet has a low cost of implementation and is easy to provides users with fail-safe communication between devices,
use, many device manufacturers have built DeviceNet capable controllers and networks for safety applications. Safety is a
products. Several hundred of these manufacturers have protocol extension that allows the transmission of safety
organised and are members of the Open DeviceNet Vendor relevant messages. Such messages are governed by additional
Association (ODVA, www.odva.org). timing and integrity mechanisms that are guaranteed to detect
system flaws to a very high degree, as required by
2.2 CompoNet international standards such as IEC 61508 (1989) (Piggin,
CompoNet meets the requirements of applications using large 2006). If anything goes wrong, the system will be brought to a
numbers of simple sensors and actuators sending and receiving safe state, typically taking the machine to a standstill.
bit and byte size data. The first edition of the CompoNet
specification has been recently approved by the ODVA and will 3.3 CIP Sync and CIP Motion
be published in the next publication cycle of the CIP Networks Two other significant additions to CIP are CIP Sync and CIP
Library and associated network specifications. Motion. CIP Sync allows synchronisation of applications in
distributed systems through precision real-time clocks in all
2.3 ControlNet devices. These real-time clocks are kept in tight
ControlNet, introduced in 1997, implements the same basic synchronisation by background messages between clock
protocol on new data link layers that allow for much higher speed masters and clock slaves using the new IEEE 1588: 2002
(5 Mbps), strict determinism and repeatability while extending (2002) standard. This makes the CIP Sync technology ideally
the range of the bus (several kilometres with repeaters) for more suited for motion control applications such as CIP Motion.
110
Developments in real-time control with EtherNet/IP Assembly Automation
R.S.H. Piggin Volume 27 · Number 2 · 2007 · 109 –117
111
Developments in real-time control with EtherNet/IP Assembly Automation
R.S.H. Piggin Volume 27 · Number 2 · 2007 · 109 –117
In addition to using time to synchronising both drives’ the best master clock algorithm, which allows each clock in a
regulating loops, this application represents a velocity subnet to choose a master clock which it will follow. This is
regulated process where speed is ultimately determined by done by examining a set of “credentials” that each clock
measuring rotation of the motor over time. If the frequencies passes to the others it is connected to. Any clock in the subnet
of both drives are not synchronised, then the scale by which that has the best credentials becomes the master for that
these drives measure speed is different and each drive will group. As this selection process occurs, a waterfall of master
regulate to a different speed; despite the their commanded and slave hierarchies is established, which, when followed to
references being identical. This would certainly adversely the top, leads to the final system master called the
affect on the process. grandmaster clock.
After the alignment and instantiation of all master and
4.2 Synchronisation with standard Ethernet slave clocks occurs, PTP makes additional provisions for
CIP Sync is a CIP-based communication principle that synchronisation of these clocks. Through a set of messages,
enables synchronous low jitter system reactions without the called “Sync” messages, PTP offers tools to compensate for
need for low jitter data transmission. This is of great offset and frequency adjustments of the slave clocks relative to
importance in systems that do not provide absolute the master. These messages are simple in implementation and
deterministic data transmission or where it is desirable for a utilise a very small level of network resources to accomplish
variety of higher layer protocols to run in parallel to the their goals.
application system protocol. The latter situation is
characteristic for Ethernet. Most users of TCP/IP-based 4.4 Additional capabilities of CIP Sync
Ethernet want to keep using it as before without the need to
Downloaded by HACETTEPE UNIVERSITY At 00:22 27 June 2016 (PT)
112
Developments in real-time control with EtherNet/IP Assembly Automation
R.S.H. Piggin Volume 27 · Number 2 · 2007 · 109 –117
When applied to EtherNet/IP, CIP Motion offers a high multicast connections. The point-to-point connection, or
performance motion control solution that has distinct drive connection, is used for data transfer between a motion
advantages over other emerging motion control networks. controller and its associated drives, while the peer-to-peer
CIP Motion’s use of standard unmodified switched connection, or peer connection, is designed to connect
Ethernet with Quality of Service (QoS), prioritisation and multiple controllers together in a producer-consumer
time stamped data delivery eliminates the requirement to hard relationship. Each connection type has its place in today’s
schedule network traffic, making high performance motion motion control applications. Point-to-point connections are
control over standard Ethernet a practical reality. This allows applicable to multi-axis systems employing a central
use of standard Ethernet components and infrastructure, controller, whereas peer-to-peer connections effectively
provides support for any IEEE 802.3 compliant nodes address the requirements of line shafting applications.
without the use of special switches or gateways, and allows
support of future Ethernet and EtherNet/IP enhancements. 5.3 CIP Motion drive connections
Dynamic data connections allow the size and content of CIP Both the CIP Motion drive connection data structures
Motion data packets to change during operation, and even (controller-to-drive and drive-to-controller) begin with a
allow drive device nodes to be added or deleted at run-time. connection header that includes a 32-bit time stamp, followed
How does CIP Motion achieve high performance motion by a series of data blocks for each axis instance supported by
control while maintaining IEEE 802.3 compliance over the drive node. Each instance data block within the CIP
standard Ethernet hardware, especially given that other Motion drive connection packet consists of three sets of data
Ethernet-based motion control network solutions have blocks associated with the cyclic, event, and service data
resorted to proprietary mechanisms that, in general, are not channels. The size of these data blocks for a given update is
Downloaded by HACETTEPE UNIVERSITY At 00:22 27 June 2016 (PT)
fully IEEE 802.3 compliant? The answer lies in the use of variable and determined by the connection and instance data
standard 100BaseT full-duplex switched Ethernet and QoS block headers. From the drive’s perspective, these three
functionality, as defined in IEEE 802.1Q (2003) and an distinct data channels have different data processing priorities.
innovative approach that distributes time stamped data to The specific functionality of these three data channels is as
time-synchronised network nodes. CIP Motion uses time follows:
stamped data over standard switched Ethernet with QoS 1 Cyclic data channel. Carries cyclic data blocks that are
prioritisation to relax these strict data delivery requirements sampled or calculated every controller update period and
typically associated with motion control. Transmission synchronised with other nodes in the motion control
collisions are eliminated by the switches and queuing delays system through use of distributed system time. Cyclic data
minimised by QoS prioritisation so network determinism is is high priority data that must be immediately processed
insured without eliminating the CSMA/CD data link layer. and applied to the drive axis within one drive update
This approach allows full IEEE 802.3 compliance, while period.
providing a robust open motion control network solution 2 Event data channel. Carries event data associated with
when applied to high performance digital servo drives. drive event(s) (e.g. registration, homing, etc.) that have
occurred within the last controller update period. Event
5.2 Time stamped data data is medium priority and should be processed and
Traditionally, network control of distributed servo drives rely applied within one controller update period.
on absolute hard delivery of time-critical cyclic data across the 3 Service data channel. Carries data associated with service
network. Drive nodes are synchronised with the controller’s requests to read or write attribute values of the drive axis
clock and connection update cycle by transmission of a object as part of online configuration and diagnostic
synchronisation packet at the start of the cycle. Command functionality. Service data has lowest priority and is
data delivered to the drive nodes is implicitly referenced to a typically buffered and processed as a background task.
designated time within the update cycle. By design, there is There is no guarantee that a service request will be
little built-in tolerance in these protocols for late data packets. processed within a controller update period.
A further ramification of hard synchronising the connection Taken together, these three data channels provide a
update cycle to the controller update cycle, is that the update comprehensive controller to drive data connection solution
period of the controller must be an integer multiple of the for industrial motion control.
computational update period of the drive. This places
constraints on both the drive’s computational update period 5.4 Synchronous vs asynchronous operation
and PWM frequency selections of the drive. Another advantage of the CIP Motion connection protocol
CIP Motion’s use of time-stamped data along with its over time-slot protocols is the flexibility it has in handling
simple timing model eliminates this hard synchronisation different types of drives and time synchronisation
constraint. Thus, the connection update period can be totally requirements. The same network connection can be used on
unrelated to the drive’s computational update period and the both a high performance servo drive with 200 ns time
associated PWM rate. Real-time data values are adjusted at synchronisation accuracy, and a low performance Volts/Hertz
the end device at the time the data is applied based on an drive with no time synchronisation capability.
interpolation polynomial. In the case of late data, the CIP Motion defines a simple single cycle timing model for
interpolation polynomial becomes an extrapolation cyclic data transfer that delivers a fresh command value to
polynomial that allows the device to ride through the late each drive based on the actual position values sampled at
data condition. CIP Motion is, therefore, much more tolerant the beginning of the previous cycle. Should a motion packet
of late data conditions. be late for the next cycle, the time stamp of the packet can be
CIP Motion provides comprehensive motion connectivity used to compensate for the delay, based on previous axis
that includes both point-to-point unicast and peer-to-peer trajectory, and smooth motion is maintained.
113
Developments in real-time control with EtherNet/IP Assembly Automation
R.S.H. Piggin Volume 27 · Number 2 · 2007 · 109 –117
114
Developments in real-time control with EtherNet/IP Assembly Automation
R.S.H. Piggin Volume 27 · Number 2 · 2007 · 109 –117
Safety uses to detect these errors. CIP Safety ensures 6.3 EtherNet/IP Safety or DeviceNet Safety?
transmission integrity by detecting these errors and it enables CIP Safety on EtherNet/IP will not replace CIP Safety on
application integrity by allowing devices to take the appropriate DeviceNet. CIP Safety on DeviceNet and EtherNet/IP will
serve different applications. When to use EtherNet/IP or
actions. For most applications, when an error is detected, the
DeviceNet for safety will depend largely on the same
device will go to a known de-energised state, typically called a
requirements for standard EtherNet/IP and DeviceNet
safety state. The safety code in each device is responsible for
communications. Factors such as, distances, packet length,
detecting these communication errors. This safety code is
response time, device cost and device power requirements will
executed in a high integrity section of safety devices, typically
determine which network makes the most sense for a
using redundant hardware, which has been approved by a particular application. In an application where large
certification agency. Since, the EtherNet/IP communication distances, larger safety packet sizes or greater throughput is
stacks are part of the underlying communication network and not required, CIP Safety on EtherNet/IP will have advantages
part of the safety code, commercial communication stacks can over DeviceNet. In applications where DeviceNet bandwidth
be used. is sufficient or power via the network is required, DeviceNet
This decision to partition the safety services and build on may have an advantage over EtherNet/IP.
the underlying standard communication services means that
CIP Safety is media independent. This means that the same 6.4 CIP Safety messaging
CIP Safety communication stack can work on DeviceNet and Safety messages are encoded in the safety application layer of
EtherNet/IP. The safety packets coming from an EtherNet/IP the transmitting device and decoded and checked in the safety
Safety node are encapsulated within a standard EtherNet/IP application layer of the final receiving device. Any
data frame, the same way the safety packets coming from intermediate devices such as bridges or linking devices can
115
Developments in real-time control with EtherNet/IP Assembly Automation
R.S.H. Piggin Volume 27 · Number 2 · 2007 · 109 –117
have no knowledge of the contents of the run-time safety System SIG, and this proposal is potential addition to the
protocol; they are simply a transport mechanism for the Ethernet/IP standard.
encapsulated safety message.
All safety protocol must detect the age of the received data 6.7 Summary
to ensure the desired safety time is being achieve. When a The CIP Safety protocol was developed to be network
safety protocol goes through a complex device with retentive independent from the start of development. CIP safety and
memory, such as a bridge or router, the failure mode and the newest addition of CIP Safety on EtherNet/IP provide
effect analysis of the protocol must ensure that delays are unprecedented flexibility, usability, and consistency. Now
detected. This type of failure may not be detected with simple standard and safety communications can coexist in a multi-
watchdog type protocols. For this reason CIP Safety has a vendor environment, on multiple networks, that can span
time stamped based protocol which can directly detect the multiple subnets (Vasko and Kucharski, 2006).
data age.
116
Developments in real-time control with EtherNet/IP Assembly Automation
R.S.H. Piggin Volume 27 · Number 2 · 2007 · 109 –117
IEC 61784-2 (n.d.), “Digital data communications for ISO/IEC 7498 (1994), “ISO/IEC standard – information
measurement and control – Part 2. Additional profiles for technology – open systems interconnection – basic
ISO/IEC 8802-3 based communication networks in real- reference model”, ISO/IEC 7498.
time applications”, IEC 61784-2. Piggin, R. (2006), “What’s happening with machine safety
IEEE 802.1Q (2003), “IEEE standards for local and standards and networks?”, Assembly Automation, Vol. 26
metropolitan area networks – virtual bridged local area No. 2, pp. 104-10.
networks”, IEEE 802.1Q. Schiffer, V. (2006), The Common Industrial Protocol (CIP) and
IEEE 802.3 (2000), “ISO/IEC 8802-3:2000 IEEE standards the Family of CIP Networks, Open DeviceNet Vendor
for information technology – local and metropolitan area Association, Inc. (ODVA), Ann Arbor, MI, pp. 1-2.
Thomesse, J.P. (2005), “Fieldbus technology in industrial
networks – Part 3. Carrier sense multiple access with
automation”, Proceedings of the IEEE, Vol. 93 No. 6,
collision detection (CSMA/CD) access method and
pp. 1073-101.
physical layer specification”, IEEE 802.3.
Vasko, D.A. and Kucharski, P.G. (2006), CIP Safety on
IEEE 1588 (2002), “IEEE standards for a precision clock
EtherNet/IP, Open DeviceNet Vendor Association, Inc.
synchronization for networked measurement and control (ODVA), Ann Arbor, MI, pp. 1-10.
systems”, IEEE 1588.
ISO 11898 (1993), “Road vehicles – interchange of digital
information – controller area network (CAN) for high-
Corresponding author
speed communication”, ISO 11898. R.S.H. Piggin can be contacted at: rpiggin@ra.rockwell.com
Downloaded by HACETTEPE UNIVERSITY At 00:22 27 June 2016 (PT)
117
This article has been cited by:
1. P Ferrari, A Flammini, S Rinaldi, E Sisinni. 2010. On the Seamless Interconnection of IEEE1588-Based Devices Using a
PROFINET IO Infrastructure. IEEE Transactions on Industrial Informatics 6:3, 381-392. [CrossRef]
2. P. Ferrari, A. Flammini, D. Marioli, S. Rinaldi, E. Sisinni, A. Taroni, F. VenturiniClock synchronization of PTP-based devices
through PROFINET IO networks 496-499. [CrossRef]
3. Richard PigginRockwell Automation, Milton Keynes, UK Vivek HajarnavisRockwell Automation, Brussels, Belgium. 2008. A
model for function block communication and diagnostic messaging with EtherNet/IP. Assembly Automation 28:1, 36-42. [Abstract]
[Full Text] [PDF]
Downloaded by HACETTEPE UNIVERSITY At 00:22 27 June 2016 (PT)