苏州实操派科技有限公司官网-实操派教育科技,汇川技术PLC培训,实操派PLC培训,苏州PLC培训机构

首页国外自动化西门子S7-1200S7-PLCSIM Advanced 和仿真表入门
航线11点
懵逼树上懵逼果

文档

837

关注

1

好评

0
PDF

S7-PLCSIM Advanced 和仿真表入门

阅读 423 下载 153 大小 2.09M 总页数 0 页 2024-11-10 分享
价格:免费文档
下载文档
/ 0
全屏查看
S7-PLCSIM Advanced 和仿真表入门
还有 0 页未读 ,您可以 继续阅读 或 下载文档
1、本文档共计 0 页,下载后文档不带水印,支持完整阅读内容或进行编辑。
2、当您付费下载文档后,您只拥有了使用权限,并不意味着购买了版权,文档只能用于自身使用,不得用于其他商业用途(如 [转卖]进行直接盈利或[编辑后售卖]进行间接盈利)。
3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。
4、如文档内容存在违规,或者侵犯商业秘密、侵犯著作权等,请点击“违规举报”。 免责声明: 版权:我们作为资源的整理方,所有资源均来自互联网的优秀作者们,版权归原作者或企业所有。
申明:任何使用本站收集的资源产生的不测后果,本站不对此负任何责任。
1 Introduction1.2How it worksS7-PLCSIM Advanced supports the simulation of the following CPU families fromfirmware version V1.8:·S7-1500(C,T,月·ET200SPET 200SP FIn contrast to PLCSIM,S7-PLCSIM Advanced can be installed independently ofTIA Portal and with its full Ether adapter"PLCSIM Virtual Ethemet Adapter"offers extended munication paths even beyond puter limits.1.2.1Overview munication pathsTable 1-1Communication pathsLocalLocalDistributedProtocolSoftbusTCP/IPTCP/IPCommunication interface in S7-PLCSIMPLCSIM VirtualPLCSIM VirtualPLCSIM AdvancedEther AdapterEther AdapterSTEP 7 and instancesOn a PC/a VMOn a PC/a VMDistributedCommunication.....between STEP 7 and instancesYesYesYes...between instancesYesYesYes...via OPC UA server and web serverNoYesYes..between an instance and a realNoNoYeshardware CPU...between an instance and a real HMINoNoYesV14 or higher...between an instance and a simulatedYesYesYesHMI V14 or higherGetting StartedEntry ID:109759047.V1.0.07/201851 Introduction1.2.2Local CommunicationVia softbusS7-PLCSIM Advanced enables you to municate locally with the virtualcontroller via the "PLCSIM"softbus.All participants involved in the municationmust be on the same PC the same VM.Figure 1-2PC/VMPLCSIM AdvancedInstance 1Virt.SIMATICSTEP7Memory CardPLCSIM SoftbusVia TCP/IPWith S7-PLCSIM Advanced you can also municate locally via TCPAP protocol.S7-PLCSIM Advanced provides the PLCSIM Virtual Ether Adapter for thispurpose.All participants involved in the munication must be on the same PC/the same VM.In this configuration it is possible to use TCP/IP functions of the virtual controller,such as munication via OPC UA and web server.Details can be found atTable 1-1Figure 1-3PC/VMPLCSIM AdvancedInstance 1Virt.SIMATICSTEP7Memory CardPLCSIM Virtual Ethemet AdapterGetting StartedEntry ID:109759047.V1.0.07/201861 Introduction1.2.3Distributed municationFor distributed munication,i.e.across puter boundaries,S7-PLCSIMAdvanced provides a PLCSIM Virtual Switch in addition to the PLCSIM VirtualEther Adapter.The PLCSIM Virtual Switch is used to connect the PLCSIM Virtual EtherAdapter to a physical work card of your PC.This allows munication with thevirtual controller from outside the PC.When using a VM,a bridged connection to a work card of the host putermust be set up.The following scenarios are possible:1.Communication between TlA Portal on the host machine and a virtualcontroller on the VM.2.Communication with a real CPU or a real HMI.The connection between realdevices and the work card of the PC is made via an Ether cable.3.Communication with TIA Portal on another PC.The connection between thePCs is made with an Ethemet cable via the physical work cards.Scenarios 2 and 3 are also possible if S7-PLCSIM Advanced is installed directly ona PC.There is no need to configure a bridged connection,as this is only requiredfor one VM.Figure 1-4PLCSIM AdvancedVMRuntimeVirt.SIMATICMemory CardPLCSIM Virtual Ether AdapterSTEP7PLCSIM Virtual SwitchNetwork cardBridged ConnectionNetwork card☐Ether TCP/IP②Real CPU/Network cardReal HMISTEP 7PC2Getting StartedEntry ID:109759047,V1.0.07/201871 Introduction1.2.4Virtual SIMATIC Memory CardS7-PLCSIM Advanced stores the user program,the hardware configuration andthe remanent data of a loaded instance of a virtual controller in a virtual SIMATICmemory card.Each instance has a virtual SIMATIC memory card,which is createdunder a unique instance name of the virtual controller.If you use S7-PLCSIM Advanced to start a virtual controller with an instance namefor which a virtual SIMATIC memory card already exists,the controller is startedwith the user program and hardware configuration contained in it.The storage location of the virtual SIMATIC Memory Card can be opened orchanged via the control panel of S7-PLCSIM Advanced.For applications that interact with S7-PLCSIM Advanced via the API(userinterface),the storage location can be defined on the application side.Forexample,the location of the virtual SIMATIC Memory Card for the"SimTableApplication"application is the same as the location of the simulationproject.Thus the application always knows the access point to the data of thevirtual controller.The"SimTableApplication"application is described in the chapterApplication "SimTableApplication".Getting StartedEntry ID:109759047.V1.0.07/20181 Introduction1.2.5S7-PLCSIM Advanced Control PanelS7-PLCSIM Advanced provides a control panel for creating and operatinginstances of a virtual controller.If you use your own user programs(C++/C#),youdo not need to use the integrated control panel,since its function can be mappedvia the APl.The Control Panel user interface is described below.Figure 1-5 Control panelS7-PLCSIM Advanced V2.0SIMControl PanelOnline Access●PLCSIMPLCSIM Virtual Eth.AdapterVirtual Time Scaling01Start Virtual S7-1500 PLC4Instance namePLC typeUnspecified CPU 1500StartMRES2 Active PLC Instance(s)/19216801/192.1680,107Runtime Manager Port500008Virtual SIMATIC Memory CardFunction ManualExitTable 1-2:Control panelNo.FunctionDescriptionOnline accessSelecting the munication interfacePLCSIM:Softbus.localPLCSIM Virtual Eth.Adapter:TCP/IP.local ordistributed2.TCP/IP municationSelecting the work adapter for distributedmunication:local munication:Distributed municationvia the set work card3Virtual timeSlider for setting the scaling factorStart Virtual S7-1500 PLCInstance Name:Name of the instance:min.3.max.64 characters.PLC type:Selection of the CPU type to beGetting StartedEntry ID:109759047,V1.0.07/201891 IntroductionNo.FunctionDescriptionsimulatedStart:Create and start the instance.Additionally,when selecting the PLCSIM Virtual EthAdapters:IP addressSub maskStandard gateway5.Instance listThe "RUN"."STOP"and "MRES"buttons for theoperating mode and reset.The list shows the local instances of the CPUs.LED displaysThe meaning of the LED is displayed when you movethe mouse pointer over it.7.Runtime Manager PortOpens a port on the local PCVirtual SIMATIC MemoryOpens the location of the virtual memory card.Cardstorage location.9.Displaying messagesHere you deactivate the S7-PLCSIM Advancedmessages in the Windows task bar for the duration ofoperation.10.Function ManualHere you open the function manual S7-PLCSIMAdvanced in the standard PDF viewer.11.ExitExit switches off all instances and closes the controlpanel.Getting StartedEntry ID:109759047.V1.0.07/2018101 Introduction1.3STEP 7 programThis application example includes a TIA Portal example project with a STEP 7program.The STEP 7 program consists of a simple adding function in the cyclic OB"Main[OB1].The addition is executed once if the variable "Global".executeAdd isset to TRUE.The result of adding the two variables "Global".summand1 and"Global".summand2 is assigned to the variable "Global".result.Fig.1-6:STEP 7 program in cyclic OBBlock title:"Main Program Sweep (Cycle)"CommentNetwork 1:adding functionIs running once,when "Global".executeAdd set TRUE1IF "Global".executeAdd THEN23"Global".executeAdd :FALSE;END_IF;The associated variables are declared in the global data block "Global[DB1]"Figure 1-7 Global data block"Global [DB1]"MyProject PLC_1 [CPU 1511-1 PN]Program blocks Global [DB1]Keep actual valuesGlobalNameData typeStart valueRetainAccessible f...Writa.1■2知summand13summand2Int04知result0executeAddBoolfalseFor monitoring and controlling variables in the online view of the controller,theobservation table"WatchTableAddFunc"with the data block variables was insertedin the TIA Portal projectFigure 1-8 Watch table"WatchTableAddFunc".PLC 1 CPU 1511-1 PN]Watch and force tables WatchTableAddFuncNameAddressDisplay formatMonitor value"Global".summand1DEC+/-"Global".summand2DEC+/-3DEC+/Global".executeAddBool
文档评分
    请如实的对该文档进行评分
  • 0
发表评论

"π³ 实操派",培养中高端PLC工程师,PLC培训-Codesys培训

项目实战 手把手教学 微信&电话 15850116008
超2000节系统化课程,汇川优秀自动化讲师亲授!学一门Codesys,玩800家PLC仅剩少量名额
点击免费试听

到实操派,学PLC就是快!

扫码领取工控文库VIP

钻石VIP先到先得

服务电话 & 微信:9:00-22:00

15850116008

苏州实操派科技有限公司

公司地址:江苏省苏州市吴中区越溪街道天鹅荡路5号31B13

Copyright © 苏州实操派科技有限公司 2022 到实操派,学PLC就是快!工业自动化业务培训适用人群:成人 ( 苏ICP备2022021576号-3 )

公司地址:江苏省苏州市吴中区越溪街道天鹅荡路5号31B13

返回顶部