You are on page 1of 11

Assembly Automation

Developments in real-time control with EtherNet/IP


R.S.H. Piggin
Article information:
To cite this document:
R.S.H. Piggin, (2007),"Developments in real-time control with EtherNet/IP", Assembly Automation, Vol. 27 Iss 2 pp. 109 - 117
Permanent link to this document:
http://dx.doi.org/10.1108/01445150710733333
Downloaded on: 27 June 2016, At: 00:22 (PT)
References: this document contains references to 14 other documents.
To copy this document: permissions@emeraldinsight.com
The fulltext of this document has been downloaded 1909 times since 2007*

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.

*Related content and download information correct at time of download.


Feature

Developments in real-time control


with EtherNet/IP
R.S.H. Piggin
Rockwell Automation, Milton Keynes, UK

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.

Keywords Robotics, Functional management, Motion, Network operating systems

Paper type General review

1. Introduction characterised by numerous specialised and generally


incompatible networks existing in one space.
1.1 Yesterday’s networks Today, however, corporate expectations for the
Networks utilised in manufacturing have traditionally been manufacturing automation network landscape have changed
optimised for performance in specific applications; most dramatically, thanks to the rapid and ubiquitous adoption of
commonly, device, control and information in the automation internet technology. Companies of all sizes, all over the world,
network paradigm. The recent addition of safety to are trying to find the best ways to connect the entire enterprise.
automation networking required the integration of a No longer is control of the manufacturing processes enough: the
separate sub-system. While well suited to the functionality new manufacturing mandate is to enable users throughout the
for which they were designed, these different networks were company to access manufacturing data from any location, at any
not developed with a single, coherent enterprise architecture time, and to integrate this data seamlessly with business
in mind. Since, efficiency, reliability and, ultimately, information systems. During recent years, a rapidly increasing
profitability are generally dependent on having more than number of users worldwide have looked to “open” systems as a
one of these capabilities; manufacturers have been forced to way to connect their disparate enterprise processes. However,
implement several different networks, none of which the great promise of open systems has often gone unfulfilled.
communicates innately with the other. As a result, most The devices, programs and processes used at the various layers
manufacturing enterprise network environments are of the seven-layer open system interconnect (OSI) model have
different options, capabilities and standards (or lack thereof).
The current issue and full text archive of this journal is available at Integrating these networks requires extra resources and
www.emeraldinsight.com/0144-5154.htm programming. Even then, gaps between the systems often

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

Figure 1 The CIP family of protocols


Downloaded by HACETTEPE UNIVERSITY At 00:22 27 June 2016 (PT)

Figure 2 EtherNet/IP stack frequency-based applications. In time stamping applications,


the knowledge of absolute time is important since the timing
of specific events often need to be compared from one event
to another. Which event occurred first? How far apart were the
events? In some applications, such as power distribution, the
events may even occur in different geographical regions that
have different time zones. Therefore, the notion of an
absolute value of time is required. Specific events and alarms
are then time stamped so that correlation of these events can
be accomplished after the events have occurred.
There are also many frequency-based control applications.
For instance, the regulation of several drives that execute in
perfect unison so as not to stretch or damage the fabric
between them. In this application, the process is optimised
when the drives are synchronised. If each drive samples its
feedback and executes its control algorithms at precisely the
same time, force is applied in a uniform manner minimising
3.4 CIP in unison the torque differentiations that might exist between the two
Ordinary devices can operate with CIP Sync, CIP Motion or and enabling better control of the process that affects the
CIP Safety devices side by side in the same system. There is material. In order to sample and execute at precisely the same
no need for strict segmentation into “Standard” “Sync” and time, both drives depend on an accurate metering of time in
“Safety” networks. It is even possible to have any combination order to execute their control algorithms. These applications
of all three functions in one device. do not necessarily need to have an understanding of hour,
day, or year; however, there is a requirement to know that
current execution started precisely with a millisecond
4. CIP Sync
resolution since the last execution. The oscillators on each
4.1 The need for synchronisation drive are synchronised against the others’ and the frequencies
The use of time in a control system is generally applied to two of both are correlated so that time is metered consistently
different types of applications: time stamping applications and between both drives.

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)

CIP Sync adds some additional capabilities to those offered


