
Reference Manual
Chapter
4
IVC-2D
©
SICK AG • Advanced Industrial Sensors • www.sick.com • All rights reserved
153
Program
Else
This tool could be used after the ‘If’ tool and must be terminated with the ‘End’ tool. It
depends on the condition in the ‘If’ tool. If the condition is true all program steps between
‘Else‘ and ‘End’ are skipped. If the condition is false only the program steps between ‘Else‘
and ‘End' are executed. See figure below.
Input Parameters
01 = IF step
This parameter refers to the step number
with corresponding ‘If‘ tool.
02 = END step
This is the step number with the corre-
sponding ‘End‘ tool.
Note that no other step numbers are
allowed.
Returned Values
None
Example
Program step
Step 5
tool: If
01 = Control expression : (condition)
02 = END step:
4
Step
1
Program step
Program step
Step 2
Step 3
tool: End
01 = Start step :
1
Step
6
tool: Else
01 = IF step :
1
02 = END step:
6
Step
4