I'm curious what you have come up with as a cure for this issue.. I am having a similar problem when I 'read' a Modbus value and chart it's value. Because I'm just reading the value, it's not critical that it be a 100% and I occasionally get an exception message of Comm fail - 20. When I click the continue button on the message box, it goes away and all is well. Btw.. the charting will go on un interrupted even though the exception message is on the screen.
I get the feeling that the reason the exception is happening is because the PLC I'm talking to, is busy and therefore the vb code for the charting I'm doing throws the error. I am really a novice when it comes to all this and have read a bit that suggests that if I could subscribe to the plc address rather than just read it, it may put the request in line with other requests that are being made and would be successful.. Could this be the case? And if so, how in vb code??
Anyone with ideas?? Am I totally up in the night??
If there was a way to just get the exception message box to go away automatically,.... that would be a way to have it be less annoying... But I would rather get the code so that it handles the requests and exceptions correctly rather than just making it out of sight out of mind...
Ideas??