Buckles-Smith's Tech Blog

How to Connect to Allen Bradley Ethernet Enabled Devices

How to Connect to Allen Bradley Ethernet Enabled Devices

Setting up your IP address and subnet.

Have you ever found yourself asking “Why can’t I connect to this darn Allen Bradley Controller (MicroLogix, CompactLogix, ControlLogix) or Variable Frequency Drive (PowerFlex 525, 40, 70, 700, 755) over Ethernet”?

One of the most common mistakes I see is the PC’s network adapter is setup for DHCP and/or the device’s IP address and subnet have not been configured.

Most PC’s network adapters are setup for DHCP by default and need to be this way to connect to a majority of company and home routers. To connect to Allen Bradley Ethernet enabled devices your PC’s network adapter needs to be setup to have a static IP address on the same subnet as the device.

Here is a checklist that I like to follow when I run into this situation. The PC and device(s) both need to be setup and can be setup in any order. I like to start with the PC first, and then the device(s) last.

  1. First, make sure the Allen Bradley device is capable of communicating over Ethernet/IP. Just because the cable fits into the port does not mean it’s the correct one. Some of the Allen Bradley devices have RS485 ports; which is the same port that most Ethernet cables use, but it’s only used for Modbus or Serial communications not Ethernet/IP.

  2. Make sure everything is powered up and all the cables are connected.

  3. Make sure you have the correct software installed on your PC to communicate to the Allen Bradley Controllers (RSLinx and RSLogix 500 or Studio 5000) and Drives (Connected Components Work bench, Drives Executive, or Studio 5000).

  4. Configure IP address and subnet for your PC.
    • If you’re connecting to the device either directly or through an unmanaged switch your PC must have a static IP address (most computers are defaulted to DHCP).

    •    

      Windows 7 - How to set a Static IP address

      1. Open Windows Start menu and click on Control Panel.
      2. Control Panel
        Open Start menu and click on Control Panel.
      3. Click on Network and Sharing Center.
      4. Network and Sharing Center
        Click on Network and Sharing Center.
      5. Click on Change Adapter Settings.
      6. Change adapter settings
        Click Change adapter settings.
      7. Right click on Local Area Connection and select Properties.
      8. Properties
        Select Properties for Local Area Connection.
      9. Select Internet Protocol Version 4 (TCP/IPv4) and click on Properties.
      10. Proterties
        Click on Properties.
      11. Select Use the following IP address to set static IP address.
        • Note: Typically this setting must be changed back to Obtain an IP address automatically to get back onto your company's network or ant network that requires DHCP.
      12. Static IP Address
        Select Use the following IP address.
      13. Once you set the IP address and Subnet, click OK and OK again in the Local Area Connection window.
      14. A Static IP address has now been set!
      Windows XP - How to set a Static IP address

      1. Go to the Control Panel on your computer.
      2. Control Panel
        Open Control Panel.
      3. Click on Network Connections.
      4. Network Connections
        Click on Network Connections.
      5. Right click the device you want to configure.
      6. Right Click Device to Configure
        Right Click device to configure.
      7. Select the Properties of the card.
      8. Select Properties
        Select Properties.
      9. This will bring up the Internet Protocol Properties. Select Use the following IP address to set static IP address.
      10. Static IP Address
        Select Use the following IP address.
      11. Once you set the IP address and Subnet, click OK and then the Close button.
      12. Static IP Address
        Click OK and then Close.
      13. A Static IP address has now been set!
  5. Configure IP address and subnet for your device(s)
    • There are a couple ways the IP address and subnet can be setup. Most of Allen Bradley’s devices can use the BootP software utility and/or be manually setup. Manual setup is typically done through local HMI’s, rotary switches or USB ports. The manual setup is device specific and can usually be found in the devices user manual. For that reason, I’m just going to cover BootP.

    • BootP-DHCP Server - configure IP and Subnet address for Device(s)

      1. Start the BootP-DHCP server. Go to Start > All Programs > Rockwell Software > BootP-DHCP Server.
      2. Open BootP-DHCP Server
        Open Start menu, find and open the BootP-DHCP Server.
      3. This will open up the BootP-DHCP Server.

      4. When opening it for the first time, you will be asked to configure the server. At minimum, you need to give the subnet mask. This will be the same as the computer. Then click the OK button.
      5. BootP Set-up Subnet Mask
        Configure the Subnet Mask, same as computer.
      6. With the processor powered up and connected to your computer, you should see BootP requests fill the upper screen of the server.
      7. BootP Requests
        You can see the BootP requests in the upper screen.
      8. Select one of the requests in the Request History window and select the Add to Relation List button. This will open a window, which will automatically import the MAC address of the processor. Type in the IP address of the processor, and then click OK.
      9. Select request and input IP address of processor
        Select request and input IP address of processor.
      10. In the Request History window, the MAC address has the IP address reported back to the server. Also, below in the Relation List it will show the MAC to IP relationship. Highlight it in the Relation List in the lower pane.
      11. Highlight the Relation List
        Highlight the Relation List.
      12. By highlighting it, this enables the Disable BootP-DHCP button, to disable the processor from requesting a new IP on power cycle.
      13. Disable BootP-DHCP is enabled
        Disable BootP-DHCP is enabled.
      14. Push the Disable BootP-DHCP button. You should get the following response.
      15. [Disable BootP] Command successful
        [Disable BootP] Command successful.
      16. It is very important to get this! If you do not and you close this Server, especially if you are going to ControlFLASH this processor, the Flash will fail on the first polling for power. Also, if power cycles to the processor, it will lose its IP address. So it is very important to get this done.

      17. Another possible response could be as follows:
      18. Communication Error
        Communication Error.
      19. If the following happens, wait one minute, click the OK button and try to disable the Bootp-DHCP again. Repeat this action until the BootP-DHCP is disabled. This is very important!

      20. Now cycle power to the processor, it should be observed in the BootP-DHCP server, after clearing the history. No requests should be made in the window and the MS LED on the processor should remain solid green.
      21. Clear History
        Clear History.
      22. Open the Command Prompt and ping the processor.
      23. Ping the processor using Command Prompt
        Ping the processor using Command Prompt.
      24. If a request ping timeout occurs after setting the IP address, clear the DNS Resolver cache. Perform the following in a Command Prompt, type: ipconfig /flushdnc and hit enter. Then retry the ping command.
      25. Clear the DNS Resolver cache using Command Prompt
        Clear the DNS Resolver cache using Command Prompt.
      26. The IP address to the processor has been set! Create an Ethernet/IP driver in RSLinx on a local subnet. The processor will be seen in RSLinx. Functions like using ControlFLASH or going online with the processor can now be done. RSLinx will look as follows:
      27. Ethernet/IP driver in RSLinx
        Ethernet/IP driver in RSLinx.

