I have a reading coming from one plc to ignition, I want to send this reading to another PLC using ignition. How can I do this?
Use a tag change script monitoring the one and writing unconditionally to the other.
Do you have any example I can use?
Just out of curiosity, is there a reason why PLC messaging isn't being used to transfer this information?
PLCs are Allen Bradley and Siemens
You should consider using a gateway, like PLX31-EIP-PND (class 1), if the information you are sending from one plc to another are critical. Sorry if that's something you know, but just to make sure.
Class 3 communication might have low priority in your rockwell processor and if enough overload occurs your communication through ignition (class 3) will get really slow, while class 1 communication will stay unaffected.
Yes I have used gateway and aware of that. I just need one real value to be transferred. And I am looking for other solutions.
Other recommendation are welcome
You could use the Ethernte/IP module from @pturmel if you wanted class 1 communications. However, for most things, using Ignition as a gateway would suffice. Just make sure you have a watchdog as well.
Thanks, good to know!
I would recommend doing this via a timed script, not a tag change script. Tag changes can get missed, especially if one makes a save that restarts the script system. A timed script will always self correct. Set frequency of the script as needed for the application. As mentioned, if it is speed critical or application critical you might be better off with a hardware gateway.
Another way we've accomplished this, is using SQL Bridge module to configure OPC-to-OPC transaction groups. We did this specifically for Allen-Bradley <--> Siemens, similar to the setup you mentioned.