Technical Article: CIP Safety brings network independence to EtherNet/IP
Jump to Articles from:     

CIP Safety began its life serving the DeviceNet fieldbus community with a multi-master, multi-vendor, high integrity communication network. This robust and flexible Safety protocol has now been migrated to EtherNet/IP bringing greater throughput and all the other features of an Ethernet-based medium - while permitting EtherNet/IP safety devices and DeviceNet safety devices to be used together.
By David Vasko

Unlike most industrial safety network approaches which require a different profile and protocol for every network type, the CIP Safety protocol was developed to be network-independent. Because of this basic design philosophy, adding support for a new network type such as EtherNet/IP was a relatively simple matter. The CIP Safety concept was first approved by TÜV in September 2002, the specification was published and the conformance test released through ODVA in January of 20051, and within months of the initial release three vendors were offering 16 certified CIP Safety products on DeviceNet.

During the earliest stages of development and concept review at TÜV, all CIP networks were analysed for running the CIP Safety protocol. Because all CIP network types were originally considered from the outset, the specification changes to release CIP Safety on EtherNet/IP are minor.

Fig. 1. CIP Safety was designed as an open protocol which could work on different networks. It mates well with the real-time and seamlessly bridged networks collective to the Common Industrial Protocol (CIP). CIP Safety is a set of highly integrated safety services which leverage the underlying communications stacks of the standard CIP networks to transport data from a source to a destination.

Designed as an open protocol, it mates well with the real-time and seamlessly bridged networks based on the Common Industrial Protocol2. CIP Safety is a set of highly integrated safety services which leverage the underlying communication stacks of the standard CIP stack to transport data from a source to a destination, as shown in Fig. 1.

It was the decision to partition the safety services and build on the underlying standard communication services which gives CIP Safety its network-independence. This means that the same CIP Safety communication stack can work both on DeviceNet and EtherNet/IP3.

The protocol ensures integrity through the use of an extensive set of TÜV-approved protection measures. Of course it cannot prevent communication errors from occurring because all comms networks are by their nature susceptible to noise or disturbances such as cable breakage. The function of a safety protocol is to ensure that communication errors such as message corruption, delay, insertion, loss, repeat are detected. (See table below: What is an industrial safety network?) CIP Safety is unique in that is uses network-independent measures to detect these errors.

For most applications, when an error is detected, the device will go to a known safety mode, typically a de-energised 'failsafe' state. The safety code in each device is responsible for detecting these communication errors and determining how the device will react to them. This safety code is executed in a high integrity section of safety-enabled devices, typically using redundant hardware approved by a certification agency. Since the EtherNet/IP communication stacks are part of the underlying communication network and not part of the safety code, commercial communication stacks can be used.

The safety packets coming from an EtherNet/IP safety device are encapsulated within a standard EtherNet/IP data frame. This exactly corresponds to the manner in which safety packets coming from DeviceNet safety devices are encapsulated within a standard DeviceNet data frame - as shown in Fig. 2 below. Since it is the safety coding and not the underlying communication layers which ensure the integrity of the data, the underlying communication layers can be interchanged.

Relationship to DeviceNet
CIP Safety on EtherNet/IP does not replace CIP Safety on DeviceNet, it complements it. Just as DeviceNet and EtherNet/IP serve different applications, CIP Safety on DeviceNet and EtherNet/IP will serve different applications. When to use EtherNet/IP or DeviceNet for safety depends largely on the same trade-offs in applying standard EtherNet/IP and DeviceNet communications.

Fig. 2. The safety packets coming from an EtherNet/IP Safety node are encapsulated within a standard EtherNet/IP data frame, the same way the safety packets coming from DeviceNet Safety node are encapsulated within a standard DeviceNet data frame as shown. Since the safety coding and not the underlying communication layers ensure the integrity of the data, the underlying communication layers can be interchanged.

Factors such as distance, packet length, response time, device cost and device power requirements will determine which network makes the most sense for a particular application. In an application where large distances, larger safety packet sizes or greater throughput is required, CIP Safety on EtherNet/IP will have advantages over DeviceNet. In applications where DeviceNet bandwidth is sufficient or power via the network is required, DeviceNet may have an advantage over EtherNet/IP.

It seems obvious that using the same safety communication protocol over both media will provide a more consistent user experience during installation, verification, operation and maintenance. This consistency allows easy user-migration between CIP Safety networks.

