Sometimes there is a situation, that connection to PLC is missing, but some scripts are trying to write some values into the PLC. It is done by using system.tag.writeToTag function. The problem is that in case of connection problem, there is common Error box displayed. We would like to replace the Error box with something nicer
We have tried to use try: except: but it seems that it does not work with system.tag.writeToTag function. Are there any ways to overcome the Error boxes when using system.tag.writeToTag function?