Reference Manual
Chapter
4
IVC-2D
©
SICK AG • Advanced Industrial Sensors • www.sick.com • All rights reserved
149
Program
If Error Goto
This tool handles upcoming errors in program steps. It is recommended to handle potenti-
ally occurring errors in critical program blocks with this tool. This avoids that the program
stops due to an error.
If a program step returns an error the program either skips this step and continues with
the following step or jumps to a defined program step.
Please select the
Goto step
carefully to avoid accidentally creating an infinite loop.
Return parameters are the step number where the last error occurred and the error code.
Input Parameters
01 = Goto step
Step number where to continue in case of an error.
02 = Continue to next step?
False
The program continues at step number
given
by
Goto step.
True
The step with error is skipped and the
program continues with the next step. In
this case parameter
Goto step
is ig-
nored.
Returned Values
01 = Last step with error
Step number which evoked the last error.
02 = Last error code
Error code of last error.