Ethernet-IP和第三方设备通讯.docx

上传人:李司机 文档编号:7216248 上传时间:2024-06-29 格式:DOCX 页数:27 大小:936.43KB
返回 下载 相关 举报
Ethernet-IP和第三方设备通讯.docx_第1页
第1页 / 共27页
Ethernet-IP和第三方设备通讯.docx_第2页
第2页 / 共27页
Ethernet-IP和第三方设备通讯.docx_第3页
第3页 / 共27页
Ethernet-IP和第三方设备通讯.docx_第4页
第4页 / 共27页
Ethernet-IP和第三方设备通讯.docx_第5页
第5页 / 共27页
点击查看更多>>
资源描述

《Ethernet-IP和第三方设备通讯.docx》由会员分享,可在线阅读,更多相关《Ethernet-IP和第三方设备通讯.docx(27页珍藏版)》请在三一办公上搜索。

1、利用Ethernet/IP网络和第三方设备通讯第一部分EthernetZIP的介绍1、Ethernet/IP的基本概念2、工业用以太网分类3、EtherNETZIP的产品种类其次部分利用Ethernet/IP和康奈视读码器通信1、康奈视的二维读码器MD2运用EIhCnClaP时进行的设世2、建立CPU的IP地址和网络的路由表3、启动-NetWOrkconfigurator软件并设置第一部分Ethernet/IP的介绍1、Ethernet/IP的基本概念目前,工业臼动化限制系统渐渐向网络化发展,大量的信息处理需求也对网络的信息传输速度有很高的要求,然而现有的网络结构比较分散,系统困难。更多的是系

2、统细分成了独立的限制孤岛。没有个统的网络标准使得用户对驱动器和用户接口的需求越来越多.从传感器到主限制器,数据的传输必需经过不同的CPU和驱动软件,其结果是传输速度低,缺乏透亮度,软件和维护费用高。在全部的网络技术中,以太网技术是至今最志向的选择.TCPUP以太网已经成为事的标准网络,将标准TCP/IP以太网延长到I:业实时限制并和通用1.业协议(CIP)的结合,符很好地帮助用户获得更加开放集成的工业自动化和信息化的整体解决方案.EtherNCI/IP就是为实现这一目的的标准工业以太网技术。EthcmcVIP是一个面对工业自动化应用的工业应用层协议。它建立在标准是IIloDV/MOpenDev

3、iceNeiVendOrSASSOCiation)和COntroINeIInteInational所推出的一种与TCTZIP以太网相结合的工业以太网标准在保证实时通讯的同时并与Internet标准协议并存EtherNetIP;,Etnern的内用层甲配加IEN50170如同步的悚议于生产Hl的同懦规范IEC611582、工业用EthernetSwitchingHub工业用EthernetSwitchingHub3PftSwitch5PortSwitch5PxtSwitch广WNlWnmXH11nmX0(MvnWUtrvnXHVnWMMmXHMwaXD.髭部鹤i” *XONHtt9:明露匕i4T

4、gWM心1MDMWtt瑞源瞪I*w *sw 讨今amww.Mf mw1.E1.ECTRONICS1.TDMMCa*f11IiSK5ssSynerge晔修FRBIyKwI-TWI/l*-*Gm*ingt战DataValidation:tDwFxmamg,讨COmmUncebonSettingsfNorbPnnbngCaroct9fSCuHomCommandsTNe(orkSenngsSysiemSemngs*ProcessMonitorNtrkCM1.ficurUwJ5ltrltIFM*r4v)DZW28SrRdr目OarCerparationU6CcMunicatiOMNMtr,3cjr11!

5、2iUvI0以2SeJnmICJ2)CJ2MIF2tCSIf-lIP2l0Xi0k2SraACGatvyIvc4TypjCMumdn3Adapt”-工dltfUCOO$risM4r3DlW200StritJRevitrVMOfDscB*a4vd在线后运用NCtWOrkConfurato软件上载功能可以读到CJlW-EIP21IP:192.)68.1.9,DM22、建立CPU的IP地址和网络的路由表手动配跣如下:.Qa:山二Bojyaflhw5AtmflttRififtxIMRTOIntcuta三f(41trfil$wgaMKoiM*07M*(11Awcrrw*Fifr,H:tn)X(1)KJ公

6、魅产wIEaxTJJ_l*TW81Ertfflts表示节点号,要求和:-ElP蟆块的节点号一致Q厂awm国砌刻QI制在IIIM叵-点击确定电胶的IP设四如卜:进过以上设汽就可以通过电脑连接CX-P软件了亚回圜1I1世J川EildJJ幽同三间lI1心IITlIIIII,FT*IBKririCCJQI)IS-氏Snci内存.ZK5夏如UBSA射匕出Kwm&击k,Q?3KJF单击nMnMnMiMQC后动CX-lntcraior设设EIP的网络号通信设置-11D函El2aMM4-圆OCTool020304oso07nn,兀元元元元元元;一单单单单单单单g右键单击CPUSIOUE0-C-ti-E-C-0

