The text of a manual · part 4 of 42
Bulletin 5370 CVIM Configurable Vision Input Module User Manual: 3 - CVIM User Interface
Pages 35 to 46 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 35
Chapter
3
CVlM User Interface
Objective
The objective of this chapter is to acquaint you with the CVIM user interface -the means by which you set up the CVIM system to perform your vision application, operate the system, and monitor its operation.
CVIM User Interface
The term “CVIM user interface” refers to the specific devices that enable you to interact with the CVIM system.
Chapter
The user interface consists of just two main parts: 1. A light pen. 2. Graphic figures on the video monitor screen. You will use the user interface to configure the CVIM system for its inspection tasks and, during system operation, monitor the results of those inspections. Figure 3.1 shows the light pen pointed at a graphic figure on the monitor screen. Figure 3.1 CVIM Interface:
Light Pen and Graphic Figures
ALLEN-BRADLEY Configurable Vision Input Module Bulletin 5370-CVIM Series A Revision A firmware Rev. CO1 Packages: None Language: English Copyright
1990 Allen-Bradley
Phase
I Diagnostics
Phase
II Diagnostics
System Initialization
Company
Completed
Status
= OK
Completed
Status
= OK
Status
= OK
Completed
Notice that the user interface has no keyboard. To interact with the CVIM system, you just point the light pen at a graphic figure on the monitor screen and press the light pen tip against the figure.
Page 36
Chapter 3-2 fight Pen
3 CVlM User Interface If you compare the CVIM user interface to a keyboarddriven system, the light pen is the equivalent of the cursorcontrol keys - it points to figures on the monitor screen so that you can select some kind of operation or function. When you point the light pen at a graphic figure (a popup menu or a symbol) on the monitor screen, the light pen “sees” that figure through a hole in its tip. When you then press the light pen tip against the figure, the CVIM system selects or “picks” the figure. Your next step would depend on which graphic figure you selected. The light pen’s main functions are selecting menu boxes andmanipulating symbols. Performing these functions involves several specific actions, as follows: l Pointing and highlighting.
l Picking. l Dragging. l Placing.
Pointing and Highlighting
“Pointing” means aiming the light pen at a specific graphic figure (menu box or symbol) in order to “highlight” that figure. A sensor in the light pen sees light through a hole in the light pen tip. When you point the light pen directly at a graphic figure, the CVIM system will respond by “highlighting” the figure, indicating that the sensor sees it. You will know the fTgure is highlighted when some part of it changes to a brighter color; however, when pointing at a small figure, you may need to move the light pen around a bit before the figure will be highlighted. Your next step is “picking”
Picking the highlighted figure.
“Picking” means pressing the light pen tip against a highlighted graphic figure in order to select the function that the figure represents. Pressing the tip against the screen activates a switch. Signals from the light sensor and switch cause the CVIM system to “pick” the highlighted figure.
-
Page 37
Chapter
Picking (continued)
3 W/M User interface
3-3
The results of picking vary. Picking a menu box usually causes additional menus or tables to appear above or alongside the menu box. Picking a symbol usually enables “dragging” (moving) the symbol or changing its size. For symbols, your next step is “dragging”
Dragging the picked symbol.
“Dragging” means moving a picked symbol to a different location on the screen, and/or changing the symbol’s size. (Dragging has no meaning for popup menus, since they are in fixed positions.) You drag a symbol by first picking the symbol, then backing the light pen tip about a half inch from the screen -the sensor must still “see” the symbol. When you move the light pen across the screen, the symbol will follow. Your next step is “placing”
Placing the dragged symbol.
“Placing” means locking a symbol at its destination on the screen after dragging it there. When you have dragged the symbol to its correct position, you simply press the light pen tip against the screen to lock the symbol at that position.
Manipulating
Summary: Symbols
Point the light pen at a symbol until the symbol “highlights” (brightens or changes color), then press the light pen tip against the highlighted symbol to “pick” the symbol. Next, “drag” the entire symbol across the screen or change its size or shape, whichever is appropriate for that symbol. Finally, press the light pen tip against the screen to “place” (lock) the symbol in position.
Page 38
Chapter
3
CVlM User Interface
3-4
The CVIM system generates the graphic figures and superimposes them over the camera image on the monitor screen. Graphic figures are of three main types: Menus, tables, and symbols.
Graphic Figures
-
Menus consist of two or more rectangular boxes, arranged horizontally and vertically, with words and/or numbers inside. These words and numbers identify a particular configuration parameter, function, or operating mode. Menus always appear in specific positions in relation to other menus -they cannot be moved.
Tables contain mostly numeric values. Some are used for selecting parameters, and others display data resulting from inspections. Symbols consist mainly of the various geometric shapes that represent the analysis tools and the devices that enable you to position the tools and set some of the tool parameters. During system configuration, you can set the size, shape, and position of these tools in relation to the screen image of the item to be inspected.
Menus consist of boxes that appear both singly and in groups that are joined horizontally or vertically.
Menus
In Figure 3.2, the Run Mode menu (A) appears at the bottom of the monitor screen after the CVIM system completes its powerup cycle, and also during the system run mode. The Main Configuration menu (B), appears at the bottom of the screen during system configuration. Figure 3.2 Run Mode and Main Configuration
Menus
0 A
Setup
Resume
Display T.S. 1
Camera A
Ref. Line
Reset Stat’s
Paw t
Page h
0B Env.
Ref. Win
Gage
Window
Mist
Exit
-
Page 39
Chapter
3
CVIM User Interface 3-5
,-
Menu boxes that are joined vertically (except the two in the Runtime menu) are called tCp~p~p”menus because they “pop” up when you select one of the menu boxes in the Main Configuration menu (and also in many of the popup menus themselves).
Men us (con timed)
Figure 3.3 shows an example of two popup menus above the Main Configuration menu. Figure 3.3 Two Popup Menus
Focus Camera Camera Type/Mode
Light Probe Object Calibration Grid Calibration E”“.
.y.j j j : ..j: .:.. C$@er+&:. Ref. Line
Ref. Win
Gage
Window
Mist
Exit
All menu boxes contain words, abbreviations, and/or numbers that identify their function. In the example above, these functions include: l A Main
Configuration (Camera A)
menu configuration category
*Aconfigurationsubject(Lighting/Resolution,CaIibration). l A configuration function (Focus Camera, Light Reference).
lAconfigurationparameter(Res.:
256Hx256V).
Notice that some menu boxes contain three dots (ooo). When you pick one of these boxes, one or more additioltal menus, or tables, will appear. At that same time, a carriage return symbol (+J) will replace the three dots, and the menu box’s background color will change to black. This indicates that if you pick the menu box again, it will return to its previous state, and the additional menu or table will disappear. LOCKED MENU BOXES: Y ou will occasionally see one or more menu boxes containing black type. The black type means that these menu boxes are disabled or “locked,” and you cannot pick them until some condition is met. The conditions vary considerably, but often involve enabling a tool or changing a tool parameter. In most cases the reason for the locked menu box will be evident from the immediate circumstances.
Page 40
Chapter
3-6
Menus
(continued)
3 W/M User Interface To select a configuration subject or parameter, or to perform a function, you must select or “pick” the proper menu box with the light pen. And you “pick” a menu box as follows.
-
Point the light pen at the menu box until the box perimeter “highlights” by turning red. Then, push the light pen tip against the highlighted box to “pick” the box. This starts the function or selects the configuration subject, whichever applies. In Figure 3.3, you would first have picked the Camera A menu box, causing the first popup menu to appear. You would then have picked the Lighting/Resolution menu box, causing the second popup menu to appear. Sometimes several “picks” are needed to reach a particular parameter-setting menu and change a parameter. In the Figure 3.3 example you would need to make three more picks to reach the Resolution menu (not shown) and change the camera resolution from 256Hx256V to, say, 512Hx256V.
Tables
Tables are of two main types: Those that are used to select configuration parameters, and those that display inspection results and statistics. In Figure 3.4, table A is a configuration table. It is used during configuration to enter range limit values and assign output lines for the inspection tools.
Figure 3.4 Configuration and Statistics Tables A
B
Note that in table A the menu boxes contain three dots (ooo). When you pick one of these boxes, either another table or a “calculator pad” will appear. These enable you to select new values. At that same time, in the menu box a carriage return symbol (~1) will replace the three dots, and the box’s background color will change to black.
-
Page 41
Chapter
3
CVIM User Interface
3-7
Table B in Figure 3.4 and Figure 3.5 are statistics tables. These tables display statistical values derived from the inspection “results” data for all enabled tools during a series of inspection cycles.
Tables (continued)
Figure 3.5 lnmection
PROBE
Samples
1.
123
GAGE
Samples
Statistics Table
Std. Dev.
Mean
Mean
61.000
59.187
55.000
50.000
Max.Reading
MinReading
Max.Reading
Min.Reading
Std. Dev.
1.
123
37.287
1.348
36.413
39.293
2.
123
145.395
5.386
141.165
148.223
3. 4. 5.
123 123
0.768 6.000
0.0460 0.000
0.748 6.000
0.781 6.000
6. WINDOW
Samples
Mean
Std. Dev.
Max.Reading
MinReading
1.
123
3245.245
32.399
123
181.662
3.542
3221.476 179.198
3278.243
2. 3. 4.
123
11.000
0.000
11.000
11.000
183.421
Figure 3.6 is an inspection results table. This table displays the inspection “results” data for all enabled tools following each inspection cycle. Figure 3.6 Inspection Results Table
TRIGGERS
FA U LTS
Accepted: Missed: Total: PROBE I. GAGE 1. 2. 3. 4. WINDOW I. 2. 3.
123456 123 123579
Faults 0
Master Fault: Light Probe:
FailLow 50.000
Faults
FailLow
0 12
130.000 25.000
Faults FailLow 0
Reference Lines / Windows
3000.000
Warn
I. 2. 3.
123 34
Low
Reading
55.000
59.187
Warn
1. 2.
0
0
3.
Warn
Hi
FailHi
61.000
63.000
Low
Read ing
Warn
Hi
FailHi
140.000 28.000
150.187 32.354
160.000
170.000
34.000
37.000
Warn
Low
Reading
Warn
Hi
FailHi
3100.000
3214.485
3300.000
3400.000
Page 42
Chapter
3 W/M User Interface
3-8
Symbols
Symbols consist of lines, rectangles, and other geometric shapes that represent the analysis tools and the devices used to manipulate these tools and set some tool parameters. Figure 3.7 shows the symbol for a linear gage, along with its manipulation “handles” and the “highlight square.” Figure 3.7 Symbols for Linear Gage and Handles !
.;.j
.. .
:: ,:
j.
: .; :.:j.
: ,:i Area of ‘i
:
.. : Head of Gage
” Linea
The dotted circle on the left is the “head” of the linear gage. The three small squares are the gage manipulation “handles.” The white box around the gage is the “area of interest,” which is the part of the image that the CVIM system evaluates during an inspection. The “highlight square” appears as shown when you aim the light pen at a handle. This indicates that the you can pick the handle and manipulate the gage. To manipulate any tool, you must first pick the menu box(es) that cause the tool and its handles to appear on the screen. Then you highlight and pick one of the handles. When you do this, the handles and area of interest disappear, and a square “spotlight” appears where the highlighted handle was, as shown in Figure 3.8. Figure 3.8 Linear Gage Ready for Manipulation : :.
.
:.
:. . .
.
. ..
.
:
:
:
:
j
. . . ;,
.:::.
:..
‘...
:: .. .
:i :. : i
:.
:.
j::.
:. : .: ” .j ;
:
:
:
:
:.
:
:
-
Page 43
Chapter
3
CVlM User Interface 3-9
SpbOlS
(continued)
Figure 3.9 shows how the linear gage in Figure 3.8 might look if you dragged the right end of the gage to a new position. In this case, the right end of the gage moves, but the left end remains anchored. Figure 3.9 Light Pen Manipulation
Configuration
Shortcut of Gage Symbol
So far, you have seen how to access menus and manipulate symbols. But what about exiting a menu after you have completed parameter selection and/or symbol manipulation? A key time-saving feature of the CVIM user interface is that it enables you to jump directly from wherever you are in a menu to any part of the same menu, or to another menu, or even to another configuration category in the Main Configuration menu. You do not need to “back out” of any menu the way you entered it. This shortcut can save you considerable time getting around the screen. Try this shortcut example: Set up the menu with the two popup menus as shown in the following figure. To do this, pick the Camera (A or B) menu box. You should get the first popup menu. Then, pick the Lighting/Resolution menu box in the first popup menu. You should get the second popup menu. Now, pick the Res.: 256Hx256V menu box in the second popup menu (the numbers might actually be 5 12 Hx256V or 5 12Hx5 12V at this time - it doesn’t matter). A third popup menu should appear just above, and to the right of, the second popup menu. This is the Resolution popup menu. Your screen should now look like A in Figure 3.10.
Page 44
Chapter
3
CVIM User Interface
3-10
Configuration
Shortcut (continued)
Figure 3.10 Configuration
Shortcut
-
Second Popup Menu
Resolution Popup Menu
4 ...
Light Reference
IFocus Camera 0.0
Camera Type/Mode
1Object Calibration l .e
Grid Calibration En”,
:?--rT?-
$@?$?&$:i
A cl
B 7
From this..
Ref. Line
Ref. Win
Gage
Window
Mist
Exit
.
1 . . .to this
Here’s the shortcut: Pick the Env. menu box in the Main Configuration menu. The three popup menus in A will disappear, and your screen will now display the new popup menu as shown in B. (All changes you may have made in A are saved.) The point to remember is this: No matter where you are in a menu (whether you are finished with it or not), you can take a shortcut to the Main Configuration menu and pick a different configuration category.
Page 45
Chapter
3
CVIM User interface 3-71
-
Help Messages
By picking the help message symbol in the upper right corner of the monitor screen, you can have immediate access to a situation-related help message. No matter where you are in the configuration process, anytime you press this symbol. . .
. . . a help message will appear in the box just to the left of the help message symbol, as follows:
HELP MESSAGE
HERE /3 a
The contents of each message will vary according to the last menu box you picked. If you pick a different menu box, the message relating to that box will appear. Each help message provides a brief statement about the purpose of the related menu box. In some instances, X and Y coordinates, threshold levels, and other values will also appear within the message box.
Menu Removal Function
Since the popup menus share the monitor screen with the camera image, and necessarily overlie the camera image, at times these menus may obscure all or part of the image where you want to position your analysis tools. The menu removal function enables you to make the menus “transparent,” thus enabling you to see through them, or to remove them altogether from the monitor screen. By repeatedly picking the menu removal symbol in the upper right corner of the monitor screen, you can make the menus “transparent,” remove them from the screen altogether, and restore them to their original appearance. No matter where you are in the configuration process, anytime you pick this symbol. . .
OFI .:1.: :: 0li!zam
Page 46
Chapter
3
CVlM
User Interface
3-12
Menu Removal Function (continued)
. . .the menus become “transparent,” changes to this:
and the symbol
-
When you pick the symbol again, the menus disappear from the screen, and the symbol changes to this:
To restore the menus to their normal appearance, pick the symbol one more time. The popup menus and the menu removal symbol will return to their normal appearance.
-