ControlLogix vs Modbus IO

Secpcb

Member
Join Date
Jan 2015
Location
Detroit, Michigan
Posts
136
I searched the forum and there are posts it's possible, but no details so here goes.


I have a project in the works and the boss bought some Ethernet Remote IO, but what he bought at a discount was not RemoteIO that is Ethernet/IP like I was expecting. The are all Modbus over Ethernet that I have never encountered before to even look at another project to check into.


Other than the boss now has to buy the EN2T for "sockets" (I have the ENBT that one thread said won't work) hopefully nothing else needs bought.


Could someone please point me to a good source to learn how to do Modbus in Studio500 for a ControlLogix, I'll be using ver33 with a -L73 CPU.


If anyone has any experience they can share that will be a great help too.
 
Modbus TCP Add-On instructions are available from the Rockwell Sample Code library.
However, these are targeting relatively slow update rates, that may or may not fit your application.
 
A word of caution. "Modbus over Ethernet" may not mean Modbus/TCP.


There are vendors that support "Modbus over Ethernet" that is actually Modbus RTU (the serial version of Modbus that typically runs over RS-485) encapsulated in a TCP or UDP Ethernet frame.


What is the vendor and model of the Remote IO module?
 
There are vendors that support "Modbus over Ethernet" that is actually Modbus RTU (the serial version of Modbus that typically runs over RS-485) encapsulated in a TCP or UDP Ethernet frame.
I personally never saw these, but it's quite possible. Then AOI will not work because RTU uses CRC, while Modbus TCP relies on TCP frame CRC
 
I personally never saw these, but it's quite possible. Then AOI will not work because RTU uses CRC, while Modbus TCP relies on TCP frame CRC


That might be the tough part. One of the manuals I downloaded searching for ModbusTCP has the following line:
Modbus TCP/IP (also Modbus-TCP) is simply the Modbus RTU protocol with a TCP interface that runs on Ethernet.


And checking the sample code there is a ModbusMaster program that is all serial RTU.


jschulze,


They are OneFex modules. The 2 part numbers I have are KZ-04AL and KZ-02AL.

Also, these are not modular like RemoteIO where I could add a card or change one, these are bought as setup and not expandable.

The interesting thing is an output can be activated for a time or to come on at a certain time and even if the PLC goes offline the output will cycle. I don't know if I would ever do that for safety.
 
From my experience, if the vendor uses the term "Modbus TCP", then it is very likely that the device supports the real Modbus/TCP protocol and not Modbus RTU over TCP. It's terms like "Modbus over Ethernet", "Modbus Ethernet", or "Modbus over TCP" where I question whether it is Modbus/TCP or Modbus RTU over TCP.



There's an easy way to find out if you have one of the IO modules available. You can use SimplyModbus on your PC to test communications with the module. SimplyModbus supports both Modbus/TCP and Modbus RTU over TCP.
https://www.simplymodbus.ca/TCPclient.htm
 
There's an easy way to find out if you have one of the IO modules available. You can use SimplyModbus on your PC to test communications with the module. SimplyModbus supports both Modbus/TCP and Modbus RTU over TCP.
https://www.simplymodbus.ca/TCPclient.htm




Thanks for that.


Now I just have to figure out how to do this in Studio5000. In a test program I trued to add a Modbus device under the EN2T card (that needs to be bought, the boss didn't like the cheapest one on Ebay is $1,700) but it only wanted to add one specific module made by one vendor.
 
Now I just have to figure out how to do this in Studio5000. In a test program I trued to add a Modbus device under the EN2T card (that needs to be bought, the boss didn't like the cheapest one on Ebay is $1,700) but it only wanted to add one specific module made by one vendor.
One alternative solution would be to use your existing ENBT card and purchase a Modbus/TCP to Ethernet/IP gateway to bring in all the IO modules to the ControlLogix, such as ICC's ETH-1000:
http://www.iccdesigns.com/millennium-series/10-eth-1000.html

I'm not familiar with creating and configuring the Modbus AOI's needed to use the EN2T card, but I suspect that configuring the ETH-1000 to map the data is easier.
 
Also, modbus (any variant) will not be deterministic compared to E/IP.

I’m sure you boss considered that when he acquired them ��
 

Similar Topics

Hi Guys, Can ControlLogix with Modsim32 for Modbus Server Testing? I have ControlLogix via Anybus Modbus TCP and I need to Test the...
Replies
6
Views
338
Hi Guys, I'm searching for Modbus address register (mapping) for SCAME 27F (HS81) Fire and Gas Panel. I need to pull data from the panel to...
Replies
0
Views
761
Hello all, I was wondering if you clever people could help me, please. In the past I have used a standalone L33ER CompactLogix PLC with the...
Replies
5
Views
1,537
I am working on a project, inside an AB CLX, I implemented the Modbus TCP Client AOI published on AB website, to interreact with a Modbus ASCII...
Replies
7
Views
3,591
I've worked on a handful of projects that relied on a Prosoft module for Modbus comms with other systems (older PLCs, boilers, chillers, much...
Replies
5
Views
2,171
Back
Top Bottom