Home Installing WebPort WebPort User Interface Technical Reference Glossary Search

Contents

Connecting a PLC Running on a Virtual Machine to a WebPort

You can connect a programmable logic device running on a virtual machine or computer to a WebPort. Before you can make the connection, you must have:

The following example uses a CompactLogix (1769) L35E. In the following image, the WebPort is connected between the PLC and the personal computers. Use Publication 1769-UM01G-EN-P - November 2009 to physically install your PLC:

This is a picture of the dialog.

You connect the CompactLogix L35E 1769-L35E) to the WebPort as follows:

  1. The CompactLogix uses the RS-232 DF1 Device driver for serial communication. To configure the serial driver, within the main Windows XP_Rockwell - VMware Player window, click Start:

    The following dialog appears:

    This is a picture of the dialog.
  2. From the dialog, double click RSLinx Classic. The RSLinx Classic Lite - [RSWho - 1] dialog appears, showing the Ethernet pathways available on your network: This is a picture of the dialog.
  3. From the Communications menu, select Configure Drivers: This is a picture of the dialog.

    The Configure Drivers dialog appears:

    This is a picture of the dialog.
  4. From the Available Driver Types pull down menu, select the RS-232 DF1 device driver: This is a picture of the dialog.
  5. To add the driver, click Add New: This is a picture of the dialog.
  6. The Configure RS-232 DF1 Devices dialog appears: This is a picture of the dialog.
  7. View or specify the following options for serial port communications (other options may be left at default entries):
    1. Comm Port. From the dropdown list, select the computer serial port to which you connected the PLC cable.
    2. Device. From the dropdown list, select Logix 5550/ CompactLogix Serial Port.
    3. Auto-Configure. Click to configure the serial port communications. The auto configure process runs and lets you know whether or not the configuration was successful in the Auto-Configure field.
  8. Click OK and confirm that configuration was successful in the main window:
    • If the configuration was successful, the AB_DF1-1-DF1 Sta: 0 COM 3 RUNNING message appears in the Configured Drivers list. This is a picture of the dialog.
  9. If the configuration was unsuccessful, the driver does not appear in the list:
    • Check that you selected the correct communication port (COM value).
    • If you are using a serial connection to your PC, make sure that the appropriate driver is correctly installed and functional. To check this, from the VMware Player main window, click Virtual Machine:Virtual Machine Settings:prolific usb-serial controller d. The name of your controller may be different. If it is connected, you will see the controller in the list, and you will see the popup menu showing you the Disconnect (Connect to host) option. This is a picture of the dialog.
  10. When the driver is running, click Close to exit the Configure Drivers dialog.
  11. In the RSLinx Classic Lite window, click the following icon to start RSWho: This is a picture of the dialog.
  12. To configure the IP address for the newly added CompactLogix L35E, navigate to the controller and select it: This is a picture of the dialog.
  13. Right click the entry and from the popup menu, select Module Configuration: This is a picture of the dialog.
  14. From the di alog that appears, select the Port Configuration tab: This is a picture of the dialog.
  15. Enter the IP addresses that will allow the controller to be accessed by the WebPort. The following example allows a WebPort with the following LAN configuration to access the PLC: This is a picture of the dialog.

    Matching WebPort LAN Configuration settings: This is a picture of the dialog.

    NOTE

    Under LAN settings, make sure that you have either Static or DHCP server is selected. If you selected Static, then you must have a means of giving an address to the device as the WebPort cannot allocate it. If you select DHCP server, the PLC receives an address from the WebPort when you turn on power to the PLC. The above example uses a Static IP address. If you select DHCP, you may also need to reset your EtherNet/IP device to ensure that the PLC gets its new address from the WebPort on a timely basis.

    To physically install the WebPort hardware, refer to the WebPort Quick Start Guide provided with your WebPort when it shipped.

  16. The following command may be optional if you already have your personal computer connected to the LAN side of the WebPort. This command creates the route to the PLC from the PC so that the PC can access the LAN address. In order to view the PLC in RSLinx, once the WebPort is up and running, from your personal computer, open a command prompt and enter the following command:

    route add 192.168.2.0 mask 255.255.255.0 <10.0.0.105> where 192.168.2.0 is your default LAN subnet and 10.0.0.105 is the WebPort IP address.

  17. Next start a copy of the RSLogix 5000 programming software: This is a picture of the dialog.
  18. Open or import the correct relevant project file: This is a picture of the dialog.
  19. For this project, the InviewBasics.ACD is the correct file: This is a picture of the dialog. After opening the project file, from the Communications menu, select Who Active.
  20. The Who Active dialog appears: This is a picture of the dialog. Select the CompactLogix Processor listing, and click Go Online.
  21. The controller starts up. You may now access and view tags on this controller. You may also set up the WebPort so that the WebPort accesses and displays tags on the controller.

Contents