Académique Documents
Professionnel Documents
Culture Documents
SettingUpanMPIConnectionwithSiemensSIMATICNET6.0SoftwareUsingaCP5611ProfibusCard andanS7400PLC(CPU4131)
ThisTechNoteoutlineshowtosetupanMPIconnectionwithSiemensSIMATICNET6.0softwareusingaCP5611ProfibusCardandanS7400PLC (CPU4131).
BeforeYouGetstarted,PleaseDotheFollowing:
1.InstalltheSiemensCP5611adaptercardpartnumber(6GK15611AM00CP5611+MPIcable)onyourpc. ThefollowingarepartnumbersfortheCP5611separately: 6GK15611AA00SIMATICNET,PB,CP5611PCICARD(32BIT)FORCONNECTIONOFAPGORPCWITHPCIBUSTOPROFIBUSORMPI 6GK15611AM00SIMATICNET,PB,CP5611MPICONS.OF:PCICARDCP5611(32BIT)F.CONN.OFPC/PGWITHPCIBUSTOPROFIBUSORMPI INCL.MPICABLE,5M 2.InstalltheSiemensSIMATICNET6.0Software+SP2orhigher. 3.InstalltheMPIcable(ConnectitfromtheCP5611adaptercardtotheMPIportontheCPUoftheS7.)Siemenspartnumber(6ES79010BF00 0AA0). 4.InstalltheWonderwareSiemensS7I/OServerversion7,5,0,11. 5.MakesurethattheS7PlcisconnectedviatheMPIcabletothepcandisin Runmode.
StartinganewProjectwithSIMATICManager
1.ClickonFile/NewfromtheSIMATICManagermainmenu. Thefollowingscreenappears:
FIGURE 1:NEWPROJECT
NoteOnyourdesktop,youshouldseeanICONlikethefollowing: clickontheicontostartanewproject.
.ItmightreadSIMATICManager.Youcanalsodouble
2.EnteraprojectnameintheName:boxandclickOK.Intheaboveexample,MPI2wasused. ThefollowingProjectisnowcreated:
SettingupthePCStationintheSIMATICManagerPCConfigScreen
Thefollowingwindowshouldnowbevisible:
FIGURE 16:P ROPERTIES /NETWORKSETTINGS TAB 11.SelecttheTransmissionrate:.Forthistest,187.5kbpsisselected. NoteYourMPICableshouldhavethebaudrateprintedonit. 12.ClickOK. NoteThecorrectaddressoftheCP5611adaptercardMUSTbeselectedfortheMPIinterface.Inthisexample,itis0.Settingsareconfiguredand verifiedfromwithintheConfigurationConsole.MPIBusaddressesareverifiedbyrunningStart/Simatic/SIMATICNET/ Settings/ConfigurationConsole:(iftheWizardappears,clickCanceltoreturntotheConfigurationConsolewindow).Thefollowingfigureshows theConfigurationConsolescreen:node0istheCP5611adaptercard,andtheCPUis3:
VerifyingYourConfigurationinNetPro,andCreatingConnectionsfortheCP5611MPIandOPCServer.
1.SelectOptions/ConfigureNetworkfromthemainmenutostartNetPro(seefollowingfigure):
FIGURE 33:A DDRESS DETAILS DIALOG BOX NoteTheconnectionresourceisautomaticallyassignedbySIMATICNETwhenyouaddanewconnection,soleavethedefaultvalue.Itisvery importantthatthePartnerRack/Slotvaluebecorrect.SincetheMPIportisontheCPUmodule,itislikelytobe3.Usetheslotnumberofthe CPUforthisentry. TheCPUinourexampleislocatedinslot3,sothatiswhatisentered(seefollowingfigure):
F IGURE 35:I NSERT NEW C ONNECTION DIALOG BOXWITH C LOSE BUTTON 7.ClickClose. ThemainNetProwindowshouldnowbevisible.ThefollowingfigureshowsthenewconnectionintheNetProwindow:
Youshouldseethefollowing:
SettingtheAccessPointActiveintheSIMATICNETConfigurationConsole
1.StarttheConfigurationConsole(Start/Simatic/SIMATICNET/Settings/ConfigurationConsole). Note1:IfyouarerunningtheConfigurationConsoleforthefirsttime,orifyouswitchyourPCStationfromonemoduletoanother,(i.e.,you setupaTCP/IPconnectioninsteadofanMPI)youwilllikelyseetheCommissioningWizard.Ifyouhavealreadysetyouraccesspointtoreflect thecurrentmodule,thenyoucancanceloutoftheCommissioningWizardandcontinuetousetheConfigurationConsole.Evenifyouhavent configuredanyaccesspointsintheConfigurationConsoleatthetimeyoufirstopenit,youcanstillclickthe Cancelbuttontocontinuemaking manualconfigurationchangesintheConfigurationConsole.Doingsoisrecommendedforthistechnote(seefollowingfigure):
ConfiguringtheStationConfigurationEditor(ItAppearsintheSystemTray,anditLooksLikeaComputer!)
1.OpentheStationConfigurationEditor.AftersettingtheCP5611to ConfigurationMode,itwillautomaticallybeaddedtotheStation ConfigurationEditorasindex2(seefollowingfigure): NoteTheStation:name(PCStation)inthefollowingfigureisthesameastheoneenteredinStep4of StartingaNewProject. ReturntoStep4
ConfiguringtheS7I/OServer
1.StarttheS7I/OServer.SelectConfigure/TopicDefinitionfromthemainmenu(seefollowingfigure):
FIGURE 63:C ONFIGURE /TOPIC DEFINITION AblankTopicDefinitiondialogboxappears. 2.ClickNewtoaddthetopicMPITESTorwhateveryouwanttocallyourtopic.Afteradding MPITESTasyourtopicname,selectMPIasyourCP Name,ApplicationastheVFD,andMPI1asyourconnection. NoteIftheVFDandConnectionvaluesdontshowupautomatically,youmighthavedonesomethingwronginyourS7Project.Tryrestartingthe I/OServerandrecreatingthetopic,orresaveandcompileyourconfigurationintheSIMATICPCConfig.sectionofSIMATICManager(see followingfigure):
TestingYourS7ConfigurationWithwwClient
1.StartwwClient,selectConnections/CreatetocreateanewconnectiontotheS7ioserver(seefollowingfigure):
Fortechnicalsupportquestions,sendanemailtosupport@wonderware.com. backtotop