Congratulations you have now configured the PC to have a static IP address and the device has been configured.   You should now be able to connect.

With multiple locations in the Bay Area and throughout in Northern California, Buckles-Smith is the leading independent electrical supplier in the region. If you want to know more about Rockwell's BOOTP, contact Buckles-Smith and we will put you in touch with the appropriate technical specialist.

Buckles-Smith Tech Team provides automation, control and power application support for machine builders, end users and contractors throughout the San Francisco Bay Area.
Print
Posted: Jan 6, 2014,
Categories: Motors and Drives,
Comments: 10,
Author: Jeff Zinn
Jeff Zinn

Jeff ZinnJeff Zinn

Whether you need assistance selecting a VFD or designing your motion control system, Jeff Zinn is your man. Jeff’s Allen Bradley product expertise covers VFD’s, AC and DC Motors, Servo Step Motors, Servo Amplifiers and Step Motor Drives, Linear Motors, Gearboxes, Actuators and Bearings.

Other posts by Jeff Zinn

10 comments on article "How to Connect to Allen Bradley Ethernet Enabled Devices"

Thea Copeland, 1/10/2014 9:31 AM

Awesome directions! Thank you!


supriyono, 12/24/2014 5:23 PM

article is the best


Joe, 2/24/2015 12:44 PM

This is great, keep up the great work!


ezbz, 8/18/2015 6:14 PM

Thank you! Worked like a charm!


vigrat, 11/17/2016 2:07 AM

thank you so much please do post such articles as much as possible....


Sasikala Nawarathna, 3/4/2017 10:41 PM

Awesome guidance !!!!!


Joe Baldry, 2/22/2018 4:40 PM

Awesome work thanks very much.


Bill , 5/25/2018 9:04 AM

This article helped a lot. Definitely got me on the right track but in the end i was still unable to connect until the apprentice showed up and noticed i had two copies of RSWho running. Terminated both and was able to connect.


Alan J, 9/9/2018 8:40 PM

Great article! I was spinning my wheels try to go online with a processor. saved me a lot of grief. Please post more like this.

Thank you very much.


Stephen , 12/1/2018 5:43 PM

Clear, concise and easy to follow for this old dog. Keep up the great work!

Leave a comment

Name:
Email:
Comment:
Add comment