resort to a highly segregated network segment to run the real- by the PTP. Aside from the basic synchronising mechanisms,
time protocol. The CIP Sync communication principle meets CIP Sync also offers the concepts of system time, local time,
these requirements utilising Standard for a Precision Clock and offset. This model allows for the separation of a common
Synchronisation Protocol for Networked Measurement and system time from the individual device’s local time. These are
Control Systems (ISO 11898, 1993). This lays the foundation correlated through the individual device’s offset. In this
for a precise synchronisation of real-time clock in a distributed fashion, changes to system time may be applied without
system. necessarily affecting the device’s local time. This is important
if a discontinuity in frequency or the linear time scale would
4.3 IEEE 1588 Precision Time Protocol be detrimental to that device’s ability to control properly.
An IEEE 1588 system consists of a time master that Group Sync is another CIP Sync construct, over and above
distributes its system time to time slaves in a tree-like
the PTP layer. The Group Sync function allows a group of
structure. The time master may be synchronised with another
devices, at an application layer, to become a part of a given
real-time clock higher up in the hierarchy while the time slaves
community, while ignoring other devices that are not a part of
may be time masters for other devices “below” them. A time
that community. A given set of drives, for example, might
slave that is time master to another set of devices (typically in
need to be synchronised in order to form a working,
another part of the system) is also called a boundary clock.
functional subsystem. Given this, it is important that all the
The time distribution is done by multicasting a message with
drives within that community be synchronised prior to
the actual time of the master clock. This message originates in
starting any part of that subsystem.
a relatively high layer of the communication stack, and
therefore, the actual transmission takes place at a slightly later
point in time. Also, there will be a variation of the stack 4.5 Summary
processing time from one message to another. To compensate CIP Sync offers a simple, unobtrusive method for
this delay and its jitter, the actual transmission time can be synchronising multiple clocks in a system. It is flexible
captured in a lower layer of the communication stack such as enough to manage synchronisation for applications that
noting the “transmit complete” feedback from the require time stamping, while, in the same system, servicing
communication chip. This update time capture is then devices that depend on synchronised frequency. Its services to
distributed in a follow-up message. The average transmission do not require a lot of system resources, and once integrated,
delay is also determined so that the time offset between they do not need a high level of management from the user’s
master and slave clock can also be compensated. This perspective. Finally, CIP Sync is robust enough to handle the
protocol has been fully defined for Ethernet UDP/IP systems situations that would normally cause disturbances in time to
and the protocol details for further industrial communication adversely affect the critical elements of the control system
systems are to follow. The clock synchronisation accuracy that (Harris and Kucharski, 2006).
can be achieved with this system largely depends on the
precision time capture of the master clock broadcast message. 5. CIP Motion
Hardware-assisted time capture systems can reach a
synchronisation accuracy of 250 ns or less. It is expected 5.1 High performance distributed motion
that Ethernet chip manufacturers will offer integrated IEEE CIP Motion, as it is currently defined by the ODVA, is
1588 hardware support in the very near future. the name given to extensions made to the CIP to facilitate
The IEEE 1588 standard, Precision Clock Synchronisation distributed motion control over CIP networks. These
Protocol for networked measurement and control systems, extensions together with CIP Sync provide a rich motion
commonly referred to as the Precision Time Protocol (PTP). control infrastructure that includes a timing model based on
PTP offers fundamental services for synchronising multiple time stamped data, a dynamic data connection, and a new
clocks in a system. It utilises a selection process, referred to as CIP Motion drive device profile.

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

5.5 Online ADR 5.9 Simplicity


The simplicity of CIP Motion connection protocol is borne One of the goals of the CIP Motion drive profile and,
out by the ease in which automatic device replacement (ADR) specifically, the drive axis object is to minimise complexity.
can be achieved. Simply remove the CIP Motion device from This goal applies to both the network connection behaviour
the network, set the address switch of the replacement device, and to the drive parameter set. Most industrial motion control
and attach it to the network. The new device is automatically networks today require a complex “time-slotting” protocol.
configured and placed online without disrupting the operation CIP Motion eliminates the “time-slotting” requirement by
of other nodes in the system. including system time stamps with the data. As a result,
establishing a connection to a CIP Motion compliant drive is
5.6 Interchangeability far simpler than that for a “time-slotted” network.
Today’s industrial control industry is demanding a higher In terms of the parametric data set, the drive axis object
degree of drive device interchangeability than existing drive design has taken full advantage of several recent trends in the
profile specifications have been able to deliver. Low level drive industry to simplify the device profile. Today’s
interchangeability such as being able to establish a network embedded processors have far more computation power
connection to another vendor’s drive is not uncommon, but than their predecessors and are capable of performing floating
what is uncommon is the ability to swap one vendor’s drive for point operations with relative ease. Drive control engineers
another vendor’s drive in a given application and run that are recognising the time-to-market and maintainability
application without having to configure a large number of benefits of writing their control algorithms using floating-
vendor specific configuration parameters. point maths. With floating-point maths there is no need to
To achieve the goal of true device interchangeability, the drive
Downloaded by HACETTEPE UNIVERSITY At 00:22 27 June 2016 (PT)

