Window tool inspection results – Rockwell Automation 5370-CVIM2 Module User Manual
Page 293
![background image](/manuals/580351/293/background.png)
5
Chapter
Chapter 7
Inspection Tools
7–55
This section discusses the expanded inspection results that are available to a
math tool formula from a window tool. The specific set of expanded results
depends on the specific window tool operation. As Figure 7.48 shows, the
expanded inspection results that correspond to any particular window tool
operation will appear in one of two scrolling lists.
Figure 7.48 Expanded Results Lists For Window Tools in Math Formulas
Count pixels,
luminance
Execute
Pass
Warn
Fail
Total
Faults
Fail High
Warn High
Warn Low
Fail Low
Result
Samples
Min
Max
Sum
Sum2
Height#
Length#
Perimeter#
Roundness#
Area#
Xcenter#
Ycenter#
Circularity#
Theta#
MinRadius#
MaxRadius#
H Size#
L Size#
Nearest#
NearestBox#
Execute
Pass
Warn
Fail
Total
Faults
Fail High
Warn High
Warn Low
Fail Low
Result
Samples
Min
Max
Sum
Sum2
Count contours
(Note that the two lists under “Count contours” in Figure 7.48 are really one
scrolling list shown in two parts in order to display all of the results values
that are available with contour operations when all measurement functions
are enabled.)
Here is a brief definition and explanation of each of the expanded result
types listed in Figure 7.48.
•
Execute –– This returns a
1.000
when the tool has executed its inspection
task, and
0.000
for all other conditions.
•
Pass –– This returns a
1.000
when the tool has passed its inspection task,
and
0.000
for all other conditions.
•
Warn –– This returns an “error code” when the tool is in a warn
condition (and not in a fail condition) and
0.000
for all other conditions.
The error code identifies a specific reason for the warning; for example,
error code
1057.000
identifies “Low range warning” as the cause. The
complete list of error codes and warn conditions appears in Appendix A
of this manual.
Window Tool Inspection
Results and Math Tool
Formulas