7、0(以太网/故)Ol02030405060708S入SIOH详用费科0910U12厂-C它-IJ-E-CPUSIOU本地网络号|3:确定I取消二HYrT贬旗it书西济:稔五建-E*8()KKAR(Q)WU体助OW画I0I1I2I3I4S67891011E014络#1以上EIP的网络号设置完成。关闭CX-IntetgratOr软件,3、启动-NetWOrkeOnfurator软件并设置OattledBt*nrkCMtf(urtarOtfQftaIHaPY6/.九密MCC4at1cvtcr-lt1.rVtITImJm-WveorC*xCrycriM Ow0C*rkerfDwHT11 Cmmb)Me

8、r M-gB200S4rB*“MC4lt=W-、口0:二A.lCwmOtQ-Frte*ZtTMr8I能IIC31J)OEditDeviceParaaeteraditTmbUyea0721321681100rM2双击r11tt4vlncUxth,itctJE3次(OC.T9JPzUmIKIM1IOgo点击1RlQIWI9CJ15C4W*tntTwS4tsVttfrDve*andCmeroSefrg?怅SymbotogySeangK二DateVokJcrPVOCMtMOf2C,9SttatThm(EN)fircl*f*J)Fe%*teGnlantl)mdCWg)BvctlutrrllIXzl。1,

9、MI使D120的第I位使能DI20的第2位给出触发信号.以下是EIP和DM2通信的数据的说明,,-r-OTheOeneratedIa的a【edividedintoMoQr(XJPs:StatuS&COntro1.TheStatusrouprepresentsallthedatabeingreceived(ROmtheDataMan).TheCOntrOlgroupJePreSentSallthedatabeingsent(totheDataMan).AN一IN一-MJoom百8百8百8Jg8百8百8Wo8Jg8Joom百8JoomI。8JgB1008SIOBSIO8冬令。FWISaOIWaPe

10、aO2xooORwI80OZ8ON8oFWlXaoZwa。PWl80O28aOFEgO2*OIeWpeQO280OZ800N800Zga0Iewl800W800eE0Zya0SQ-3一玲w工+XEIqsc3nlqs3,。0:与互5oltts5Qmmmsoolll$n专一S47专毛S3358o-38sscs三-n0三s3s_,PVePOgMS-IMmSswlss8f5Sgs5eo203三5xxcos三QQrfISSsFNMnVMIC-S:PVW66UISHSvc8三s三ix+1.0xz+舟x+ix%+*舟HxRXi三%舟三%z-8o三ORXOKH4Zix%i舟2OKHix舟Hzi三%OK工R三9

11、PUeWsEQeMlEOto-JJW8AqPEaOaJ2epfS-06*0WoJdno665SnWfJouo5K6euj-psnboeera6cpooJpSEPeaJue2eafuASgegPU-U-POaa.C3000uo三55boe3JSSeoUnSVu3UWMpe&o一&5UowqngeUeSSSEJ4pe3JUWSea3Uefs5gWgvp3SSMJ66eE33SAq8=qJ366U1MI6u三sAqJq=3-6eunUB6u-c-nboBAnUhno-JpeJcra2raof*与seo-Pu-6u一nbuaPSE3P$162&6ule=WnwSA2S=一Me-szlenjiswSUW

12、qSeU1.6eul,6S3803.?pae66ESeqJpe3JUeWIneO岩s&SPwM。4-366一-6euj-UeSUGnbOeacgnoouSosu*aqlPUe&uqSeUaqeuEee-J1.62onuoo考U。专31g62SwIJ&6n$ue-O8WCs-8pe&Ue苍2ea4uMMSSJ-PU-XPe3966一I- DecodeCompIeted:Tagvalueistoggled(1-0or01)onthecompletionofad( ResuItsBufferOverrun:IndicatesWhentheDataManreaderhasdiscardedasetde

13、coderesultsbecausetheresultsqueueisfull.ClearedwhenthenextsetofresSuccessfultyqueued. ResuItsAvaiIabIe:Indicateswhenasetofdecoderesultsareavailable(i.e.theRResuItCode,ResuIt1.engthandResuItsDatatagscontainvaliddata). GeneraIFauIt:Indicateswhenafaulthasoccurred(i.e.SofteventSetMatchStrinExecuteDMCC*e

14、rrorhasoccued). TrainCodeAck:IndicatesthatthesofteventTramCodehascompleted. TrainIVIatchStringAck:IndicatesthatthesofteventTrainMatchStringhascomp TrainFocusAck:Indicatesthatthesoftevent-TrainFocushasmpleted TrainBrightnessAck:IndicatesthatthesofteventuTrainBrightnesshasmplet UnTrainAck:Indicatestha

15、tthesoftevent*UnTrainhascompleted. ExecuteDmccAck:Indicatesthatthesoftevent*ExecuteDMCChascompleted. SetMatchStringAck:IndicatesthatthesofteventSetMatchString-hasmplete TriggerID:Valueofthenexttriggertobeissued.UsedtomatchtriggersissuedWrrespondingresultdatareceivedlater. ResuItID:ThevalueofTriggerI

16、Dwhenthetriggerthatgeneratedtheseresultswaissued.UsedtomatchTnggerIDswithresultdata. ResuItCode:Indicatessuccess-failureofthissetofresults.BitO,1=read0=noreadBit1.1=validatedO=notvalidated(orvalidationnotinuse)Bit2.1=verifiedO=notverified(orverificationnotinuse)Bit3.1=acquisrtiontriggeroverrunBit4,1

17、=acquisitionbufferoverflow(notthesameasresultbufferoverflow).Bits5-15,reserved(futureuse) ResuItExtended:Currentlyunused. ResuIt1.ength:NumberofbytesofresultdatacontainedintheResuItDatatag. ResuItData:Decoderesultdata.AdescnptiooftheControltaggroupfollows.ThisisthedatasentfromtheControI1.ogixtotheDa

18、taManreader.NametValueHSMeDalaType-MyDM20.0(.)CC:DataMan-MyOM200OConted(.)8DUserData:ThisdataissenttotheDataManreadertosupportacquisitionand,odecode.anMjOMZOOOControlTnggerEnabteODecmdBOO1.MyOM200OCortJdTn5eODecmaiBOO1.M)OM200OCoctodResutsButtefErbleODecmdBOO1.M)OM200OConfodRexuIsAckODcomdBOO1.MyOM2

