Ah, that event. Like this right?
That is unfortunately impossible to get. It is not stored anywhere. Its hidden in RobotWare somewhere so even when RobotStudio handles a Virtual Controller we can’t display it.
What you get instead is a generic “40160 Errors in RAPID Program”, but it doesn’t give you the module or line number or anything. But at least it lets you track when it happened.
If you have problems with unauthorized editing or somesuch I’d recommend looking into User Authentication System, this so that you can have a different login for the Edit rights.
I’ve also seen a solution where they put a system signal on when the controller goes into manual, you’d get a prompt to write in why and then it would take a copy of the program modules to the Home directory. But that has its own issues.