manage implied decimal format, overflow, and precision. The


interface specification must go further in defining required
drive axis object uses floating-point data types wherever
device behaviour than today’s drive interface standards have
applicable for the same reasons. Gone are all the configurable
ventured. Many parameters that these drive profiles have
scaling factors and per-unitisation schemes that permeated
previously left optional or vendor specific must be classified as
the previous generation of drive profiles.
required in the implementation. Units for drive parameters
Finally, there had been a drive-centric view that formed the
must be explicitly defined rather than being left to the discretion
basis for many of the existing drive profile definitions. Such a
of the manufacturer. Behaviour of each parameter and
behaviour of the drive as a whole must be explicitly defined so view was based on the concept of an HMI or programming
there is no ambiguity. To extend the interchangeability of CIP device being directly connected to the drive and the drive
Motion devices beyond the CIP family the CIP Motion profile being responsible for non-volatile data storage and motion
has been incorporated, along with many other industry profile sequencing (indexing). As a result, the drives were
standard drive profiles, into the pending IEC-61800-7 burdened with the task of storing all aspects of the associated
standard defining a generic interface to power drive systems. drive parameters, i.e. the parameter name, value, default
value, display format, range limits, units as well as extensive
5.7 Extensibility indexing tables. By contrast, the CIP Motion drive profile is
While a comprehensive list of standard parameters are defined based on a controller centric view of the drive. In this view, it
to facilitate the goal of drive interchangeability, it is also the is the controller’s job to provide connectivity to an HMI and
goal of this design to accommodate drive axis object programming device as well as provide motion profile
extensions to the open standard, and extensions that are sequencing via execution of an application program. As a
vendor specific. CIP Common already supports this concept result, there is neither a need for the drive to store large blocks
by defining attribute ID and service ID ranges that may be of HMI related parametric data or application related
used to define additional open and vendor specific attributes indexing tables, nor is there any requirement for the drive
and services. In addition, enumerated and bit mapped drive to store this data in non-volatile memory. The end result is
axis object attributes are defined to leave room for future open considerable simplification of the overall drive profile.
and vendor specific extensions.

5.8 Scalability 5.10 Summary


The CIP Motion drive device profile has been designed to address CIP Motion provides a comprehensive drive device profile
the wide range of drive devices on today’s market from simple that scales to support drives ranging from simple VFD drives
variable frequency drives to full featured vector controlled servo to high performance servo drives. The device profile defines
drives. Unfortunately today’s drive profiles are fragmented into variable size motion control connections for unicast
two basic classes with certain profiles being appropriate for simple controller-to-drive communication, and well as multi-cast
VFD drives while others are tailored for complex servo drives. controller-to controller connections that are critical for line-
Providing a common profile to a broad range of drives shafting applications. CIP Motion delivers the first device
facilitates creation of a consistent user experience. To achieve profile that provides true device interchangeability. Unlike
this goal of scalability, the drive axis object includes parameters currently available drive profiles, the new CIP Motion drive
associated with variable frequency drives as well as a device profile provides superior drive interchangeability,
comprehensive set of parameters for vector control servo extensibility, scalability, and simplicity, based on
drives. To avoid burdening a simple VFD drive with the contemporary drive behaviour and control-centric design.
parameters of a complex servo drive, the attributes defined in Using a switched Ethernet physical layer, motion control
the drive axis object have been categorised by drive classification applications can now be realised using EtherNet/IP in
so only parameters that are applicable to the given drive class are standard Ethernet star, trunkline or dropline network
marked as required in the implementation. topologies (Chaffee and Hirschinger, 2006).

114
Developments in real-time control with EtherNet/IP Assembly Automation
R.S.H. Piggin Volume 27 · Number 2 · 2007 · 109 –117

6. CIP Safety DeviceNet Safety node are encapsulated within a standard