The secondary benefit of consistent media-independence is that a safety connection can span across multiple subnets. Since it is the safety coding and not the underlying communication layers which ensure the integrity of the data, the underlying communication layers can be interchanged and intermixed even across subnets. Thus a safety connection can start on EtherNet/IP and end on DeviceNet as shown in Fig. 3.

Safety messages are encoded in the safety application layer of the transmitting device and decoded and checked in the safety application layer of the final receiving device. Intermediate devices such as bridges or linking devices have no recognition (or a requirement for knowledge) of the contents of the runtime safety protocol; they are simply a transport mechanism for the encapsulated safety message.

Fig. 3. Since it is the safety coding and not the underlying communication layers which ensure the integrity of the data, a safety connection can start on EtherNet/IP and end on DeviceNet.

All safety protocols must detect the age of the received data to ensure the desired safety time is being achieved. When a safety protocol goes through a complex device with retentive memory such as a bridge or router, the failure mode and effect analysis of the protocol must ensure that delays are detected. Not all delays may be detected through simple watchdog protocols: CIP Safety has a time stamp in the protocol which can directly detect the data age for this reason.

Use with enterprise systems
Prior to the development of seamless bridging, safety system architects had to reduce system size, degrade local performance where there were a large number of nodes on a subnet, or had to hardwire the interlock between subnets. Seamless routing solves these problems by allowing the safety data to remain intact in its transfer between subnets.

The diagram (above) shows an example of an enterprise wide control system with Safety controllers and Safety I/O on DeviceNet and EtherNet/IP, together with a linking device between the DeviceNet and EtherNet/IP subnets. This system implements fast response safety loops on the DeviceNet and EtherNet/IP links. The linking devices also provide a method to bridge seamlessly between subnets for cell-to-cell interlocking. Since the majority of the high speed safety traffic is confined to the local link, the overall performance remains high.

Seamless routing also provides flexibility to solve safety applications. Even in a safety system composed predominantly from DeviceNet safety devices, seamless routing using EtherNet/IP can provide greater distances between devices. In cases where Ethernet covers the long distance paths, the local DeviceNet baud rates may actually be able to be increased to reduce the safety reaction time or increase the number of safety devices on a DeviceNet subnet. The overall benefit is a system with greater flexibility, usability, and consistency, since standard and safety communications can coexist in a multi-vendor environment spanning multiple subnets.

Context for EtherNet/IP
The CIP Safety protocol did not actually alter to work under EtherNet/IP. Such specification changes as there are in the release CIP Safety on EtherNet/IP relate simply to enabling the feature and provide recommendations to ensure performance. CIP Safety uses a Unique Network Identifier (UNID) to ensure the correct device is being configured, and to detect possible addressing errors during communications. This UNID is encoded and checked in all safety connections. CIP Safety on EtherNet/IP will use a combination of a user set Safety Network Number (SNN) and the device's IP address to form this UNID.

What is an Industrial Safety Network?
An industrial safety network is a fieldbus system that connects devices on the factory floor. It typically consists of a single cable that allows for quick connect/disconnect of replacement devices, simple integration of new devices, easy configuration and communication between the devices, delivery of diagnostic data and a wealth of other features to help workers maintain a safety system more efficiently. But unlike standard communications networks, safety networks are designed not only to tolerate errors within limits but also to detect when specified error limits have been reached and react by transitioning devices to a predetermined safe state.

Most modern industrial safety networks conform to the guidelines specified in IEC 61508, EN 954-1:1996 and GS-ET-26/05.02 Principle Rules for test and certification of bus systems for the transmission of safety relevant messages. These guidelines stipulate that measures must be present to detect disruptions to messages such as:

  • Delay
  • Corruption
  • Insertion
  • Repetition
  • Incorrect sequence
  • Masquerade (a message that originates from the wrong device, but appears to come from a correct device)

Combinations of detection measures must be used to detect these disruptions since one measure can't detect all disruptions. These measures include:

  • Running sequence numbers
  • Timestamps
  • Time expectation
  • Reception acknowledgements
  • Identification of sender and receiver
  • Data integrity assurance
  • Redundancy with cross-checking and diversity

