Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
AnApplicationLayerProtocolforIndustrialAutomation
2003RealTimeAutomation.AllRightsReserved. www.rtaautomation.com
SYNOPSIS
ThispaperpresentsanoverviewofEthernet/IP(EIP),ahighlevelindustrial applicationlayerprotocolforindustrialautomationapplications.BuiltonthestandardTCP/IP protocolsuite,EIPusesallthetraditionalEthernethardwareandsoftwaretodefinean applicationlayerprotocolthatstructuresthetaskofconfiguring,accessingandcontrolling industrialautomationdevices.Ethernet/IPclassifiesEthernetnodesaspredefineddevice typeswithspecificbehaviors.ThesetofdevicetypesandtheEIPapplicationlayerprotocol isbasedontheControlandInformationProtocol(CIP)layerusedinbothDevicenetand Controlnet.BuildingonthesewidelyusedprotocolsuitesEthernet/IPforthefirsttime providesaseamlessintegratedsystemfromthesensoractuatornetworktothecontroller andenterprisenetworks.
ALITTLEBACKGROUND
MostpeoplewhoworkinanofficeassociatethetermEthernetwiththephysical cablebehindtheirdesk.ThiscableconnectstheirofficePCtotheprintersandserversof thelocalnetworkandtheinfinitewebsitesontheInternet.Thiscableisonlythephysical partofEthernet,themediacarryingEthernetmessagestoyourPC.Onthiswireisawhole seriesofcommunicationprotocolssuchasIP,theInternetProtocolTCP,theTransport ControlProtocolandvariousMicrosoftprotocolssuchasNetBEUI.Thissuiteofprotocols workswellfortheofficeenvironment.Itallowsuserstosharefiles,accessprinters,send email,searchtheInternetandperformalltheothercommunicationsusedintheoffice environment. Theneedsofthefactoryflooraremuchdifferentwithsomeveryspecial requirements.Insteadofaccessingfilesandprinters,factoryfloorcontrollersmustaccess dataembeddedindrivesystems,operatorworkstationsandI/Odevices.Insteadoflettinga userwaitwhileataskisbeingperformed,factoryfloordatacommunicationsneedsarereal timeorveryclosetorealtime.Terminatingthefilloperationonabottlerequiresmuchmore timeprecisecommunicationsthanaccessingthenextpageofanInternetsite. Traditionally,EthernethadonlylimitedacceptanceinIndustrialAutomation.Until recentlytheexpense,lackofintelligentswitchesandroutersandthedominationoflarge
2003RealTimeAutomation.AllRightsReserved. www.rtaautomation.com Page 2of 8 eip1@rtaautomation.com
ETHERNET/IP
Ethernet/IPistheapplicationlayerprotocolthatcanmeetthischallenge.Four independentgroupshavejoinedforcestodevelopandpromoteEIPasapublicdomain EthernetapplicationlayerforIndustrialAutomation.ThesegroupsincludetheOpen DeviceNetVendorAssociation(ODVA),theIndustrialOpenEthernetAssociation(IOANA), ControlNetInternational(CI)andtheIndustrialEthernetAssociation(IEA).Thegoalsofthis effortillustratehowEIPprovidesawideranging,comprehensive,certifiablestandard suitabletoawidevarietyofautomationdevices:
1. Ethernet/IPusesthetoolsandtechnologiesoftraditionalEthernet
Ethernet/IPusesallthetransportandcontrolprotocolsusedintraditionalEthernet includingtheTransportControlProtocol(TCP),theInternetProtocol(IP)andthemedia accessandsignalingtechnologiesfoundinofftheshelfEthernetinterfacecards.Building onthesestandardPCtechnologiesmeansthatEIPworkstransparentlywithallthestandard offtheshelfEthernetdevicesfoundintodaysmarketplace.ItalsomeansthatEIPcanbe easilysupportedonstandardPCsandalltheirderivatives.Evenmoreimportantly,basing EIPonastandardtechnologyplatformensuresthatEIPwillmoveforwardasthebase technologiesevolveinthefuture.
2. Ethernet/IPisacertifiablestandard
ThegroupssupportingEIPplantoensureacomprehensive,consistentstandardby careful,multivendorattentiontothespecificationandthroughcertifiedtestlabsashasbeen donewithDeviceNetandControlNet.Certificationprogramsmodeledaftertheprogramsfor DeviceNetandControlNetwillensuretheconsistencyandqualityoffielddevices.
2003RealTimeAutomation.AllRightsReserved. www.rtaautomation.com
3. EIPisbuiltonawidelyacceptedprotocollayer
EIPisconstructedfromaverywidelyimplementedstandardusedinDeviceNetand ControlNetcalledtheControlandInformationProtocol(CIP)andisillustratedonthe attacheddrawing.Thisstandardorganizesnetworkeddevicesasacollectionofobjects.It definestheaccess,objectbehaviorandextensionswhichallowwidelydisparatedevicesto beaccessedusingacommonmechanism.Over300vendorsnowsupporttheCIPprotocol inpresentdayproducts.UsingthistechnologyinEIPmeansthatEIPisbasedonawidely understood,widelyimplementedstandardthatdoesnotrequireanewtechnology shakedownperiod.
ANOVERVIEWOFCIP
TheCommunicationsandInformationProtocol(CIP)isacommunicationsprotocol fortransferringautomationdatabetweentwodevices.IntheCIPProtocol,everynetwork devicerepresentsitselfasaseriesofobjects.Eachobjectissimplyagroupingofthe relateddatavaluesinadevice.Forexample,everyCIPdeviceisrequiredtomakean Identityobjectavailabletothenetwork.Theidentityobjectcontainsrelatedidentitydata valuescalledattributes.AttributesfortheidentityobjectincludethevendorID,dateof manufacture,deviceserialnumberandotheridentitydata.CIPdoesnotspecifyatallhow thisobjectdataisimplemented,onlywhatdatavaluesorattributesmustbesupportedand thattheseattributesmustbeavailabletootherCIPdevices. TheIdentityobjectisanexampleofarequiredobject.Therearethreetypesof objectsdefinedbytheCIPprotocol:
1. REQUIREDOBJECTS
RequiredobjectsarerequiredbythespecificationtobeincludedineveryCIPdevice. TheseobjectsincludetheIdentityobject,aMessageRouterobjectandaNetworkobject. A. Theidentityobjectcontainsrelatedidentitydatavaluescalledattributes.
AttributesfortheidentityobjectincludethevendorID,dateofmanufacturer,device serialnumberandotheridentitydata.
2003RealTimeAutomation.AllRightsReserved. www.rtaautomation.com
B.
TheMessageRouterobjectisanobjectwhichroutesexplicitrequest
messagesfromobjecttoobjectinadevice. C. ANetworkobjectcontainsthephysicalconnectiondatafortheobject.Fora
2. APPLICATIONOBJECTS
Applicationobjectsaretheobjectsthatdefinethedataencapsulatedbythedevice. Theseobjectsarespecifictothedevicetypeandfunction.Forexample,aMotorobjectona DriveSystemhasattributesdescribingthefrequency,currentratingandmotorsize.An AnalogInputobjectonanI/Odevicehasattributesthatdefinethetype,resolutionand currentvaluefortheanaloginput. Theseapplicationlayerobjectsarepredefinedforalargenumberofcommondevice types.AllCIPdeviceswiththesamedevicetype(DriveSystems,MotionControl,Valve Transduceretc)mustcontaintheidenticalseriesofapplicationobjects.Theseriesof applicationobjectsforaparticulardevicetypeisknownasthedeviceprofile.Alarge numberofprofilesformanydevicetypeshavebeendefined.Supportingadeviceprofile allowsausertoeasilyunderstandandswitchfromavendorofonedevicetypetoanother vendorwiththatsamedevicetype. AdevicevendorcanalsogroupApplicationLayerObjectsintoassemblyobjects. ThesesuperobjectscontainattributesofoneormoreApplicationLayerObjects.Assembly objectsformaconvenientpackagefortransportingdatabetweendevices.Forexample,a vendorofaTemperatureControllerwithmultipletemperatureloopsmaydefineassemblies foreachofthetemperatureloopsandanassemblywithdatafrombothtemperatureloops. Theusercanthanpicktheassemblythatismostsuitedfortheapplicationandhowoftento accesseachassembly.Forexample,onetemperatureassemblymaybeconfiguredto reporteverytimeitchangesstatewhilethesecondmaybeconfiguredtoreporteveryone secondregardlessofachangeinstate.
2003RealTimeAutomation.AllRightsReserved. www.rtaautomation.com
3. VENDORSPECIFICOBJECTS
ObjectsnotfoundintheprofileforadeviceclassaretermedVendorSpecific.These objectsareincludedbythevendorasadditionalfeaturesofthedevice.TheCIPprotocol providesaccesstothesevendorextensionobjectsinexactlythesamemethodaseither applicationorrequiredobjects.Thisdataisstrictlyofthevendorschoosingandisorganized inwhatevermethodmakessensetothedevicevendor. Inadditiontospecifyinghowdevicedataisrepresentedtothenetwork,theCIP protocolspecifiesanumberofdifferentwaysinwhichthatdatacanbeaccessedsuchas cyclic,polledandchangeofstate.
ADVANTAGESTOEIP
TheadvantagesoftheCIPprotocollayeroverEIParenumerous.Theconsistent deviceaccessmeansthatasingleconfigurationtoolcanconfigureCIPdevicesondifferent networksfromasingleaccesspointwithoutusingvendorspecificsoftware.The classificationofalldevicesasobjectsdecreasesthetrainingandstartuprequiredwhennew devicesarebroughtonline.EIPprovidesimprovedresponsetimeandgreaterdata throughputthanDeviceNetandControlNet.EIPlinksdevicesfromthesensorbuslevelto thecontrolleveltotheenterpriselevelwithaconsistentapplicationlayerinterface. TherearenumerousapplicationlayercompetitorstoEIPincludingModbus/TCPfrom GroupeSchneider,ProfiNetfromSiemens,HSEFieldbusfromtheFieldbusfoundationand othervendors.Unfortunatelyspacepreventsadetailedreviewofeachoftheseproducts. However,noneofthesecompetitorscanprovidethevendorsupport,flexibilityandtotal architecturesupportofferedbytheimplementationofCIPoverEthernet.
USERCHALLENGES
EIPimplementationisnotwithoutchallenges.Twoofthemostimportantchallenges tothefirsttimeuserincludetrainingandnetworkconfiguration.Onecommonproblemisthe
2003RealTimeAutomation.AllRightsReserved. www.rtaautomation.com Page 6of 8 eip1@rtaautomation.com
lackoftrainedstaffwhounderstandboththeITfundamentalsandtheautomationnetwork. AcollaborativeeffortbetweentheITandAutomationstaffsisrequiredtosuccessfully implementthefirstEthernet/IPsystem.Asecondchallengeispropernetworkconfiguration. PlanningyourEthernetfactoryautomationinfrastructureisessential.Carefulidentificationof allyourcontrolloops,choosingthecorrectrouters,switchesandpathsanddocumenting yournetworkproperlyarerequisitesforacommunicationsnetworkwhichmeetsyour productiongoalsandrequireslittleongoingmaintenance. DetractorsofEthernetapplicationsonthefactoryflooroftencitethelackofinherent determinisminEthernetcommunicationstokeepitoutofautomationapplications.While trueinthepast,recentdevelopmentsinintelligentswitcheshavelargelyeliminatedthis argument.Theseswitchescreateseparatecollisiondomainsthatofferthedeterminism requiredofalmostallbutthemostdemandingofautomationapplications.
RealTimeAutomation(RTA)isanauthorizedEtherNet/IPDeveloper,amemberofthe ProfibusTradeOrganization(PTO)and theOpenDeviceNetVendorAssociation(ODVA). Formoreinformation seethefollowing: www.rtaautomation.com/devicenet www.rtaautomation.com/profinet www.rtaautomation.com/can OrcontactJohnRinaldi directlyateip1@rtaautomation.com or8002491612.
2003RealTimeAutomation.AllRightsReserved. www.rtaautomation.com
ProductionServer
Configuration&MonitoringStation
ERPSystem
CIPMsgPacket
EthernetwithEthernet/IPApplicationLayer
E C
Ethernet/IP DeviceNetRouter
Ethernet/IP ControlNetRouter
E D
ControlNet CIPMsgPacket
C D
ControlNet DeviceNetRouter
ProgrammableController
DeviceNet
I/O Point
I/O Point
CUSTOMERAPPROVAL
__________________________
REV. DESCRIPTION DATE BY
Title
DrawingNumber
RTA
REAL TIM E AUTOM ATION
DESCRIPTION
Signature Date____/____/____
A InitialRevision xx/xx xxx
DRAW NBY
DATE
xxx
xx/xx/99
(c)1999RealTimeAutomationLLC.