S7200與S7300400的以太網(wǎng)通訊_第1頁
S7200與S7300400的以太網(wǎng)通訊_第2頁
S7200與S7300400的以太網(wǎng)通訊_第3頁
S7200與S7300400的以太網(wǎng)通訊_第4頁
S7200與S7300400的以太網(wǎng)通訊_第5頁
已閱讀5頁,還剩8頁未讀 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡介

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、礎(chǔ)eihwnoisc-lrceinduslirdlhstedpail(IIPJtedmotogy,orhaIrKjghy點(diǎn)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皿$曲百京當(dāng)|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. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論