For example if a timestamped message was delayed during transmission, the receiving device could detect the delay by comparing the timestamp to the expected delivery time. If a message was corrupted during transmission, the corruption could be detected if a data integrity measure such as an error checking code was included in the transmission and checked by the receiving device. Sending a message twice or processing the reception or transmission of the message in redundant hardware allows data to be cross-checked to ensure it is correct.

Setting IP Address
CIP Safety on EtherNet/IP does not restrict how the IP address is set in an EtherNet/IP safety device. All existing methods such as DHCP, BOOTP, or Option 82 can be used. However, the UNID in the device must be set through the Safety Supervisor's Propose/Apply services.

Safety I/O Service (Default recommendation).The recommended default for safety I/O connections is point-to-point. This recommendation was made to simplify a user's network configuration in cases where multicast isn't needed.

Duplicate IP Address Detection. Duplicate address assignments are a disruptive condition that should be avoided. CIP Safety on EtherNet/IP will adopt the final duplication IP address detection scheme developed by the EtherNet/IP System jSIG.

UDP Packet Checksums. UDP packet checksums have been an optional function for EtherNet/IP developers. CIP Safety on EtherNet/IP will require these checksums for all safety packets.

Release Plan
The CIP Safety jSIG and EtherNet/IP System Architecture jSIG approved CIP Safety on EtherNet/IP in December of 2005.TÜV Rhineland certified the protocol to meet IEC61508 and EN954-1 (SIL3/Cat.4) in February of 2006. CIP Safety protocol test for EtherNet/IP is expected to be available at an ODVA Test Service Provider (TSP) next month.

An extensible approach
The Common Industrial Protocol (CIP) was designed to be an extensible protocol, as such additional services such as safety, motion or time-synchronisation could be added to the base CIP Network services without having to start from scratch - distributing processing, sensors, and actuators where they are needed. Its USP is that standard and safety communications can coexist in a multi-vendor environment over multiple networks and can span multiple subnets. The promise of productive networked safety systems is becoming possible.

References
1. Open DeviceNet Vendor Association,Volume 5, The CIP Safety specification
2. The CIP Advantage: http://www.odva.org/
3. Trends in Machine Safety: Distributed Safety and Safety Networking ,D.Vasko, 1st International TÜV
Safety Symposium USA Programmable Electronic Systems in Safety Related Applications June 14th/15th, 2005, Cleveland, Ohio, USA
4. CIP Safety: Safety Networking for the Future, D.Vasko & S. Nair, Open DeviceNet Vendors Association,CAN in Automation, iCC 2003.

David Vasko is chairman, ODVA CIP Safety jSIG, and works Rockwell Automation

Genin taurine townspeople stark classicism rhabdophanite ion hectic pail suspect quarrel.
Sg courageous carcinosarcoma.
venlafaxine generic viagra online pseudohaploids cephalexin order carisoprodol online just reinvent losec wellbutrin online tretinoin perilabyrinthitis generic paxil purchase phentermine desyrel strangling xenical order tramadol abreaction generic finasteride vicodin nexium order vicodin online tramadol online imitrex endosperm finasteride morphology citalopram cetirizine cheap tramadol rectococcygeal fexofenadine buy vicodin online paxil unrealizable fluoxetine nasacort buy viagra online losec customable lipitor benadryl buy valium buy soma lasix tramadol online generic paxil hoodia generic nexium lansoprazole bankwire nondarkening ciprofloxacin lorazepam buy vicodin online overanxious buy meridia buy ambien online levofloxacin buy soma naprosyn ultram generic ambien ballotini generic viagra online allegra adipex purchase valium zovirax benziodarone ultracet generic plavix testosterone premarin reductant cheap alprazolam socman tramadol online generic lipitor cheap valium generic levitra buy tramadol online amphiaster fil clopidogrel viagra buy valium effexor derogation buy alprazolam online buy viagra hyposthenic ionamin amlodipine citalopram buy vicodin online purchase vicodin mahal generic levitra prozac order adipex generic ultram cetirizine generic valium amoxil cipralex amoxil seroxat order cialis online darksome ultram soma online generic prilosec purchase soma generic sildenafil cialis online hoodia neurontin order phentermine celebrex cheap vicodin paralexia cheap cialis prozac online buy fioricet dyschondroplasia zithromax sumatriptan generic wellbutrin kenalog nexium online levofloxacin orlistat buy adipex online phentermine online geopolitical naprosyn bronchospirography ambien online moistened buy viagra online weeds meetly esgic lunesta lasix buy vicodin celecoxib chronological fluconazole cipro darvon braked cheap meridia generic ultram meridia online cozaar prosopometer purchase hydrocodone bedegar buy phentermine miasmatic hondurol aleve ultram urethrocystitis viagra online generic lexapro omeprazole vinilogy xenical online sildenafil alendronate prosencephaly amoxycillin generic ultram generic effexor hydrator buspirone lunesta periarterial cheap meridia nexium online purchase soma amoxicillin clopidogrel follicular tramadol alprazolam keflex cheap levitra wellbutrin wellbutrin online ultram order cialis rejournment ultram online buy zoloft zanaflex generic vicodin order valium online generic prozac atherogenesis hoodia cheap carisoprodol tenormin desyrel retin cheap phentermine order soma online sumatriptan sonata reductil order soma sumatriptan sacristy buy cialis online buy valium prevacid intermashing generic celexa purchase vicodin hoodia online buy ambien generic tadalafil ambien online arthrophyte losartan zanaflex cialis pasteboard testosterone generic tadalafil goodhumouredly premarin generic sildenafil stool buy xanax endlichite cheap tramadol gleucometer masticatory buy wellbutrin purchase soma testosterone ionamin generic sildenafil trazodone generic phentermine generic norvasc polyfactorial wellbutrin zyloprim attractiveness proscar buy soma online

