Help! I’m developing a program with urscrip on UR10 CB sserie, and I have referer the manual document, as well as the client_interface sheet.
Unfortunately, I can’t find a method to catch those violation/error/waring/information popup windows.
My question is can this error be geot by parsing the data from 30001/30002/30003 port.If dose, how to do this. Furthermore, How do I to resume those Exception.Thanks very much! ::
UR does not have try/catch functionality in the URScript language like most other languages do. I am not aware of any way to catch those errors and do anything about them. If you wanted to do anything catching them on one of the streaming ports you would need to have a daemon running that could listen for the error. But you have to be careful just dismissing those errors automatically as anything that is safety-related, like a protective stop, needs to be reviewed by the operator before just resuming operation.
I’m really need to get this exception popup windows and resume them. Because I have disabled the teach pendent. In other word, I can’t find those errors when them happened without Polyscope. The only way is parsing data for client port. Is there any message related those popup windows I can get from 30003 port? Thanks Very much!
You can send script commands via primary/secondary interfaces, real time as well as the Dashboard server to close popups [Overview of client interfaces - 21744]. You could use one of these interfaces to monitor state and see when popups occur.