Rslogix 5K and Compactlogix- Produced and Consumed Tag

Join Date
Feb 2012
Location
UK
Posts
57
Hi All,
I got 2 Compactlogix PLCs (PLC1 & PLC2) connected over Ethernet I/P Network.I have to read sensor data connected to PLC2 from PLC1 and use it to control a pump connected to PLC1. In Rslogix5000, This can be done using Produced and Consumed Tag concept. My problem is, the sensor data from PLC2 is of Boolean Type and its not possible to create a Produced Tag of Boolean Type.
Can anyone please help me to solve this problem.
Thanks.
 
You can make a DINT and when the sensor comes on turn on an output of one bit of the DINT tag. When I have done this in the past I would make a tag called PLC1_to_PLC2 and make it a DINT. This would be a produced tag in PLC1 and consumed in PLC2. Then you can address at the bit level and you now have 32 bits to work with.
 
Hi All,
I got 2 Compactlogix PLCs (PLC1 & PLC2) connected over Ethernet I/P Network.I have to read sensor data connected to PLC2 from PLC1 and use it to control a pump connected to PLC1. In Rslogix5000, This can be done using Produced and Consumed Tag concept. My problem is, the sensor data from PLC2 is of Boolean Type and its not possible to create a Produced Tag of Boolean Type.
Can anyone please help me to solve this problem.
Thanks.

There are a couple of options I can think of.

You could copy the Status of the Boolean to a Produced DINT Tag in PLC1, and Read the Produced DINT in PLC2.

You could try creating a UDT with a Boolean Tag in it. This seems to work Offline, but I have not tried it between two PLCs to see if it works Online.

Stu....
 
Can you please give me an example program to move or copy Boolean Value to DINT and again read that bit in remote controller.
Thanks for the help sofar.
 
Sensor___________PLC1_to_PLC2.0
|---] [---------------( )--|

You can address the DINT to the bit level by adding a .0 - .31 after the DINT tag.
 
i don't think using P&C through ethernet to send important sensor signals betwenn 2 PLCs is a good idea.Maybe spanner would be a better choice,but it's expensive,& you got only one signal anyway.
 
i don't think using P&C through ethernet to send important sensor signals betwenn 2 PLCs is a good idea.Maybe spanner would be a better choice,but it's expensive,& you got only one signal anyway.

it actually work fine but some time its a bit tricky to make everything work
 

Similar Topics

New project, set my processor type and input/output cards. I tried to download and I get "Failed to go online with controller. Communications...
Replies
12
Views
5,997
Hello, I am in need of a solution to a problem I've failed to come up with a solution to that doesn't take entirely too long for my needs. I...
Replies
40
Views
15,620
Hi Is it possible to program a Compactlogix 1769-L32E with RSLogix 500, or do I need to purchase a Studio 5000 package? On a very tight budget...
Replies
4
Views
5,147
Hi guys, I have a Project with PID block, but When I config Parameters, only Ki effect to system, others are not... I don't know how to control...
Replies
2
Views
2,511
Hello All, I am fairly new to PLC programming and really only know how to use the basic functions of RSlogix 5000. I have a new project I will...
Replies
14
Views
24,120
Back
Top Bottom