Rockwell Automation 5370-CVIM2 Module User Manual
Page 424
Chapter 7
Inspection Tools
7–186
The first four gages in Figure 7.148 are configured to locate the left edge and
top edge positions of the front and back labels. The gage tools “
Front_X1
”
and “
Front_Y1
” receive their images from camera 1, while “
Back_X2
” and
“
Back_Y2
” receive their images from camera 2. If the “
Circ/NoCirc
”
window tool passes its inspection (that is, it detects the front label), these
four gage tools will execute, since they are configured to execute on
condition that the window tool passes (
+ 1 Pass
). The second four gage
tools will not execute, in this case.
The second four gage tools perform the same functions as the first four gage
tools. The gage tools “
Front_X2
” and “
Front_Y2
” receive their image from
camera 2, while “
Back_X1
” and “
Back_Y1
” receive their image from
camera 1. If the “
Circ/NoCirc
” window tool fails its inspection (that is, it
does not detect the front label), these four gage tools will execute, since they
are configured to execute on condition that the window tool fails (
– 1
Pass
). The first four gage tools will not execute, in this case.
The net result is that, regardless of the front/back orientation of the package
in this example inspection, the conditional processing function causes the
correct set of tools to execute.
NOTE: The example could also be based on the “
Zero
” condition selection.
In this case, the first four gages would use the “
– 1 Zero
” selection, which
is, in effect, a non–zero indicator. This would be appropriate when the
inspection results from the “
Circ/NoCirc
” window tool are “1,” indicating
that it has detected the black contour on the front label. Conversely, the
second four gages would use the “
+1 Zero
” selection, which would be
appropriate when the inspection result from the window tool is “0,”
indicating that it has not detected the contour on the front label.