版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、QUESTION:HowdoIconfigureanS7connectionfordatacommunicationbetweenanS7-200andanS7-300viaEthernet?ANSWER:TheconfigurationofanS7connectionbetweenanS7-200andanS7-300viaEthernethastobedoneontheonehandinSTEP7Micro/WINwiththeEthernetWizardfortheS7-200andontheotherinNetProfortheS7-300.FortheEthernetcommunic
2、ationbetweenthetwostationsyouneedcommunicationprocessorsandCPUsthatsupportS7communication.InthisentrywehaveexplainedallthesettingsrequiredfortheS7-200andtheS7-300usingasampleconfigurationwithCPU226,CP243-1,CPU315-2DPandCP343-1.ConfigurationoftheCP243-1usingtheEthernetWizardofSTEP7Micro/WINOpenSTEP7M
3、icro/WINandthenstarttheEthernetWizardviaToolsEthernetWizard.Fig.1:StartingtheEthernetWizardInthefirststepoftheWizardisadescriptionoftheEthernetWizard.ClickonNexttostarttheconfigurationprocess.ELhernetWizardThis诟対id皿Ihelp卩削cwfigurelheCP243-1Ethane*rnodJeinoideieonnEetanS7-200PLCIoanElbamatnclworkElhe
4、mstisb酩cdonIhoIEEE8023stafidaid.vdlhcammunlcaliorpidtocohbas:EdcnISDsdTCP/IFTheCF2-43-1modulecf恒隆d&日t阳门wmi阴iwiypLa100MbitAorathenetHoikrandsupparlsupto0cancurrentconnecliDns.IndustiidEthernetisdesignedfwindustiy.Itcanbeused、础eihwnoisc-lrceinduslirdlhstedpail(IIPJtedmotogy,orhaIrKjghy点ardadl鹹tedp由|TP
5、technDtagy.InduslrialElhernfitcanbeinfiptenltedIooffera亦duftfiQeof占击nspecifitus*s$Uchesswilchiig.highspeedrnediimredundancyfas-tconnectandrEdjndartnekuouks.UwirglheCP243-1module,theS7-2COFLCi$meicfeconalftle吋ihaixideianaeof扇linopiaTucis出alsijppoitEiheanBl.DickNeftoconfigureaCPmodiieFnyQurpiagrarrLPr
6、tM-F1farheJp口仃anyWizaidicrecnCancalFig.2:DescriptionoftheEthernetWizardInthewindowthatisdisplayedyouareinformedthatyourSTEP7Micro/WINprojectmustbecompiledandbeinSymbolicAddressingmode.AcknowledgethemessagewithYes.EthernetWizardeCP243-1Elhfirn試modjleinoideiioconned!anEEh&ined祢basedonlheIEEEBD23stanef
7、iard,MicDnrnurncaijonspiotOMlsbasedonISOdndTCP/IP.IheCP243-1rnadufecifcrda4tranrnissiDnupbo1OOMbi/s口verlheHBlwukrardsqppartsupto9cancuirentconrecbans.IndiKiialEthHnBlisdesignedlorhdugbyHt右日仃beuaedwthBibernoise-lrEehdugbkJt5lcdEMii(ITPIIechralciap.orfrc:InduslrvtandaidtestedrailIIPtwhnobo1皿$曲百京當|PrKS
8、Flfarhem列Wizardscreen.CdncdFig.3:CompilingtheprojectandenablingtheSymbolicAddressingmodeIfyouareconnectedwiththeCP243-1inyourS7-200station,youcandeterminethemodulepositionoftheCP243-1automaticallyviatheReadModulesbutton.Youcanalsoenterthemodulepositionmanually.ClickonNext.Fig.4:Determiningthemodulep
9、ositionDefineauniqueIPaddressfortheCP243-1andspecifytheassociatedsubnetworkmask.AcknowledgethesettingswithNext.Fig.5:DefiningtheIPaddressandsubnetworkmaskfortheCP243-1InourexampleweneedanS7connectionforcommunicationtotheS7-300.So,forNumberofconnectionstoconfigureforthismoduleyouenter1.ClickonNext.Et
10、hErnBtWizard-ModUeCommasBjiteDeterimineIheQ-adEs:s;by匚punlingIhe口utputbplasusedbyanyl/DrradulejattachedLatheFLCbeforeiheCP243-1modde.阴P3-Feer-ba-PaerCannBctiansThaCP2431modiJewilcuppedanuaximurnd!8asjTchranousB,canDixrentownecliDns.Selectho蚀npconnKfcn$wuwishioconfiguretoUisHiodwleNumbei&conneciionst
11、oeorfiguieroithisiredulfiF31啊匸lickTJelaedilKbcomeciiorrsfartfis亡口nligut日litsn.Fig.6:NumberofS7connectionsThedialogforconfiguringtheS7connectionopens.TheS7connectioncanbeconfiguredasaclientorserverconnection.Inourexamplewehaveusedaclientconnectionforthedatatransfer,i.e.theS7connectionissetupactivelyb
12、ytheCP243-1.EntertheTSAPforconnectionidentificationbetweenthetwostations.ThefirstpartoftheTSAP(xx.)istakenfrom10+connectionnumber,andthesecondpart(.xx)oftheTSAPistakenfromtheracknumberandtheslotoftheCP343-1.InourexampletheTSAPis10.07,i.e.theconnectionnumber=0,theracknumber=0andtheslotoftheCP=7.Enter
13、theIPaddressoftheCP343-1.Specifyasymbolicnamefortheconnection.ClickontheDataTransfersbuttontodefineanewdatatransferforthisconnection.Fig.7:ConnectionconfigurationInordertoreaddatafromtheS7-300youselectReaddatafromtheremoteserverconnection.Enterthenumberofdatabytestobereadfromtheserverandspecifywhere
14、thisdataislocatedintheS7-300.DefineastorageareaintheS7-200forthedataread.Assignasymbolicnameforthedatatransfer.AcknowledgethesettingswithOK.Fig.8:ConfiguringthedatatransferSincetheconfigurationoftheCP243-1modulemaynolongerbechanged,youselectthesettingwithCRCprotection.YoucanspecifytheKeepAliveInterv
15、alwiththedefaulttime.ClickonNext.EthernetWizard-CHCPVQieciiortThewizardcangEnertea匚R匚toheipcdlBdltheradule-ccflfiguratiQnFiomininl日nlionmlmerrwovswites.Hortevei.ihi$picectionwil洌鮒川proamfiommakingmadficatiantolhecanligLralionsflrunliime.丫begenerateCHCpaatecliorifor臧canligualionhIhBdatablock.No,danatg
16、EneratcCRCpratccbanFathisconfiguialjon.KwpALveIrteiYsilWhenCTHHECed啊Ih臼阳mctEODmrrjnictnnspartnef,.gi艸hsccCanedFig.10:Selectingastorageareafortheconfiguration11.ClosetheEthernetWizardwithFinish.TheEthernetWizardgeneratestheprojectcomponentsrequired.Fig.11:ClosingtheEthernetWizard12.Inthemainprogram(M
17、AIN(OB1)youaddthecalloftheETH0_CTRL(communicationsetup)andthecalloftheETH0_XFR(readdatapackages).TheparametersChan_IDandDataoftheETH0_XFRblockcanbeselectedwitharight-click.Fig.12:Addingtheprogramcodeinthemainprogram13.SavetheconfigurationandloaditintheS7200.ConfiguringanunspecifiedS7connectioninNetP
18、ro1.OpenyourSTEP7projectwiththeconfiguredSIMATICS7-300stationandswitchtoNetProviaOptionsConfigureNetwork.Fig.13:StartingNetPro2.MarktheCPUintheSIMATICS7-300stationandcreateaconnectionviaInsertNewConnection.Fig.14:Insertinganewconnection3.SelectanunspecifiedS7connectionasconnectiontype.Fig.15:CreatinganunspecifiedS7connectionThePropertiesDialogfortheS7connectionopens.RemovethecheckmarkforEstablishanactiveconnection,becausetheconnectionissetupbytheS7-200.ForthepartneraddressyouentertheIPaddressoftheS7-200.ThenclickonAddressDetails.Fig.16:PropertiesoftheS7connecti
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 《模具设计与制造课程设计》教学大纲
- 建筑防火教研室教案
- 玉溪师范学院《数字电子技术》2021-2022学年期末试卷
- 数据终端设备账务处理实例-做账实操
- 冬季防火教育课件
- 房地产 -宋风古城商业景观氛围营造设计
- 2024年矿业测量仪器项目综合评估报告
- 2023年湿法加工合成云母粉项目评价分析报告
- 草坪地毯购买协议书范本
- 彩砖铺设协议书
- 2024年国家公务员考试《行测》真题卷(行政执法)答案和解析
- 《陆上风电场工程设计概算编制规定及费用标准》(NB-T 31011-2019)
- GB∕T 33014.2-2016 道路车辆 电气电子部件对窄带辐射电磁能的抗扰性试验方法 第2部分:电波暗室法
- 数码插画课件新版]
- 八年级数学上册期中考试试卷分析
- 部编人教版2021年一年级语文上册第二次月考考试强化检测
- 毽球校本课程开发纲要
- 飞机试飞测试的现状与对策
- 图案—国外现代图案ppt课件
- 高中数学 第二章 空间向量与立体几何 2.3.3 空间向量运算的坐标表示课件2 北师大版选修2-1
- 第二节-土地资源PPT课件
评论
0/150
提交评论