Connecting PLCsim to Nettoplcsim WinCC in a VMware
Posted: Tue May 16, 2017 9:48 am
Hello
I am trying to connect a virtual PLC to a WinCC project that is running in VMware but I am having some problems.
I'm using:
- TIA-Portal V13 SP1 Update 4
- PLCsim V13 SP1
- Nettoplcsim V1.2.1.0
- VMware Workstation 12 Pro V12.5.0
- WinCC V7.3.0.1
So PLCsim is running my program just fine, I am simulating a CPU 1516F-3 PN/DP.
In Nettoplcsim I've set the network adress to the IP-adress of the "VMware Network Adapter VMnet1", the PLCsim adress to the adress of the PLC and the Rack/Slot to 0/1.
In VMware i have the network adapter set to NAT.
In WinCC I have set the IP-adress of the connection to that of "VMware Network Adapter VMnet1".
Yesterday I managed to make a connection using this setup. However, whenever I'd switch the screens in WinCC I would also lose the connection to the PLC for some reason. Sometimes it would reconnect automatically, other times i had to restart the VMware in order to reconnect.
Today I am no longer able to connect anymore, using the same method I used earlier.
Can somebody please tell what I'm doing wrong.
Thank you in advance.
I am trying to connect a virtual PLC to a WinCC project that is running in VMware but I am having some problems.
I'm using:
- TIA-Portal V13 SP1 Update 4
- PLCsim V13 SP1
- Nettoplcsim V1.2.1.0
- VMware Workstation 12 Pro V12.5.0
- WinCC V7.3.0.1
So PLCsim is running my program just fine, I am simulating a CPU 1516F-3 PN/DP.
In Nettoplcsim I've set the network adress to the IP-adress of the "VMware Network Adapter VMnet1", the PLCsim adress to the adress of the PLC and the Rack/Slot to 0/1.
In VMware i have the network adapter set to NAT.
In WinCC I have set the IP-adress of the connection to that of "VMware Network Adapter VMnet1".
Yesterday I managed to make a connection using this setup. However, whenever I'd switch the screens in WinCC I would also lose the connection to the PLC for some reason. Sometimes it would reconnect automatically, other times i had to restart the VMware in order to reconnect.
Today I am no longer able to connect anymore, using the same method I used earlier.
Can somebody please tell what I'm doing wrong.
Thank you in advance.