在PROC test\u move\u stop中中断活动指令MoveJ p10或MoveL p20。
因此,正在进行的移动将被中断,机器人将进入陷阱中的p10
trap\u move\u stop,但在PROC test\u move\u stop中不再移动到p10或p20
将完成。程序执行将挂起。
这个问题可以通过跳远的错误恢复来解决,如示例中所述
2以下,或指令ProcerrRecovery异步引发错误。
break off the active instruction MoveJ p10 or MoveL p20 in the PROC test_move_stop.
So the ongoing movement will be interrupted and the robot will go to p10 in the TRAP
trap_move_stop, but no further movement to p10 or p20 in the PROC test_move_stop
will be done. The program execution will be hanging.
This problem can be solved with either error recovery with long jump as described in example
2 below or with asynchronously raised error with instruction ProcerrRecovery.