Hi Kyle,
I am using this to run 10 PLC's, when a machine is shut off the library result is -32 timeout. At one point I was destroying the tags for that PLC and attempting to recreate them.
I wasn't sure if that was the best way to handle them so instead on a -32 timeout I dont destroy and recreate, only for all other errors.
So my question is, when a tag is created does the PLC CPU provide a pointer to a memory address for that tag? If so whats the chances that on a power cycle that will change? If it does that tag will no longer be valid and i will be reading invalid data which means my first method of handling the error is better.
I only ask this as I have one PLC that has two connections, one from myself and one from a HMI and almost daily I get a timeout but the PLC has not been power cycled its just not handling two requests very well, in this case it seemed re-creating the tags is not necessary.
What is your thoughts/suggestions?
Kind Regards
Nathan