DeviceNet data frame, as shown in Figure 4. Since, the safety
6.1 Philosophy behind CIP Safety coding and not the underlying communication layers ensure
In the earliest stages of development and concept approval at the integrity of the data, the underlying communication layers
TÜV all CIP networks were considered for application of the can be interchanged.
CIP Safety protocol. For this reason the specification changes
to release CIP Safety on EtherNet/IP are minor. They focus 6.2 Consistency across CIP networks
on the enabling the safety feature not new development. It is obvious that using the same safety communication
CIP Safety works with the real-time and seamlessly bridged protocol on DeviceNet and EtherNet/IP will provide a more
networks collective to the CIP. CIP Safety is a set of highly consistent user experience during installation, verification,
integrated safety services which utilise the underlying operation and maintenance. This consistency allows easy user
communications stacks of the standard CIP networks to migration between CIP Safety networks. The secondary
transport data from a source to a destination, as shown in benefit of a consistent media independent safety protocol is
Figure 1. that a safety connection can span across multiple subnets.
CIP Safety ensures integrity through the use of an extensive set Since, the safety coding and not the underlying
of TÜV approved protection measures. CIP Safety cannot communication layers ensure the integrity of the data, the
prevent communication errors from occurring. Communication underlying communication layers can be interchanged and
networks by there nature are susceptible to noise or disturbances intermixed even across subnets. Meaning a safety connection
such as cable breakage. The communication errors which must can start on EtherNet/IP and end on DeviceNet (Figure 4).
be detected are shown in Figure 3, along with the measures CIP
Downloaded by HACETTEPE UNIVERSITY At 00:22 27 June 2016 (PT)

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

Figure 3 Error detection measures

115
Developments in real-time control with EtherNet/IP Assembly Automation
R.S.H. Piggin Volume 27 · Number 2 · 2007 · 109 –117

Figure 4 Media independent protocol


Downloaded by HACETTEPE UNIVERSITY At 00:22 27 June 2016 (PT)

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.

6.5 CIP Safey and Ethernet 7. Conclusion


The changes to the CIP Safety volume to add EtherNet/IP
support have few new requirements. As a result, the specific The CIP enables complete integration of control with
changes and/or recommendations for EtherNet/IP are information, multiple CIP networks and internet
intended to enhance the reliability of the network or to technologies. CIP provides seamless communication from
explain how safety features are to be used on EtherNet/IP. the plant floor throughout the enterprise, with a scalable and
The addition of safety to EtherNet/IP requires all safety coherent architecture, incorporating functionality, such as
devices on EtherNet/IP have a unique network identifier safety, synchronisation and motion control, hitherto only
(UNID) that consists of a safety network number (SNN) and available with specialised or incompatible networks.
the device’s IP address. Factory installations will often
segment EtherNet/IP subnets to allow for re-use of IP References
addresses. Users will assign a unique SNN to those subnets so
that the combined SNN/IP address is unique. Chaffee, M. and Hirschinger, B. (2006), “CIP Motion,
CIP Safety on EtherNet/IP does not restrict how the IP Motion Control for CIP”, paper presented at CIP
address is set in an EtherNet/IP Safety device. All existing Networks Conference and 11th Annual Meeting, 21 –
methods such as DHCP, BOOTP, or Option 82 can be used. Phoenix, Arizona, 23 February, pp. 1-13.
However, the UNID in the device must be set through the EN 50325-2 (2000), “Industrial communication subsystem
safety supervisor’s propose/apply services. The user will be based on ISO 11898 (CAN) for controller – devices
required to use an independent method to set the UNID. interfaces – Part 2. DeviceNet”, EN 50325-2.
Harris, K. and Kucharski, S. (2006), “CIP Sync, time
6.6 Duplicate IP detection synchronization for CIP”, paper presented at CIP Networks
Duplicate address assignments on any network are a Conference and 11th Annual Meeting, Phoenix, Arizona,
disruptive condition that needs to be avoided. The solution 21-23 February, pp. 1-12.
needs to be one where existing nodes are not prevented from IEC 61508 (1989), “Functional safety of electrical/electronic/
functioning when the offending node comes on the network. programmable electronic safety-related systems”, IEC
A solution is currently being considered by the EtherNet/IP 61508.

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)

To purchase reprints of this article please e-mail: reprints@emeraldinsight.com


Or visit our web site for further details: www.emeraldinsight.com/reprints

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)

You might also like