The text of a manual · part 25 of 47
Bulletin 2803 VIM Vision Input Module User Manual: 11 - Using the X / Y Float Gages, pages 213 to 220
Pages 213 to 220 of 404, from Bulletin 2803 VIM 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 2803-VIM2
Page 213
Chapter
Flea t Gage X - Horizontal Shift Compensation
71
Using the X I Y Flea t Gages 17-9
Set up float gage X using the same general procedure you might use to set up any other line gage - first, access the Lilze Gage menu. Listed below is an example procedure which lists the basic steps for setting up the float gage (Note: The steps listed below assume the VIM2 module is set up as described in the “Quick Start” section of Chapter 6): Comments
Your Action Select and enable float gage X.
Pick the Gage Function and Gage Enable icons to select and enable float gage X.
I!ine Gage Menu
Gage Orientation
Noa t Gage X selected ’ icon
Ignore the Gage Orientation icon.
The float gage orientation cannot be changed. Float gage X is always set to horizontal; float gage Y is always vertical. With a float gage selected, when you pick the Gage Orientation icon, it flashes, but does not change.
Pick the Sequence icon to assign float gage sequence.
When either the X or Y float gage are selected, the fourth icon on the first part of the Line Gage menu is the Sequence icon. When picked, this icon toggles between two selections “XlN2” and “YUX2.” For example purposes, pick “XlN2.”
Y [:cwf/
Sequence icon ‘When picked, this icon toggles between these two settings
The Sequence icon is used to assign float gage sequence when both X and Y float gages are used. Float gage sequence is discussed further under “Assigning Float Gage Sequence” later in this chapter.
Page 214
Chapter 7 l-10
II
Using the Xl Y Float Gages
Flea t Gage X - Horizontal Shift Compensation (continued)
Comment5
Your Action Pick the Threshold Image icon to select threshold image 2.
As with any line gage, you select which of the four threshold images you will inspect with the selected gage. With threshold image 2 selected, float gage X is displayed on the screen over threshold image 2:
Float gage X displayed on threshold image 2 (example image)
Pick th.e ETC icon to access the second set of Line Gage menu icons.
When you pick the ETC icon, the second part of the Line Gage menu is displayed (Note: Pick ETC on the second menu to redisplay the first).
Pick ETCtoswitch Second set of icons menus r
Page 215
Using the Xl Y Float Gages
Chapter II
11-11 flea t Gage I( - Horizontal Shift Compensation (continued)
Comments
Your Action Choose a straight, vertical edge to locate (on the selected threshold image), in order to gage the workpiece position.
When using the horizontal float gage X, look for a straight, vertical edge to locate. For example, in threshold image 2, there are several straight, vertical edges. In our example, we will locate the left edge of the black rectangle. Left and right edges of black rectangle
Float gage X displayed 01n threshold image 2 (example image)
Float gage X placed over left eclge of black rectangle
Left and right edges of white square
Using the Gage Move and Gage Size menus, place the float gage ov’er the left edge of the bkack rectangle.
To measure the left edge of the black rectangle, place the float gage so it crosses this edge, allowing the gage to overlap on each side of the edge, as shown above.
Pick the Gage Function icon and select the first icon.
In order to measure the position of the left edge, select the first icon; recall that the upper function measures the position of the “left edge of the largest blob.” f --I l-l4-b
Upper Function: Locate left edge of largest blob.
Note: You could also select other functions, such as the fourth icon, which locates the “left edge of the leftmost blob.” Pick the Color icon to select black.
la
I e
Select black.
Page 216
Using the X I Y Flea t Gages
Chapter 71
77-12
Float Gage x’ - Horizontal Shift Compensation (continued)
With the float gage in position, and with the Gage Function and Color selected, now set the acceptance range for the float gage.
Your Action Pick the Acceptance
Range icon.
Comments Picking the Acceptance Range icon displays the Acceptance Range menu.
Acceptance Range Icon Function
Select /con
Acceptance Range Menu
Pick the Function Select icon to select the upper function.
When you select the upper function, the current measured result for the upper function is displayed.
Set the upper and lower limits for the upper function.
Setting the limits may require several attempts at trial and observation before an optimum range is achieved. Or, you might perform a trial run in learn mode, and then display the float gage statistics in order to help establish acceptance range limits (see “Accessing Statistics” in this chapter). Remember to set both the upper and lower limits in consideration of these limitations: l
The acceptance range should not be so broad as to allow any line gage or window to be shifted off of the image (this constitutes an “acquisition error”).
l
Do not set the upper or lower limits of a float gage’s upper function to their respective extreme value - this would not allow the float gage ever to fail; the shift compensation would take place, but only as far as the float gage could detect.
Note: If the amount of shifting that actually occurs shifts any line gages or windows off the screen, you may have to reposition the line gages or windows, or rearrange the workstage, to better accomodate the position shift. Pick the Functio’n Select icon to select the lower function.
When you select the lower function, the current measured result for the lower function is displayed.
Set the upper and lower limits for the lower function.
Set the upper and lower limits to extreme values so that the float gage cannot fail due to a lower function measurement.
Page 217
Chapter
Flea t Gage Y - Vertical Shift Compensation
11
Using the Xl Y Float Gages 7 1-13
Set up float gage Y using generally the same procedure described for setting up float gage X. The difference is, of course, you place the vertical float gage Y to locate the position of a horizontal edge, so that it measures the amount of shift of that edge per inspection.
Place vertical float gage Y across horizontal edge
Horizontal edge
Threshold image 2 (example image)
:
. ..“.’ ..; .,..,.::,,:. . . .. . . ,. .: :,::,jl ., ::(,:.:,::~
:
., ., .,
.:
:
..
:...
.:.:
,,,i :
..I
‘.:” : .
Note: Remember that the float gage acceptance range should not be so broad as to allow any line gage or window to be shifted off of the image (this constitutes an “acquisition error”). Or, if “mode 1” (same frame compensation) of brightness compensation is selected, do not allow any line gages or windows to shift into the top 48 rows of the image. Using the Learn Mode and other Run Mode Functions The VIM2 module features a variation of its run mode called the learn mode. In learn mode, the VIM2 module accumulates statistics for each enabled inspection tool, based on a number of trial inspections. Use of the learn mode can be helpful in determining the optimal acceptance range for the float gages and other vision tools. The VIM2 module also features a number of run mode arm options, which can be helpful in refining your configuration. See Chapter 13 for more information regarding use of the learn mode and other run mode options.
Accessing Statistics
When you run the VIM2 module in learn mode, you accumulate statistics for all enabled visions tools and probes. To observe the collected statistics for a particular float gage, first access the Acceptance Range menu for the float gage, as described on the next page.
Page 218
Using the Xl Y Float Gages
Chapter 11
7 1-74
Accessing 5 ta tistics (continued)
Your Action
Comments
Pick the Acceptance Range icon on the Line Gage menu.
Picking the Acceptance Range menu.
Acceptance Range /con
Range icon displays the Acceptance
Current measured result
Acceptance Range Menu
Pick the current measured result.
On the right side of the Acceptance Range menu are three numbers, separated by “-c = ” signs. The middle number is the current result of the float gage. When you pick this number, the statistics are displayed (see diagram below), and the float gage disappears.
Total of triggers processed
Total of failures for float gage function
Lowest result collected
Highest result collected
Average of all results collected
Pick the current measured result again to remoue the statistics display.
Picking the current measured result again removes the statistics display and redisplays the line gage. Note: The results of failed inspections are not included in the lowest, highest, and average values. These statistics are based on passing inspections only. Therefore, for preliminary trial runs, you may want to set the acceptance range to extreme limits initially, for the purpose of collecting statistics for all inspections.
Page 219
Using the XI Y Float Gages
Chapter 11
Assigning Flea t Gage Sequence
1 l-75
Whenever you configure a float gage, you must set the float gage sequence. You do this by picking the Sequence icon. When you use only one float gage, either X or Y, the setting of the Sequence icon does not matter. However, when you use both the X and Y float gages, the setting of the Sequence icon does matter. When picked, the Sequence icon toggles between two selections (XUYZ, or YllXZ), as shown below:
‘1
Float gage X is exercised first
Sequence Icon - is exercised first
The Sequence icon setting determines which float gage is exercised first. The amount of shift determined by the first float gage is applied to shift the position of the second float gage. The two Sequence selections are illustrated below: X1lY2 - In general, select Xl lY2 if you expect more horizontal shift than vertical, or if the width of the feature measured by float gage Y is more limited than the height of the feature measured by float gage X. With Xl lY2 selected: Float gage X results are read first by the VIM2 module, then the horizontal shift is applied to float gage Y. At this point, both X and Y results are used to reposition the line gages and/or windows: Horizontal shift applied to float gage Y (in this case, withlout the horizontal shift, float gage Y would fail).
Fiirst float gage X detects horizontal shift.
Page 220
Chapter 7 l-16
II
Using the X / Y Float Gages
Assigning Float Gage Sequence (con timed)
Y1/XZ - In general, select Yl /X2 if you expect more vertical shift than horizontal, or if the height of the feature measured by float gage X is more limited than the width of the feature measured by float gage Y. With Yl/X2 selected: Float gage Y results are read first by the VIM2 module, then vertical shift is applied to float gage X. At this point, both X and Y results are used to reposition the line gages and/or windows: First float gage Y detects vertical shift.
Then the vertical shift is applied to float gage X (in this case, without the vertical <shift, float gage X would fail).
Observing Shift Compensation in Action
Once you have set up your configuration using shift compensation, if you place the VIM2 module in run mode (see Chapter 13), you can observe shift compensation in action. For example, if you are using a particular window in your configuration (and enable shift compensation for that window), you can select the display mode which shows that window. Then if, for an inspection, the workpiece location shifts, the position of the window shifts accordingly; the shift in workpiece location and in window position will be observable on the monitor (Note: The shift compensation will be applied to the displayed window, whether or not the shift compensation has been enabled for the window).