Hello, I'm looking to retrieve Modbus registers from a Centurion controller back into the 1769-L32E CompactLogix Controller using the "Message" Data Type command. I understand that I need to install a Modbus PLC card, but I'm unsure how to configure the Logic in the PLC to successfully read these Modbus registers. I haven't utilized the message instruction for communicating with another device before, so if anyone has experience with this process, I would greatly appreciate any guidance or tips you could share. Thank you!
Are you wondering whether to choose Modbus RTU (serial) or Modbus/TCP (Ethernet) for your application? It's important to note that the MSG instruction does not natively support any Modbus protocols within the CompactLogix platform. Additionally, the 1769-L32E model lacks the "raw sockets" functionality, which means you'll need to implement application-specific logic within the controller for Modbus/TCP functionality. While it does support the serial version of this application-specific logic, this approach can be quite complex and challenging. For a more streamlined solution, I recommend utilizing a third-party network gateway device, such as the Digi One IAP or a product from RTA Automation. While Rockwell and Prosoft offer chassis-mounted Modbus modules, I generally prefer using network-based devices for better efficiency and ease of use.
We have tested this unit, and it performs excellently! Discover its capabilities here: https://www.anybus.com/products/gateway-index/specific-gateways/ethernet-ip-linking-devices/detail/ethernet-ip-to-modbus-tcp-linking-device. This Ethernet/IP to Modbus TCP linking device is highly efficient and reliable for seamless communication between different industrial networks.
Thank you all for your valuable assistance! The Anybus device appears to be extremely user-friendly. After viewing the instructional video, it’s clear that you can easily integrate any register from the Modbus device into your CompactLogix PLC. I’m excited to test this device out! I appreciate your feedback once again!
After conducting thorough research, we've discovered that most of our Modbus field devices operate using Modbus RTU protocol. Additionally, some locations are equipped with the 1769-SM2 PLC cards. I reached out to Anybus technical support, only to find out that their devices are incompatible with our current setup since our devices do not support Modbus/TCP and our PLCs are below version 21. 1. Has anyone had prior experience with the 1769-SM2 Modbus/RTU cards? 2. What are the steps to configure the Logix system to read specific Modbus registers from the endpoint devices? Is the "Message" command the right approach? 3. How do I set up the card for parameters such as baud rate, stop bits, etc.? Thank you for your insights!
AB provides sample code for utilizing ControlLogix with Modbus protocol. You can access it here: [Rockwell Automation Sample Code](http://search.rockwellautomation.com/search?client=samplecode&oe=UTF-8&ie=UTF-8&output=xml_no_dtd&proxystylesheet=samplecode&site=sample_code&getfields=*&lang=en&hl=en&sort=date:L:d1&wc=200&wc_mc=1&ud=1&filter=0&q=modbus). However, please note that the process can be quite complex, and results are not guaranteed. I frequently use ProSoft communication cards, and they function exceptionally well, primarily for interfacing with flow meters and Yokogawa chart recorders.
✅ Work Order Management
✅ Asset Tracking
✅ Preventive Maintenance
✅ Inspection Report
We have received your information. We will share Schedule Demo details on your Mail Id.
Join hundreds of satisfied customers who have transformed their maintenance processes.
Sign up today and start optimizing your workflow.