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

The text of a manual · part 9 of 42

Bulletin 5370 CVIM Configurable Vision Input Module User Manual: 5 - Camera and Lighting Parameters, pages 87 to 96

Pages 87 to 96 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 87

Chapter

5

Camera and Lighting Parameters

5-21

-

Selecting Light Probe Popup Menu and Parameters

Assigning Range Limits and Output lines (continued)

(continued)

Comments

Your Action Pick the Range/Outputs menu box in the Range/Outputs popup menu.

Learn:

When you pick the Range/Outputs appear on the screen, as follows:

45.140

;. .;&j:

\ Light Probe Popup Menu

Focus Camera

Grid Calibration Env.

menu box, two tables will

0.0 Ref. Line

Ref. Win

Gage

Window

Mist

Exit

The Range/Output Setup table is the one you will use to set the range limits and assign the output lines. The numbers appearing in it now are the limits and lines set previously. Note that each box in the table has the three dots (-a), which indicates that you will need to pick each box, one at a time, in order to set its value.

-

The Inspection Statistics table shows “results” data from a series of trial inspections performed while the CVIM system is running inspections in the “1earn”mode. These numbers can help you choose the best values for the range limits. Chapter 10, Runtime Operations has more information about this subject.

Page 88

Chapter

5-22

Camera and LightingParameters

5

Assigning Range Limits and Output Lines (continued)

Selecting Light Probe Popup Menu and Parameters

The next steps show you how to select values for the range limits

(con timed)

NOTE: The order in which these steps are presented may not be appropriate in all cases. If not, a message will appear that says: VALUE OUT OF RANGE. For example, this message will appear if you try to change the upper warning range limit to a value below the lower warning range limit. Comments

Your Action

This is the warning range upper (“High”) limit. When you pick this box, the calculator pad appears on the screen:

Pick the upper box under WARNING RANGE.

Nominal

45.140

Sartiples Maximum

1020 47.125 hlinimuti

43.640

I i. lb@?@?

45.909

:

0.076 j:i ;Std;D& t

4~-

I

1

1Status:

0.0

Pick & Place Learn:

I Range/Output Setup Table

0.0

Next Field

45.140

;Ra”gef@&&$ :

\

:;;

,; :. +l

Inspection Statistics Table

Light Probe Popup Menu

Focus Camera

I

Env.

Pick each digit of the upper warning limit value. Pick the Enter key.

!Qffl$r$A ..

”

Ref. Line

Ref. Win

Gage

Window

Mist

Exit

As you pick each digit, it will appear in the calculator “display.” Thus, for a value of 50, pick “5,” then pick “0.” When you pick the Enter key, the new value will appear in the upper box under WARNING RANGE.

Pick the middle box under WARNING RANGE.

This is the warning range lower (“Low”)

limit.

Pick each digit of the lower warning limit value.

As you pick each digit, it will appear in the calculator “display.”

-

Page 89

Chapter

5

Camera and lighting

Parameters 5-23

Selecting Light Probe Popup Menu and Parameters

Assigning Range Limits and Output Lines (continued)

(continued)

Your Action Pick the Enter key. Pick the upper box under FAULT RANGE. Pick each digit of the upper fault limit value. Pick the Enter key.

Comments When you pick the Enter key, the new value will appear in the middle box under WARNING RANGE. This is the fault range upper (“High”)

limit.

As you pick each digit, it will appear in the calculator “display.” When you pick the Enter key, the new value will appear in the upper box under FAULT RANGE.

Pick the -middle box under FAULT RANGE.

This is the fault range lower (“Low”)

limit.

Pick each digit of the lower iFaultlimit value.

As you pick each digit, it will appear in the calculator “display.”

Pick the Enter key.

When you pick the Enter key, the new value will appear in the middle box under FAULT RANGE.

Pick the lower box under WARNING RANGE.

When you pick this box, a variation of the Output Assignment popup menu appears on the screen, as follows:

.:.j ; .Hiqi.l :ji: &; ::,:. ::: : @Jtpu;t: : :.

Focus Camera Camera Type/Mode 1Lighting/Resolution

Out ut Line Se Pection --b Popup Menu l eo

.a.

1

+

Env.

Ref. Line

Ref. Win

Gage

5 Z/Results

0

6 Z/Results q

7 Not Used

0

8 Not Used q

9 Not Used

0

10 Not Used q 11 Not Used q 12 Not Used

Camera Popup Menu

I0 13 Not Used ----I Iq 14 Not Used j. : ::Qcr?e~a&: :

q

Wi

I

Page 90

Chapter

5

Camera and Lighting Parameters

5-24

Selecting Light Pro be Popup Menu and Parameters

Assigning Range limits and Output lines (continued)

(continued)

Your Action

Comments This is the Output Line Selection popup menu. It shows the output line functions that you assigned to the Output Assignment popup menu in Chapter 4, Operating Environment. NOTE: This menu shows that only the output lines that you designated in Chapter 4 as “l/Results” are available to this light probe (the one for Camera A). These appear in light type, and all others appear in black type (meaning that you cannot pick them). Note also that the No Output box in the Output Line Selection popup menu has a shaded square (0). This indicates that no output line is currently assigned to carry WARNING RANGE signals for this (Camera A) light probe. If you prepared an Output Line Planning Sheet in Appendix A, refer to it for the output line assignments for this (Camera A) light probe.

Pick the output line number for the WARNING RANGE.

From the Output Line Selection popup menu, pick one of the available output lines boxes labeled “l/Results”. When you pick the appropriate box, the shaded square will shift to it. In addition, the output line number appears in the lower box under WARNING RANGE.

Pick the lower box under FAULT RANGE Pick the output line number for the FAULT RANGE.

From the Output Line Selection popup menu, pick one of the available output lines boxes labeled ” l/Resu Its”. When you pick the appropriate box, the shaded square will shift to it. In addition, the output line number appears in the lower box under FAULT RANGE.

Page 91

Chapter

5

Camera and Lighting Parameters 5-25

-

Using Object Calibration andlGrid Calibration

NOTE: Object and grid calibration applies only to gages configured for linear or angular gaging measurements, Ideally, a ratio of 1 to 1 should exist for a measurement of the same physical distance along the X and Y axis of the screen image. But, because of image resolution, pixel shape, and optical and other distortions, the actual ratio may not be 1 to 1. Thus, an uncalibrated gage will return different values for the same physical distance along the X and Y axes, and for angles in between. The reason is that the gage “measures” the number of pixels along its length, and a gage of a specific length will encounter a different number of pixels on the X and Y axes. Object and grid calibration can compensate for these distortions and, at the same time, convert the calibrated measurements into inches or centimeters. The main difference between object and grid calibration is this: Object calibration uses four reference points - two on each axis - as the basis for its calibration calculation. It is most accurate when the inspected parts appear in the same part of the screen image where the calibration is performed. Grid calibration uses multiple reference points as the basis for its calibration calculation. It is more accurate than object calibration, and can compensate for distortions in al2 areas of the screen image. In performing object and grid calibration, the CVIM system measures a calibration object or calibration grid of known dimensions, then calculates a calibration factor on the basis of these measurements. The CVIM system will then apply the calibration factor to all subsequent linear and angular gaging measurements. The basic steps in object and grid calibration are these:

l Object calibration: Position the calibration object in the part of the screen image where your application will be performing the gage measurements. l Grid calibration: Position the calibration grid to fill as much of the screen image as your application needs to perform the gage measurements, then align the grid with the X and Y axes of the screen image. l Position the X and Y axes of the calibration “window” so that they lie properly over the calibration object or grid. l Define the edges where the window’s X and Y axes intersect the calibration object or grid. l Calibrate grid.

