:39960679,V1.1,01/20152¤SiemensAG2015AllrightsreservedThisentryisfromtheSiemensIndustryOnlineSupport.Thegeneraltermsofuse()apply.Securityinforma-tionSiemensprovidesproductsandsolutionswithindustrialsecurityfunctionsthatsupportthesecureoperationofplants,solutions,machines,equipmentand/ornetworks.Theyareimportantcomponentsinaholisticindustrialsecurityconcept.Withthisinmind,Siemens’productsandsolutionsundergocontinuousdevelopment.Siemensrecommendsstronglythatyouregularlycheckforproductupdates.ForthesecureoperationofSiemensproductsandsolutions,itisnecessarytotakesuitablepreventiveaction(e.g.cellprotectionconcept)andintegrateeachcomponentintoaholistic,state-of-the-artindustrialsecurityconcept.Third-partyproductsthatmaybeinuseshouldalsobeconsidered.Formoreinformationaboutindustrialsecurity,visit://support.automation.siemens.com.Tableofcontents1Introduction........................................................................................................32ConfigurationoftheS7-1200............................................................................52.1ConfiguringtheHardware....................................................................52.2CreatingaUserProgram.....................................................................83ConfiguringthePCStation.............................................................................114ConfiguringtheS7Connection......................................................................184.1AddingtheS7Connection..................................................................184.2DisplayingandChangingPropertiesoftheS7ConnectionintheInspectorWindow...............................................................................195CompilingandDownloadingtheConfigurationandUserProgramoftheS7-1200.......................................................................................................206CompilingandDownloadingthePCStationConfiguration........................237OPCScoutV10.................................................................................................281IntroductionConnectiongaPCStationtoanS7-1200usingOPCEntry-ID:39960679,V1.1,01/20153¤SiemensAG2015Allrightsreserved1IntroductionThisentryshowsyouhowtoconfigureanS7-1200,aPCstationandanS7connectionintheTIAPortalsothatyoucanexchangedatabetweenthestationsoverIndustrialEthernet.NoteIntheTIAPortalyouneedSTEP7Professional,becausewithSTEP7BasicyoucannotconfigureaPCstation,butonlytheSIMATICS7-1200.CreatingaProjectInWindows,selectthecommandStartAllProgramsSiemensAutomationTIAPortalV12tostarttheTIAPortal.InthePortalview,selecttheCreatenewprojectaction.Entertheprojectnameintheappropriatefield.Figure1-1ClicktheCreatebuttontocreateanewproject.Figure1-21IntroductionConnectiongaPCStationtoanS7-1200usingOPCEntry-ID:39960679,V1.1,01/20154¤SiemensAG2015AllrightsreservedSwitchtoProjectViewUsetheProjectViewlinktoswitchtotheProjectView.Figure1-32ProcedureforS7-1200uptofirmwareV3ConnectiongaPCStationtoanS7-1200usingOPCEntry-ID:39960679,V1.1,01/20155¤SiemensAG2015Allrightsreserved2ProcedureforS7-1200uptofirmwareV3Thischaptershows:xHowyouconfigureanSIMATICS7-1200andaPCstationinTIAPortalxHowyouprojectanS7connectionfordataexchangebetweenSIMATICS7-1200andPCstation2.1ConfigurationoftheS7-1200YouconfigureyourS7-1200stationintheTIAPortal.ThenyoucreatetheuserprogramanddefinewhichdataistobemonitoredovertheS7connectionoftheOPCserver.2.1.1ConfiguringtheHardwareAddanS7-1200StationIntheprojecttree,double-clicktheAddnewdeviceitem.TheAddnewdevicedialogopens.Figure2-1ClicktheControllersbuttonintheworkingarea.GotoControllersSIMATICS7-1200CPUandselecttherequiredcontroller.ClicktheOKbuttontoaddtheselectedS7-1200CPUtoyourproject.2ProcedureforS7-1200uptofirmwareV3ConnectiongaPCStationtoanS7-1200usingOPCEntry-ID:39960679,V1.1,01/20156¤SiemensAG2015AllrightsreservedFigure2-2DefineIPaddressandassignsubnetIntheprojecttree,double-clicktheDevices&networksitem.Thedevicesandnetworkseditoropens.2ProcedureforS7-1200uptofirmwareV3ConnectiongaPCStationtoanS7-1200usingOPCEntry-ID:39960679,V1.1,01/20157¤SiemensAG2015AllrightsreservedFigure2-3IntheNetworkVieworDeviceViewofthedevicesandnetworkseditoryouclickthePROFINETinterfaceoftheS7-1200CPU.IntheinspectorwindowyouswitchtothePropertiestab.SelecttheEthernetaddressesitemintheareanavigation.InthisexampleyouentertheIPaddress172.16.43.1andthesubnetmask255.255.0.0forthePROFINETinterfaceoftheS7-1200CPU.ThenassignasubnettothePROFINETinterface.ClicktheAddnewsubnetbuttontoinsertanewsubnet.Figure2-4Theconnectionbetweenthesubnet,PN/IE_1,forexample,andtheS7-1200isnowdisplayedintheNetworkViewofthedevicesandnetworkseditor.2ProcedureforS7-1200uptofirmwareV3Conne