MorphuisOGrady
Member
Hi there,
I have 6 PLCs (Compact Logix) I want to share some data between.
I was hoping to add the shared data to an already shared UDT with some new members.
Taking PLC1 & PLC2....
PLC1 has a Produced tag PLC1_Data containing a member called VAL. I set this to 1 in PLC1.
PLC2 has a consumed tag PLC1_Data which reads from PLC1 and Val is 1. All is good.
The problem is based on a bit selection in each PLC only one controller should have the ability to write to VAL. If I set PLC2_Data Val in PLC2 (Produced ) to 2 then PLC2_Data in PLC1 (consumed) remains at 1.
They are fighting each other. I guess what I am asking is there anyway to tell the producer to stop "producing" based on a value. Only one controller can be the master and hence produce.
I guess a MSG is an alternative, just checking if this is possible. Hope it makes sense.
I have 6 PLCs (Compact Logix) I want to share some data between.
I was hoping to add the shared data to an already shared UDT with some new members.
Taking PLC1 & PLC2....
PLC1 has a Produced tag PLC1_Data containing a member called VAL. I set this to 1 in PLC1.
PLC2 has a consumed tag PLC1_Data which reads from PLC1 and Val is 1. All is good.
The problem is based on a bit selection in each PLC only one controller should have the ability to write to VAL. If I set PLC2_Data Val in PLC2 (Produced ) to 2 then PLC2_Data in PLC1 (consumed) remains at 1.
They are fighting each other. I guess what I am asking is there anyway to tell the producer to stop "producing" based on a value. Only one controller can be the master and hence produce.
I guess a MSG is an alternative, just checking if this is possible. Hope it makes sense.