Rockwell-automation 5370-CVIM2 Module User Manual Page 1

Browse online or download User Manual for Equipment Rockwell-automation 5370-CVIM2 Module. Rockwell Automation 5370-CVIM2 Module User Manual

  • Download
  • Add to my manuals
  • Print
  • Page
    / 564
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 0
Reference
Manual
Bulletin 5370
CVIM
t
Module
(Cat. No 5370–CVIM2)
Allen-Bradley
Page view 0
1 2 3 4 5 6 ... 563 564

Summary of Contents

Page 1 - Reference

ReferenceManualBulletin 5370CVIMtModule(Cat. No 5370–CVIM2)Allen-Bradley

Page 2 - Information

CVIM2 ModuleReference ManualTable of ContentsviiiChapter 7 (continued)Max FG Object 7–167. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Page 3 - Chapter 3

Chapter 4Inspection Configuration4–14Minimum TimeThe Minimum Time field enables you to specify a fixed minimum timeinterval (in milliseconds) between

Page 4 - Parameters

5ChapterChapter 4Inspection Configuration4–15For example, when the sample size is set to 100 for a particular window tool,the CVIM2 system compiles a

Page 5 - Pick And Place Functions

Chapter 4Inspection Configuration4–16Selecting Display ParametersThe Display setup panel is accessible from the Configuration Editor panel,as shown in

Page 6

5ChapterChapter 4Inspection Configuration4–17• Pause Time –– This parameter sets the amount of time that the onlinecamera image pauses after a reject

Page 7

Chapter 4Inspection Configuration4–18• Result –– Use the button to select the results display setup panelfor the currently selected toolset.• Done –

Page 8

5ChapterChapter 4Inspection Configuration4–19A scale of “To Fit” displays the entire camera image completely withinthe image display panel, regardless

Page 9

Chapter 4Inspection Configuration4–20Here is a brief description of each field in the Results display setup panel:• Title –– This field enables the us

Page 10 - Morphology

5ChapterChapter 4Inspection Configuration4–21Figure 4.14 Example: File Select Panel3. Pick the button. When you do, the setup mode image/tool disp

Page 11 - Discrete I/O Assignments

