In a recent article we took a look at which CompactLogix models support Modbus.
As a follow-up to that post, in today’s article we’ll take a look at which ControlLogix processors support Modbus.
ControlLogix support for Modbus RTU
ControlLogix models with a built-in DB9 serial port don’t natively support Modbus RTU like most of the MicroLogix line does.
However, the folks at Rockwell Automation have been providing sample code to use the processor’s DB9 serial port as either a Modbus RTU Master or Slave since version 13 of RSLogix 5000.
That sample code is included by default when you install RSLogix 5000, but it’s also available from samplecode.rockwellautomation.com.
Having used this code myself, I can say it’s not for the faint at heart. But if you need your ControlLogix to communicate Modbus RTU, it might be worth your time to check out this free sample code to see if it’ll meet your needs.
What if my ControlLogix doesn’t have a serial port? Or if this sample code doesn’t support enough data for my app?
If you’re using one of the new 5570 ControlLogix processors, you’ve probably noticed you have a nifty new USB port in place of the legacy DB9 serial port.
And since these new processors don’t have a built-in serial port, you obviously won’t be able to use the above mentioned sample code.
But even with a processor that has a serial port, you may still find the free sample code too limiting for demanding applications.
In those cases you may wish to consider using a 1756 Modbus RTU communications module.
Rockwell’s encompass partner Prosoft Technologies makes several such modules, and I’ll list the 1756 versions below:
- MVI56E-MCMR, Modbus Master/Slave Enhanced Network Interface Module with Reduced Data Block for ControlLogix
- MVI56E-MCM/MCMXT, Modbus Master/Slave Enhanced Network Interface Module for ControlLogix
ControlLogix support for Modbus TCP
The new 1756-EN2Tx and EN3TR have been updated to support open sockets like the 1756-EWEB had in the past.
And on the Rockwell’s sample code website you’ll find an sample application which uses the open sockets to give ControlLogix processors the ability to be either a master or slave on a Modbus TCP network.
Note: According to Rockwell’s public Tech Note 470365, you’ll need and 1756-EN2Tx or EN3TR version 5.007 or greater, or an EWEB version 4.006 or greater.
2020 Update: Here’s a link to the newest tech note:
Having used this code recently, I can say it’s well documented and fairly easy to use.
That said, unfortunately it’s not quite as easy as using the MicroLogix 1400 on Modbus TCP (I really wish the wizards in the MicroLogix group would share their secretes of putting these protocols into firmware with the ControlLogix folks!)
What if I have the older 1756-ENBT?
If you’re not using one of the new 1756 Ethernet modules, or the 1756-EWEB, your Ethernet port doesn’t support open sockets, and therefore the above sample code isn’t going to work for you.
In that case, or in the case where the capabilities of the sample code is too limited for your application, we again have the option of adding Modbus TCP capabilities by using one of the Prosoft communications module listed below:
- MVI56E-MNETCR, Modbus TCP/IP Multi Client Enhanced Network Interface Module with Reduced Data Block for ControlLogix
- MVI56E-MNETC, Modbus TCP/IP Multi Client/Server Enhanced Network Interface Module for ControlLogix
- MVI56E-MNETR, Modbus TCP/IP Client/Server Enhanced Network Interface Module with Reduced Data Block for ControlLogix
- MVI56E-MNET/MNETXT, Modbus TCP/IP Client/Server Enhanced Network Interface Module for ControlLogix
- ILX56-MM, Message Manager for Industrial Communication
I hope you’ve found the above information about “which models of ControlLogix support Modbus” helpful.
If you have any comments, questions, corrections or suggestions, please feel free to share them with us by submitting 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.
- Copia’s Ai Copilot Documents, Converts & Writes PLC Code (P228) - November 20, 2024
- Automation Q & A for November 15, 2024 (QA023) - November 15, 2024
- Siemens TIA Portal v20 (P227) - November 13, 2024
Discover more from The Automation Blog
Subscribe to get the latest posts sent to your email.
Hello! I have a 1756EN2T module. How can i use ModbusTcp?
Good morning @Jimb,
I’ve updated the above article with a link to the latest tech note – see the red “2020 update” above.
Hope this helps,
Shawn Tierney,
Instructor at http://www.TheAutomationSchool.com
Thank you!
You’re very welcome @Jinb, best of luck!
Shawn Tierney,
Instructor at http://www.TheAutomationSchool.com
Good afternoon! I have a Control Logix L61. Can I add tags online? Or is it necessary to stop the controller? thanks for answer, sir
Good morning @Hikler,
There are only a few things you can’t do online in the run mode:
– You can add new tags, but can’t edit existing tags
– You can’t edit AOIs
– You can’t add some types of Distributed IO (most 1756, 1794, and Powerflex can be added)
I have an article about that here: https://theautomationblog.com/controllogix-support-for-adding-io-online/
Have a great weekend,
Shawn Tierney,
Instructor at http://www.TheAutomationSchool.com
Good afternoon. Allen Bradley client-server system is available. Tell me, can the client work with two servers?
Good morning,
A-B has had many client server systems, so I would need specifics to answer your question.
Shawn Tierney,
Instructor at http://www.TheAutomationSchool.com