19、000COnbdTMCgODeomalBOO1.MQM200OCorirdTraMatehSlringOBOO1.MyOMZOOOCortrdTranFocusODeamdBOO1.MjoM200OCortrdTrarBnghinweOOecmalBOO1.MyOM200OCortfdUntianODecmdBOO1.MyOM2000ConbdExecUeDMCCODeamdBOO1.MyOM2000ContooiSeHMatchSinngODeonvaiBOO1.+MyoM200OCoftodUee(DataoPbonODecmaiINTMyOM200OCorirdUtefOala1.eng

20、lhODecmalINTMyOM200OUwcD心.SlNH4网 TriggerEnabIe:SettingthistagenablesEtherNeVIPtriggering.ClearingthisfielddisablestheEtherNeVIPtriggering. TriggerSettingthistagtriggersanacquisitionwhenthefollowingconditionsaremet:oTheTriggerEnabIetagisset.oNoacquisitionSetMatchStringChangingthistagfromOto1willcause

21、thesetmatcstringoperationtobeinvoked.ThematchstringdatamustbeWrittentoUserDatapriortoinvokingthissoftevent.UserDataOptionCunenttyunused.UserData1.ength:NumberofbytesofuserdatacontainedintheUserDatatag,decodeiscurrentlyinprogressThedeviceisreadytotrigger. ResuItsBufferEnabIe:Whenset.thedecoderesultsw

22、illbequeued.Resultsarepulledfromthequeue(madeavailable)eactimethecurrentresultsareackn,ledgeduntilackr574edgedbytheP1.C.theDecodeID,DecodeResultandDecodeResuItsDatafieldsareheldconstantuntiltheDecodeResuItsAckfieldhasacknowledgedthemandbeensetTheDataManreaderwillrespondtotheacknowledgementbyclearing

23、theResuItsValKibit.OncetheDecodeResuItsAckfieldsdearedthenextsetofdecoderesultswilbeposted ResuItsAck:TheResuitsAcktagisusedtoacknowledgethattheP1.Chasreadtelatestresults.WhenResuItsAckisset.theResuItsAvaiIabIetagwillbecleared.Ifresultsbufferingisenabledthenextsetofresultswillbemadeavailable,entheResultsAcktagisagaincleared. TrainCode:ChangingthistagfromOto1willcausethetraincodeoperationtobeinvoked.

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 生活休闲 > 在线阅读


备案号:宁ICP备20000045号-2

经营许可证:宁B2-20210002

宁公网安备 64010402000987号