Best solution to read Modbus RTU with a compactlogix CPU

Jeff23spl

Member
Join Date
Jan 2010
Location
Canada
Posts
860
Hello

I need to design a panel to read (Maybe write also) some signals over modbus RTU protocol using an AllenBradley compact plc.

At first i was looking to use the serial port of a L32E thinking it would be like a ML1400 or a Siemens S7-1200 plc but..i'm screwed up it is RS-232 not 485...So i would need to add a 232/485 converter and reading here and there about the code, peoples seem to say it is complex to use etc...
Is it really complex ?

Since the L32E get pricey over time because it is phasing out, my other option is using a L30ER and a gateway but i still want something simple and cost effective....Prosoft modules tend to be expensives....Would it be a headhache to use another gateway brand if they don't have the right datafile to be implemented into the RS5000 program ? If so, i may spend the saving in time consuming and i would be better to stick with what works?

Any advices are welcome.
 
I would use a red lion datastation plus. they are inexpensive and pretty easy to setup compared to using a prosoft card.
 
I need to design a panel to read (Maybe write also) some signals over modbus RTU protocol using an AllenBradley compact plc.
How many signals do you need to pass? Do you plan to increase the number of signals in the future?

At first i was looking to use the serial port of a L32E ... peoples seem to say it is complex to use etc... Is it really complex ?
It depends on how skilled and knowledgeable is the programmer. For example, trying to write code for modbus communication without knowing nothing about serial communications can be a pain in the neck.

Anyway, download this manual Using Logix5000 Controllers as Masters or Slaves on Modbus and decide by yourself.
 
Jeff,

Real Time Automation offers gateway solutions for this. The 460ETCMM-N34-D is a very simple solution. Set up is web browser based and very simple. You will enter in your Modbus registers and CompactLogix tags that you will be reading and writing to. This gateway Auto Maps between the two. Support is always on top of any questions you have.

Matt

http://www.rtaautomation.com/product/460etcmm/
 
With a little bit of programming and a few euros (or dollars), you can do that with a Micro 820...
Ethernet port to talk to the L32E, Modbus RTU master, with built in functions...
 
Modbus is a protocol but the physical means by which it can be transferred are several.
232, 485, TCP

What device do you need to communicate with?
Port types available?
 
You could also put a MicroLogix 1100 (or 1400) in the system, have it read/write the Modbus RTU info and have the CompactLogix get the info from it.
 
I would use a red lion datastation plus. they are inexpensive and pretty easy to setup compared to using a prosoft card.

Usually the Datastation Plus is my hands down first choice with a Compactlogix. I've used Anybus and RTA's are decent too. I just like the Red Lion Crimson software and how easy the setup is. My choice would be:

1. Red Lion DSP
2. RTA
3. Anybus
 
If you don't mind "cheating", you can do this yourself easily (you can do it the right way easily too). Pretty sure there's a Rockwell KB with an example Modbus RTU master code. I have a Moxa RS485 adapter that I use with an L32E and I have precomputed message tables (not doing CRC calcs in the PLC) and simply check the response message length instead of the CRC, which basically checks for Modbus exceptions instead of message integrity. Admittedly this is bad practice, but basically you have a major problem somewhere else that you need to address if you start getting CRC errors. I only work with a few Modbus devices and know them inside and out. As long as they're wired correctly and the pre-transmit delay is correct for the combination of devices, I have near perfect communication.

Otherwise +1 for the Red Lion DSP. Prosoft module works fine but is too expensive. Really an insult by Rockwell that a MicroLogix has built-in Modbus support and Logix5000 class PLCs don't.
 
Usually the Datastation Plus is my hands down first choice with a Compactlogix. I've used Anybus and RTA's are decent too. I just like the Red Lion Crimson software and how easy the setup is. My choice would be:

1. Red Lion DSP
2. RTA
3. Anybus

I'd use the Red Lion DSP! Cheap and easy!!!
I have used the ProSoft PLX31-EIP-MBS with good success. The price point is comparable to the DSP too
 

Similar Topics

Looking to interface a MUX (16ch) to a Allen Bradley point IO. The main reason behind this is to make some savings from using the PLC AI cards...
Replies
28
Views
10,279
Hi, I am looking into the possibility of giving our craft team the ability to program one of our production lines 'wirelessly'. There are 7...
Replies
6
Views
2,991
Hello all, what is the best solution to this problem. If a piece of equipment comes with a panel box containing all the motor starters(120V...
Replies
1
Views
1,528
Hello to all, soon we're going to be delivered a couple of industrial PCs SIMATIC PC IL 40 in 19" standard industrial format. Now we need to...
Replies
7
Views
5,104
Hi, I am not an experienced S7 developer. I would like to know which is the best solutions when you are writing a program. In my program, during...
Replies
2
Views
1,542
Back
Top Bottom