MESSAGE Statement AB CompactLogix Controller

Ones_Zeros

Member
Join Date
Feb 2014
Location
at work
Posts
367
Hello,
I'm wanting to read Modbus registers from a Centurion controller back into the
1769-L32E CompactLogix Controller using the "Message" Data Type command.

I know I have to have some type of modbus PLC card installed, but my question is how do i configure the logix inside the PLC to read these modbus registers?

I have not used the message statement to read from another device & if anyone has any experience with it I would greatly appreciate any help or advise you could give me


Thanks,
 
Do you need to use Modbus RTU (serial), or Modbus/TCP (Ethernet) ?

First, the MSG instruction doesn't support any Modbus protocol natively in the CompactLogix.

Second the 1769-L32E doesn't support the "raw sockets" feature you would need to use application-specific logic inside the controller to use Modbus/TCP. It does support the serial version of that application-specific logic, but it's complex and difficult to use.

I would use a third-party network gateway device, like the Digi One IAP or a device from RTA Automation.

There are chassis-mounted Modbus modules from Rockwell and Prosoft, but I prefer the network devices.
 
Thanks guys for the help
The anybus device looks very user friendly

After watching the video, it seems you add any
Register that you are wanting to read from the
Modbus device into your Compact Logix PLC

I’ll definitely try this device out, thanks again for your feedback!!
 
After doing some research most of our Modbus filed devices are Modbus RTU & some sites already have a 1769-sm2 PLC card installed, I called Anybus tech support and there device will not work with our setup because our devices are not Modbus/TCP and are PLC are not V21 or higher.


1. Has anyone had any experience with these 1769-SM2 Modbus/RTU cards?
2. How to configure the logix to read certain modbus registers from the end device? Is the "Message" command used?
3. How to configure the card for Baud rate, stop bits,....etc


thanks,
 
Yeah it does look complicated

I would have though reading modbus addresses into the PLC wouldn't been this complicated

I appreciate the help
 
I would have though reading modbus addresses into the PLC wouldn't been this complicated

You can thank Group Schneider and their "Solaia" patent dispute for why it's so hard to use Modbus with Rockwell products. Folks have very long memories.

But back to the issue; the 1769-SM2 isn't too difficult to use. Read the user manual, and remember that it was designed to poll a handful of Holding Registers from AC drives, and you should be able to get it going.
 
You can thank Group Schneider and their "Solaia" patent dispute for why it's so hard to use Modbus with Rockwell products. Folks have very long memories.
Way OT, but you've piqued my interest. Care to share the story?
 
You can read a lot about it by Googling "Solaia 318 OPC Rockwell Schneider".

In short, Schneider Electric sold a patent regarding OPC-like technology to a "patent troll" law firm. I like how the OPC Foundation put it: "The '318 patent is as applicable to OPC as it is to a recipe for gumbo".

That firm expertly used litigation against major companies who used OPC with Rockwell products to bully them into settlements to buy "licenses" for the technology. Those companies were then encouraged to in turn sue Rockwell Automation to recoup their payments.

It took years, and millions of dollars in legal fees, to eventually get a court to rule that the patent was inapplicable.

For me, where the mistrust of Schneider comes in is that the judge in the final ruling learned that Schneider had sold the patent to Solaia for a dollar, with the explicit agreement that they would pursue only Rockwell customers, not Schneider customers.

Rockwell does not trust Schneider not to do something similar with Modbus, a technology to which they have a far better claim than they ever did to OPC, and for which Modbus.org could be turned into a vehicle for their endeavors.

There's also the matter of agreements with Prosoft for their creation of Modbus products for old PLC/SLC systems, and the exception of MicroLogix and SLC support.

But at the heart of it, Rockwell Automation doesn't trust Schneider Electric, and neither do I.
 
Hey Guys,
I'm revisiting this question in hopes to get some feedback on some hardware to interface to an existing modbus RTU controller.

just to refresh, I have a Allen Bradley 1769-SM2 Modbus RTU card that was setup before my time in the department to read a few Modbus registers from a Centurion contoller.

When this was setup there were some message statements configured to read a range of registers from the modbus controller and then a custom Add-On-Instruction built to make sense of these registers that was read.

Now that I'm trying to read more registers from this controller and troubleshoot communication issues to them, to me it just seems the process is more difficult than it should be. Maybe because I'm having trouble understanding the message read instruction & making sure I'm connecting to the correct modbus node because these are RS485 and there daisy chained all coming into the same 1769-SM2 card.

I do appreciate if someone had a link to help me better understand the message read instruction and the process of reading modbus RTU registers into a Compact Logix 1769-SM2 card.

I have read these Modbus registers just fine in previous projects into our SCADA software by just using a serial RS-232 interface to Ethernet device convertors, but this data needs to come into the PLC.

I found a device made by RedLion that will allow the read of 5 modbus protocols simultaneously to the controller, but its a $1000 per.

Here is a link to the modbus controller I'm trying to read registers from
Centurion-C4

Is there any other hardware out there cheeper to accomplish this?

thanks
 
I found a device made by RedLion that will allow the read of 5 modbus protocols simultaneously to the controller, but its a $1000 per.

Here is a link to the modbus controller I'm trying to read registers from
Centurion-C4

Is there any other hardware out there cheeper to accomplish this?

thanks

Any Red Lion HMI can do this, even the lowly G304K2 which sells for about $400. I have done some pretty complicated protocol conversion with that little touchscreen, but it might be better to go with their newer CR1000 series which is about the same price. If your application has or will call for an actual HMI, then pick the appropriate size and use it for both HMI and protocol conversion.
 

Similar Topics

hi everyone, i have problem regarding Audit in FTV ver 12,In audit message "service disruption:<HMI server name>:<SERVICE NAME>" message logged,i...
Replies
1
Views
41
Is there a way to add a local message display to Studio 5000 View Designer? If its there, I’m not finding it. I have used them in older versions...
Replies
11
Views
407
Hello, I made a change in alarm setup in factory view studio, where I changed a alarm message text. After that I made a run application and...
Replies
0
Views
133
I have a safety PLC AB that is stuck trying to charge the capacitor and will not do anything. No communication or anything can be done. Is there...
Replies
0
Views
69
Hello, Ive gotten a few answers on this from the Rockwell tech support but it's just not clear as they often point to the manual. I've also read...
Replies
0
Views
95
Back
Top Bottom