If you are implementing a Micro800 series PLC, there is a chance you are doing a small, standalone project that needs no communication with other devices or centralized control system, but that is not always the case.

The Micro820, 850, and 870 all come with an Ethernet port that will communicate with your existing ControlLogix or CompactLogix controllers, and allow you to integrate and share data with the rest of your system.

Today I'll walk through setting up communications between a ControlLogix controller and a Micro820 controller using MSG instructions to read data from the Micro820 to ControlLogix as well as write data from ControlLogix to the Micro820 controller.

Micro820 Setup

The Micro820 will only have the array tags that will need to be created for reading from and writing data to. I will create two arrays. The first array will be “Data_toLogix” and the second array will “Data_FromLogix” and they will have a data type of “DINT”.

To create an array, use the [1..20] syntax in the dimension column to create the needed amount of array tags.

ControlLogix Setup

The ControlLogix or CompactLogix processor will read and write data using Message instructions utilizing the “CIP Data Table Read” or “CIP Data Table Write” type connection parameter.

In ladder logic, you will need to set up a timer and two MSG instructions. One for reading data from the Micro820 and one for writing data.

First, we will look at the MSG “CIP Data Table Read” setup. The source element is the exact tag that will be read from the Micro820 and the starting array element. Second, the number of elements to read and last, the ControlLogix tag to place the data once it is read and the array element to start with. These tags are of the same “DINT[]” data type.

On the communication tab, you will have to define the path from the ControlLogix processor to the Micro820 controller. For my setup, I browse to the EtherNet module in slot 2, then add a “2” for EtherNet communication and then the IP address of the Micro820 controller. The same communication path will exist for both my read and write messages.

For the write MSG instruction, we will use the  “CIP Data Table Write” type. The source element is the ControlLogix tag that will be written to the Mirco820 controller and the number of elements is how many elements to write. The destination element must be the exact match tag that resides in the Micro820 controller that will receive the data.

Testing

To verify that communication is working, we can add values in the Micro820 controller tags and see if the ControlLogix tags are populated with the data.

Lastly, we can insert values to our ControlLogix tags and verify they are written to the Micro820 controller tags.

Conclusion

Since the Micro820 used a completely different software for programming, I wanted to test and make sure that data could be shared with other Rockwell controllers. The last thing I would want to do is implement something that doesn’t play nice with my existing systems.

What I found is that is does allow for CIP reads and writes and that makes it a team player. The Micro820 can control a smaller scale system as well as report back to the rest of the control system any needed data that needs to be shared.

Written by Brandon Cooper
Senior Controls Engineer and Freelance Writer

Have a question or comment on this article? Join our community to take part in the discussion! You'll also find all of our courses at TheAutomationSchool.com.