Modbus Comms with AB L32E

stesie4469

Member
Join Date
Sep 2005
Location
Kentucky
Posts
3
Ok Here goes, I have an Allen Bradley Micro LOgix L32E that I am trying to get communicating via Modbus over channel 0

I am a little confused as I have never tried this before I am using the Sample program Modbusmaster.acd that is provided with the software I have also downloaded the documentation that comes with the sample program. My question is this when configuring the parameters for channel 0, what does the system protocol ned to be set to. I feel like I have a handle on the logic portion and the Baldor Drives I am trying to communicate with seem to be configured properly according to the manufacturer. I am banging my head against the wall trying to get this working any advice will be welcomed

Thank youo_O
 
Do you mean a Compactlogix L32E? I think you need the SM2 card to talk Modbus.

I haven't heard of a way to do it through the CH0 port...
 
I ran into another fella who was trying to do the same thing. He had the example code as well and we never could get it to work. We ended up using a data converter to go from Modbus 485 to the AB via the DF1 or Ethernet port.

Joe_WaZoo
 
With the sample code you can use the comport. It's easier with the SM2 card though, that's what I use.
Prosoft also makes a card for this.
 
I have seen the sample code. Not sure if it works that well. When you have a look at the code it seems in my opinion to be poorly written. (seemed to have blocked out bits of code that were not used, poorly documented etc) One day I have always wanted to re-write it, make it into an AOI then post it back on the sample website. Never had the time and probably if I did the next week there would be a release of compact logix where the comm port supported modbus natively.
Regards Alan Case
 
Disclosure: I don't like this implementation of Modbus on the Logix controller and very much prefer Prosoft cards.

There is actually a user manual that goes with that sample code which includes screenshots of things like the User Mode configuration of the serial port.

http://literature.rockwellautomation.com/idc/groups/literature/documents/ap/cig-ap129_-en-p.pdf

The 2.0 version of the Modbus master and slave code is in the RA Knowledgebase document 42662. I tested this code in a 1756-L1 v13 controller just last week.

To troubleshoot, the first question is: Is the Channel 0 communication LED on the controller flashing ? If so, you can use a serial analyzer to help diagnose the problem.

If not, you're going to have to send somebody, either the forum or RA Tech Support, your code and an explanation of which registers on which slave devices you intend to read and write.
 
I used the Prosoft card. The card comes with AB logic example that you can import directly into your configuration. The technical support from Prosoft is second to none. Much to my amazement the card worked first time.
Roy
 
I second Ken's opinion. Use the Prosoft card or some other protocol converter device to get Modbus comms into the L32 PLC.

Joe_WaZoo
 

Similar Topics

Hello all. I am trying to read out the values from a Carlo Gavazzi EM340 energy analyzer via Modbus communication. The S7-1200 PLC has the CB1241...
Replies
29
Views
3,789
I am trying to control a Rockwell Powerflex 525 via Modbus RTU (RS485) using an ABB AC800M DCS controller, and am having some issues getting...
Replies
2
Views
537
Been trying for a while to get a flowmeter with Modbus RS485 comms to talk to my Redlion Graphite HMI. Cable has been checked 3 times all good...
Replies
3
Views
866
Our main testing HMI has 2 Ethernet sockets in it. One is setup on IP address 192.168.30.99 and communicates with our main PC network...
Replies
1
Views
745
Well, I'm working with this ABB plc project, and It's been a learning experience coming from Allen Bradley. The project can't be changed to an AB...
Replies
1
Views
1,172
Back
Top Bottom