virtual machine to access Rockwell plc online

Kataeb

Member
Join Date
Jan 2007
Location
www.livelovelebanon.com
Posts
636
we are trying to go online, with RSLogix5000 v17, to access a Rockwell plc ControlLogix.
All the softwares are running on a Virtual Machine Windows XP.
But RSWho is not detecting anything.
What special considerations should be done for a virtual machine to access the plc?
(when we try on the laptop itself, outside the virtual machine, it is working.)
 
You didn't mention what VM software you are using but I will give you an example assuming you are using VMware Workstation.

In VMware, go to VM Settings and look for the setting for Network Adapter. I am assuming you are set to NAT. On my PC when I use that setting, my Ethernet adapter gets set to 192.168.200.xx. Now that is an issue because my PLC is using 192.168.1.xx. So my computer is on one network and my PLC is on a separate network. However, my PC acts as a sort of router allowing me to ping the devices on the other subnet.

In RSLinx, when you select the EtherNet/IP driver, by default it browses the network your computer is on. So while you would be able to ping the device, the EtherNet/IP driver would not be able to see it. Because it is on the wrong network. So to fix that open the EtherNet/IP driver settings and select Browse Remote Subnet. Then specify the first IP address in the range you want and the mask. So for me I entered 192.168.1.1 and 255.255.255.0. Now RSLinx EtherNet/IP driver can discover the devices on that network.

The alternative, as mentioned, would be the RSLinx Ethernet Devices driver where you type in the specific IP address you want to work with. That driver will not discover devices. It only identifies the ones you manually entered.

Hope that helps,

OG
 
Using the ETHERNET driver? That is much more reliable than the Ethernet/IP driver.

That's correct, the EthernetIP driver will only scan IP addresses in the adapters subnet. So if your VM adapter is getting an address from the VM software it likely gave the VM an address not in the PLC subnet. So yes you can ping it but RSLinx EthernetIP driver will only be looking in the subnet for the adapter.

If you use the plain Ethernet driver and setup the IP address of the PLC it should see it. I use that all the time myself.
 
all worked ok by putting the VM network adapter settings as follows:
 Bridged: Connected directly to the physical network
 Replicate physical network connection state
 

Similar Topics

Hi all, I would like to replicate my PC onto a virtual machine so I could use it on a different laptop when I'm on site. I have never created a...
Replies
5
Views
254
Hi, my client is using an old XP laptop to connect to GE Fanuc 90-30 using the Logicmaster 90-30 v.9.02 (I think, is there a way to verify...
Replies
14
Views
2,203
Dear all, The idea is I want to simulate 2 PLCs with the simulator and see if the runtime in the indus.PC changes. I have a PLC and SIS program...
Replies
0
Views
729
I want to start using a VM for all my programming instead of my computer and wanted to see what is the best way to get my physical machine...
Replies
4
Views
1,468
Hey guys, I had a few questions about using virtual machines with Siemens software. Do you guys prefer VMWare Player/Pro, or would Virtual Box...
Replies
18
Views
3,946
Back
Top Bottom