The optos will be roughly 30 ft apart from each other.
The 2 optos don't talk via wireless. They talk via a switch, Each opto is connected to the switch individually through eaches ETHERNET 1. My setup is as such:
Opto A has a 32-SNK module connected to set A of digital outputs.
Opto B has a 32-SNK module connected to set B of digital outputs.
I have a laptop with a GUI interface that turns either set of outputs off and on via toggle buttons on the GUI.
All of this currently works.
In the future, the laptop won't always be there though. I will eventually will have just a touch screen interface HMI.
I am just trying to figure out how communication works between the two to implement if Opto B loses communication with Opto A (very unlikely, but I still need to account for it), Opto B will turn off all of set B digital outputs (since Opto A doesn't "exist" anymore to control set B of outputs since it lost communication).
Does Opto B also get the same strategy downloaded as Opto A when I select download via PAC Control? Or does it get a strategy at all? If it doesn't get downloaded, do I have to download the same strategy separately to Opto B that has the logic to check communication and turn off set B of outputs? If I do that, wouldn't I be duplicating certain things since that strategy is being run on Opto B at the same time?
I didn't know if I had to make a new strategy file that only exists to turn off set B of outputs (download that strategy separately to Opto B) to be checking if it lost communication or not.
You've shown how you can check for communication without a handle, but I was thinking that that only works for when Opto A is checking communication, that Opto A can only do something if communication is lost with Opto B?
So I guess when it comes down to it, I don't know how Opto B can act on its own/ how to implement it (downloading a separate strategy and what not). And if it has its own separate strategy running, then it's great that you mention I don't need communication handles to do a simple check if B has lost comm with A. Of even if it doesn't, that I can still do that.
Again, in the future I will not always have the laptop connected and the optos only have each other.
So when would I use TCP/IP? Or it so just happens for my purposes I don't need the data exchange that I don't have to use it?
Thanks again for your help!