I have an AdvancedHMI solution I am working with that has been a great help for me and my workflow the past few months. I am wrapping up a project and trying to iron out a few little hindrances before I call it a day and hand off the project to the next guy.
Specifically, one issue I have had is that when I debug the software on a PC that is not connected to the our AB CompactLogix PLC via Ethernet, after a few seconds the application will freeze and need to be restarted. No exceptions or anything seem to be called, and currently all of our code that reads from the PLC is handled in functions tied to buttons. Without touching any of those buttons, the various AdvancedHMI labels will show their typical errors and then the program stalls.
One detail I would like to clean up to figure out how to ensure that the program remains responsive when the PLC is not detected. In the worse case I can try and put up a error box to the user that allows them to know what the issue is. Both would be fine solutions, I suppose. I'm now in the "cleanup" phase where I'm adding in the necessary exception handling and other important usability items.
Any tips or tricks from the community would be appreciated. I certainly couldn't have gotten this system working without this forum.