12/4/2015 1:34 PM | |
Posts: 13 Rating: (0) |
Hi All, I have a multiproject in PCS 7 V7.1 SP2 and i need make some changes in the program but i dont know how can put the multiproject in simulation because i never worked with PCS 7. I have a networtk with 2 server redundant, 2 PLC S7-400 and 1 client (view image in file zip). I want simulate the PLC's with PLCSIM and put WINCC app Run. But i think i have 1 problem with connection. I'm using a virtual machine to try the simulation.When you try to set up the station or the client always comes the error that CP 1613, in the case of server or CP 1612, the client's case, are not installed. I know how to load the PLC program into the PLCSIM but I think that communication is even my problem. I have to simulate the servers and the client? If so, how can I do it? I can always use the same computer name, in my case TECNICO-A807B2B for both, servers and client? Can give me a hand, please. Thank you BR Attachmenthelp.rar (52 Downloads) |
12/4/2015 10:14 PM | |
Joined: 6/23/2008 Last visit: 4/27/2024 Posts: 1165 Rating: (279) |
Hi, You want to simulate a project with one or more CPUs and some Virtual Machines to simulate the OS-Server and OS-Clients? Did I get you right? If so, here are my recommendations... As far as I know CP1613 and CP1612 are not supported by VM. You need to replace them by network cards (IE General) or drop them totally out of the configuration. Btw.: What is the sense of a CP1612 in a client? I have never seen a PCS7 project were CPs are used in the clients. Will they be configured in HW-Config and NetPro or are they just used as better windows network cards? If there is no special purpose of this CPs I would recommend not to use them in your simulation project as usually there is no need for them for client communication. For server-client communication via Terminalbus normal network cards are usually sufficient and network cards can be handeld by VM. There is also no need to configure something in HW-Config or NetPro because the communication between server and clients is based just on windows network communication. Anyhow, CPs are not supported by VM. Because PLCSIM is not able to handle 'Named Connections' you need to build up the communication between CPU and WinCC via TCP/IP or Ethernet with ISO protocol. For this reason you don't need to configure any network card in HW-Config or NetPro for any OS-PC-Station (even not for the server). As the communication of VM between the different virtual machines is working via emulated network communication, you don't need to seperate Plantbus from Terminalbus as, I think, there is no advantage of seperated communication in regard to performance. So for the server you just need to configure one network card in windows and you can use it for both; Communication between CPU (PLCSIM) and server and communication between server and client. Of course you must use then IP for CPU and server and client in same subnet. Or you could use ISO protocol for AS-OS communication. Make sure you chose the right setting for PLCSIM depending on your choice of kind of communication when compiling the OS. When you have choosen 'Ethernet' during OS-compilation dialog you have to set interface of PLCSIM to PLCSIM.ISO. When choosen TCP/IP during OS-compilation dialog you need to set interface of PLCSIM to PLCSIM.TCP/IP. The choice if you want to simulate server and clients is up to you. I would recommend to start with a server only and if it is working fine you could extend it by one or more clients. You could use the 'Standard view' in 'OS Editor' of OS-Server project to watch process pictures online (connected to PLCSIM). Regarding the different virtual machines; No, it is not ok to have all PC-Stations having the same pc-name. Also it is not allowed within PCS7 to change the pc name when PCS7 is already installed. Additionally it is not allowed to have the character '-' in the pc name. I hope you still have a virtual machine without PCS7 installed. Otherwise create a new one with windows only. At first make a copy of the virtal machine including windows only. Set the pc name to a legal name (see 'Readme' or this thread) and then install PCS7. Do this for each VM for each OS !! Regarding multiple CPUs; You can use multiple instances of PLCSIM to simulate multiple CPUs. But like the OS...start with simulation of one CPU and then maybe extend it to more CPUs. I think there is no need to mention that you should have a powerfull hardware to simulate plenty OS and CPUs (especially in regard to RAM) on one PC. Best regards, mark
|
Last edited by: mark1507 at: 12/4/2015 10:25:30 PMLast edited by: mark1507 at: 12/4/2015 10:31:37 PM"Expert" does not necessarily mean Siemens employee. Please cross-check your requirements always with official Siemens documentation. Also "Experts" are pleased about feedback. Please don't send support requests as PM. Questioners who don't follow up their thread will be put to my list of users to be ignored. |
|
This contribution was helpful to1 thankful Users |
Follow us on