Rockwell Automation 5370-CVIM2 Module User Manual
Page 395

5
Chapter
Chapter 7
Inspection Tools
7–157
Figure 7.128 Example: Reporting the X Coordinate of a Single Edge
ЗЗ
ЗЗ
ЗЗ
ЗЗ
ЗЗ
When the workpiece is rotated 90
°, and the Y direction selected, the position
operation returns the absolute vertical (Y) position, in pixels, of a specified
feature. In this case, the origin (0 coordinate) is the top boundary of the
profile image.
Distance
This operation configures a profile tool to measure the distance between two
features on an object. The measurement is performed along either the X–axis
or the Y–axis of the image, according to the selection in the
Direction
field.
The distance operation is similar to the linear measure operation for a gage
tool, in the sense that they both return the distance, in pixels, between two
selected features or “edges” of objects. The main difference is that a gage
tool identifies objects on the basis of a binary or gray scale threshold setting,
while a profile tool identifies objects on the basis of where the profile image
intersects the threshold setting.
When the X direction is selected, the distance operation measures the
distance, in pixels, between two specified features along the X axis.