Rockwell Automation 5370-CVIM2 Module User Manual

Page 235

Advertising
background image

Chapter 6

Reference Tools

6–76

Figure 6.65 Example: Entering X

c

Centroid Coordinate Formula in Keyboard

ЗЗЗЗЗ

ЗЗЗЗЗ

ЗЗЗЗЗ

ЗЗЗЗЗ

ЗЗЗЗЗ

ЗЗЗЗЗ

ЗЗЗЗЗ

ЗЗЗ

ЗЗЗ

ЗЗЗ

ЗЗЗ

NOTE: The formula is “

{Tool 1.Xcenter#}.

” The “

#

” sign must be

replaced with the contour number, which, in this example, is “

1

.” Thus, the

formula must be amended to “

{Tool 1.Xcenter1},

” and the formula will then

return the X–axis coordinate of the centroid for contour #1 in the window
tool (the dark object).

The formula entry process illustrated in Figure 6.65 can be repeated to set up
a Y

c

formula that will acquire the Y–axis coordinate data.

Advertising