I have a small problem,can someone help me with this?
WHILE di_ready = 1 DO
…
SearchL\Stop
…
ENDWHILE
ERROR
IF ERRNO=ERR_WHLSEARCH THEN
…
ENDIF
All i want is to continue with program after error of search… Now everytime when IF ERRNO end robot stop and rise alarm on pondant… Can someone help me with this?
You should look into CRobT(), maybe use it to make an offset or reltool move to try again, if that is what you are asking for help with. Also, look into Retry or Trynext You could also RAISE the error to the routine from which it was called. Error handler in that routine should most likely have Retry.