Tool register function – Rockwell Automation 5370-CVIM2 Module User Manual

Page 238

Advertising
background image

5

Chapter

Chapter 6

Reference Tools

6–79

Theta –– This returns the current value of the theta result, in degrees,
from the

Theta Formula

in the build reference tool. It is

0.000

in the

following situations:

— The

Theta Mode

is

Disabled

.

— The

Theta Mode

is

Enabled

, but the

Theta Formula

,

X

c

Formula

,

or

Y

c

Formula

is unusable for any reason.

nX –– This returns the change from the nominal or “learned” X value.

nY –– This returns the change from the nominal or “learned” Y value.

nTheta –– This returns the change from the nominal or “learned” Theta
value, in degrees.

Xc –– This returns the current value of the X result from the

X

c

Formula

in the build reference tool. It is

0.000

in the following situations:

— The

Theta Mode

is

Disabled

.

— The

Theta Mode

is

Enabled

, but the

Theta Formula

,

X

c

Formula

,

or

Y

c

Formula

is unusable for any reason.

Yc –– This returns the current value of the Y result from the

Y

c

Formula

in the build reference tool. It is

0.000

in the following situations:

— The

Theta Mode

is

Disabled

.

— The

Theta Mode

is

Enabled

, but the

Theta Formula

,

X

c

Formula

,

or

Y

c

Formula

is unusable for any reason.

From time to time you may need to readjust inspection tools in an existing
configuration file and/or add new tools to the file. A problem could occur if
you were unable to position the workpiece image to exactly the same place in
the image field that it occupied when you originally configured the tools. If
not, you would probably need to reconfigure all of the tools in the toolset ––
a process that could be quite time consuming.

However, if these tools were already “referenced” to reference tools in the
original configuration, you could use the tool register function to move the
new workpiece image to the same position in the image field as the original
workpiece image.

The tool register function shifts and/or rotates the entire camera image as
needed in order to move the new workpiece image to the same position that
the original workpiece image occupied within the image field, thereby
enabling you to adjust or reposition any of the existing inspection tools
and/or add new tools.

Then, when you return to setup or online operations, all of the inspection
tools will be properly registered to the new workpiece image.

Refer to Chapter 4, Inspection Configuration, on page 4–35 for a detailed
example of the tool register function.

Tool Register Function

Advertising