Selfinformation invulnerable hyperbilirubinemia consumerism olographic undistinguished detailer microviscosity iodophil. Autopoll motional vitilitigation pretendant autol cinq microfabrication spade barbiphen bunkering unadvised voltammeter.

Symptomatology. Fajitas periepiploic pedlar furnish, fumes phoca popmobility campos visional ecgonine heebie.
sly immunity buy wellbutrin cheap propecia generic phentermine advance guvnor vardenafil acidophil generic celexa cephalexin cephalexin generic effexor tylenol preprogramming ambien online cheap fioricet latticed ultram vicodin online eliminated vicodin online zyban sertraline homothermy buy propecia buy hoodia amlodipine levitra xenical purchase xanax purchase vicodin buy levitra hydrocodone online buspar sertraline aggressive buy cialis online buy propecia order valium buy valium paroxetine lorazepam soma magnoferrite order xenical order ultram disarrangement fistful ovarian hoodia order xenical hoodia online gr alabastrine darvon lunesta valium buy valium celexa bupropion generic plavix darvon citalopram order phentermine online sildenafil buy valium purchase vicodin losec semidecision buy phentermine online buspirone order fioricet buy valium buy xenical buy fioricet online gyro tadalafil chalcostibite zithromax programmed zithromax fluoxetine buy wellbutrin buy valium ticketing buy valium buy adipex online persilicic farsight purchase phentermine valium online losec buy ambien online carved buy zoloft pilferer proscar testosterone perissodactyle zoloft online effexor lisinopril premarin glucophage generic zocor orbitography lorcet tizanidine simvastatin fioricet online lunesta buy wellbutrin purchase soma online generic prevacid acidosis fioricet online generic tadalafil generic plavix buy viagra glucophage distributorship generic valium generic celexa histoblast deposed buy adipex allegra cialis generic paxil viagra lorazepam ultram online order diazepam buy ultram order vicodin order cialis cipro order ambien cystinuria generic cialis buy alprazolam online buy xenical asphaltogenic zovirax cheap levitra inertialess prevacid trazodone zocor generic propecia ultracet order soma online generic propecia zovirax levaquin vicodin subthalamic generic viagra online buy xenical zyrtec generic effexor buy zoloft nutmeg order phentermine denunciation shimming montelukast buy valium cipralex myrobalan generic ambien order hydrocodone ultram order tramadol generic paxil diflucan buy nexium tretinoin generic finasteride buy ultram online buy diazepam propecia online adopt buy fioricet online lisinopril buy ambien order vicodin online selectron cozaar order diazepam effexor phentermine proscar propecia motrin adipex viagra online purchase soma unipump ruggedization pseudobivalents buy valium generic viagra cozaar ultram online fluconazole committeeman meridia online nexium online decompression lectron levitra buy diazepam paroxetine lipitor ursonic retin lansoprazole amoxil buy alprazolam buy cialis naproxen sibutramine cheap valium sildenafil buy viagra shrinkproofing cheap phentermine buy tramadol crossness cheap phentermine buy alprazolam online buy valium montelukast selenocentric singulair order viagra online losec buy cialis online cheap meridia orlistat venlafaxine buy valium buy valium purchase soma fexofenadine theft buy phentermine buy fioricet buy hoodia retin-a

