The text of a manual · part 12 of 47
Bulletin 2803 VIM Vision Input Module User Manual: 6 - Quick Start - Introduction to the User Interface, pages 103 to 110
Pages 103 to 110 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 103
Chapter
Using Main Menu Icons
Your Action Pick the Archive icon.
6
Quick Start - Introduction to the User Interface 6-9
The following is a brief demonstation of some of the Main menu icons. You can, at your option, pick each icon as it is discussed in order to illustrate the use of each. Comments Notice that the Archive icon has an angular cut in the lower right corner; this indicates that picking this icon will display a subsequent menu.
Main Menu
Archive Icon
Archive Menu
When you pick the Archive icon, the Archive Menu appears, replacing the Main menu in the icon strip. Use the Archive menu after you configure the VIM2 module to save the RAM (working) configuration to one of two EEPROM stored configurations. Or, you can load a previously stored EEPROM configuration as the working configuration (Chapter 13 discusses archiving in more detail). Pick the OK icon.
Picking “OK” on the Archive menu returns the Main menu:
OK Icon A
Pick the Standard I Learn icon several times.
Main Menu
Notice there is no angular cut in the lower right corner of this icon. When you pick this icon, it toggles between two icons:
K s
Standard Mode icon
-Learn
Select Standard mode.
Mode Icon
For now, pick the Standard/Learn icon so the Standard mode icon is displayed (Chapter 13 discusses the Learn and Standard modes in more detail).
Page 104
Chapter 6-70
The Setup Menu
6,
Quick Start - Introduction
The majority of the icons used for configuring the VIM2 module are accessed through the Setup menu (Note: Each icon on the Setup menu is a menu access icon, except for the OK icon; picking any Setup menu icon displays a subsequent menu). To see the Setup menu icons, access the Setup menu:
Your Action Pick the Setup icon.
to the User Interface
Comments When you pick the Setup icon, the Setup menu appears:
Main Menu
Setup Icon y
+
Setup Menu
Here are brief descriptions of the Setup menu icons: Environment-Pick this icon to select operating environment parameters such as standalone or hosted operation, master host device (serial port vs. PLC), baud rate (for serial port), trigger source (host or swingarm), and setup trigger source. Image -Pick this icon to set such parameters as brightness compensation, threshold images, and strobe or non-strobe light usage.
El
Line Gage - Pick this icon to set up line gages an&or float gages for use by the VIM2 module in the inspection process. Select orientation, adjust length and position, select function, and select threshold image for each.
II •l
Window - Pick this icon to set up inspection windows for use by the VIM2 module in the inspection process. Select shape, adjust size and position, and select function.
El
Math Tool -Pick this icon to set up math tools for use in the inspection process. Select from eight math tool operations, and reference inspection windows, gages and/or other math tools for use in the math tool formula. Registration - Pick this icon to automatically shift all inspections tools according to a new nominal part position, and/or automatically shift all threshold image settings according to a new nominal brightness level.
Page 105
Chapter
Using Setup Menu /cons
6
Quick Start - Introduction to the User Interface 6-17
Picking any of the Setup menu icons accesses a subsequent menu represented by that icon. You then use the icons on the subsequent menu as necessary in order to select or adjust the operating parameters controlled by that menu. To illustrate the use of the Setup icons and subsequent menus, perform example procedure below. Example Procedure: Threshold Image Demonstration This section steps through a procedure for setting up two of the threshold images. Recall from Chapter 3 that the VIM2 module produces four threshold (“binarized”) images for use with line gages and windows. Also note that this section assumes the VIM2 system is connected and powered up, and that the video camera is aimed and focused upon the target pattern as described earlier in this chapter. Comments
Your Action Pick the Image icon.
Picking the Image icon displays the Image menu:
Setup Menu
Image Icon x
Image Menu
Threshold icon ’
The Image menu consists of a number of icons used for adjusting the way the VIM2 module acquires images for processing. One of these is the threshold icon. Pick the Threshold icon on the Image menu to display the Threshold menu.
Picking the threshold icon (see diagram above) displays the threshold menu (shown below). The threshold menu consists of icons used for adjusting each of the threshold images. One of these is the image number icon:
Threshold Menu
’
Image Number Icon
Page 106
Chapter 6-12
6
Quick Start - Introduction to the User Interface
Using Setu,p Menu Icons (continued)
Comments
Your Action Pick the Image Number icon several times.
The Image Number icon determines which of the four available threshold images is selected and displayed on the monitor screen. When a specific threshold image is selected, you can change the threshold level for that threshold image.
Select image number 1.
Pick the Image Number icon again until the number “1” is shown on the Image Number icon. With “1” selected, threshold image 1 is shown on the monitor.
Threshold Menu
Observe the threshold level number.
Pick the Threshold Up icon several times to increase the threshold level.
Note the number displayed on the right side of the menu. This is the threshold level setting for threshold image 1. Recall from Chapter 3 that this threshold number has to do with the “binarization” of the video image. Pixels in the video image have brightness values ranging from 0 to 255. Within binarized, or thresholded, images, any pixel with a gray level above the threshold level number changes to 1 (white), while any pixel with a gray level lower than the threshold changes to 0 (black). The result is a picture with only two shades - white or black. Picking the Threshold Up icon increases the threshold level number, one unit at a time.
Threshold Menu
Threshold Up Icon fl
Hold the light pen against the icon to increase the threshold level rapidly.
Holding the light pen against the icon so the tip is held down for a second or two - causes the threshold number to increase rapidly, until you lift up the light pen, or the upper threshold limit (255) is reached. Notice that as the threshold number increases, the screen darkens - more and more pixels have values lower than the threshold number.
Page 107
Chapter
6
Quick Start - Introduction to the User Interface 6-13
Using Setup Menu /cons (continued)
Your Action Pick the Threshold Down icon. several times to decrease the threshold level.
Comments Picking the Threshold Down icon decreases the threshold level number, one unit at a time.
Threshold Menu
Threshold Down Icon y
Decrease the threshold level rapidly to 0.
Hold the light pen against the threshold down icon so the tip is held down for a second or two - the threshold number begins decreasing rapidly. Keep the light pen pressed against the icon until the lower limit (0) is reached. Notice that as the threshold number decreases, the screen has more white area - more and more pixels have values higher than the threshold number, until finally, at level 0, all pixels are white, and the screen is blank.
Set the threshold level of image number 1 so only the dark round spot is shown on the monitor.
Hold the light pen tip against the threshold up icon, increasing the threshold number until the dark spot on the left of the target pattern begins to appear. Then, pick the threshold up or down icons as necessary until the dark spot appears solid, and no other dark spots or “noise” (random black or white pixels) appear in the image (see Figure 6.5). Figure 6.5 Threshold lmaae 1 Shown on the Monitor
Page 108
Chapter 6-74
Using Setu,p Menu /cons (continued)
6
Quick Start - Introduction
With threshold image 1 set as shown in Figure 6.5, now set threshold image 2.
Your Action Pick the image number icon to select image number 2.
to the User Interface
Comments Picking the image number icon again changes the number to “2.” With “2” selected, threshold image 2 is shown on the monitor.
Threshold Menu
Change the threshold number so that the threshold image matches Figure 6.6.
Using the threshold up or down icon as necessary, change the threshold number of threshold image 2 until the image on the monitor matches Figure 6.6. Hint: Start by setting the threshold number to about 30 units greater than the number set for image 1. Then adjust the number up or down until the image matches that shown in Figure 6.6. Figure 6.6 hreshold lmaae 2 Shown on the Monitor
Page 109
Chapter
Using Setup Menu /cons (continued)
6
Quick Start - introduction to the User Interface 6-75
Note that threshold image 1 (Figure 6.5) shows only the black spot. This is because the threshold is set so that only the very dark pixels in the spot have a gray level lower than the threshold number for threshold image 1. Thus threshold image 1 has effectively isolated this one feature from all the rest of the target pattern. Selecting threshold image 1 for a given gage would allow you to measure attributes of this single dark object. Also, note that threshold image 2 (Figure 6.6) shows a white square surrounded by the larger black rectangle. This is because the threshold is set so that both the dark spot, and the medium gray rectangle, have gray levels lower than the threshold number set for threshold image 2. The light gray square has a gray level greater than the threshold number. Thus threshold image 2 has effectively highlighted two features, the larger dark rectangle, and the smaller bright square inside the rectangle. Selecting threshold image 2 for a given gage would allow you to measure attributes of both the dark rectangle, and the bright square. With threshold images 1 and 2 set as described above, return to the Setup menu.
Your Action Pick the OK icon to return to the Setup menu.
Points to Remember When Using the Menus and /cons
Comments Picking the OK icon returns you to the previous menu (that is, the Setup menu). Note: The threshold image you last selected remains on screen while the VIM2 module is in setup mode.
l
Picking the OK icon returns you to the previous menu.
l
Picking the ETC icon displays additional part of the same menu branch.
l
Picking any icon with an anguEar cut on its lower right corner displays a subsequent menu for working with the function indicated by that icon.
icons which are
This chapter has introduced you to the basics of using the icon interface. The remaining chapters describe in detail the specific functions and operations of each of the icon menus in the VIM2 module user interface.
Page 110
Chapter 6-76
6
Quick Stat-t - introduction
(This page intentionally to the User Interface left blank)