Rockwell Automation 5370-CVIM2 Module User Manual

Page 382

Advertising
background image

Chapter 7

Inspection Tools

7–144

Example: Using a Single Math Tool to Generate Multiple Results

This example illustrates the requirements for configuring a math tool to
generate multiple results from a window tool using a black contours
operation to generate multiple results. When configured for

Multiple

operation, a single math tool can thus generate the same number of results as
an equivalent number of math tools using

Single

operation.

When you pick the

Operation

field in the math tool edit panel while

Single

” is displayed, the field will toggle to “

Multiple

,” as shown in

Figure 7.114.

Figure 7.114 Math Tool Edit Panel After Selecting Multiple Operation

Note that the

Loops

field and the

button become active when

Multiple

operation is selected.

In this example, it is assumed that the window tool and math tool are entered
in the toolset edit panel as shown in Figure 7.115. It is also assumed that the
window tool is configured to use the black contours operation to generate the
“area” results values of a maximum of 15 objects (for details about window
contours operations, see the White Contours; Black Contours section on page
7–40 of this chapter).

Figure 7.115 Toolset Edit Panel

After the

button has been picked to access the formula entry

keyboard, the formula for acquiring the “area” results values is entered into
the keyboard as shown in Figure 7.116 (page 7–145).

Advertising