The text of a manual · part 24 of 42
Bulletin 5370 CVIM Configurable Vision Input Module User Manual: 7 - Inspection Tools: Gages, pages 227 to 235
Pages 227 to 235 of 390, from Bulletin 5370 CVIM Configurable Vision Input Module User Manual
The original document is the PDF (26 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Allen-Bradley 5370-CVIM
Page 227
Chapter
7
Inspection Tools: Gages
7-37
-
Selecting Define Gage Popup Menu and Parameters (continued)
Using Define Edges Function:
Gray Scale Gaging Mode
(con timed)
Comments
Your Action Pick the left cursor again anti! drag it upward. Alternately pick and drag each cursor until stable X’s appears at the required edges.
Drag the cursor upward until you remove as many of the unwanted X’s as possible without losing the X’s at the required edges of your workpiece. Your objective is to produce stable X’s at the required edges, which are the edges that the gage must “see” in your application. Other X’s may persist along the gage -you may not be able to eliminate of all extraneous X’s. If you are using the linear gaging, wedge angle, or chord angle gaging operations, you can configure the system to recognize only the X’s at the two required edges. Using trial and observation, try various positions of the two cursors to produce the most stable X’s at the required edges.
Selecting Define Features Popup Menu and Parameters -
Select the Define Features popup menu, then select the parameters in that menu. Basically, these parameters enable you to specify which edges (or midpoints) are to be used for the gage measurements and the direction of the search for these edges. NOTE: This popup menu is active only for the linear gaging, wedge angle, and chord angle operations. Comments
Your Action Pick the Define Features menu box in the Gage popup menu.
When you pick the Define Features menu box, the Define Features popup menu appears above the Gage popup menu, as follows:
IOffset:
1.O
[Active
Feature:
I
A
I
Define Gage : :,: ,:: jj: :: ; .): ; :.fJefin* F&$&.tsgis ;
0.0 i .. ::. : -&f
Range/Reference
0.0
Learn:
Nominal = 0.000 Pixels
Gage 1:
Enabled
Previous
Next
Env.
Camera A t
Gage
Popup Menu
Ref. Line
Ref. Win
.6&:
Window
Mist
Exit
Page 228
Chapter
7
Inspection Tools: Gages
7-38
Selecting Define Features Popup Menu and Parameters (con timed)
Notice also the letters A and B somewhere on the gage. Initially, A will appear at the edge nearest the head of the gage, and B will appear at the edge nearest the tail of the gage. Or, if the gage sees no edges, A will be at the head and B will be at the tail of the gage. In all cases, A identifies the edge (or midpoint) location for “active feature” A, and B identifies the edge (or midpoint) location for “active feature” B. The gage performs its measurement operation from A to B. The next several pages contain the procedures for configuring an active feature, namely: l Selecting either A or B as the active feature to be configured at this time. You must configure A and B separately. l Selecting a search direction for the each active feature. You can select the same or different directions for A and B.
l Selecting a search mode for each active feature. The search mode determines which edges A and B will examine during the edge search operation. You can select the same or different modes for A and B. l Selecting the appropriate “offset” for each active feature the edge (or midpoint) location for A and B. -
Selecting Active Feature This function selects either A or B as the current active feature. Each must be configured separately. Your Action
Comments at the Active Feature menu box in the Define Features popup menu.
The Active Feature menu box indicates the active feature (A or B) that is currently selected for configuration.
Pick the Active Feature menu box, if appropriate.
When you pick the Active Feature box, the “active feature” will toggle to the other letter. Thus, A will change to B, or vice versa.
Look
Selecting Search Direction Select the direction in which active feature A (or B) will search for the specified edges. Your Action Look at the Dir menu box in the Define Features popup menu. Pick the Dir menu box, if appropriate.
Comments The Dir menu box shows the currently selected direction that active feature A (or B) will use to search for edges. The direction can be either Head to Tail or Tail to Head. When you pick the Dir menu box, the search direction toggles to the opposite direction. Thus, Head to Tail will change to Tail to Head, or vice versa.
-
Page 229
Chapter
Selecting Define Features Popup Menu and Parameters
7
Inspection Tools: Gages
7-39
Selecting Search Direction (continued)
(continued)
‘four Action
Comments NOTE: The best search direction is the one in which the active feature is the least likely to encounter a false edge, as follows: If thfse are to be the measurement edges. . .
. . . the search direction should be Head-to-Tail
Select the appropriate search direction for the current active feature.
Selecting 5. Mode Popup Menu Select the 5. Mode popup menu, then select one of four modes by which active feature A (or B) will search for edges: 1. Search for all edges along the length of the gage. 2. Search only for the edges of the largest white object along the gage. (This is not available with the gray scale gaging mode.) 3. Search onl?, for the edGes of the largest black object along thidyr.(Thls 1s not available with the gray scale gaging 4. Search onZy for the edges of the largest object along the gage Your Action Look at the S. Mode menu box in the Define Features popup menu.
Comments The S. Mode menu box shows the currently selected mode for searching for edges along the gage.
Page 230
Chapter
7 inspection Tools: Gages
7-40 -
Selecting Define Features Popup Menu and Parameters
Selecting 5. Mode Popup Menu (continued)
(continued)
Comments
Your Action Pick the 5. Mode menu box.
When you pick the S. Mode menu box, the Search Mode popup menu will appear on the right side of the screen, as follows: Offset:
1.O l
Define Features Popup Menu Search Mode Popup Menu
Define Gage
I
Learn:
Nominal = 0.000 Pixels t
Env.
Camera A
Ref. Line
Gage
Popup Menu
Ref. Win
~&q&
Window
Mist
Exit
Note that the All Edges box in the Search Mode popup menu has a shaded square (0). This indicates that All Edges is the currently selected edge search mode. These are the four edge-search modes in the Search Mode popup menu: 1. All Edges: This search mode causes the active feature to search for all edges, all midpoints between edges, and the starting end of the gage. 2. and 3. Max VV. Object: or Max B. Object: These search modes cause the active feature to search for one edge and the midpoint between edges of the largest white (or black) object along a gage. These modes are valid only with the binary gaging mode. 4. Max Object: This search mode causes the active feature to search for one edge and the midpoint of the largest object between two consecutive edges along the gage.
Page 231
Chapter
Selecting Define Features Popup Menu and Parameters (con timed)
7
Inspection Tools: Gages
Selecting
5. Mode
Popup
7-4 1
Menu (continued)
The examples in the following figures show the effects of different combinations of search mode, binary or gray scale mode, and search direction. In Example #l, the active feature searches the head (“fixed”), the point between the first and last edge (“center”), and all edges and midpoints between adjacent edges. Example #l Binary Mode: Search Direction: Head-to-Tail All Edges Search Mode:
*Midpoi int
;: I:,‘.‘;::: *Midpoint I.. . .: . : :
j ‘,. . ..” :
..
*The small white squares in this figure enable showing the midpoint locations of the black objects. They are not “holes” in the workpiece.
In Example #2, as in example #l, the active feature searches for the tail (“fixed”), the point between the first and last edge (“center”), and all edges and midpoints between adjacent edges. Example #2 Mode: Grav Scale Search Direction: TailIto-Head Search Mode: All Edges
I
I
-
I I
Page 232
7-42
Chapter
Selecting Define Features Popup Menu and Parameters (continued)
7
Inspection
Tools:
Gages
Selecting 5. Mode Popup
Menu (continued)
In Example #3, the active feature will search only for the edge at the head side of the largest black object and the midpoint between the two edges of that object.
Example #3 Mode: Binary Search Direction: Head-to-Tail Search Mode: Max. Black Object
... H j; In Example #4, the active feature will search only for the edge at the heud side of the largest white object and the midpoint between the two edges of that object. Example #4 Mode: Binary Search Direction: Head-to-Tail Search Mode: Max. White Object
Page 233
Chapter
7
Inspection Tools: Gages 7-43
Selecting Define Features Popup Menu and Parameters (con timed)
Selecting 5. Mode Popup Menu (continued) In Example #5, the active feature will search only for the edge at the tail side of the largest object (the largest white object in example #4) and the midpoint between the two edges of that object.
I I
Example #5 Gray Scale Mode: Search Direction: Taillto-Head Max. Object Search Mode:
I I
Pick the edge-search mode that is appropriate for your application.
Using Offset Function Use the Offset function to accurately identify and assign two specific edges (or midpoints) as the references for performing the linear or angular measurement. Your Action Look at the Offset menu box in the Define Features popup menu.
Comments The Offset menu box shows the current location of the “active feature” as a number whose value indicates how far the active feature is “offset” from its startingpoint at the head (or tail) of the gage. An offset name refers to a specific point on the gage (“Fixed”) or a specific position between the outside edges of the workpiece (“Center”).
-
“Fixed” refers to either the head or the tail of a gage, according to the designated search direction. For the Headto-Tail search direction, the fixed point is at the head; for Tail-to-Head, it is at the tail. “Center” refers to the center point between the first edge and the last edge on the gage. An offset number identifies either a specific edge or specific midpoint between adjacent edges. The number varies
Page 234
Chapter
7
Inspection Tools: Gages
7-44
Selecting Define Features Popup Menu and Parameters
Using Offset Function (continued)
-
(continued)
Comments
Your Action according to the designated search mode. Offset numbers for edges are designated 0.0, 1.0,2.0, and so on. Offset numbers for midpoints are designated 0.5,1.5,2.5, and so on. For the All Edges search mode, the first offset number is always 1.0, and the last is x.0, where (x) is the total number of edges on the gage. For the other search modes, the first number is always 0.0, an edge, and the second number is always 0.5, a midpoint. The example below shows Active Feature A located at offset 1.0, which is edge #l. Note that the highest offset number in the example is 6.0, which is the last edge.
I
Offset Numbers: Gray Scale Mode: Search Direction (A): Head-to-Tail All Edges Search Mode (A):
Pick the Offset menu box as needed to position the active feature.
When you pick the Offset menu box, the offset position advances according to the designated search direction. In the example above, it starts with Fixed and continues with Center, 1.0,1.5,2.0, and so on. The positions of letters A or B on the gage correspond to their currently selected offsets. Thus, in the preceding figure, A corresponds to offset 1.0, which is edge #l. When you pick Offset once more after A (or B) reaches the last edge or midpoint, A (or B) returns to the starting point, which varies according to the designated search mode and search direction. For the All Edges search mode, the starting point is either the head or the tail of the reference line, according to the designated search direction, and the offset resets to “Fixed.” For the other search modes, the starting point is the edge of the “object,” and the offset resets to 0.0.
-
Page 235
Chapter
Using Learn Function
7
Inspection Tools:
Gages
7-45
Pick the Learn menu box in the Gage popup menu to command the CVIM system to “learn” the current count or measurement for the currently selected gage. Comments
Your Action Pick the Learn menu box.
When you pick the Learn menu box, the gage “learns” the current count or measurement. The result appears in the Learn menu box. For counting pixels, objects, or edges, the result is a number such as 100,58,7, and so on. For linear and angular measurements, the result is a number such as 0.123,4.665, or 15.321.
Look at ithenew value in the Learn menu box.
The new result indicates the current count or measurement for this gage.
Select the Range/Reference parameters in that menu.
Selecting Range/Reference Popup Menu and Parameters Your Action - popup menu, then select the
Comments
Pick the Range/Reference menu box in the Gage popup menu.
When you pick the Range/Reference menu box, the Range/ Reference popup menu appears above the Gage popup menu, as follows:
1 Define Gage t
Gage
Popup Menu
Env.
Camera A
Ref. Line
Ref. Win
‘$k$‘i ..:
Window
Mist
Exit