In today’s article I walk you step-by-step through how to configure RSLinx to communicate to a CompactLogix processor’s serial port using a serial cable and USB to Serial converter.
Part 1 – Reviewing needed cables, and finding PC comm port number
Step 1) A-B Cables, or low cost variant from Amazon
If you already have a bag full of Allen-Bradley cables, for this exercise you’ll need to grab the following two:
However, if you are on a budget, below are two low cost equivalents you can pickup on Amazon.com:
As an alternative to the above Null modem cable, you may find it more advantages to pickup the below standard serial cable and a Null Modem adapter:
Step 2) Finding the com port for your USB to Serial device
Once you’ve installed the software for your USB to Serial converter, and plugged that cable in, you’ll need to find out what com port Windows has assigned to it.
To do this, first open device manager:
-
A quick way to get to Device Manager is to right click on “My Computer” and select “Properties”
You can also open Device Manager by launching the “System” applet from Windows Control Panel.
Once Device Manager is open, scroll down and expand “Ports” and you should see your device listed as one of the available ports
Part 2 – Configuring RSLinx Classic
Step 1) Launch RSLinx Classic and open “Configure Drivers”
You can open the “Configure Drivers” configuration menu by either clicking on the “Cable” icon on the RSLinx toolbar as shown below, or by choosing it from the “Communications” menu.
Step 2) Select the “RS-232 DF1 devices” driver
Step 3) Click on “Add New,” and then click on “OK”
Step 4) Select the “Comm Port” which is connected to your CompactLogix
Step 5) Click on “Auto-Configure”
Step 6) After a few moments if all your cables are connected correctly you should see the below message:
Step 7) Now click on “OK,” and then expand the “AB_DF1-1” network in the “RSWho” window. Here after a few seconds you should now your CompactLogix:
NOTE: Watch me run through the above steps in today’s episode of The Automation Minute!
I hope the above article on how to setup RSLinx to communicate to a CompactLogix was helpful.
If you have any questions or comments, please feel free to share them with us by filling in the “post a comment or question” link below.
Until next time, Peace ✌️
If you enjoy this episode please give it a Like, and consider Sharing as this is the best way for us to find new guests to come on the show.
Shawn M Tierney
Technology Enthusiast & Content Creator
Eliminate commercials and gain access to my weekly full length hands-on, news, and Q&A sessions by becoming a member at The Automation Blog or on YouTube. You'll also find all of my affordable PLC, HMI, and SCADA courses at TheAutomationSchool.com.
- Merry Christmas! - December 25, 2024
- 2024 Podcast Audience Polls: Vote before January 8th! - December 18, 2024
- All 2024 Audience Choice Polls: Vote before December 31st! - December 18, 2024
Discover more from The Automation Blog
Subscribe to get the latest posts sent to your email.
Can someone help me to get my CompactLogix l35e plc to communicate with my pc, tried to use bootp to retrieve the mac id, to be able to assign an Ip address but, the CPU is not responding or giving out any information at all- just sitting there.
Sounds like it already has an IP address – especially if you cycle power to it and nothing shows up in the BootP utility (assuming you have it setup correctly.)
Personally, I’d just connect through the serial port and change the IP settings via RSLinx (as I show in other posts,) but I have also heard of people using wireshark to sniff out the IP address.
Shawn