Chapter 4Inspection Configuration4–22Figure 4.15 Offline Image/Tool Display PanelArrow selectsthe toolset tobe set upResultsdisplay panel(in icon for

Page 12 - Appendix B

5ChapterChapter 4Inspection Configuration4–23Figure 4.16 Display Menu ExampleThe Display menu determines the appearance of the setup modeimage/tool d

Page 13 - CVIM2 System Components

CVIM2 ModuleReference ManualTable of ContentsixChapter 8 (continued)Dynamic Threshold Function 8–11. . . . . . . . . . . . . . . . . . . . . . . . . .

Page 14 - Components

Chapter 4Inspection Configuration4–24Figure 4.17 Example: Camera Image in Setup Mode Image/Tool Display Panel6. If an external trigger source is use

Page 15 - DC Voltage selection switch

5ChapterChapter 4Inspection Configuration4–258. Pick the or button. When you do, the Tool Types menuappears, as shown in Figure 4.19.Figure 4.19

Page 16

Chapter 4Inspection Configuration4–2610. To access the tool for configuration purposes, pick the field with the tooltype in it (in this example, pick

Page 17

5ChapterChapter 4Inspection Configuration4–27This section provides some details about various functions and features in thetoolset edit panel that are

Page 18

Chapter 4Inspection Configuration4–28• Ref. –– Use this field to select a reference tool for the purpose ofproviding shift and/or rotation compensatio

Page 19

5ChapterChapter 4Inspection Configuration4–29• Paste↑ –– Use the button to “paste” a copied inspection tool fromthe “clipboard” and insert it before

Page 20 - Powering Up CVIM2 System

Chapter 4Inspection Configuration4–30Here is a brief description of the data fields that appear above the checkboxes in the toolset edit panel:• Tools

Page 21 - Main menu

5ChapterChapter 4Inspection Configuration4–31Options Selection PanelWhen you pick the button, the Options selection panel (for theselected tool) appe

Page 22 - For Mouse Operation

Chapter 4Inspection Configuration4–32the Monitor Only function to prevent a toolset from failing while stillreceiving graphical Pass/Fail feedback fro

Page 23

5ChapterChapter 4Inspection Configuration4–33— Pass Group# –– This refers to the “pass” status of one or more groupsof tools in the toolset. The start

Page 24 - After System Powerup

CVIM2 ModuleReference ManualTable of ContentsxChapter 10 (continued)Online Image/Tool Display Panel 10–14. . . . . . . . . . . . . . . . . . . . . .

Page 25 - Basic Phases

Chapter 4Inspection Configuration4–34Alternate Toolset Save OptionIf, after you add tools to a toolset, the proposed storage device (such as“EE:”) is

Page 26 - Major Configuration Functions

5ChapterChapter 4Inspection Configuration4–35Pick the button to access the keyboard, as shown in Figure 4.25, andenter the new device name and tool

Page 27 - Chapter 2

Chapter 4Inspection Configuration4–36Figure 4.26 Example: Original Positions of Tools and Workpiece ImageFigure 4.27 Example: Shifted and Rotated

Page 28

5ChapterChapter 4Inspection Configuration4–37When you exit the setup display mode (or online operation) and return to thereference line edit panel, th

Page 29

Chapter 4Inspection Configuration4–38Figure 4.29 Example With Tool Register Function ONFigure 4.30 Example: Altering Window Over Shifted and Rotate

Page 30

5ChapterChapter 4Inspection Configuration4–39When you return again to setup display or online operations, the newlyaltered window will appear correctl

Page 31 - Selecting Online Operation

Chapter 4Inspection Configuration4–40The Image Manager panel enables you to archive full images or parts ofimages (called subimages). Full images are

Page 32 - Screen Pointer Functions

5ChapterChapter 4Inspection Configuration4–41Note that the panel contains several selection fields, data entry fields, and“buttons.” Here is a brief d

Page 33

Chapter 4Inspection Configuration4–42Configuring SubimageThe Image Manager provides a “pick and place” function to set the positionand size of the sub

Page 34

5ChapterChapter 4Inspection Configuration4–43To store an image in a different device, enter the device name, a colon, and afile name, such as . . .EE:

Page 35

1Chapter1–1Hardware Connection and Powerup CheckThis chapter shows you how to connect the CVIM2 system components andperform a powerup check.The proce

Page 36

Chapter 4Inspection Configuration4–44Pick the button to exit the Image Manager panel back to theappropriate tool edit panel or online display.NOTE:

Page 37 - Keyboard Functions

5Chapter5–1Pick and Place FunctionsThis chapter discusses the procedures for positioning the various CVIM2inspection tools within the image field and/

Page 38 - Calculator Keypad

Chapter 5Pick and Place Function5–2When you pick the button in the gage edit panel (during setupmode) or the gage adjust panel (during online operat

Page 39

5ChapterChapter 5Pick and Place Function5–3Figure 5.2 Example: Using Pick and Place to Alter a LineStep 1: Pick the line end at (ornear) point A an

Page 40 - Image Acquisition Parameters

Chapter 5Pick and Place Function5–4The Pick & Place panel for the arc gage contains the following data displayfields and buttons:• X Cen; Y Cen ––

Page 41 - Camera Setup Panel

5ChapterChapter 5Pick and Place Function5–5When you select the Fixed Center mode, the pick and place operations for anarc gage have the following func

Page 42

Chapter 5Pick and Place Function5–6Figure 5.5 Example: Using Pick and Place to Alter an Arc (Fixed Center Mode)•••D′. . . and expand thearc out to p

Page 43

5ChapterChapter 5Pick and Place Function5–7Figure 5.6 Example: Using Pick and Place to Alter an Arc (Fixed Ends Mode)••••DD′DD′Example 2: Pickthe a

Page 44 - Focus Function

Chapter 5Pick and Place Function5–8When you select a rectangular window shape and then pick the button in the window tool edit panel, the rectangular

Page 45 - Light Reference Adjustment

5ChapterChapter 5Pick and Place Function5–9As Figure 5.8 shows, pick and place points are located at the window center(A) and at the four corners (B,

Page 46

Chapter 1Hardware Connection and Powerup Check1–2Before you install the CVIM2 system at its factory–floor site, you may find ituseful to connect the b

Page 47

Chapter 5Pick and Place Function5–10Figure 5.9 Example: Using Pick and Place to Alter a Rectangular Window••DD′AStep 2: Pick the windowat the cente

Page 48

5ChapterChapter 5Pick and Place Function5–11When you select an elliptical window and then pick the button inthe window edit panel, the window color

Page 49

Chapter 5Pick and Place Function5–12Figure 5.11 shows the pick and place points that apply to an ellipticalwindow. (Note that the default elliptical w

Page 50 - Light Probe Setup

5ChapterChapter 5Pick and Place Function5–13Figure 5.12 Example: Using Pick and Place to Alter an Elliptical Window••••EE′Step 2: Pick the windowat

Page 51

Chapter 5Pick and Place Function5–14When you select an circular window and then pick the button inthe window edit panel, the window color changes fr

Page 52 - Figure 3.8 Light Probe Panel

5ChapterChapter 5Pick and Place Function5–15Figure 5.14 shows the pick and place points that apply to a circular window.Figure 5.14 Pick and Place Po

Page 53

Chapter 5Pick and Place Function5–16Figure 5.15 Example: Using Pick and Place to Alter a Circular Window•••BB′Step 2: Pick the window atcenter poin

Page 54

5ChapterChapter 5Pick and Place Function5–17When you select the arc ring shape for a window tool and then pick the button in the window edit panel, th

Page 55 - Calibration Setup

Chapter 5Pick and Place Function5–18When you pick the button in the window edit panel, the destinationwindow color changes from red to green, and th

Page 56

5ChapterChapter 5Pick and Place Function5–19The function of points (D) and (E) depends on which of the two pick andplace modes you select: fixed cent

Page 57

5ChapterChapter 1Hardware Connection and Powerup Check1–34. Install the CVIM2 module in the chassis. Tighten the thumbscrewsalternately until the modu

Page 58

Chapter 5Pick and Place Function5–20Figure 5.18 Example: Using Pick and Place to Alter an Arc (Fixed Center Mode)•••D′. . . and expand the outerarc

Page 59

5ChapterChapter 5Pick and Place Function5–21• Example 1: The arc ring midpoint is picked at point D, dragged upwardto point D′, and then placed at po

Page 60

Chapter 5Pick and Place Function5–22When you select a polygon window and then pick the button inthe window edit panel, the window color changes from

Page 61

5ChapterChapter 5Pick and Place Function5–23Figure 5.21 shows how a polygon window appear in the default state afteryou select the pick and place func

Page 62

Chapter 5Pick and Place Function5–24Figure 5.22 Example: Using the Move Vertex Pick and Place Points to Alter a PolygonWindowAA’DD′AStep 1: Pick th

Page 63

5ChapterChapter 5Pick and Place Function5–25For the Add Vertex mode, the pick and place points enable you to separatethe corresponding polygon sides i

Page 64

Chapter 5Pick and Place Function5–26Figure 5.24 Example: Using the Add Vertex Pick and Place Points to Alter a PolygonWindowAA′BBB′Step 1: Pick the

Page 65 - Acquisition System Settings

5ChapterChapter 5Pick and Place Function5–27The Delete Vertex pick and place points are located at each vertex on thewindow (1, 2, 3, and 4), as shown

Page 66

Chapter 5Pick and Place Function5–28Figure 5.26 Example: Using the Delete Vertex Pick and Place Points to Alter a PolygonWindow5544Step 1: When you

Page 67 - Vertical Reference Source

5ChapterChapter 5Pick and Place Function5–29A light probe (one is assigned to each camera) can be picked and placedanywhere within the top half of the

Page 68 - • Bank switch delay:

Chapter 1Hardware Connection and Powerup Check1–4Attach the color–coded leads on the DC cable to the external DC powersupply as follows:1. Connect the

Page 69

6Chapter6–1Reference ToolsThis chapter provides detailed information about the reference line tool, thereference window tool, the rotation finder tool

Page 70

Chapter 6Reference Tools6–2• Refline X′, Refline Y′ –– This button accesses the configuration panel foreither the X′– or the Y′–axis of the reference

Page 71

5ChapterChapter 6Reference Tools6–32. Configure each axis:a. Select mode –– select either the binary mode or the gray scalemode.b. “Pick and place” ––

Page 72 - Camera Type: Selection and

Chapter 6Reference Tools6–4The sections following Table 6.1 provide detailed descriptions of the sixreference line tool operations and how they apply

Page 73

5ChapterChapter 6Reference Tools6–5Y onlyThe Y only operation consists of a single reference line that lies along thevertical (Y) axis of the image fi

Page 74

Chapter 6Reference Tools6–6X then YThe X then Y reference line operation consists of two reference lines, onethat lies along the horizontal (X) axis o

Page 75

5ChapterChapter 6Reference Tools6–7Y then XThe Y then X reference line operation consists of two reference lines, onethat lies along the vertical (Y)

Page 76

Chapter 6Reference Tools6–8X’, X then YThe X’, X then Y reference line operation consists of three reference lines,two that lie along the horizontal (

Page 77

5ChapterChapter 6Reference Tools6–9Y’, Y then XThe Y’, Y then X reference line operation consists of three reference lines,two that lie along the vert

Page 78

Chapter 6Reference Tools6–10This section discusses the configuration steps that are accessed from theRefline buttons in the reference line tool edit p

Page 79 - Acq. Lines (1/2 Lines) = 64

5ChapterChapter 1Hardware Connection and Powerup Check1–5Connecting the I/O and Camera CablesRefer to the CVIM2 interconnect diagram (Figure 1.2) for

Page 80

5ChapterChapter 6Reference Tools6–11• Filter –– This field provides access to the selection of one of the tenlevels of “noise” filtering for the workp

Page 81

Chapter 6Reference Tools6–12Filter FunctionThe filter function is active only when the binary gaging mode is selected. Itis described in Chapter 8, Th

Page 82

5ChapterChapter 6Reference Tools6–13NOTE: Wide gages are less likely to detect image features that are narrowand perpendicular to the gage. Thus, a w

Page 83 - Trigger Setup Panel

Chapter 6Reference Tools6–14Feature SelectionWhen you pick the button on the axis configuration panel, theDefine Feature panel appears, as shown in

Page 84

5ChapterChapter 6Reference Tools6–15ModeThe mode selects a particular group of edges that a reference line evaluateswhen searching for the specified r

Page 85

Chapter 6Reference Tools6–16All edges –– The all edges feature mode enables you to specify a referencepoint on a reference line axis from the followin

Page 86

5ChapterChapter 6Reference Tools6–17Figure 6.15 Example: Maximum Objects (Binary and Gray Scale)AdjacentpixelsAdjacentpixelsMidpointLeadingedgeMaxim

Page 87

Chapter 6Reference Tools6–18Figure 6.16 uses both the binary gaging mode and the gray scale gagingmode to identify the potential maximum foreground ob

Page 88 - Configuration Process

5ChapterChapter 6Reference Tools6–19Max B. Object –– The maximum background object feature mode enablesyou to specify a reference point on a reference

Page 89

Chapter 6Reference Tools6–20Gray scale gaging mode –– The maximum background object is the one withgreatest number of consecutive pixels (between the

Page 90

Chapter 1Hardware Connection and Powerup Check1–6Connecting the User Interface Cable (2801–NC20A, B, C): VGAMonitorUse the following steps to connect

Page 91

5ChapterChapter 6Reference Tools6–21Figure 6.18 Example: Using Maximum Object to Track Part of WorkpieceMaximum background objectReference lineMidpo

Page 92 - Configuration Editor Panel

Chapter 6Reference Tools6–22OffsetThe “offset” function enables you to identify one point along each referenceline axis as the specified feature to pr

Page 93

5ChapterChapter 6Reference Tools6–23If one axis is used (X only or Y only), the “learned” X and Y coordinatesappearing in the Nominal field identify t

Page 94

Chapter 6Reference Tools6–24Figure 6.21 Example: “Learned” Coordinates With Three–Axis Reference Line0°AB

Page 95 - Procedure

5ChapterChapter 6Reference Tools6–25This section discusses the expanded inspection results that are available to amath tool formula from a reference l

Page 96

Chapter 6Reference Tools6–26— For three–axis operations (X′, X then Y and Y′, Y then X), it is the Xcoordinate of the intersection of lines drawn thro

Page 97

5ChapterChapter 6Reference Tools6–27Feature window –– This window defines a small portion of the image fieldthat contains a unique workpiece feature.

Page 98

Chapter 6Reference Tools6–28The reference window edit panel (named “Edit Toolset 1.Tool 2” inFigure 6.23) contains several fields and buttons, which a

Page 99

5ChapterChapter 6Reference Tools6–292. Save feature image:a. “Pick and place” –– position the feature window over theappropriate feature on the workpi

Page 100

Chapter 6Reference Tools6–30Active Feature SelectionFor the purposes of this discussion, the configuration process begins with theselection of the “ac

Page 101 - Inspection Configuration

5ChapterChapter 1Hardware Connection and Powerup Check1–75. Connect the coaxial cables to the appropriate R, G, B, and SYNCconnectors on the N22 modul

Page 102 - Selecting Display Parameters

5ChapterChapter 6Reference Tools6–31NOTE: Predictor and Point Xform are included in the Image Managerpanel mainly to enable image data interchange wi

Page 103

Chapter 6Reference Tools6–32To save a feature image, pick the button. When you do, the keyboardpanel appears with this instruction in the title bar:

Page 104

5ChapterChapter 6Reference Tools6–33NOTE: The EE: and/or MC: devices may be useful for saving subimageswhile testing reference window tools. However,

Page 105

Chapter 6Reference Tools6–34Single Pass vs Double PassYou can configure a reference window tool so that the feature window makeseither one or two “pas

Page 106 - Setting Up Inspection Tools

5ChapterChapter 6Reference Tools6–35The First Pass panel contains several selection fields, data entry fields, andbuttons, which are described briefly

Page 107

Chapter 6Reference Tools6–36In example (B), the feature image contains fewer sharply defined edges. Theedge pixels in this image will cause minimal ma

Page 108

5ChapterChapter 6Reference Tools6–37This panel contains a pair of threshold adjustment cursors and twomorphology buttons, and , which are used to cr

Page 109

Chapter 6Reference Tools6–38Stop When SelectionThe “Stop When” selection field enables you to select either “FirstFeature(s)” or “Best Feature(s)” as

Page 110

5ChapterChapter 6Reference Tools6–39Figure 6.33 Examples: Comparing First Feature Image With Best Feature ImageABCDFeature window(original position)

Page 111 - Figure 4.19 Tools Types Menu

Chapter 6Reference Tools6–40X Scale, Y Scale SelectionsThe X Scale and Y Scale “compression” ratio selections, shown inFigure 6.34, determine the rati

Page 112

Because of the variety of uses for the products described in thispublication, those responsible for the application and use of thiscontrol equipment m

Page 113 - Miscellaneous Functions

Chapter 1Hardware Connection and Powerup Check1–8At this point, with all basic system components connected, the CVIM2system is ready for the powerup c

Page 114

5ChapterChapter 6Reference Tools6–41Figure 6.35 Example: Pixel Averaging Using X and Y Scaling at 1:4 RatioC’45 38 41 2943 47 44 3244 47 46 3546 48

Page 115

Chapter 6Reference Tools6–42Figure 6.36 illustrates using high resolution on the X–axis and low resolution(1:8) on the Y–axis. The feature in this exa

Page 116

5ChapterChapter 6Reference Tools6–43Scale To SelectionsThe Nearest Neighbor and Neighborhood Average “scale to” selections,shown in Figure 6.37, have

Page 117

Chapter 6Reference Tools6–44In a typical system, small gray value variations or “dithering” may be presentfrom the following sources:• Thermal “noise”

Page 118

5ChapterChapter 6Reference Tools6–45Figure 6.38 provides three examples to illustrate the results of RMScalculations. In these examples, the feature i

Page 119

Chapter 6Reference Tools6–46In example (A), the difference between 55 and 47 is 8. Since this pixel erroris equal to the “Ignore” parameter, it is ign

Page 120

5ChapterChapter 6Reference Tools6–47Note that the Second Pass panel is a scaled down version of the First Passpanel. It has only the Masking and Stop

Page 121 - Toolset Register Function

Chapter 6Reference Tools6–48Nominal (“Learn”) FunctionAs noted on page 6–28, the Nominal field in the reference window tool editpanel, when picked, ca

Page 122

5ChapterChapter 6Reference Tools6–49When you pick the button to exit the Feature Locations panel, the“learned” data appear in the Nominal field and

Page 123

Chapter 6Reference Tools6–50This section discusses the expanded inspection results that are available to amath tool formula from a reference window to

Page 124

5ChapterChapter 1Hardware Connection and Powerup Check1–9Figure 1.3 Example: Monitor Screen After Normal PowerupMain menubarIf you have not yet inst

Page 125

5ChapterChapter 6Reference Tools6–51• Theta –– When a two–feature reference window tool is used, this returnsthe nominal or “learned” value of the rot

Page 126 - Image Manager Panel

Chapter 6Reference Tools6–52This section discusses the rotation finder tool and the rotation compensationthat it can provide to other tools.The rotati

Page 127

5ChapterChapter 6Reference Tools6–53Figure 6.43 Example: Selecting the Rotation Finder Tool Edit PanelRotation finder(default position)• *P&P So

Page 128 - Subimage window

Chapter 6Reference Tools6–54A rotation finder tool can be selected when the toolset edit panel is on thescreen. Starting from the main menu bar, the s

Page 129

5ChapterChapter 6Reference Tools6–55Figure 6.44 illustrates the initial image of the circular object, the index markon the circular object, and the re

Page 130

Chapter 6Reference Tools6–56The reference line tool is configured for “X then Y” operation, with the X–and Y–axes crossing through the center of the c

Page 131 - Pick and Place Functions

5ChapterChapter 6Reference Tools6–57Here are the criteria for positioning the inner and outer rings of the sourcewindow:• The source window should be

Page 132 - Linear Gages

Chapter 6Reference Tools6–58Figure 6.48 Example: Repositioned Destination Window With Unwrapped ImageSourcewindowDestinationwindowUnwrappedimageInde

Page 133 - Arc Gages

5ChapterChapter 6Reference Tools6–59The feature window should be positioned so that it covers the smallestpossible region that contains a feature with

Page 134

Chapter 6Reference Tools6–60After the pass configuration is complete, a “learn” operation must beperformed by picking the Nominal field in the tool ed

Page 135 - Pick and Place Function

Chapter 1Hardware Connection and Powerup Check1–10The CVIM2 system supports most serial mouse and trackball pointingdevices that are IBM PC compatibl

Page 136

5ChapterChapter 6Reference Tools6–61When the button is picked on the Feature Locations panel, theNominal field in the tool edit panel displays the X

Page 137

Chapter 6Reference Tools6–62This section discusses the expanded inspection results that are available to amath tool formula from a rotation finder too

Page 138 - Rectangular Windows

5ChapterChapter 6Reference Tools6–63• nX –– This returns the change from the nominal or “learned” Xcoordinate of the center of rotation.• nY –– This r

Page 139

Chapter 6Reference Tools6–64This section discusses the build reference tool and the shift and rotationcompensation that it can provide to other tools.

Page 140

5ChapterChapter 6Reference Tools6–65Figure 6.54 Example: Selecting the Build Reference Tool Edit PanelBuild referencetool name(default position)• Th

Page 141 - Elliptical Windows

Chapter 6Reference Tools6–66• Xc Formula –– The button is active only when the ThetaMode selection is Absolute or Delta. It accesses the formula ent

Page 142

5ChapterChapter 6Reference Tools6–67This section provides a few simple examples whose purpose is to:• Identify the basic steps in the process of confi

Page 143

Chapter 6Reference Tools6–68Figure 6.55 Example: Relation Between Window, Build Reference, and Gage Tools inToolset Edit PanelFigure 6.55 also indic

Page 144 - Circular Windows

5ChapterChapter 6Reference Tools6–69Figure 6.57 Initial Appearance of Build Reference Tool Edit PanelNote also that the button is active (unshaded)

Page 145

Chapter 6Reference Tools6–70Figure 6.58 Example: Entering X Mode Formula for Absolute and Delta MethodsABWhen you pick the key on the formula entr

Page 146

5ChapterChapter 1Hardware Connection and Powerup Check1–11Figure 1.4 Example: Setting System I/O Port B to Mouse FunctionPick the button to save t

Page 147 - Arc Ring Windows

5ChapterChapter 6Reference Tools6–71Figure 6.59 Example: “Learning” Nominal Values for Build Reference ToolABThe difference in the operation of the

Page 148

Chapter 6Reference Tools6–72Example: Theta OperationThis section provides a simple example that illustrates a theta operation usingthe “Absolute” met

Page 149

5ChapterChapter 6Reference Tools6–73The window tool, using the Black Contours operation, is further configuredto supply the X–axis and Y–axis coordina

Page 150

Chapter 6Reference Tools6–74Figure 6.63 Disabling X Mode, Enabling Theta ModeSet X Mode toDisabledSet Theta Modeto AbsoluteAfter the appropriate mode

Page 151

5ChapterChapter 6Reference Tools6–75Figure 6.64 Example: Entering Theta Formula in KeyboardNOTE: The formula is “{Tool 1.Theta#}.” The “#” sign mus

Page 152 - Polygon Windows

Chapter 6Reference Tools6–76Figure 6.65 Example: Entering Xc Centroid Coordinate Formula in KeyboardNOTE: The formula is “{Tool 1.Xcenter#}.” The “

Page 153

5ChapterChapter 6Reference Tools6–77When all three formulas are entered and saved, and the build reference tooledit panel reappears, when you then pic

Page 154

Chapter 6Reference Tools6–78This section discusses the expanded inspection results that are available to amath tool formula from a build reference too

Page 155

5ChapterChapter 6Reference Tools6–79• Theta –– This returns the current value of the theta result, in degrees,from the Theta Formula in the build refe

Page 156

7Chapter7–1Inspection ToolsThis chapter provides detailed information about all CVIM2 inspection tools(except reference tools), including all configur

Page 157

2Chapter2–1CVIM2 System Configuration: An OverviewThis chapter discusses the basic phases of system configuration and themajor configuration function

Page 158

Chapter 7Inspection Tools7–2Figure 7.1 Example: Selection Path for the Toolset Edit PanelMain menubar

Page 159 - Light Probes

5ChapterChapter 7Inspection Tools7–3Figure 7.2 Example: Adding an Inspection ToolThis section discusses line gage shapes, gaging modes, and the insp

Page 160 - Reference Tools

Chapter 7Inspection Tools7–4Figure 7.3 Example: Selecting the Gage Edit PanelGage (default position)• Filter –– This field provides access to the se

Page 161 - Tool Configuration

5ChapterChapter 7Inspection Tools7–5• Feature A, Feature B –– The buttons accesses the “feature,” oredge selection panels for the respective feature

Page 162 - Operations

Chapter 7Inspection Tools7–6Each of the gages can be configured to operate in either the binary gagingmode or the gray scale gaging mode, according to

Page 163

5ChapterChapter 7Inspection Tools7–7Table 7.1 lists all of the gage operations, along with the applicable gageshape and gaging mode.Table 7.1 Summary

Page 164

Chapter 7Inspection Tools7–8Figure 7.5 Examples: Counting Black Pixels and White Pixels Across a WorkpieceABForeground Objects; Background ObjectsTh

Page 165 - X then Y

5ChapterChapter 7Inspection Tools7–9In example (B) of Figure 7.6, the two foreground (white) objects correspondto the two white rectangles. These rect

Page 166 - Y then X

Chapter 7Inspection Tools7–10Figure 7.7 Examples: Counting Background Objects (Binary)ABGray Scale Gaging Mode: Foreground ObjectsForeground object

Page 167 - X’, X then Y

5ChapterChapter 7Inspection Tools7–11Figure 7.8 Examples: Counting Foreground Objects (Gray Scale)ABFigure 7.9 uses a graph to illustrate the relati

Page 168 - Y’, Y then X

Chapter 2CVIM2 System Configuration: An Overview2–2Figure 2.2 is a chart showing four basic phases that are involved inconfiguring the CVIM2 system f

Page 169 - Configuration

Chapter 7Inspection Tools7–12Gray Scale Gaging Mode: Background ObjectsBackground objects are those objects that lie completely between the first and

Page 170 - Chapter 6

5ChapterChapter 7Inspection Tools7–13Figure 7.11 Example: Identifying Background Objects (Gray Scale)LighterDarkerObject 4Object 1 Object 2Object 3E

Page 171 - Line Width Selection

Chapter 7Inspection Tools7–14Linear MeasureThis gage operation is available when you select either the binary gagingmode or the gray scale gaging mode

Page 172 - Threshold Setting Function

5ChapterChapter 7Inspection Tools7–15Figure 7.14 Example: Reporting the X Coordinate of a Single EdgeY PositionThis gage operation is available when

Page 173 - Feature Selection

Chapter 7Inspection Tools7–16NOTE: The following gage operations apply only to arc gages. Forinformation about the pick and place operations that are

Page 174

5ChapterChapter 7Inspection Tools7–17Figure 7.17 shows an arc gage using the wedge angle operation to measure a“wedge” angle formed by two edges (“fea

Page 175

Chapter 7Inspection Tools7–18Figure 7.18 Example: Measuring the Chord AngleX–axisChordFeature AFeature B0°The following six gage operations employ “

Page 176

5ChapterChapter 7Inspection Tools7–19Figure 7.19 Example: Selecting the Define Feature Selection PanelHere is a brief description of the feature sel

Page 177

Chapter 7Inspection Tools7–20ModeWhen you pick the Mode field in the Define Feature menu, the FeatureMode selection menu appears on the screen, as sho

Page 178

5ChapterChapter 7Inspection Tools7–21All EdgesThe all edges feature mode enables you to specify an edge from among thefollowing points along the lengt

Page 179

5ChapterChapter 2CVIM2 System Configuration: An Overview2–3The remainder of this chapter describes the major configuration functionswithin each basic

Page 180 - Maximum object on right:

Chapter 7Inspection Tools7–22Max F. ObjectThe maximum foreground object feature mode enables you to specify an edgefrom among the following points on

Page 181 - Nominal (“Learn”) Function

5ChapterChapter 7Inspection Tools7–23DirectionThe search direction is the direction used to search for an edge along thelength of the gage. The two av

Page 182

Chapter 7Inspection Tools7–24This section discusses the inspection results that are available to a math toolformula from a gage tool. The specific set

Page 183

5ChapterChapter 7Inspection Tools7–25• Fail –– This returns an “error code” when the tool is in a fail conditionand 0.000 for all other conditions. Th

Page 184 - Math Tool Formulas

Chapter 7Inspection Tools7–26• *Min –– This returns the current minimum value of the inspection resultssince the start of the run operation.• *Max ––

Page 185 - Reference Window Tool

5ChapterChapter 7Inspection Tools7–27This section discusses windows and the inspection functions (“operations”)that the windows can perform.Once you h

Page 186

Chapter 7Inspection Tools7–28• Two Pass –– This field is active only after a destination buffer is assignedto a window tool. When Two Pass is enabled,

Page 187 - Window Tool Configuration

5ChapterChapter 7Inspection Tools7–29A window can be selected when the toolset edit panel is on the screen.Starting from the main menu bar, the select

Page 188

Chapter 7Inspection Tools7–30• Ellipse –– The axes of an elliptical window are always aligned with thevertical and horizontal axes of the image field.

Page 189 - Feature Image Configuration

5ChapterChapter 7Inspection Tools7–31NOTE: The destination window is normally configured with the verticalaxis longer than the horizontal axis, since

Page 190 - Feature window

Chapter 2CVIM2 System Configuration: An Overview2–4Picking the Editors MenuThe next step, after defining at least one configuration, is taken from th

Page 191

Chapter 7Inspection Tools7–32When you pick the Operation field in the window tool edit panel, theWindow Operation selection panel appears, as shown in

Page 192 - Search Window Configuration

5ChapterChapter 7Inspection Tools7–33Figure 7.29 Example: Using the White Pixel Counting OperationNote in Figure 7.29 that the “Nominal” value shows

Page 193 - First Pass Configuration

Chapter 7Inspection Tools7–34White Contours; Black ContoursThese two operations identify black or white objects within the windowboundaries. The image

Page 194

5ChapterChapter 7Inspection Tools7–35Target PanelThe Target panel enables you to specify the measurement functions thatdetermine which contours the wi

Page 195

Chapter 7Inspection Tools7–36Contour Measurement FieldsThe contour measurement fields consist of three columns whose contents andfunctions are describ

Page 196

5ChapterChapter 7Inspection Tools7–37NOTE: You can change the status of each measurement function to eitheractive or inactive, according to whether i

Page 197

Chapter 7Inspection Tools7–38Note in Figure 7.33 that the Max and Min values are 100000 (using scientificnotation: 1e+05) and 0, respectively. These

Page 198

5ChapterChapter 7Inspection Tools7–39Figure 7.34 Examples: Selecting Basis for Numbered DisplaysABCIn example (A), the “)” symbol appears on the “Ar

Page 199

Chapter 7Inspection Tools7–40areas of objects 2 through 9 lie between these two values. Thus, the windowmeasures the largest ten objects.In example (C

Page 200

5ChapterChapter 7Inspection Tools7–41• Holes –– This field determines whether to Include or Exclude “holes” incontours (for example, white holes in bl

Page 201

5ChapterChapter 2CVIM2 System Configuration: An Overview2–5Figure 2.5 Example: Configuration Editor Panel With Six InspectionsWhen you finish the c

Page 202

Chapter 7Inspection Tools7–42The Nearest Neighbor selection panel (Figure 7.35, page 7–40) enables youactivate the nearest neighbor function and selec

Page 203

5ChapterChapter 7Inspection Tools7–43In Figure 7.37, however, the orientation of the two objects precludes anyoverlap of the objects’ bounding boxes i

Page 204

Chapter 7Inspection Tools7–44Figure 7.38 Example: Selecting Pick Target PanelWhen you pick one of the objects in the image field, the measurement re

Page 205 - Second Pass Configuration

5ChapterChapter 7Inspection Tools7–45Contour Measurement FunctionsThe contour measurement functions described earlier are mostly selfexplanatory. Thus

Page 206

Chapter 7Inspection Tools7–46Figure 7.40 Example: Comparing Roundness of Various ShapesAB

Page 207

5ChapterChapter 7Inspection Tools7–47Circularity –– Circularity is a measure of how close the basic shape of anobject is to being a perfect circle, an

Page 208

Chapter 7Inspection Tools7–48Inertia –– The sum, over all pixels within the contour, of the squareddistance from the centroid to each pixel. This is e

Page 209

5ChapterChapter 7Inspection Tools7–49Figure 7.43 Example: Theta of Two Objects of Different Orientation–37.8°40.2°AB

Page 210

Chapter 7Inspection Tools7–50Theta Minor –– Theta minor measures the angle between the minor axis ofan object and the X–axis of the image field (assum

Page 211 - Rotation Finder Tool

5ChapterChapter 7Inspection Tools7–51Note that the maximum measurable angle in each direction is 90.0°(clockwise) and –90.0° (counterclockwise), since

Page 212 - (default position)

Chapter 2CVIM2 System Configuration: An Overview2–6Selecting Image Acquisition ParametersYour next step, after configuring a toolset, is to pick the

Page 213 - Configuration: Example

Chapter 7Inspection Tools7–52LuminanceThe luminance window operation calculates the average luminance, or grayscale value, of all the pixels within th

Page 214 - Tools in Toolset Edit Panel

5ChapterChapter 7Inspection Tools7–53Some morphology functions can create artifacts along the border of thewindow. When two pass is used, the first pa

Page 215

Chapter 7Inspection Tools7–54Figure 7.47 Example: Using Two Pass to Remove Unwanted PixelsABC

Page 216

5ChapterChapter 7Inspection Tools7–55This section discusses the expanded inspection results that are available to amath tool formula from a window too

Page 217

Chapter 7Inspection Tools7–56• Fail –– This returns an “error code” when the tool is in a fail condition,and 0.000 for all other conditions. The error

Page 218

5ChapterChapter 7Inspection Tools7–57The object number that replaces the “#” sign must conform to these tworequirements:1. The object number must be a

Page 219

Chapter 7Inspection Tools7–58Figure 7.49 Example: Image Tool and Window in Toolset Edit PanelAn image tool can be configured for one of three princi

Page 220

5ChapterChapter 7Inspection Tools7–59In the CVIM2 system, some spatial filtering functions (such as Sobel) havetheir kernel coefficients arrayed in sp

Page 221

Chapter 7Inspection Tools7–60The image tool edit panel (named “Toolset 1.Tool 3 Edit” in Figure 7.50)contains several data fields and buttons. These

Page 222

5ChapterChapter 7Inspection Tools7–61• Thresh/Filter –– The button activates threshold and/or filterfunctions that are appropriate for the selected

Page 223 - Build Reference Tool

CVIM2 ModuleReference ManualTable of ContentsiChapter 1CVIM2 System Components 1–1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Co

Page 224 - “nominal” position

5ChapterChapter 2CVIM2 System Configuration: An Overview2–7• Toolset Trigger panel –– This scrolling list panel enables you to select aToolset Trigge

Page 225 - Overview: Build Reference

Chapter 7Inspection Tools7–62The Transform operation is the appropriate choice under the followingconditions:• The required image processing can be pe

Page 226 - Operation

5ChapterChapter 7Inspection Tools7–63Figure 7.52 illustrates the effect of the Sobel X kernel on a dark object on alight background.Figure 7.52 Examp

Page 227 - Toolset Edit Panel

Chapter 7Inspection Tools7–64Figure 7.53 illustrates the effects on the inspected object that Absolute andS.Threshold LUTs have when using the Sobel X

Page 228

5ChapterChapter 7Inspection Tools7–65Figure 7.54 Example: Effect of Sobel Y Kernel on Inspected ObjectImage toolInspectedobjectNote that the Sign LU

Page 229

Chapter 7Inspection Tools7–66Laplace KernelThe Laplace kernel performs nondirectional spatial filtering functions thatsharpen gradients lying along bo

Page 230

5ChapterChapter 7Inspection Tools7–67Note that the Sign LUT was selected for the example. Since the Laplacekernel creates a signed image, which contai

Page 231 - Example: Theta Operation

Chapter 7Inspection Tools7–68X Edge, Y Edge KernelsThe X Edge and Y Edge kernels perform directional spatial filteringfunctions that sharpen gradients

Page 232

5ChapterChapter 7Inspection Tools7–69In Figure 7.57, the X Edge kernel causes the gradient (edge) on the left sideof the inspected object to appear as

Page 233

Chapter 7Inspection Tools7–70Figure 7.58 Example: Effect of Y Edge Kernel on Inspected ObjectImage toolInspectedobjectThe effects on the inspected o

Page 234

5ChapterChapter 7Inspection Tools7–71Figure 7.59 illustrates the effect of the XY Edge kernel on a dark inspectedobject on a light background.Figure 7

Page 235

Chapter 2CVIM2 System Configuration: An Overview2–8Selecting Online OperationNormally, your last step is to pick Go On–Line in the Environment menu.T

Page 236

Chapter 7Inspection Tools7–72Average 3x3, Average 5x5 KernelsThe Average 3x3 and Average 5x5 kernels calculate the average value ofthe pixels in a nei

Page 237

5ChapterChapter 7Inspection Tools7–73Figure 7.61 Example: Effect of Average 3x3 Kernel on Inspected ObjectImagetoolInspectedobjectAverage 5x5 Kernel

Page 238 - Tool Register Function

Chapter 7Inspection Tools7–74Figure 7.62 Example: Effect of Average 5x5 Kernel on Inspected ObjectImagetoolInspectedobjectUser 3x3, User 5x5 Kernels

Page 239

5ChapterChapter 7Inspection Tools7–75Figure 7.63 Selecting Coefficient for User 3x3 KernelAs Figure 7.63 shows, when you pick any of the coefficient

Page 240 - Chapter 7

Chapter 7Inspection Tools7–76Contrast field depends on the placement of the user–selectable coefficientswithin the kernel.When active, the Contrast fi

Page 241 - Gage Tool

5ChapterChapter 7Inspection Tools7–77The availability of the contrast function, and the maximum contrast values,are both related to the specific kerne

Page 242 - Gage (default position)

Chapter 7Inspection Tools7–78Table 7.5 correlates the LUT with the signed/unsigned state of the inputimage from a convolution kernel, and indicates th

Page 243 - Gage Shape

5ChapterChapter 7Inspection Tools7–79This section provides detailed information about the six arithmetic operationslisted in the Image Operation selec

Page 244 - Gage Operations

Chapter 7Inspection Tools7–80Image Subtraction: S1 – S2, S1 – S1’, S1 – TIn an image subtraction operation, the image tool subtracts an AOI in thesec

Page 245 - White Pixels; Black Pixels

5ChapterChapter 7Inspection Tools7–81Figure 7.65 Example: Designating S2 Source for Image Tool Using S1 – S2In this example, Tool 2 is an image tool

Page 246

5ChapterChapter 2CVIM2 System Configuration: An Overview2–9The display panel shows the inspection tools over the inspected image. Themenu bar in the

Page 247

Chapter 7Inspection Tools7–82Either of the AOI’s can be resized and/or positioned first –– the order is notimportant.In general, the size and position

Page 248

5ChapterChapter 7Inspection Tools7–83the subtraction is assigned to one of the image buffers (P1, P2, or P3) in thedestination (“Dest”) column of the

Page 249

Chapter 7Inspection Tools7–84In an image addition operation, the image tool adds an AOI in the secondaryimage designated by S2 or S1’ (or a “template”

Page 250

5ChapterChapter 7Inspection Tools7–85Figure 7.66 provides an example of a toolset edit panel with two image tools,where the first image tool (Tool 1)

Page 251

Chapter 7Inspection Tools7–86Figure 7.68 Example: Occurrence of “Tool Outside” MessageAOI#1 forTool 2Image fromTool 1 (P1)When the “tool outside” me

Page 252 - X Position

5ChapterChapter 7Inspection Tools7–87Figure 7.70 Example: AOI Window “Modified to Fit” in ImageAOI#1 forTool 2Note that the AOI window may not have

Page 253 - Y Position

Chapter 7Inspection Tools7–88The pick and place procedure for the circular AOI is comparable to theprocedure for circular gages, while the pick and pl

Page 254

5ChapterChapter 7Inspection Tools7–89QuadA quad “shape” image tool consists of two separate windows: a quadrilateralAOI, and a rectangular “destinati

Page 255

Chapter 7Inspection Tools7–90PerspectiveA perspective “shape” image tool consists of two separate windows: aperspective AOI, and a rectangular “desti

Page 256 - Functions

5ChapterChapter 7Inspection Tools7–91bottom part. Note that the grid lines are essentially at right angles. Thebottom “squares” of the grid are nearly

Page 257

Chapter 2CVIM2 System Configuration: An Overview2–10NOTE: In the following discussions, the use of a mouse is assumed for thescreen pointer function

Page 258

Chapter 7Inspection Tools7–92From the Image Kernel panel you can select a spatial filtering functionusing a 3x3 or 5x5 kernel with either fixed or use

Page 259

5ChapterChapter 7Inspection Tools7–93Figure 7.76 Example: Neighborhood Operation in Image Tool000322827312728332928332729312829322729585755312728918

Page 260

Chapter 7Inspection Tools7–94As noted earlier, the Template field in the tool edit panel is active when anS1 – T or S1 + T arithmetic operation is sel

Page 261

5ChapterChapter 7Inspection Tools7–95The Lut field in the tool edit panel selects a look–up table (LUT), which, asnoted earlier, remaps the gray scale

Page 262 - Formulas

Chapter 7Inspection Tools7–96• Threshold –– This selection converts an “unsigned” gray scale image to abinary image. All pixels whose gray values lie

Page 263

5ChapterChapter 7Inspection Tools7–97The Morph Passes parameter determines the number of times the image ispassed through the image processing “pipeli

Page 264

Chapter 7Inspection Tools7–98In Figure 7.81, one “morph pass” has occurred, with the result of eliminatingthe top two horizontal lines.Figure 7.81 Ex

Page 265 - Window Tool

5ChapterChapter 7Inspection Tools7–99In Figure 7.83, four “morph passes” have occurred, with the result that all ofthe horizontal lines are eliminated

Page 266

Chapter 7Inspection Tools7–100• Fail –– This returns an “error code” when the tool is in a fail conditionand 0.000 for all other conditions. The error

Page 267 - Window Shape

5ChapterChapter 7Inspection Tools7–101The feature finder tool is intended to perform object counting and objectidentification on the basis of gray sca

Page 268

5ChapterChapter 2CVIM2 System Configuration: An Overview2–11In the Configuration Editor panel, the pointer is positioned over the button, and the lef

Page 269

Chapter 7Inspection Tools7–102Figure 7.85 Example: Selecting the Feature Finder Tool Edit PanelThe feature finder edit panel (named “Toolset 1.Tool

Page 270 - Window Operations

5ChapterChapter 7Inspection Tools7–103• Pass 2 –– The button selects the Second Pass panel, fromwhich you can select the parameters that the feature

Page 271

Chapter 7Inspection Tools7–104This section discusses the configuration steps that are accessed from thefields and buttons in the feature finder tool e

Page 272

5ChapterChapter 7Inspection Tools7–105Second Pass ConfigurationThe second pass configuration procedure for the feature finder tool isidentical to the

Page 273 - Figure 7.32 Target Panel

Chapter 7Inspection Tools7–106The data in the Feature Locations panel appears under three columns,which are defined as follows:• Rank –– This identifi

Page 274

5ChapterChapter 7Inspection Tools7–107This section discusses the expanded inspection results that are available to amath tool formula from a feature f

Page 275

Chapter 7Inspection Tools7–108• Fail High –– This returns a 1.000 when the inspection result from thetool has exceeded the high Fail limit and 0.000 w

Page 276

5ChapterChapter 7Inspection Tools7–109Also, the feature number that replaces the “#” sign must conform to thesetwo requirements:1. The feature number

Page 277

Chapter 7Inspection Tools7–110The math tool enables the CVIM2 system to perform mathematical and/orlogical operations, using formulas that you specify

Page 278

5ChapterChapter 7Inspection Tools7–111Once you have selected a math tool as outlined in the Overview: InspectionTool Selection Process section (page

Page 279

Chapter 2CVIM2 System Configuration: An Overview2–12Figure 2.11 Example: Moving a Panel Across the ScreenDrag panelFinal positionof panel

Page 280

Chapter 7Inspection Tools7–112operation mode, see the math tool example, Example: Using a SingleMath Tool to Generate Multiple Results, on page 7–144

Page 281

5ChapterChapter 7Inspection Tools7–113When you pick the button on the math tool edit panel, the formulaentry keyboard appears, as shown in Figure 7.

Page 282

Chapter 7Inspection Tools7–114• Previous key –– The key accesses the Previous Resultspanel, which lists all of the tools in the toolset edit panel (

Page 283

5ChapterChapter 7Inspection Tools7–115• Greater than or equal key –– The key is used to enter a “greaterthan or equal” (w) symbol between two values

Page 284

Chapter 7Inspection Tools7–116ResultsWhen you pick the key, the Results panel appears, as shown by theexample in Figure 7.92.Figure 7.92 Example:

Page 285

5ChapterChapter 7Inspection Tools7–117—“Pass Group#” refers to the “pass” status of a group of tools thatprecedes the math tool in the toolset edit pa

Page 286 - Centroid

Chapter 7Inspection Tools7–118Basic Results SourcesWhen you highlight a tool in the center list of the Results panel and pick the button, the tool nam

Page 287

5ChapterChapter 7Inspection Tools7–119Previous ResultsWhen you pick the key, the Previous Results panel appears, asshown by the example in Figure 7.

Page 288

Chapter 7Inspection Tools7–120Trig FunctionsWhen you pick the key, the Trig Functions panel appears, as shownby the example in Figure 7.95.Figure 7.

Page 289

5ChapterChapter 7Inspection Tools7–121asin –– The “asin” (arc sine) function calculates an arc sine (angle) on thebasis of the sine value that you ent

Page 290 - Luminance

5ChapterChapter 2CVIM2 System Configuration: An Overview2–13Figure 2.12 Example: Panel Manipulation FunctionsPick tochange panelto icon formPick to

Page 291 - Two Pass

Chapter 7Inspection Tools7–122atan –– The “atan” (arc tangent) function calculates the arc tangent (angle)on the basis of the tangent value that you e

Page 292

5ChapterChapter 7Inspection Tools7–123Figure 7.96 CVIM2 image: X and Y Values and Corresponding Angles for atan2–20Y+20X–20X+20Y–20,20 = –45°–20,–20

Page 293 - Window Tool Inspection

Chapter 7Inspection Tools7–124Logical FunctionsWhen you pick the key, the Logical Functions panel appears, asshown by the example in Figure 7.97.Fig

Page 294

5ChapterChapter 7Inspection Tools7–125Figure 7.98 Example: Using a Logical “and” FunctionIn this example, Tool 1.Pass, Tool 2.Pass, and Tool 3.Pass

Page 295 - Image Tool

Chapter 7Inspection Tools7–126or –– The “or” logic operator is inserted between two or more expressions(such as inspection results values) in a formul

Page 296 - Overview: Image Tool

5ChapterChapter 7Inspection Tools7–127test –– The “test” logic operator evaluates the expression following theparenthesis. If the value of the express

Page 297 - Image Tool Edit Panel

Chapter 7Inspection Tools7–128Figure 7.99 Example: Selecting the Bit Functions PanelThe value(s) used with a bit–level logic operator are usually nu

Page 298

5ChapterChapter 7Inspection Tools7–129In this example formula, the decimal value 8710 is bit–xored with thedecimal value 11910, which produces a resul

Page 299 - Selection

Chapter 7Inspection Tools7–1301891879binary result of the logic operation (“output”) is then converted backto decimal form.In a simple example, two va

Page 300 - Convolve

5ChapterChapter 7Inspection Tools7–131For example, the following formula calculates the average area of the foursmallest contours in a window using a

Page 301

Chapter 2CVIM2 System Configuration: An Overview2–14Throughout the configuration process, names must be entered for files,inspections, tools, and var

Page 302

Chapter 7Inspection Tools7–132For example, the formula “var(5,8,10)” will be calculated as follows:1. Compute the average value of the list:5 + 8 + 10

Page 303

5ChapterChapter 7Inspection Tools7–133The Misc Functions panel lists various additional functions that a math toolcan perform.After selecting a misc f

Page 304 - Laplace Kernel

Chapter 7Inspection Tools7–134sqrt –– The “sqrt” (square root) function calculates the square root of thevalue entered after the opening parenthesis.

Page 305

5ChapterChapter 7Inspection Tools7–135This section discusses the expanded inspection results that are available to amath tool formula from another mat

Page 306 - X Edge, Y Edge Kernels

Chapter 7Inspection Tools7–136• Fail High –– This returns a 1.000 when the inspection result from thetool has exceeded the high Fail limit and 0.000 w

Page 307

5ChapterChapter 7Inspection Tools7–137This section contains several examples that demonstrate some of the methodsof using math tool formulas.Example:

Page 308 - XY Edge Kernel

Chapter 7Inspection Tools7–138The X and Y values are derived in a formula that is set up on the formulaentry keyboard as shown in Figure 7.104.Figure

Page 309

5ChapterChapter 7Inspection Tools7–139In this example, two gages are used to find edge coordinate values on anobject in the image. The X and Y values

Page 310

Chapter 7Inspection Tools7–140Figure 7.107 Example: Four Window Tools Configured to Corner ObjectsThe formula is set up on the formula entry keyboar

Page 311

5ChapterChapter 7Inspection Tools7–141Example: List ProcessingSome tool operations can produce, in addition to basic tool results, a varietyof multip

Page 312 - User 3x3, User 5x5 Kernels

5ChapterChapter 2CVIM2 System Configuration: An Overview2–15• Del (delete) key –– This key deletes the character at the cursor position.• Clear key –

Page 313 - Kernel Contrast

Chapter 7Inspection Tools7–142The first element in the formula is “avg(” from the Stats. Functions panel;the second element is “{Tool 1.Area#}” from t

Page 314

5ChapterChapter 7Inspection Tools7–143Figure 7.112 Example: Formula Configured to Sum “Pass” Results From Four GageToolsNOTE: A math formula that s

Page 315

Chapter 7Inspection Tools7–144Example: Using a Single Math Tool to Generate Multiple ResultsThis example illustrates the requirements for configuring

Page 316

5ChapterChapter 7Inspection Tools7–145Figure 7.116 Example: Selecting “Area” Formula For Multiple OperationAfter the button is picked and the form

Page 317 - Image Arithmetic

Chapter 7Inspection Tools7–146Figure 7.118 Example: Displaying Area Values in Math Values PanelThe area values appearing in the “scrolling” list are

Page 318

5ChapterChapter 7Inspection Tools7–147This section discusses the profile tool and the inspection functions(“operations”) that it can perform.The profi

Page 319

Chapter 7Inspection Tools7–148The profile tool edit panel (named “Toolset 1.Tool 5 Edit” in Figure 7.119)contains several parameter selection fields

Page 320

5ChapterChapter 7Inspection Tools7–149This section defines the components of the profile tool and, using a simpleexample, illustrates the initial part

Page 321

Chapter 7Inspection Tools7–150Figure 7.120 Example: Positioning the Profile Window Over WorkpieceProfile window(default position)Profile window(new

Page 322 - Warning Messages

5ChapterChapter 7Inspection Tools7–151Profile WindowAs noted earlier, the profile window defines the portion of the image field tobe processed for a p

Page 323

Chapter 2CVIM2 System Configuration: An Overview2–16it appears in the display window above the keys. The maximum number ofdigits that you can enter i

Page 324

Chapter 7Inspection Tools7–152Figure 7.122 uses the “pin connector” workpiece in Figure 7.121 to illustratean “X” direction profile display.Figure 7.1

Page 325 - Image Tool Shape

5ChapterChapter 7Inspection Tools7–153Y Direction Profile DisplayWhen the “Y” direction is selected, the variations in amplitude appear alongthe Y, or

Page 326

Chapter 7Inspection Tools7–154Threshold DisplayThe threshold display is a graphic representation of the current thresholdsetting. It can be adjusted,

Page 327 - Destination

5ChapterChapter 7Inspection Tools7–155The threshold setting should be the one that optimizes the profile tool for itsassigned inspection task of locat

Page 328 - Perspective

Chapter 7Inspection Tools7–156Here is a brief description of each profile tool operation:• Position –– This operation identifies the location (the X o

Page 329 - Image Tool Kernel

5ChapterChapter 7Inspection Tools7–157Figure 7.128 Example: Reporting the X Coordinate of a Single EdgeWhen the workpiece is rotated 90°, and the Y

Page 330

Chapter 7Inspection Tools7–158Figure 7.129 illustrates a profile tool using the distance operation in the Xdirection.Figure 7.129 Example: Reporting

Page 331 - *Values processed

5ChapterChapter 7Inspection Tools7–159Foreground Objects; Background ObjectsThese two operations configure a profile tool to count the number of“foreg

Page 332 - Image Tool Template

Chapter 7Inspection Tools7–160Figure 7.130 Example: Identifying Foreground and Background ObjectsThreshold(level 128)ForegroundobjectsBackgroundobje

Page 333 - Look–Up Table (LUT)

5ChapterChapter 7Inspection Tools7–161The profile tool’s edge counting operation is similar to the edge countingoperations for a gage tool, in the sen

Page 334 - Image Tool Direction

CVIM2 ModuleReference ManualTable of ContentsiiChapter 3 (continued)Focus Function 3–5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Page 335 - Image Tool Morph Passes

3Chapter3–1Image Acquisition ParametersThis chapter discusses the details of selecting the appropriate imageacquisition parameters in preparation for

Page 336

Chapter 7Inspection Tools7–162The profile tool performs its operations along either the X–axis or theY–axis, as determined by the selection in the Dir

Page 337 - Image Tool Inspection

5ChapterChapter 7Inspection Tools7–163The Filter selection panel lists eight morphology filtering functions and a“size” selection field. Morphology is

Page 338

Chapter 7Inspection Tools7–164The Filter selection panel also has a “Size” field, which is used to select thesize (or width) of the morphology filter

Page 339 - Feature Finder Tool

5ChapterChapter 7Inspection Tools7–165Note that the Position operation needs to specify only one feature, while theDistance operation needs to specify

Page 340

Chapter 7Inspection Tools7–166• FG Border –– This feature mode restricts the search for a specifiedfeature on the basis that the first edge (offset 1.

Page 341 - Overview: Feature Finder

5ChapterChapter 7Inspection Tools7–167BG BorderThe background border feature mode is identical to the all edges mode,except that offset 1.0 always coi

Page 342

Chapter 7Inspection Tools7–168Middle BG ObjectThe middle background object feature mode enables you to specify an edgefrom among the following points

Page 343

5ChapterChapter 7Inspection Tools7–169MethodThe method selection determines the location of a midpoint offset. The twoavailable choices are these: Mi

Page 344

Chapter 7Inspection Tools7–170The threshold adjustments determine how the profile image is divided intoforeground and background objects and where edg

Page 345

5ChapterChapter 7Inspection Tools7–171When other threshold modes are selected, the slide bar assumes otherfunctions, which are discussed next in the M

Page 346

Chapter 3Image Acquisition Parameters3–2• Acquisition Systems Settings panel –– The button accessesthe Acquisition System Settings panel, from which

Page 347

Chapter 7Inspection Tools7–172Min+%Diff High ModeWhen you pick Min+%Diff High in the Thresh Mode panel, the Thresholdpanel appears as shown in Figure

Page 348 - Math Tool

5ChapterChapter 7Inspection Tools7–173Figure 7.139 illustrates the Min+%Diff High threshold mode, using thedefault values for the “%” and “Limit” sett

Page 349 - Math tool name

Chapter 7Inspection Tools7–174Figure 7.140 Appearance of Threshold Adjustment Panel With Min+%Diff Low ModeMin+Offset ModeWhen you pick Min+Offset in

Page 350 - Overview: Math Tool

5ChapterChapter 7Inspection Tools7–175Figure 7.141 Appearance of Threshold Adjustment Panel With Min+Offset ModeFigure 7.142 illustrates the Min+Offs

Page 351 - Formula Components and

Chapter 7Inspection Tools7–176Max–Offset ModeWhen you pick Max–Offset in the Thresh Mode panel, the Thresholdpanel appears as shown in Figure 7.143.Fi

Page 352

5ChapterChapter 7Inspection Tools7–177Morphology Filter SelectionThe and buttons under the slide bar provide access toidentical morphology selecti

Page 353

Chapter 7Inspection Tools7–178Here is a brief definition and explanation of each of the expanded resulttypes listed in Figure 7.144.• Execute –– This

Page 354

5ChapterChapter 7Inspection Tools7–179• Bx, By –– These values pertain only to a profile tool configured fordistance or position operations. “Bx” retu

Page 355

Chapter 7Inspection Tools7–180Figure 7.145 (A) appears when the “Statistics” option has not been selectedfor the corresponding tool, while (B) appears

Page 356

5ChapterChapter 7Inspection Tools7–181As Figure 7.146 shows, the CVIM2 system provides two sets of range limits:Warning range limits, and fail range l

Page 357 - Previous Results

5ChapterChapter 3Image Acquisition Parameters3–3The Camera setup panel contains a scrolling list panel, several parameterselection boxes, and several

Page 358 - • sin(315) = –0.707

Chapter 7Inspection Tools7–182Here is a summary of the conditions under which tool fail and tool warnconditions can occur.A tool fail condition arises

Page 359

5ChapterChapter 7Inspection Tools7–183This section discusses “conditional processing,” which, when selected for aspecific inspection tool, permits tha

Page 360

Chapter 7Inspection Tools7–184The Conditions panel also contains two checkboxes and two buttons, whichare described briefly, as follows:• Enable –– Th

Page 361

5ChapterChapter 7Inspection Tools7–185In this example, the object of the inspection is to inspect the front and backlabels of a package for correct po

Page 362 - Logical Functions

Chapter 7Inspection Tools7–186The first four gages in Figure 7.148 are configured to locate the left edge andtop edge positions of the front and back

Page 363

5ChapterChapter 7Inspection Tools7–187This section discusses the multiple gages tool and the inspection functions(“operations”) that it can perform.On

Page 364

Chapter 7Inspection Tools7–188• Width, Kernel –– This field provides access to the selection of the GageWidth & Kernel panel, which sets the sub–g

Page 365 - Bit Functions

5ChapterChapter 7Inspection Tools7–189• P&P Gages –– The button activates the pick and place functionfor the highlighted sub–gage. Each time a s

Page 366

Chapter 7Inspection Tools7–190When you pick the Operation field in the multiple gages tool edit panel, theSub–Gage Operation selection panel appears,

Page 367

5ChapterChapter 7Inspection Tools7–191The Width box enables the selection of one of several sub–gage widths. Thedefault width setting is 1 pixel, but

Page 368 - Statistics Functions

Chapter 3Image Acquisition Parameters3–4Camera Type SelectionThis scrolling list panel lists the “standard” camera types that theAllen–Bradley Company

Page 369

Chapter 7Inspection Tools7–192The Gage Threshold panel contains a separate adjustment for the “rising”and “falling” edges of an object in the image fi

Page 370

5ChapterChapter 7Inspection Tools7–193The following three gage operations employ “features” to identify the edgesused for a measurement: X position,

Page 371

Chapter 7Inspection Tools7–194This section discusses the expanded inspection results that are available to amath tool formula from a multiple gages to

Page 372

5ChapterChapter 7Inspection Tools7–195• Gage# –– This returns the results value from a specific sub–gage (forsingle math operations) or the results va

Page 373 - Math Tool Inspection

Chapter 7Inspection Tools7–196This section discusses the multiple windows tool and the inspection functions(“operations”) that it can perform.Once you

Page 374

5ChapterChapter 7Inspection Tools7–197• Result –– This field displays an eight–digit hexadecimal number. Each ofthe 32 bit positions represents the pa

Page 375 - Examples

Chapter 7Inspection Tools7–198A window can be selected when the toolset edit panel is on the screen.Starting from the main menu bar, the selection pat

Page 376 - Example: DST Function

5ChapterChapter 7Inspection Tools7–199When you pick the Thresh/Filter field in the multiple windows tool editpanel, the Thresh/Filter panel appears wh

Page 377

Chapter 7Inspection Tools7–200When you pick the Label field in the multiple windows tool edit panel, thekeyboard panel appears, as shown in Figure 7.1

Page 378

5ChapterChapter 7Inspection Tools7–201Here is a brief definition and explanation of each of the expanded resulttypes listed in Figure 7.161.• Execute

Page 379 - Example: List Processing

5ChapterChapter 3Image Acquisition Parameters3–5Trigger/Rate/Source/Strobe SelectionsThese selections refer to the fields labeled Focus Trigger, Rate

Page 380 - Workpiece

8Chapter8–1Thresholds, Filters, and MorphologyThis chapter discusses the various threshold and filter settings for theinspection tools, as follows:• B

Page 381

Chapter 8Thresholds, Filters, and Morphology8–2Settings can be changed by “dragging” the cursors up and down, or bypicking the screen above or below a

Page 382

5ChapterChapter 8Thresholds, Filters, and Morphology8–3Figure 8.2 Example: Optimizing the Threshold Settings (Binary Gaging Mode)BinarizedimageGageE

Page 383

Chapter 8Thresholds, Filters, and Morphology8–4Figure 8.3 Selecting Binary Filter Panel for GageCursorFilter valuefieldFrom the Binary Filter panel y

Page 384

5ChapterChapter 8Thresholds, Filters, and Morphology8–5value that results in consistent edges being detected at the desired referencepoints on the wor

Page 385 - Profile Tool

Chapter 8Thresholds, Filters, and Morphology8–6Threshold specifies the relative brightness change between neighboringpixels, while kernel specifies th

Page 386

5ChapterChapter 8Thresholds, Filters, and Morphology8–7Figure 8.5 Example: Effects of Changing Threshold Values (Constant Kernel)ABC

Page 387 - Profile Tool: Components

Chapter 8Thresholds, Filters, and Morphology8–8Figure 8.6 Example: Effects of Changing Kernel Values (Constant Threshold)ABC

Page 388

5ChapterChapter 8Thresholds, Filters, and Morphology8–9There are two methods by which you can alter the processed image within awindow: setting binar

Page 389 - Profile Display

Chapter 8Thresholds, Filters, and Morphology8–10Figure 8.7 Example: Effects of Changing Low Threshold (Constant High Threshold)A BC DBinary Threshol

Page 390

Chapter 3Image Acquisition Parameters3–6Figure 3.3 Example: Camera Image With Focus Function ActiveFigure 3.4 Trigger Time–out Warning MessageLight

Page 391

5ChapterChapter 8Thresholds, Filters, and Morphology8–11Low threshold –– Any part of that image whose gray–scale brightness valueis lower than the low

Page 392 - Threshold Display

Chapter 8Thresholds, Filters, and Morphology8–12Figure 8.9 Example: Using the Dynamic Threshold FunctionIn this example, the toolset contains, in or

Page 393 - Profile Tool Operations

5ChapterChapter 8Thresholds, Filters, and Morphology8–13NOTE 1: In this example, the formula, ({back}+{fore})/2, could have beenentered directly as t

Page 394

Chapter 8Thresholds, Filters, and Morphology8–14Figure 8.10 Example: Workpiece Image With White Noise in BackgroundIf left in the window, the unwant

Page 395 - Distance

5ChapterChapter 8Thresholds, Filters, and Morphology8–15Morphology Selection PanelsNote the and buttons under the cursors and slide bar inFigure 8

Page 396

Chapter 8Thresholds, Filters, and Morphology8–16When you pick the button (see Figure 8.10, page 8–14), the Morph2 selection panel appears.In general

Page 397

5ChapterChapter 8Thresholds, Filters, and Morphology8–17Figure 8.14 Binary Morph Function Selection PanelNOTE: Use the scroll bar to accessthe entir

Page 398

Chapter 8Thresholds, Filters, and Morphology8–18• Dilation –– This function dilates the edges of white objects (and,conversely, erodes the edges of bl

Page 399

5ChapterChapter 8Thresholds, Filters, and Morphology8–19Figure 8.15 shows how the workpiece image in Figure 8.10 would appearafter being filtered by a

Page 400 - Filter 1 and Filter 2

Chapter 8Thresholds, Filters, and Morphology8–20Gray Scale MorphologyAs shown in Figure 8.13 (page 8–15), the gray scale selection panel containssever

Page 401

5ChapterChapter 3Image Acquisition Parameters3–7When you pick the button on the camera setup panel, thecamera image appears along with the adjustmen

Page 402

5ChapterChapter 8Thresholds, Filters, and Morphology8–21Here are the gray scale morphology functions shown in the Functionselection panel, along with

Page 403

Chapter 8Thresholds, Filters, and Morphology8–22Figure 8.17 Example: Kernel Structure and Neighborhood of Image PixelsKernelstructurePixels in image

Page 404

5ChapterChapter 8Thresholds, Filters, and Morphology8–23When configured as shown in (A) of Figure 8.18, where all of the kernel’sseven boxes have aste

Page 405

Chapter 8Thresholds, Filters, and Morphology8–24Figure 8.20 Example: Filtering Effect of Max – Min Function With Three HorizontalAsterisks SetABFigu

Page 406

9Chapter9–1Discrete I/O AssignmentsThis chapter provides detailed information about the discrete inputs andoutputs that connect the CVIM2 system to th

Page 407

Chapter 9Discrete I/O Assignments9–2Panel Layout and FunctionsThe Discrete I/O Editor panel shown in Figure 9.1 (page 9–1) is arrangedas a table conta

Page 408 - Threshold Adjustments

5ChapterChapter 9Discrete I/O Assignments9–3• Cancel –– Use the button to exit to the main menu bar withoutsaving any of the additions or changes in

Page 409 - Mode Selection

Chapter 9Discrete I/O Assignments9–4Hardware InterruptWhen a trigger is assigned to either input line on the Module I/O panel, or toany of lines 0 thr

Page 410

5ChapterChapter 9Discrete I/O Assignments9–5Figure 9.2 Example: Selecting the Input Signals MenuTo select a trigger input signal from the Input Sign

Page 411

Chapter 9Discrete I/O Assignments9–6You can assign more than one input signal from the Input Signals list to asingle discrete I/O input. For example,

Page 412

Chapter 3Image Acquisition Parameters3–8Light Reference SettingsThe light reference settings are adjusted by picking and dragging the left (Hi)and rig

Page 413

5ChapterChapter 9Discrete I/O Assignments9–7Pulse Input Selection: Parts Tracking FunctionThe pulse input signal enables the CVIM2 system to be synch

Page 414

Chapter 9Discrete I/O Assignments9–8Figure 9.4 Example: Using the Calculator Pad to Select Delay Parameter

Page 415 - Profile Tool Inspection

5ChapterChapter 9Discrete I/O Assignments9–9Output SelectionsAs noted earlier, the lower 14 discrete I/O locations in the Module I/O layoutare reserve

Page 416

Chapter 9Discrete I/O Assignments9–10The signal names appearing in the center scrolling list are described brieflyas follows:• Pass –– This signal occ

Page 417

5ChapterChapter 9Discrete I/O Assignments9–11Figure 9.6 Example: Selecting an Output Signal (Module I/O Layout)ABIf you highlight one of the tool na

Page 418

Chapter 9Discrete I/O Assignments9–12The default Time setting for inputs is 5ms. In this case, the CVIM2 systemwill not recognize a trigger signal who

Page 419

5ChapterChapter 9Discrete I/O Assignments9–13+/– SelectionsAs described earlier, the +/– field selects additional parameters for thediscrete inputs an

Page 420

Chapter 9Discrete I/O Assignments9–14For output signals, the +/– parameter determines whether an output will beinverted. If “Pos” is selected (the def

Page 421 - Conditional Processing

5ChapterChapter 9Discrete I/O Assignments9–15Output Status from Various +/– and Force SelectionsTable 9.1 shows the output status (activated or deacti

Page 422

Chapter 9Discrete I/O Assignments9–16Figure 9.10 Selecting the System I/O Editor Panel

Page 423 - Back labelNo black object

5ChapterChapter 3Image Acquisition Parameters3–9The interactive result of the two cursor settings is this: All portions of theimage whose brightness

Page 424

5ChapterChapter 9Discrete I/O Assignments9–17LED Outputs is the third of the four Discrete I/O devices. You can select itas shown in Figure 9.11.Figur

Page 425 - Multiple Gages Tool

Chapter 9Discrete I/O Assignments9–18Remote I/O is the fourth of the four Discrete I/O devices. You can select itas shown in Figure 9.12.Figure 9.12

Page 426

5ChapterChapter 9Discrete I/O Assignments9–19Note that “O” and “I” indicate output and input from the PLC perspective.The “rack address” is the one th

Page 427 - Overview: Multiple Gages

Chapter 9Discrete I/O Assignments9–20To make proper use of the output signals, you must first understand thetiming relationships that exist between th

Page 428 - Width and Kernel Functions

5ChapterChapter 9Discrete I/O Assignments9–21Note that Module Ready is high only when the system is online.Figure 9.14 also shows the relationship bet

Page 429 - Threshold Functions

Chapter 9Discrete I/O Assignments9–22Figure 9.15 is an example of a missed–trigger situation, in which a secondtrigger signal arrives before the syste

Page 430 - Gage Label Function

5ChapterChapter 9Discrete I/O Assignments9–23The system will not process a trigger signal in the following situations:• Whenever a second trigger sign

Page 431 - Feature Selection Functions

10Chapter10–1Environment Menu SelectionsThis chapter provides detailed information about the functions that you canselect in the Environment menu in t

Page 432

Chapter 10Environment Menu Selections10–2• Go On–Line –– When you pick this item, the CVIM2 system goesonline, and is enabled to perform inspections u

Page 433

5ChapterChapter 10Environment Menu Selections10–3Figure 10.3 Example: Selecting the Configuration File Selection MenuIf you pick the Environment men

Page 434 - Multiple Windows Tool

Chapter 3Image Acquisition Parameters3–10Figure 3.6 Example: Before and After Light Reference AdjustmentBEFORE:AFTER:

Page 435

Chapter 10Environment Menu Selections10–4Note that the Environment panel contains several “buttons.” Here is a briefdescription of their functions:• A

Page 436 - Sub–Window Operations

5ChapterChapter 10Environment Menu Selections10–5Note that all variable names are case–sensitive. Enter the appropriate changesto the variable, then p

Page 437 - Threshold/Filter Functions

Chapter 10Environment Menu Selections10–6The default size of the RM: device is 4048 bytes; however, you can increaseit to a maximum of 32,512 bytes by

Page 438 - Label Function

5ChapterChapter 10Environment Menu Selections10–7Archiving VariablesThe Archive function enables you to save the entire list of variables in theEnviro

Page 439

Chapter 10Environment Menu Selections10–8Figure 10.9 Example: Archive File Name in “Save As . . .” PanelTo exit the “Save as . . .” panel, pick the

Page 440

5ChapterChapter 10Environment Menu Selections10–9Restoring Archived VariablesThe Restore function enables you to restore any previously archived list

Page 441 - Threshold Procedures

Chapter 10Environment Menu Selections10–10When you pick Comm Ports in the Environment menu, the Comm Portsselection menu appears, as shown in Figure 1

Page 442 - Binary Filter

5ChapterChapter 10Environment Menu Selections10–11When you pick Comm Ports in the Environment menu, the Comm Portsselection menu appears, as shown in

Page 443

Chapter 10Environment Menu Selections10–12Figure 10.14 Example: Selecting the Discrete Outputs Configuration Panel Here is a brief description of th

Page 444 - Edge Detection

5ChapterChapter 10Environment Menu Selections10–13The Go On–Line item in the Environment menu is the gateway to onlineoperations, during which the CVI

Page 445 - Threshold and Kernel Settings

CVIM2 ModuleReference ManualTable of ContentsiiiChapter 4 (continued)Overlap Acq/Insp 4–12. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Page 446 - Chapter 8

5ChapterChapter 3Image Acquisition Parameters3–11Light Probe SetupThe light probe tool provides a lighting compensation function, whichenables the CVI

Page 447

Chapter 10Environment Menu Selections10–14Online Image/Tool Display PanelThe online image/tool display (Figure 10.15, page 10–13) conforms to theparam

Page 448 - Morphology Functions

5ChapterChapter 10Environment Menu Selections10–15The toolset Adjust panel is similar to the Toolset Edit panel described inChapter 4, Inspection Conf

Page 449

Chapter 10Environment Menu Selections10–16DisplayWhen you pick Display in the menu bar, the Display menu appears, asshown in Figure 10.18.Figure 10.18

Page 450 - Dynamic Threshold Function

5ChapterChapter 10Environment Menu Selections10–17When Freeze Last Rejects is selected, the first rejected image will beheld on the display. While the

Page 451

Chapter 10Environment Menu Selections10–18Figure 10.19 Example: Inspection Results Display PanelThe Results panel contains several columns having th

Page 452 - Morphology Function

5ChapterChapter 10Environment Menu Selections10–19Totals Detail PanelWhen you pick Totals in the Results panel menu bar, the Totals detail panelappear

Page 453

Chapter 10Environment Menu Selections10–20Tool Results Detail PanelWhen you “pick” anywhere along a tool results line in the Results panelunder the Re

Page 454 - Morphology Selection Panels

5ChapterChapter 10Environment Menu Selections10–21Figure 10.22 illustrates an expanded detail panel. In this case, it presentsresults data from a wind

Page 455 - Binary Morphology

Chapter 10Environment Menu Selections10–22• Dynamic horizontal line (green) –– This line shows the relative level ofthe current “mean” value.• Static

Page 456

11Chapter11–1File FunctionsThis chapter provides detailed information about the file–manipulationfunctions that you can perform in the File panel, whi

Page 457

Chapter 3Image Acquisition Parameters3–12Light Probe Operation: GeneralThe light probe tool is a small, special–purpose window or “box” that ispositi

Page 458

Chapter 11File Functions11–2File List Column HeadingsThe File panel contains a scrolling list that displays the files in the currentlyselected device.

Page 459

5ChapterChapter 11File Functions11–3In the second instance, the memory card is installed in the front panel; thus,the file list displays the files on

Page 460

Chapter 11File Functions11–4• Battery –– When you highlight the MC device, the button isactive. This enables you to change the memory card battery w

Page 461

5ChapterChapter 11File Functions11–5FilterThe entry in the Filter data field determines which files (if any) will appearin the file list. The Filter d

Page 462

Chapter 11File Functions11–6The term “device” refers to one of the six memory elements used by theCVIM2 system. The mnemonic name for each memory “dev

Page 463 - Asterisks Set

5ChapterChapter 11File Functions11–7Figure 11.4 Examples: Accessing “Viewing File” PanelCopyThe copy function enables you to copy a file to the same

Page 464

Chapter 11File Functions11–8Figure 11.5 Example: Starting the File Copy OperationFigure 11.6 Example: Completing the File Copy Operation

Page 465 - Chapter 9

5ChapterChapter 11File Functions11–9XCopyThe external copy function enables you to copy one or more files in onedevice to a different device (except t

Page 466

Chapter 11File Functions11–10Figure 11.8 Example: Delete Warning Message BoxIf you intend to perform the delete function, pick the button; if not,

Page 467 - Module I/O Functions

5ChapterChapter 11File Functions11–11The format function can be used to erase all data from the external memorycard and from some of the internal memo

Page 468

5ChapterChapter 3Image Acquisition Parameters3–13Light Probe PanelThe Light Probe panel, shown in Figure 3.8, contains two fields and twobuttons: The

Page 469 - In1 – In8 Input Selections

Chapter 11File Functions11–12The recycle function applies only to the V1: and V2: devices, and then onlywhen you need to update the appropriate device

Page 470

12Chapter12–1System SecurityThis chapter provides detailed information about the system securityprovided in the CVIM2 system. Briefly, the system prov

Page 471

Chapter 12System Security12–2NOTE 2: The first user level created should be Level 8, since after apassword file has been created, the CVIM2 system al

Page 472

5ChapterChapter 12System Security12–3Since the system initially has no password file, the system security leveldefaults to Level 8, and any user can a

Page 473

Chapter 12System Security12–4This is illustrated by the example in Figure 12.3. Upon powerup, the mainmenu bar will reflect the Level 1 condition; tha

Page 474 - Time Selections

5ChapterChapter 12System Security12–5This section illustrates the procedure for changing a user’s password. Whenyou pick Change Password, a keyboard a

Page 475

Chapter 12System Security12–6This section discusses the security functions that are accessible only to theLevel 8 user (the “administrator”). When you

Page 476 - +/– Selections

5ChapterChapter 12System Security12–7Figure 12.7 Example: Selecting the Password File Viewing PanelNote also that you can only view the entries in t

Page 477 - Force Selections

Chapter 12System Security12–8Add a New User or Modify an Existing UserWhen you pick Add/Modify User, the keyboard appears, as shown inFigure 12.8.Figu

Page 478 - System I/O Functions

5ChapterChapter 12System Security12–9Modifying an Existing UserWith the keyboard displayed as shown in Figure 12.8 (page 12–8) use thefollowing steps

Page 479

Chapter 3Image Acquisition Parameters3–14Figure 3.9 Selecting Probe Tool Type and Range Limit PanelLight Probe Tool Results and Math Tool FormulasThi

Page 480 - LED Outputs

Chapter 12System Security12–10With the keyboard displayed as shown in Figure 12.9 (page 12–9), use thefollowing steps to delete an existing user from

Page 481 - O:030/10

5ChapterChapter 12System Security12–11Changing Text: Menu FieldAfter enabling the system for text/privilege changes, as described in thepreceding sec

Page 482

Chapter 12System Security12–12Figure 12.11 Example: Changing “File” to “File Storage” in Main Menu Bar

Page 483 - Timing Data

5ChapterChapter 12System Security12–13Changing Access Privilege LevelsThe process for setting up a privilege change is the same as for changingmenu an

Page 484

Chapter 12System Security12–14When you then pick Security, the Security menu will appear as shown inFigure 12.14 (page 12–14). You can then access the

Page 485 - MISSED–TRIGGER EXAMPLE

5ChapterChapter 12System Security12–15You should then pick the “Administer” field in the Security menu to accessthe Administer menu, as shown in Figur

Page 486

AAppendixA–1Warning and Error MessagesThis appendix tabulates all of the CVIM2 system warning and errormessages, which are listed in ascending numeric

Page 487 - Environment Menu Selections

Appendix AWarning and Error MessagesA–2Warning/ErrorCodeMessage Text Conditions275Language could not beinstalled.Insufficient memory on the devicefor

Page 488 - Configuration File

5ChapterAppendix AWarning and Error MessagesA–3Warning/ErrorCodeMessage Text ConditionsRun–time error. System hasbeen taken off–line.Toolset <n>

Page 489 - Variables

Appendix AWarning and Error MessagesA–4Warning/ErrorCodeMessage Text Conditions1032 The tool reference failedThe tool’s associated reference toolfaile

Page 490 - Chapter 10

5ChapterChapter 3Image Acquisition Parameters3–15Here is a brief definition and explanation of each of the expanded resulttypes listed in Figure 3.10.

Page 491 - Adding Variables

5ChapterAppendix AWarning and Error MessagesA–5Warning/ErrorCodeMessage Text Conditions1052 Formula too bigFormula size limit has been ex-ceeded (128

Page 492

Appendix AWarning and Error MessagesA–6Warning/ErrorCodeMessage Text Conditions1542Bad number of componentsin a scanInvalid JPEG file.1543 Bad spectra

Page 493 - Archiving Variables

5ChapterAppendix AWarning and Error MessagesA–7Warning/ErrorCodeMessage Text Conditions2049Panel Manager Help Sys-tem ErrorInvalid help file(s).2050Di

Page 494

Appendix AWarning and Error MessagesA–8Warning/ErrorCodeMessage Text Conditions2830 (VRTX) Error in putc None. (1)2831 (VRTX) Error in waitc None. (

Page 495 - Restoring Archived Variables

5ChapterAppendix AWarning and Error MessagesA–9Warning/ErrorCodeMessage Text Conditions2861 (VRTX) Error in sema-phore pendNone. (1)2862 (VRTX) Error

Page 496 - RS–232 Serial Port Setup

Appendix AWarning and Error MessagesA–10Warning/ErrorCodeMessage Text Conditions3086 OK to calibrate ?The calibration action is selectedbefore either

Page 497 - Enable/Disable Discrete

5ChapterAppendix AWarning and Error MessagesA–11Warning/ErrorCodeMessage Text Conditions3351Message unknown tokenfound.None3352Message file name un-kn

Page 498

Appendix AWarning and Error MessagesA–12Warning/ErrorCodeMessage Text Conditions3843 File name is too long.A file name entered containedmore than the

Page 499 - Online Operations

5ChapterAppendix AWarning and Error MessagesA–13Warning/ErrorCodeMessage Text Conditions4096The window border mayaffect the resultMorphology processin

Page 500

Appendix AWarning and Error MessagesA–14Warning/ErrorCodeMessage Text Conditions4114Image file name notloaded.An image file required by a toolcould no

Page 501

Chapter 3Image Acquisition Parameters3–16*These expanded statistical results are available only when a tool is enabledfor statistics operations, as in

Page 502

BAppendixB–1Environment VariablesTable B.1 in this appendix contains a list of environment variables for theCVIM2 system. The table includes the defau

Page 503

Appendix BEnvironment VariablesB–2Name UsageMaximumMinimumDefaultLang Eng n/a n/a Specifies the current language for the CVIM2menus. THIS VARIABLE SHO

Page 504

Appendix BEnvironment VariablesB–3Name UsageMaximumMinimumDefaultrint 16 0 128 Specifies the number of Remote I/O bits thatare examined each time the

Page 505

IndexI–1AAcquisition Configuration, File names, 4–3Acquisition Editor panel, 2–6, 3–1Acquisition System Settings panel, 3–2, 3–26Acquisition systems s

Page 506

IndexI–2Basic steps, 3–16Image setup, 3–17Offset selections, 3–22Pick and place, 3–21Threshold adjustments, 3–22Typical applications, 3–16Calibrate pa

Page 507

IndexI–3Force selectionsNo, 9–14Off, 9–14On, 9–14Functions+/–, 9–2Delay, 9–2Force, 9–2In/Out, 9–2Signal Name, 9–2Time, 9–2General information, 9–1Inpu

Page 508

IndexI–4Configuration overview, 7–103DefinitionsFeature finder tool, 7–101Feature window, 7–101Search window, 7–101First pass, 6–34, 6–46Define mask,

Page 509 - File Functions

IndexI–5Features, 7–5Filter, 7–4Mode, 7–3, 7–6Nominal function, 7–4Operations, 7–3Ranges, 7–5Shape, 7–3, 7–5Threshold, 7–4Width, 7–4Gray scale kernel,

Page 510 - Devices and Device Status

IndexI–6Image/tool display panelDisplay functions, 10–14Resume function, 10–14Tool adjust function, 10–14Inertia, 7–36, 7–48Inspection nameDefault, 4–

Page 511

IndexI–7Standard deviation, 7–131Variance value, 7–131Trigonometry functionsArc cosine, 7–121Arc sine, 7–121Arc tangent, 7–122Arc tangent 2, 7–122Cosi

Page 512

5ChapterChapter 3Image Acquisition Parameters3–174. Enter scale factors –– For the Absolute calibration mode only, enter theappropriate scale factors

Page 513

IndexI–8Inspection events, 4–33Math tool formulas, 4–33Results definitions, 4–33Perimeter, 7–36Pick and place functionArc gages, 5–3Arc ring windows,

Page 514 - Descriptions

IndexI–9Configuration details, 6–10Configuration overview, 6–2Nominal function, 6–22Operations, 6–3Summary, 6–4X Only, 6–4X Then Y, 6–6X’,X Then Y, 6–

Page 515

IndexI–10SScale To, 6–35, 6–43Screen pointers, 2–9Security cardUse of, 12–14When needed, 12–14Security menuInitial appearance, 12–1Security levelsLeve

Page 516

IndexI–11Contour counting, 7–34Object definitions, 7–34Contour measurement functionsCircularity, 7–47H Size, L Size, 7–51Inertia, 7–48Roundness, 7–45T

Page 517

Publication 5370–801 – September 1996Rockwell Automation helps its customers receive a superior return on their investment by bringingtogether leading

Page 518 - Battery Change

Chapter 3Image Acquisition Parameters3–18Figure 3.11 Calibrate Panel With X and Y Axis “Gages”A calibration “gage” is essentially the same as a linea

Page 519 - Format Function

5ChapterChapter 3Image Acquisition Parameters3–19• Scale –– When the “Computed” calibration mode is selected, this fieldwill display the computed “sca

Page 520 - Recycle Function

Chapter 3Image Acquisition Parameters3–20Figure 3.12 Calibrate Panel With Computed and Absolute Modes SelectedAll parameter fields are shown in their

Page 521 - System Security

CVIM2 ModuleReference ManualTable of ContentsivChapter 6 (continued)Shape Selection 6–11. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Page 522

5ChapterChapter 3Image Acquisition Parameters3–21Pick and Place Functions (Computed Mode Only)After acquiring an appropriate camera image of the calib

Page 523

Chapter 3Image Acquisition Parameters3–22Threshold Adjustments and Offset Selections (Computed Mode Only)After positioning a gage across the calibrati

Page 524

5ChapterChapter 3Image Acquisition Parameters3–23Figure 3.15 Example: Offset SelectionFeature AOffset 1.0Feature BOffset 1.0Units SelectionSelecting

Page 525 - Password Changes

Chapter 3Image Acquisition Parameters3–24Figure 3.16 Example: Performing Nominal or “Learn” OperationNote that the distance between the Feature A an

Page 526 - Security Administration

5ChapterChapter 3Image Acquisition Parameters3–25Figure 3.17 Performing Scale Computation to “Real World” Measurement UnitsEntering Scale Value (Abso

Page 527

Chapter 3Image Acquisition Parameters3–26Note that the scale value that you entered (0.0052221) is rounded to fourplaces (0.0052) in the Scale field;

Page 528

5ChapterChapter 3Image Acquisition Parameters3–27• Bank Switch Command Input –– This field selects the bank switchcommand input assignment on either t

Page 529 - Delete a User

Chapter 3Image Acquisition Parameters3–28Figure 3.20 Pinout Diagram: CVIM2 Front Panel Camera Connector+12V OutGndVideo In (G)Ext HD Out (G)Video In

Page 530 - Administer Function

5ChapterChapter 3Image Acquisition Parameters3–29Camera Bank SwitchingThe CVIM2 system can service three cameras inputs at one time: cameras#1, #2, a

Page 531

Chapter 3Image Acquisition Parameters3–30Note that the delays are cumulative; that is, the total delay consists of thepolling latency plus one of the

Page 532

CVIM2 ModuleReference ManualTable of ContentsvChapter 7Overview: Inspection Tool Selection Process 7–1. . . . . . . . . . . . . . . . . . . Gage Tool

Page 533

5ChapterChapter 3Image Acquisition Parameters3–31Bank Switch Command InputThe Bank Switch Command Input field is active only when the OnCommand bank s

Page 534 - Security Card

Chapter 3Image Acquisition Parameters3–32Bank Switch State OutputThe Bank Switch State Output field accesses a discrete I/O edit panel,where you can a

Page 535

5ChapterChapter 3Image Acquisition Parameters3–33After assigning the bank state status to the appropriate output, pick the button to exit back to the

Page 536 - Warning and Error Messages

Chapter 3Image Acquisition Parameters3–34Editing Standard Allen–Bradley CamerasWhen you highlight one of the standard camera types in the Camera Types

Page 537

5ChapterChapter 3Image Acquisition Parameters3–35Figure 3.25 Example: Effect of Different Acq.Pixels Settings on Displayed ImageAcq. Pixels =512Acq.

Page 538

Chapter 3Image Acquisition Parameters3–36however, the Acq.Phase (Pixels) value can be set within the followingrange:*(640 – Acq. Pixels) B 2 x Value

Page 539

5ChapterChapter 3Image Acquisition Parameters3–37Figure 3.27 Example: Effect of Acq. Phase Settings on Acquired Pixels512 acquiredpixelsAB512 acquir

Page 540

Chapter 3Image Acquisition Parameters3–38The effect of adjusting the Vertical Timing parameters is described asfollows:Acq.Start (1/2 Lines) –– This p

Page 541

5ChapterChapter 3Image Acquisition Parameters3–39Figure 3.28 Example: Effect of Various Acq. Lines (1/2 Lines) Settings on ImageAcq. Start (1/2 Line

Page 542

Chapter 3Image Acquisition Parameters3–40Figure 3.29 Example: Effects of Changing Horizontal Image Acquisition ParametersAcq. Start (1/2 Lines) = 22

Page 543

CVIM2 ModuleReference ManualTable of ContentsviChapter 7 (continued)Overview: Image Tool Operations 7–58. . . . . . . . . . . . . . . . . . . . . .

Page 544

5ChapterChapter 3Image Acquisition Parameters3–41Figure 3.30 Setup Camera Type Panel: Camera XYZMost of the data for these parameter selections can

Page 545

Chapter 3Image Acquisition Parameters3–42• Period (ms) –– This is amount of time required to scan one horizontalline. It is equal to the reciprocal of

Page 546

5ChapterChapter 3Image Acquisition Parameters3–43NOTE: For MOS–type cameras, which do not use shift registers, theTransfer value can be set to –1 to

Page 547

Chapter 3Image Acquisition Parameters3–44When you highlight a toolset trigger name in the Toolset Trigger scrollinglist and then pick the button belo

Page 548

5ChapterChapter 3Image Acquisition Parameters3–45• Source I/O –– When “I/O” is selected as the (external) trigger source,this selects the discrete inp

Page 549

Chapter 3Image Acquisition Parameters3–46The Auto selection uses the CVIM2 system’s internal trigger source,whereas the I/O selection uses one of the

Page 550 - Environment Variables

5ChapterChapter 3Image Acquisition Parameters3–47Figure 3.35 Example: Assigning Inspection to Discrete Input

Page 551

4Chapter4–1Inspection ConfigurationThe CVIM2 system can be configured to perform a single inspection ormultiple related inspections. Each inspection i

Page 552

Chapter 4Inspection Configuration4–2Typically, a configuration file is given a name that indicates its role in theoverall inspection application. Simi

Page 553

5ChapterChapter 4Inspection Configuration4–3Note that the Config Files panel contains several data entry fields and“buttons.” Here is a brief descript

Page 554

CVIM2 ModuleReference ManualTable of ContentsviiChapter 7 (continued)Nominal (“Learn”) Function 7–105. . . . . . . . . . . . . . . . . . . . . . . .

Page 555

Chapter 4Inspection Configuration4–4Figure 4.3 Selecting New “Config” File NameFigure 4.4 Example: Configuration Files Panel With New “Config” Name

Page 556 - –19, 7–23

5ChapterChapter 4Inspection Configuration4–5NOTE: If you attempt to exit the Config Files panel at this time by pickingthe button, the following mes

Page 557

Chapter 4Inspection Configuration4–6the Config field. You can use this name, if it is appropriate for yourapplication, or you can enter a different na

Page 558

5ChapterChapter 4Inspection Configuration4–7Assuming that at least one configuration has been set up and selected, whenyou then pick Editor in the mai

Page 559

Chapter 4Inspection Configuration4–8• Cut –– Use the button to delete the toolset that has the cursor arrow(→) alongside the toolset number. Thus, i

Page 560 - –165, 7–168

5ChapterChapter 4Inspection Configuration4–9Figure 4.7 Example: Configuration Editor Panel With Three inspections DefinedThe basic configuration pro

Page 561 - –14, 6–22

Chapter 4Inspection Configuration4–10Figure 4.8 Selecting an Inspection NameThe default inspection name, Toolset 1, appears in the keyboard name bari

Page 562

5ChapterChapter 4Inspection Configuration4–11Note that the default inspection name (Toolset 1) now appears in the firstfield under Inspection Name, an

Page 563

Chapter 4Inspection Configuration4–12Note that the Inspection panel, unlike the Acquisition Editor panel, showsinspection settings for a single toolse

Page 564 - Worldwide representation

5ChapterChapter 4Inspection Configuration4–13In the following example, the Overlap Acq/Insp parameter is set to 3, whichmeans that the CVIM2 system is

Comments to this Manuals

No comments