(1)
Add the
'LABEL' icon right before the
'Find' icon on the Program Line.
(2)
Touch the
icon on the Program Line to open the setting screen and set the label number.
(3)
Touch the
icon to open the setting screen. Note the numeric register number selected for 'R Index for number of found' in '2 Detection Setup'. This will be used in Step 5 below.
(4)
Add the
'IF' icon right after the
icon on the Program Line.
(5)
Touch the
icon to open the setting screen and set the condition when the workpiece is detected. When a workpiece is detected, the numeric register from Step 3 above will have a value of 1 or greater.
(6)
In the indented area following the
icon, add the action for the case when the workpiece is detected. Then add the
'JUMP' icon. See the box marked 'a' in the figure above.
(7)
Touch the
icon to open the setting screen and set the operation to jump to the label set in (2).
(8)
In the indented area following the
icon, add the action for the case when the workpiece is not detected. See the box marked 'b' in the figure above.