Triggering motion supervision in RobotStudio simulation

Psyonic
Psyonic Australia
Hey All,

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

Thanks

Answers

  • Forge_Engineering
    Forge_Engineering Mackay, QLD, Australia
    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
  • Psyonic
    Psyonic Australia
    Thanks Harry,

    I'll give that a go :)