因此,正在進行的移動將被中斷,機器人將進入陷阱中的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.