Rockwell Automation 5370-CVIM2 Module User Manual

Page 231

Advertising
background image

Chapter 6

Reference Tools

6–72

Example: Theta Operation

This section provides a simple example that illustrates a theta operation using
the “

Absolute

” method of operation. In this example, a build reference tool

is configured to provide only rotation compensation to a pair of gage tools.

Specifically, this example uses a window tool (

Tool 1

), configured for the

Black Contours

operation, to supply theta angle and centroid coordinate

values to a build reference tool (

Tool 2

).

Tool 2

then applies these values as

rotation compensation to each of two gage tools (

Tool 3

,

Tool 4

), whose

function is to measure the height and width of the object. For the purposes of
this example, the object is assumed to rotate in the image field.

Figure 6.60 shows how these four tools are arranged in the toolset edit panel.
Their order in the panel, from top to bottom, determines the order in which
they are processed.

Figure 6.60 Example: Relation Between Window, Build Reference, and Gage Tools in
Toolset Edit Panel

Figure 6.61 shows the window tool in this example positioned over a dark
rectangular object. The two gage tools are positioned vertically and
horizontally across the object.

Figure 6.61 Example: Setup of Window and Gage Tools

Inspected

object

Gage

Window

Build reference

tool name

Gage

Advertising