Rockwell Automation 5370-CVIM2 Module User Manual

Page 294

Advertising
background image

Chapter 7

Inspection Tools

7–56

•

Fail –– This returns an “error code” when the tool is in a fail condition,
and

0.000

for all other conditions. The error code identifies a specific

reason for the failure; for example, error code

1045.000

identifies “High

range fail” as the cause of the inspection failure. The complete list of
error codes and fail conditions appears in Appendix A of this manual.

•

Total –– This returns the total number of inspections performed.

•

Faults –– This returns the total number of faults detected.

•

Fail High –– This returns a

1.000

when the inspection result from the

tool has exceeded the high

Fail

limit and

0.000

when the result has not

exceeded the high

Fail

limit.

•

Warn High –– This returns a

1.000

when the inspection result from the

tool has exceeded the high

Warn

limit (and the tool is not in a fail

condition) and

0.000

when the result has not exceeded the high

Warn

limit.

•

Warn Low –– This returns a

1.000

when the inspection result from the

tool has exceeded the low

Warn

limit and

0.000

when the tool has not

exceeded the low

Warn

limit.

•

Fail Low –– This returns a

1.000

when the inspection result from the

tool has exceeded the low

Fail

limit and

0.000

when the result has not

exceeded the low

Fail

limit.

•

Result –– This returns the actual value of the inspection result; that is, the
count or other numeric result from the window tool. This value
corresponds to the “learned” value that appears in the “

Nominal

” field of

the window tool edit panel.

•

*Height#, Length#, etc. –– Each of these returns a contour measurement
value, which is available only from a window tool configured for black or
white contour operations. Figure 7.48 (page 7–55) shows how the list
appears when all of the contour measurement functions are enabled.

•

**Samples –– This returns the current total number of inspection samples
since the start of run operation.

•

**Min –– This returns the current minimum value of the inspection
results since the start of the run operation.

•

**Max –– This returns the current maximum value of the inspection
results since the start of the run operation.

•

**Sum –– This returns the current sum of all inspection results since the
start of the setup or online run operation.

•

**Sum2 –– This returns the current sum of the squares of all inspection
results since the start of the setup or online run operation.

*Whenever one of these contour measurement functions is selected in a math
tool formula, the “#” sign must be replaced with the appropriate object
number
when the “

Single

” operation is selected in the math tool edit panel.

Advertising