_____
You could set a unique bit in both the PLCs to true to signify that it is the current Main PLC. You can then have Lookout check for this bit in your program and take action accordingly. You could use Symbolic links to switch all the connections from one PLC to another.
Hope this helps.
Rgds,
Khalid 🙂
_____