Search:     Advanced search


Discuss your PLC and automation problems for Allen Bradley, GE, Omron, Mitsubishi, Modicon, Panel Views, RS View, ABB, Adept Robots, Cognex etc. You can also submit and download sample PLC code.

If our forums and knowledge base still hasn't got your PLC operational, we recommend contacting PDF Supply and Electric for PLC repair and replacement parts.

How to Connect to an Allen Bradley Micrologix 1500 using RS-232 (DF1)

Article ID: 65
Last updated: 13 Oct, 2010
If at the end of this article you still need a little more help, there is a link at the bottom to a video that shows this entire process explained in this article.

For some reason, Allen Bradley requires two software packages to communicate with its family of PLCs. You'll need a communication software package which is called RS Linx, and the programming package called RS Logix 500 if you are programming a SLC or Micrologix PLC. This tutorial will cover connecting to a Micrologix 1500 configured as DF1.

Out of the box the Micrologix 1500 is configured as DF1 or RS-232. Of course you can change the protocol if you need to, but first we will connect to the PLC with the default parameters. Most engineers I have talked to leave the programming port as default configured as DF1. If you are unsure, hopefully you have a copy of the latest program that is running in the PLC and then you can check the channel configuration by opening the program in RS Logix 500 and make sure it's configured as DF1 before you try and connect.

Let's first start by launching RS Linx communication software. RS Linx comes with the RS Logix 500 installation cd-rom. If you did not install RS Linx, please do so now. RS Linx is a free application and does not need to be activated or a master key to be installed to run. Once the software is started, try and not click on any of the "+" signs. This starts the last configured driver and activates this driver. A driver can not be deleted in the configuration portion once it's running. Most generally, you have to close RS Linx and re-start if you want to delete a driver that is active or running already.

Alright let's assume that you don't have any drivers configured yet, click on Communications, then Configure Drivers. You'll see this popup window.

Click on Add New and find RS-232 DF1 devices in the pull down menu, and leave the default driver name as AB_DF1-1. Click OK, then you'll see the driver configuration screen.

The DF1 driver configuration screen is pretty nice because at this point you should have your programming cable connected and you can click on Auto-Configure. RS Linx will run through all the baud rate settings and try and auto detect the PLC settings. Most of the time this works pretty good. If it did a good job you'll see an Auto Configuration Successful message appear in the box to the right of the button you just pressed. If you get an error, try restarting RS Linx at least once and try Auto Configure one more time. Once you have your driver configured you can go back to the RSWho window and now click on the "+" sign. This will start the driver. If all is well you should see your computer and the PLC you are trying to communicate with in the menu tree list.

Once you see that you're communicating with the PLC, all is done in RS Linx. Go ahead and minimize the application. Don't close it, just minimize. Now start up RS Logix 500. Open up your PLC program that should be the same as the PLC program that is stored in the PLC. I always recommend using the Comms, System Comms way of changing and connecting to the PLC. If you do it any other way, the last driver configured in the PLC program might not be the same or have the same name as the one you just configured. If that is the case, connecting any other way in RS Logix will normally result in a can't connect to driver error etc, etc. So if you do this every time. I promise it will work every time.

Ok, so we got RS Linx to communicate first and just minimize RS Linx to the task bar. Now in RS Logix click on Comms then Systems Comms at the top of the program.

You should next see a little mini window of RS Linx with your running driver you just configured and the PLC still talking to your computer. If you know that your PLC program on your laptop is the same as the PLC program in the PLC, then try and highlight the PLC icon Micrologix 1500 and click Online.

If everything is equal or matches in the PLC, RS Logix will display the green power rungs on the left and right. If it's not a match, generally you'll probably want to do an upload at this point. Go ahead and click upload and then once the program is uploaded RS Logix should go online.

If the last driver was the not that same as the driver you just used, you might get a warning from RS Logix if it's ok to change the last driver used. Just read the warning prompt and you'll start to understand what RS Logix is trying to tell you.

I'll offer a couple of tips. If you plan on connecting to another PLC or protocol, I always suggest that you close RS Logix and RS Linx. Then restart RS Linx, do not click on the "+" signs and go to configure drivers. Highlight the DF1 driver and click DELETE. Now you can configure a new driver or different protocol. If the driver is giving you problems, close and restart RS Linx. Sometimes RS Linx will try and take over the computer com port while it is running. If you notice this has happened, shutting RS Linx down will release the com port back to the windows system.

Please see my Desktop Video Capture of this Tutorial
Article ID: 65
Last updated: 13 Oct, 2010
Revision: 1
Views: 35995
Comments: 5
This article was:   Helpful | Not helpful
Prev   Next
How to use an OSF in a SLC 5/03     How to Symbol Program with Allen Bradley RS Logix 500

rock | 13 Aug, 2004 12:00 AM
great article.
very detailed, very helpful.
better than any manual i have ever seen
Posted: 13 years 9 months ago   | Permalink
Carlos Medina | 15 May, 2005 12:00 AM
This is very useful for all people who are starting in this field Thanks a lot
Posted: 13 years ago   | Permalink
Anonymous | 27 Oct, 2006 12:00 AM
If possible, would like to see you post the same type of article dealing with how to connect to a ab slc 500 through the ethernet port
Posted: 11 years 6 months ago   | Permalink
Bill Sims | 08 Dec, 2006 12:00 AM
Good article, but what about a failure of RSlinx to autoconfig, cannot find controller
Posted: 11 years 5 months ago   | Permalink
Jerry Flynn | 01 Jul, 2009 12:00 AM
Autoconfigure DOES NOT change your error checking type or your protocol, so if you fail on autoconfigure you may want to attempt all combinations of BCC, CRC error checking with both FULL and HALF duplex protocoly options, then click auto-configure on each different combination.
Posted: 8 years 10 months ago   | Permalink

Prev   Next
How to use an OSF in a SLC 5/03     How to Symbol Program with Allen Bradley RS Logix 500