Studio 5000 PLC - PLC Communication

MagMonk

Member
Join Date
Jan 2024
Location
Ontario
Posts
2
I am hoping to use a MSG instruction to communicate between two CompactLogix controllers and was wondering if the Ethernet connection built into the processor will allow communication or if an ethernet module is necessary. Both PLCs will be plugged into an ethernet switch and networked through said switch.
 
You can also set up Produced/Consumed tags to use between the PLC's, to do this you will need to add the respective PLC's into each others IO trees, and then create your tags in each PLC, note they must be identical in each PLC, check the user manual for more information.
 
Okay great, so no Ethernet module would need to be added! Also do I not always need to add the other PLC to the IO tree when using the MSG instruction?
 
You do not need to add anything to the tree to message. The only advantage to adding the PLC to the tree is that the path is easier. I never add PLC's to the tree if I'm only messaging.
 
Most CompactLogix are restricted to the onboard ethernet port and you cannot add another Ethernet module, the only exceptions that I know of are the 1768-L43 and L45.

The only time you really need to add them to the IO tree is if you are going to use Produced/Consumed data.
 
A housekeeping note - If you are using MSG instructions, either use read on both sides, or document the use of write on both sides (Who, what and where). This way someone not familiar with the program/system.... or a future you doesn't need to waste time figuring out where or what is magically changing the values of the tags.
 
A housekeeping note - If you are using MSG instructions, either use read on both sides, or document the use of write on both sides (Who, what and where). This way someone not familiar with the program/system.... or a future you doesn't need to waste time figuring out where or what is magically changing the values of the tags.

Very good suggestion. I don't allow any writes via MSG ever. Only reads.
 

Similar Topics

I'm adding an IAI Gateway with 2 axes connected to it. To an ethernet network on my PLC. So, I think the math is correct on the Input and Output...
Replies
0
Views
148
Hello Experts, I'm wondering if this has been done before if possible to create an Emulate file that have motion control axis? I tried to...
Replies
0
Views
151
Hi all, the machine I am programming the Rockwell PLC for has about 100 parameters that need to be adjusted for every customer. I would like to...
Replies
20
Views
1,978
Hi all, Im new to Allen Bradley software, so i was given a existing studio 5000 plc program. i already know how to use emulator and rslinx but as...
Replies
2
Views
1,415
I want to run a simulation of a program uploaded from a rockwell PLC, but I can't configure the CPU on the emulate to match the actual CPU.
Replies
10
Views
2,261
Back
Top Bottom