l Enter the CVIM system to the calibration the actual X and Y “edge-to-edge” object or dimensions.

The following steps show you the details of performing object and grid calibration functions.

the

Page 92

Chapter

5

Camera and Lighting Parameters

5-26

Select the Object Calibration popup menu, then select and configure the parameters and functions in that menu.

Selecting Object Calibration Functions and Parameters

-

Comments

Your Action Pick the Object Calibration menu box in the Camera popup menu.

When you pick the Object Calibration menu box, the Object Calibration popup menu appears above the Camera A (or B) popup menu, as follows: 0.0

Pick & Place

...

Define Edges

.

Object Calibration Popup Menu

.

Camera Popup Menu

Calibrate World me

Units

Focus Camera

ICamera Type/Mode

0.0

Lighting/Resolution

0.0

Light Probe

0.0

:Qbje& c&&3&“: :

:: t;;l me*

Grid Calibration Env.

‘.~+I&~+$

Ref. Line

Ref. Win

Gage

Window

Mist

Exit

In addition to the Object Calibration popup menu, the calibration window, with X and Y axes centered in it, will appear on the screen, as follows:

Calibration -Window

2

X and Y Axes

-

Page 93

Chapter

5

Camera and Lighting Parameters 5-27

-

Selecting Object Cali bration Functions and Parameters (continued)

Your Action

Comments The calibration window and its axes are the screen symbols for the Object Calibration function. You will use them to measure a “calibration object” of known vertical and horizontal dimensions.

Using the Focus Camera function, correctly position the calibration object in the screen image.

Before you continue, pick the Focus Camera menu box to generate a “live image” on the monitor screen. Position the calibration object in the center of the screen so that it is aligned with the screen’s X and Y axes.

Using Pick & Place Function Select the Pick & Place function, then move the calibration window over the calibration object and set the window to the appropriate size. Your Action Pick the Pick & Place menu box in the Calibration popup menu.

Comments When you pick the Pick & Place menu box, five small squares, or “handles” will appear on the X and Y axes, as follows:

Handles

The light pen uses these handles to manipulate calibration window on the screen image. A im the lightpen at the center handle.

the

Move the light pen around slightly as you aim it at the center handle. At some position of the pen you will see a larger “highlight” square surrounding the handle:

Hold the pen steady in this position -the appearance of the “highlight” square means that the light pen is now properly aimed.

Page 94

Chapter

5

Camera and Lighting Parameters

5-28 -

Selecting 0bjec:t Calibration Functions and Parameters (contin ued)

Using Pick & Place Function (continued)

Comments

Your Action Press the ligh.t pen against the center handle.

Press the pen firmly against the center handle, then release it. A small “X” will appear in the center of the window, and the handles will disappear, as follows:

Calibration -Window X

Calibration Object __+

This indicates that you can now move, or “drag,” the window toward the calibration object on the monitor screen.

Page 95

Chapter

5

Camera and lighting

Parameters 5-29

Selecting Object Calibration Functions: and Parameters

Using Pick & Place Function

(continued)

(continued)

Your Action

Comments

Drag the calibration window over the calibration object. ,._.......

. . . . . . ...__...._.._._...__..

Calibration Window “(Original position) X Calibration Window (New position) 1

When you have dragged the window into position, press the light pen tip against the screen to “lock” the window at that position. Aim the Zightpen at the rightmost handle.

Page 96

Chapter

5

Camera and Lighting Parameter5

S-30

Selecting Functions

Object Cali bration and Parameters

Using Pick & Place Function

(continued)

(continued)

Your Action

Comments

Pick the handle. Drag the right side until it is just outside the object.

Note that the left side remains anchored.

Ria ht Side (OrigiGal position)

Riaht Side (Nei p bsition)

1 alibration Object

_

“Lock” the window’s right side in position. Aim the light pen at the bottom handle. --

Continue when the highlight square appears.

Pick the handle.

-