Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeContact

The text of a manual · part 21 of 47

Bulletin 2803 VIM Vision Input Module User Manual: 10 - Using Windows, pages 177 to 186

Pages 177 to 186 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 177

Chapter

10

Using Windows

Objectives

The objective of this chapter is to show how to use the Windoul menu icons to set up a window as part of a VIM2 module configuration for an inspection application. This chapter begins with questions and answers about windows.

Some Questions and Answers about Windows

This section introduces the topic of wirzzdows by posing some questions about windows, and answering them.

Chapteir

What is a window? A window is a two-dimensional inspection tool which checks features in a selected area of a binarized (threshold) image. What does a window do? Unlike line gages, which can be set to operate in any of a number of ways, a window performs only one function - it counts the number of pixels (either black or white) in the area of the image over which a window is placed. How many windows are available for use? There are 4 windows (l-4), with 8 different window shape options available, including rectangular, triangular, circular, donut, and train-thru-the lens mask windows. How do you set up a window? Using the Window menu icons, you first select the window number (l-4), and enable the window. You then configure the selected window, which is shown on the monitor: you select window shape; select pixel color; place the window over the feature(s) of interest on the threshold image (Note: Each threshold image, l-4, is always assigned to the window of the respective number); and then set an acceptance range for the window inspection results - this range provides the basis for an accept or reject decision. How can you place a window? Using the Window menu icons you can: l Increase or decrease the window height; l Increase or decrease the window width; l Move the window up or down, and/or side to side, until positioned as required over the feature(s) of interest. When do you set up a window? Set up a window after you have: l Set up the workstage, and have a workpiece in the nominal or ideal position (see Chapter 41, so that the workpiece features to be inspected are shown clearly in the field of view (and on the monitor). l Set the threshold image(s) to enhance the particular feature(s) you are going to inspect (see Chapter 8).

Page 178

Chapter 7o-2

Accessing the Menu

Window

10

Using Windows

To begin to set up a window, first access the windour menu as described below.

Your Action Pick the Setup icon on the Main menu to access the Setup menu. Setup Menu

Comments If the Main menu is displayed, access the Setup menu by picking the Setup icon (the “open padlock”). If the Setup menu is already displayed (as shown below), skip this step.

\ x Window

Pick the Window icon.

/con

Picking the Window icon on the Setup menu displays the Window menu (Note: The Window menu has two parts; the first part is displayed when you pick the Window icon):

- Enable I Disable Icon

Pick the second (enable/disable) icon.

Picking the enable /disable icon enables the window, and allows you to pick other icons on the Window menu.

m-n Pick the ETC icon.

Second part of the Window menu

When you pick this icon, the diagonal slash disappears.

Picking the EZ’C icon displays the second part of the Window menu:

I

ETC Icon

Page 179

Using Windows

Chapter 10

The IWindow /cons

•l 1

Eil IUI

70-3

Here are brief descriptions of each of the Window icons, beginning with the first part of the Window menu:

Window Select-Pick this icon to select the window from a choice of numbers l-4. Numbers l-4 are displayed in sequence as you repeatedly pick the icon, or hold the light pen tip down against the icon. The selected window is displayed on the monitor. Window Enable -Pick this icon to enable or disable the selected window. This icon, when picked, toggles between enabled or disabled (disabled is indicated by diagonal slash across the icon). You must enable a selected window in order to use the remaining Window icons to configure a window. Also, a window must be enabled in order to be part of your inspection configuration. Window Shape- Pick this icon to select window shape; there are 8 different shapes available. This icon, when picked, toggles through the 8 shape choices - rectangular, triangular (4 different triangle orientations), circular, donut, and “train-through-the-lens mask.” Anchor / Float - Pick this icon to enable or disable position shift compensation. This icon, when picked, toggles between enabled (indicated by wavy lines) or disabled (indicated by anchor).

ETC and OK -The other two icons displayed on the menu are the familiar ETC icon and OK icon. Recall that picking the OK icon returns you to the previous menu (the Setup menu in this case). Picking the EZ’C icon displays additional Window menu icons (see next page).

Page 180

Chapter IO-4

The Window /cons (continued)

IO

Using Windows

If you pick the ETC icon on the first part of the Window menu, the second part of the Window menu appears:

El

Window Move -Pick this icon to access the Window Moue menu for the selected window. Use the Window Moue menu to strategically position the window on the image shown on the monitor screen.

I00

Window Size - Pick this icon to access the Window Size menu for the selected window. Use the Window Size menu to increase or decrease the size of the window.

Ia# I la

Color -Pick this icon to select the color - either black or white - of the pixels to be counted by the window inspection. This icon, when picked, toggles between white (white box with black “#“) and black (indicated by the black box with white “#“).

PiI

Acceptance Range -Pick this icon to access the Acceptance Range menu for the selected window. Use the Acceptance Range menu to set the upper and lower limits for the inspection results, to read the current window result, and to read window statistics.

I

ETC - If you pick the ETC icon on the second part of the Window menu, the first part of the Window menu returns to the screen.

HI

LO

ETC

Exiting the Window Menu

Remember, to exit the Window menu, you must return to the first part of the Window menu, which includes the OK icon. Then, pick the OK icon to exit the Window menu and return to the Setup menu.

Page 181

Chapter

Configuring

,I0

Using Windows I o-5

This section explores the features and options you will encounter when configuring a window, and leads you through procedures for setting up a window for inspection. Note: For example purposes, these procedures refer to the target pattern included with this manual. See the “Quick Start” section of Chapter 6 to set up the VIM2 module, peripheral equipment, and target pattern.

Windows

Your first step is to access the Window menu.

Access the Window Menu Your Action

Comments

Pick the Setup icon on the Main menu to access the Setup menu

If the Main menu is displayed, pick the Setup (the “open padlock”) icon to access the Setup menu (if the Setup menu is already displayed, skip this step):

Window

Pick the Window icon to access the Window menu.

Icon

/I

When you pick the Window icon, the Window menu appears:

When you select the Window menu, a window is displayed on the monitor. The first time you use the Window menu, the window is displayed in the default position in the center of the screen, with rectangle shape (see illustration below). The threshold image is number “1” (the threshold image number is always the same as the window number). Wi!ndow displayed on threshold image 1 (example image).

Page 182

Chapter

Using Windows

7O-6

10

Select and Enable Window

Select a window to configure using the Window SeZect icon.

Window

Select Icon

Window Enable Icon

When you pick the Window SeZect icon, the number increments through all the windows - 1,2,3,4,1,2, selected window is displayed on the monitor.

etc. The

Note: In selecting a window, be aware that you are also selecting the threshold image you will use. This is because each window is linked to the threshold image of the same number; that is, window 1 is always placed on threshold image 1, window 2 uses threshold image 2, etc. You cannot otherwise select a threshold image for a window. Window Enable -In order to configure a window, you must enable the window. Pick the Window Enable icon so the diagonal slash is removed, indicating the window is enabled.

Note: A window must be enabled in order to be part of your inspection operation. You can disable a window after you have configured it-when disabled, a window does not function as part of the configuration (Note: A window cannot be disabled if it is included in a math tool configuration -see Chapter 12). Your Action Pick the Wind.ow Select icon to change the window number.

Comments Picking the Window Select icon (the first icon on the left) changes the window number. To cycle through the windows rapidly, hold the light pen tip down against the icon.

Note: As you cycle through the windows l-4, notice you are cycling through the threshold images l-4 at the same time.

Example:

Select and Enable Window 2

Pick the Window Select icon so that “2” is displayed.

With “2” selected, window number 2 is displayed over threshold image number 2.

Pick the Window Enable icon to enable the window.

When the diagonal slash disappears, this indicates the window is enabled.

Page 183

Using Windows

Chapter 70

Select Window Shape

10-7

Each window can be assigned a specific shape; you select the window shape by picking the Window shape icon.

Window

Shape Icon

Windows are rectangular when first selected. As you pick the Window Shape icon, the icon cycles through eight shape selections, and the shape of the displayed window changes to match the icon, except for the train-thru-the-lens mask (Note: The train-thru-the-lens musk window is a special case of window shape,, which allows you to design the shape of the window. This is discussed later in this chapter). Select the window shape according to the application requirements. Your Action Pick the Window Shape icon.

Rectangular

Comment5 Picking the Window Shape icon repeatedly the eight window shapes.

Triangular

Circular

Train-thruthe-lens

Donut

Example - Select Rectangular

Select rectangular.

toggles through

Shape

Pick the Window Shape icon so the rectangular window is displayed on the screen.

Rectangular window displayed on threshold image 2.

2

Page 184

Chapter 10-8

Select Window Shape (con timed)

Select Anchor or Float Status

IO

Using Windows

Note: The VIM2 module stores the window shape selections as different windows in terms of window placement. For example, if you select rectangular, then change the position of the window, then select circular, the window shape changes to circular, and the window returns to its home (default) position in the center of the screen.

Anchor or Float status refers to VIM2 module’s X/Y shift compensation capability. Use the Anchor/Float icon to enable or disable the shift compensation feature.

’

Anchor / Float Icon

X/Y shift compensation - the VIM2 module can be configured to adjust for shifts of the workpiece in the image from inspection to inspection, using the “X” and “Y” float windows (the VIM2 module’s X/Y shift compensation is discussed in detail in Chapter 11). When configuring a window, select Float to enable the window to use the shift compensation capability. With Anchor selected, shift compensation is disabled. Your Action Pick the Anchor/Float icon.

Commen t5 Picking the Anchor I Float icon toggles the window status between anchor (indicated by the anchor in the icon) and float (indicated by the three wavy lines).* As you toggle the icon, the appearance of the window does not change.

Note: In order to select the float status for a window, either or both of the “X” and “Y” float windows must first be enabled (if the Anchor/Float icon does not toggle, this is because both the “X” and “Y” float windows are disabled). Select Anchor Status

Example - Select Anchor Pick the Anchor / Float icon so that the Anchor is displayed.

Page 185

Chapter

Additional

INindow /cons

Your Action Pick the ETC icon to access the second set of Window menu icons.

IO

Using Windows IO-9

At this point, go on to the secorzzdpart of the Window menu to continue. To do this, use the ETC icon. Comment5 When you pick the ETC icon, the second part of the Window menu is displayed (Note: Pick ETC on the second menu to redisplay the first).

Pick ETC to switch menus I

Pick ETC to switch menus

Movimg the window

In order to use a window for inspection, you must place that window over the feature of interest you want to inspect. Generally speaking, you should place a window so that the window covers the feature to be measured with some overlap. To place a window, you probably will need to both move the window (using the Window Moue menu), and adjust the window size (using the Window Size menu). This section discusses using the Window Moue menu to place a window in position for an inspection. Using the Window Size menu is discussed in the next section.

’

Window moved and sized to cover entire white square on threshold image 2 (example image)

Page 186

Chapter 10-10

Using Windows

The first two icons on the second Windoul menu are the Window Moue icon (used to access the Window Move menu), and the Window Size icon (to access the Window Size menu).

Moving the Window (con timed)

Window

IO

Move Icon ’

”

Window

Size icon

First let’s look at the Window Moue menu. Comments

Your Action Pick the Windovv Move icon to access the Window Move menu.

Window

UP

Down

The Window Moue icon is the first icon on the second Window menu (indicated by the four directional arrows).

Move Menu

N

Left k

Right

K

Window

Size/con

The Window Moue menu includes four directional arrow icons. Notice the Window Moue menu also includes the Window Size icon for immediate access to the Window Size menu (the Window Size Menu has a Window Moue icon as well). The VIM2 window menus allow you to conveniently toggle back and forth between the Window Size and Window Moue menus while placing the window. To moue the window into the desired position, pick the appropriate arrow icon(s), in one of two ways: l

Pick the arrow icon to move the window one pixel in the direction indicated by the icon.

l

Pick and hold the light pen down against the arrow icon to cause continuous movement in the indicated direction l

If you pick an arrow icon and it flashes, this indicates that the window is at a boundary - such as the screen edge -and cannot be moved further in that direction.