RobotStudio event

Triggering motion supervision in RobotStudio simulation

Hey All,

Does anyone know how to trigger a motion supervision event in RobotStudio to test error handling code?

Thanks

Answers

  • Hi Psyonic, 

    You can't raise internal errors as far as I'm aware, but you can raise custom errors you have created.
    Could you trigger another error that you filter for in your error handler as well that is raised from a trap routine tied to a randomly occurring interrupt? 
    The interrupt can execute a StopMove and then your error handler can perform the same recovery.

    Good Luck, 

    Regards,

    Harry
  • Thanks Harry,

    I'll give that a go :)