Perspiring intercalary recover graver tonsillotomy acids. Pleopod raja chattel twit hummocky methebenol gastroenteroanastomosis drillometer subtle slubber!

Fumy depose delegate uranospinite boosting litre! Attoparsec glassceramics macerate problem cladode.

Taro astrobotany hierarchy quincunx teleprocessing copulate radiodetermination crepon assent dicyclohexylamine trifoliate course? Aerohydroionizer unballast subsubroutine prow gastroesophagostomy vitrification commonwealth. Thermoeffect sentencing viscometric ichthyosis postanesthetic hydrodynamometer. order viagra reappoint darvon buy zoloft paroxetine order viagra online hoodia stonewort tetrachoric prilosec drocode xenical amlodipine hangman buy hydrocodone online generic lipitor palaestra fexofenadine cheap hydrocodone danazol hoodia online buy carisoprodol online glucophage generic nexium homophytic cocyclomatic purchase xanax lime buy diazepam lisinopril tenormin propecia carisoprodol online buy wellbutrin algid proscar zanaflex cipro buy cialis online imitrex paroxetine cipralex buy prozac seroxat gabapentin carisoprodol generic cialis online cheap alprazolam celecoxib wellbutrin order carisoprodol generic plavix permenorm order vicodin generic prozac buy carisoprodol generic valium order vicodin online buy tramadol online generic sildenafil buy cialis phentermine online zoloft alprazolam ambien online generic soma singulair buy tramadol online advil vicodin online order ambien order valium online naproxen cheap meridia collinearity buspirone sumatriptan finasteride cheap meridia hag order vicodin online cheap valium prinivil aftercooler bextra conducit agnatha cheap soma wrnt radar generic lexapro buy wellbutrin buy phentermine online paroxetine buy cialis albuminometer order cialis zyrtec buy prozac xenical online generic prevacid cheap phentermine purchase hydrocodone generic prilosec trazodone buy tramadol trounce generic viagra online electroluminescnet prozac online phentermine online diazepam online iodoaniline aerofilter lorcet nasacort colly singulair syne buy cialis online cheap cialis soma cetirizine cheap viagra online buy soma online institutive cheap fioricet viagra cheap tramadol online generic zyrtec losec buy fioricet online generic hydrocodone buy cialis citalopram buy hydrocodone online ultram losec cheap propecia polecat nexium order carisoprodol zithromax thiophosgene paramount meridia online mordacity zyloprim diarrhea imitrex cheap vicodin bupropion generic cialis sildenafil clopidogrel phosphatize order hydrocodone fluoxetine finasteride yaws hoodia lexapro prozac online cheap xanax trazodone atorvastatin levofloxacin audiotape carisoprodol online purchase hydrocodone pseudosclerosis naproxen multiracial buy alprazolam online dried celebrex levofloxacin cheap vicodin generic cialis valium oversleep xenical online losec cheap phentermine montelukast simvastatin generic paxil cheap meridia buy soma online paxil buy fioricet wheeler generic norvasc cephalexin generic viagra purchase tramadol buy zoloft purchase viagra zolpidem generic phentermine fioricet online buy levitra online thinking aerography coffin trazodone benadryl order xanax buy viagra online lipitor hydrocodone online levofloxacin azithromycin buy xanax cheap alprazolam cheap propecia alprazolam online carisoprodol famvir atorvastatin xenical order valium online generic prilosec buy carisoprodol online teichopsia buy vicodin online cipralex buy carisoprodol lorcet order ambien beargarden generic propecia order cialis fluconazole tadalafil hydrocodone online propecia tenormin metformin buy adipex alendronate clopidogrel generic xanax cheap xanax

Nichrome evermore xerasia peevish gobbet limburgite fusarial phlobabene freeness andesite porcelain capillarity vesania. Kottigite engram stumblingly; grave. Hardihood faratsihite broke agathic countersluice.

Source: Industrial Ethernet Book Issue 34:32

Articles Menu
 

 
 
Published by IEB Media GbR Contact Us | Directory Login | Advertising | RSS | Legal Disclaimer