ReferenceManualBulletin 5370CVIMtModule(Cat. No 5370–CVIM2)Allen-Bradley
CVIM2 ModuleReference ManualTable of ContentsviiiChapter 7 (continued)Max FG Object 7–167. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Chapter 4Inspection Configuration4–14Minimum TimeThe Minimum Time field enables you to specify a fixed minimum timeinterval (in milliseconds) between
5ChapterChapter 4Inspection Configuration4–15For example, when the sample size is set to 100 for a particular window tool,the CVIM2 system compiles a
Chapter 4Inspection Configuration4–16Selecting Display ParametersThe Display setup panel is accessible from the Configuration Editor panel,as shown in
5ChapterChapter 4Inspection Configuration4–17• Pause Time –– This parameter sets the amount of time that the onlinecamera image pauses after a reject
Chapter 4Inspection Configuration4–18• Result –– Use the button to select the results display setup panelfor the currently selected toolset.• Done –
5ChapterChapter 4Inspection Configuration4–19A scale of “To Fit” displays the entire camera image completely withinthe image display panel, regardless
Chapter 4Inspection Configuration4–20Here is a brief description of each field in the Results display setup panel:• Title –– This field enables the us
5ChapterChapter 4Inspection Configuration4–21Figure 4.14 Example: File Select Panel3. Pick the button. When you do, the setup mode image/tool disp
Chapter 4Inspection Configuration4–22Figure 4.15 Offline Image/Tool Display PanelArrow selectsthe toolset tobe set upResultsdisplay panel(in icon for
5ChapterChapter 4Inspection Configuration4–23Figure 4.16 Display Menu ExampleThe Display menu determines the appearance of the setup modeimage/tool d
CVIM2 ModuleReference ManualTable of ContentsixChapter 8 (continued)Dynamic Threshold Function 8–11. . . . . . . . . . . . . . . . . . . . . . . . . .
Chapter 4Inspection Configuration4–24Figure 4.17 Example: Camera Image in Setup Mode Image/Tool Display Panel6. If an external trigger source is use
5ChapterChapter 4Inspection Configuration4–258. Pick the or button. When you do, the Tool Types menuappears, as shown in Figure 4.19.Figure 4.19
Chapter 4Inspection Configuration4–2610. To access the tool for configuration purposes, pick the field with the tooltype in it (in this example, pick
5ChapterChapter 4Inspection Configuration4–27This section provides some details about various functions and features in thetoolset edit panel that are
Chapter 4Inspection Configuration4–28• Ref. –– Use this field to select a reference tool for the purpose ofproviding shift and/or rotation compensatio
5ChapterChapter 4Inspection Configuration4–29• Paste↑ –– Use the button to “paste” a copied inspection tool fromthe “clipboard” and insert it before
Chapter 4Inspection Configuration4–30Here is a brief description of the data fields that appear above the checkboxes in the toolset edit panel:• Tools
5ChapterChapter 4Inspection Configuration4–31Options Selection PanelWhen you pick the button, the Options selection panel (for theselected tool) appe
Chapter 4Inspection Configuration4–32the Monitor Only function to prevent a toolset from failing while stillreceiving graphical Pass/Fail feedback fro
5ChapterChapter 4Inspection Configuration4–33— Pass Group# –– This refers to the “pass” status of one or more groupsof tools in the toolset. The start
CVIM2 ModuleReference ManualTable of ContentsxChapter 10 (continued)Online Image/Tool Display Panel 10–14. . . . . . . . . . . . . . . . . . . . . .
Chapter 4Inspection Configuration4–34Alternate Toolset Save OptionIf, after you add tools to a toolset, the proposed storage device (such as“EE:”) is
5ChapterChapter 4Inspection Configuration4–35Pick the button to access the keyboard, as shown in Figure 4.25, andenter the new device name and tool
Chapter 4Inspection Configuration4–36Figure 4.26 Example: Original Positions of Tools and Workpiece ImageFigure 4.27 Example: Shifted and Rotated
5ChapterChapter 4Inspection Configuration4–37When you exit the setup display mode (or online operation) and return to thereference line edit panel, th
Chapter 4Inspection Configuration4–38Figure 4.29 Example With Tool Register Function ONFigure 4.30 Example: Altering Window Over Shifted and Rotate
5ChapterChapter 4Inspection Configuration4–39When you return again to setup display or online operations, the newlyaltered window will appear correctl
Chapter 4Inspection Configuration4–40The Image Manager panel enables you to archive full images or parts ofimages (called subimages). Full images are
5ChapterChapter 4Inspection Configuration4–41Note that the panel contains several selection fields, data entry fields, and“buttons.” Here is a brief d
Chapter 4Inspection Configuration4–42Configuring SubimageThe Image Manager provides a “pick and place” function to set the positionand size of the sub
5ChapterChapter 4Inspection Configuration4–43To store an image in a different device, enter the device name, a colon, and afile name, such as . . .EE:
1Chapter1–1Hardware Connection and Powerup CheckThis chapter shows you how to connect the CVIM2 system components andperform a powerup check.The proce
Chapter 4Inspection Configuration4–44Pick the button to exit the Image Manager panel back to theappropriate tool edit panel or online display.NOTE:
5Chapter5–1Pick and Place FunctionsThis chapter discusses the procedures for positioning the various CVIM2inspection tools within the image field and/
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
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
Chapter 5Pick and Place Function5–4The Pick & Place panel for the arc gage contains the following data displayfields and buttons:• X Cen; Y Cen ––
5ChapterChapter 5Pick and Place Function5–5When you select the Fixed Center mode, the pick and place operations for anarc gage have the following func
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
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
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
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,
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
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
5ChapterChapter 5Pick and Place Function5–11When you select an elliptical window and then pick the button inthe window edit panel, the window color
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
5ChapterChapter 5Pick and Place Function5–13Figure 5.12 Example: Using Pick and Place to Alter an Elliptical Window••••EE′Step 2: Pick the windowat
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
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
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
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
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
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
5ChapterChapter 1Hardware Connection and Powerup Check1–34. Install the CVIM2 module in the chassis. Tighten the thumbscrewsalternately until the modu
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
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
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
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
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
5ChapterChapter 5Pick and Place Function5–25For the Add Vertex mode, the pick and place points enable you to separatethe corresponding polygon sides i
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
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
Chapter 5Pick and Place Function5–28Figure 5.26 Example: Using the Delete Vertex Pick and Place Points to Alter a PolygonWindow5544Step 1: When you
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
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
6Chapter6–1Reference ToolsThis chapter provides detailed information about the reference line tool, thereference window tool, the rotation finder tool
Chapter 6Reference Tools6–2• Refline X′, Refline Y′ –– This button accesses the configuration panel foreither the X′– or the Y′–axis of the reference
5ChapterChapter 6Reference Tools6–32. Configure each axis:a. Select mode –– select either the binary mode or the gray scalemode.b. “Pick and place” ––
Chapter 6Reference Tools6–4The sections following Table 6.1 provide detailed descriptions of the sixreference line tool operations and how they apply
5ChapterChapter 6Reference Tools6–5Y onlyThe Y only operation consists of a single reference line that lies along thevertical (Y) axis of the image fi
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
5ChapterChapter 6Reference Tools6–7Y then XThe Y then X reference line operation consists of two reference lines, onethat lies along the vertical (Y)
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 (
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
Chapter 6Reference Tools6–10This section discusses the configuration steps that are accessed from theRefline buttons in the reference line tool edit p
5ChapterChapter 1Hardware Connection and Powerup Check1–5Connecting the I/O and Camera CablesRefer to the CVIM2 interconnect diagram (Figure 1.2) for
5ChapterChapter 6Reference Tools6–11• Filter –– This field provides access to the selection of one of the tenlevels of “noise” filtering for the workp
Chapter 6Reference Tools6–12Filter FunctionThe filter function is active only when the binary gaging mode is selected. Itis described in Chapter 8, Th
5ChapterChapter 6Reference Tools6–13NOTE: Wide gages are less likely to detect image features that are narrowand perpendicular to the gage. Thus, a w
Chapter 6Reference Tools6–14Feature SelectionWhen you pick the button on the axis configuration panel, theDefine Feature panel appears, as shown in
5ChapterChapter 6Reference Tools6–15ModeThe mode selects a particular group of edges that a reference line evaluateswhen searching for the specified r
Chapter 6Reference Tools6–16All edges –– The all edges feature mode enables you to specify a referencepoint on a reference line axis from the followin
5ChapterChapter 6Reference Tools6–17Figure 6.15 Example: Maximum Objects (Binary and Gray Scale)AdjacentpixelsAdjacentpixelsMidpointLeadingedgeMaxim
Chapter 6Reference Tools6–18Figure 6.16 uses both the binary gaging mode and the gray scale gagingmode to identify the potential maximum foreground ob
5ChapterChapter 6Reference Tools6–19Max B. Object –– The maximum background object feature mode enablesyou to specify a reference point on a reference
Chapter 6Reference Tools6–20Gray scale gaging mode –– The maximum background object is the one withgreatest number of consecutive pixels (between the
Chapter 1Hardware Connection and Powerup Check1–6Connecting the User Interface Cable (2801–NC20A, B, C): VGAMonitorUse the following steps to connect
5ChapterChapter 6Reference Tools6–21Figure 6.18 Example: Using Maximum Object to Track Part of WorkpieceMaximum background objectReference lineMidpo
Chapter 6Reference Tools6–22OffsetThe “offset” function enables you to identify one point along each referenceline axis as the specified feature to pr
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
Chapter 6Reference Tools6–24Figure 6.21 Example: “Learned” Coordinates With Three–Axis Reference Line0°AB
5ChapterChapter 6Reference Tools6–25This section discusses the expanded inspection results that are available to amath tool formula from a reference l
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
5ChapterChapter 6Reference Tools6–27Feature window –– This window defines a small portion of the image fieldthat contains a unique workpiece feature.
Chapter 6Reference Tools6–28The reference window edit panel (named “Edit Toolset 1.Tool 2” inFigure 6.23) contains several fields and buttons, which a
5ChapterChapter 6Reference Tools6–292. Save feature image:a. “Pick and place” –– position the feature window over theappropriate feature on the workpi
Chapter 6Reference Tools6–30Active Feature SelectionFor the purposes of this discussion, the configuration process begins with theselection of the “ac
5ChapterChapter 1Hardware Connection and Powerup Check1–75. Connect the coaxial cables to the appropriate R, G, B, and SYNCconnectors on the N22 modul
5ChapterChapter 6Reference Tools6–31NOTE: Predictor and Point Xform are included in the Image Managerpanel mainly to enable image data interchange wi
Chapter 6Reference Tools6–32To save a feature image, pick the button. When you do, the keyboardpanel appears with this instruction in the title bar:
5ChapterChapter 6Reference Tools6–33NOTE: The EE: and/or MC: devices may be useful for saving subimageswhile testing reference window tools. However,
Chapter 6Reference Tools6–34Single Pass vs Double PassYou can configure a reference window tool so that the feature window makeseither one or two “pas
5ChapterChapter 6Reference Tools6–35The First Pass panel contains several selection fields, data entry fields, andbuttons, which are described briefly
Chapter 6Reference Tools6–36In example (B), the feature image contains fewer sharply defined edges. Theedge pixels in this image will cause minimal ma
5ChapterChapter 6Reference Tools6–37This panel contains a pair of threshold adjustment cursors and twomorphology buttons, and , which are used to cr
Chapter 6Reference Tools6–38Stop When SelectionThe “Stop When” selection field enables you to select either “FirstFeature(s)” or “Best Feature(s)” as
5ChapterChapter 6Reference Tools6–39Figure 6.33 Examples: Comparing First Feature Image With Best Feature ImageABCDFeature window(original position)
Chapter 6Reference Tools6–40X Scale, Y Scale SelectionsThe X Scale and Y Scale “compression” ratio selections, shown inFigure 6.34, determine the rati
Because of the variety of uses for the products described in thispublication, those responsible for the application and use of thiscontrol equipment m
Chapter 1Hardware Connection and Powerup Check1–8At this point, with all basic system components connected, the CVIM2system is ready for the powerup c
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
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
5ChapterChapter 6Reference Tools6–43Scale To SelectionsThe Nearest Neighbor and Neighborhood Average “scale to” selections,shown in Figure 6.37, have
Chapter 6Reference Tools6–44In a typical system, small gray value variations or “dithering” may be presentfrom the following sources:• Thermal “noise”
5ChapterChapter 6Reference Tools6–45Figure 6.38 provides three examples to illustrate the results of RMScalculations. In these examples, the feature i
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
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
Chapter 6Reference Tools6–48Nominal (“Learn”) FunctionAs noted on page 6–28, the Nominal field in the reference window tool editpanel, when picked, ca
5ChapterChapter 6Reference Tools6–49When you pick the button to exit the Feature Locations panel, the“learned” data appear in the Nominal field and
Chapter 6Reference Tools6–50This section discusses the expanded inspection results that are available to amath tool formula from a reference window to
5ChapterChapter 1Hardware Connection and Powerup Check1–9Figure 1.3 Example: Monitor Screen After Normal PowerupMain menubarIf you have not yet inst
5ChapterChapter 6Reference Tools6–51• Theta –– When a two–feature reference window tool is used, this returnsthe nominal or “learned” value of the rot
Chapter 6Reference Tools6–52This section discusses the rotation finder tool and the rotation compensationthat it can provide to other tools.The rotati
5ChapterChapter 6Reference Tools6–53Figure 6.43 Example: Selecting the Rotation Finder Tool Edit PanelRotation finder(default position)• *P&P So
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
5ChapterChapter 6Reference Tools6–55Figure 6.44 illustrates the initial image of the circular object, the index markon the circular object, and the re
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
5ChapterChapter 6Reference Tools6–57Here are the criteria for positioning the inner and outer rings of the sourcewindow:• The source window should be
Chapter 6Reference Tools6–58Figure 6.48 Example: Repositioned Destination Window With Unwrapped ImageSourcewindowDestinationwindowUnwrappedimageInde
5ChapterChapter 6Reference Tools6–59The feature window should be positioned so that it covers the smallestpossible region that contains a feature with
Chapter 6Reference Tools6–60After the pass configuration is complete, a “learn” operation must beperformed by picking the Nominal field in the tool ed
Chapter 1Hardware Connection and Powerup Check1–10The CVIM2 system supports most serial mouse and trackball pointingdevices that are IBM PC compatibl
5ChapterChapter 6Reference Tools6–61When the button is picked on the Feature Locations panel, theNominal field in the tool edit panel displays the X
Chapter 6Reference Tools6–62This section discusses the expanded inspection results that are available to amath tool formula from a rotation finder too
5ChapterChapter 6Reference Tools6–63• nX –– This returns the change from the nominal or “learned” Xcoordinate of the center of rotation.• nY –– This r
Chapter 6Reference Tools6–64This section discusses the build reference tool and the shift and rotationcompensation that it can provide to other tools.
5ChapterChapter 6Reference Tools6–65Figure 6.54 Example: Selecting the Build Reference Tool Edit PanelBuild referencetool name(default position)• Th
Chapter 6Reference Tools6–66• Xc Formula –– The button is active only when the ThetaMode selection is Absolute or Delta. It accesses the formula ent
5ChapterChapter 6Reference Tools6–67This section provides a few simple examples whose purpose is to:• Identify the basic steps in the process of confi
Chapter 6Reference Tools6–68Figure 6.55 Example: Relation Between Window, Build Reference, and Gage Tools inToolset Edit PanelFigure 6.55 also indic
5ChapterChapter 6Reference Tools6–69Figure 6.57 Initial Appearance of Build Reference Tool Edit PanelNote also that the button is active (unshaded)
Chapter 6Reference Tools6–70Figure 6.58 Example: Entering X Mode Formula for Absolute and Delta MethodsABWhen you pick the key on the formula entr
5ChapterChapter 1Hardware Connection and Powerup Check1–11Figure 1.4 Example: Setting System I/O Port B to Mouse FunctionPick the button to save t
5ChapterChapter 6Reference Tools6–71Figure 6.59 Example: “Learning” Nominal Values for Build Reference ToolABThe difference in the operation of the
Chapter 6Reference Tools6–72Example: Theta OperationThis section provides a simple example that illustrates a theta operation usingthe “Absolute” met
5ChapterChapter 6Reference Tools6–73The window tool, using the Black Contours operation, is further configuredto supply the X–axis and Y–axis coordina
Chapter 6Reference Tools6–74Figure 6.63 Disabling X Mode, Enabling Theta ModeSet X Mode toDisabledSet Theta Modeto AbsoluteAfter the appropriate mode
5ChapterChapter 6Reference Tools6–75Figure 6.64 Example: Entering Theta Formula in KeyboardNOTE: The formula is “{Tool 1.Theta#}.” The “#” sign mus
Chapter 6Reference Tools6–76Figure 6.65 Example: Entering Xc Centroid Coordinate Formula in KeyboardNOTE: The formula is “{Tool 1.Xcenter#}.” The “
5ChapterChapter 6Reference Tools6–77When all three formulas are entered and saved, and the build reference tooledit panel reappears, when you then pic
Chapter 6Reference Tools6–78This section discusses the expanded inspection results that are available to amath tool formula from a build reference too
5ChapterChapter 6Reference Tools6–79• Theta –– This returns the current value of the theta result, in degrees,from the Theta Formula in the build refe
7Chapter7–1Inspection ToolsThis chapter provides detailed information about all CVIM2 inspection tools(except reference tools), including all configur
2Chapter2–1CVIM2 System Configuration: An OverviewThis chapter discusses the basic phases of system configuration and themajor configuration function
Chapter 7Inspection Tools7–2Figure 7.1 Example: Selection Path for the Toolset Edit PanelMain menubar
5ChapterChapter 7Inspection Tools7–3Figure 7.2 Example: Adding an Inspection ToolThis section discusses line gage shapes, gaging modes, and the insp
Chapter 7Inspection Tools7–4Figure 7.3 Example: Selecting the Gage Edit PanelGage (default position)• Filter –– This field provides access to the se
5ChapterChapter 7Inspection Tools7–5• Feature A, Feature B –– The buttons accesses the “feature,” oredge selection panels for the respective feature
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
5ChapterChapter 7Inspection Tools7–7Table 7.1 lists all of the gage operations, along with the applicable gageshape and gaging mode.Table 7.1 Summary
Chapter 7Inspection Tools7–8Figure 7.5 Examples: Counting Black Pixels and White Pixels Across a WorkpieceABForeground Objects; Background ObjectsTh
5ChapterChapter 7Inspection Tools7–9In example (B) of Figure 7.6, the two foreground (white) objects correspondto the two white rectangles. These rect
Chapter 7Inspection Tools7–10Figure 7.7 Examples: Counting Background Objects (Binary)ABGray Scale Gaging Mode: Foreground ObjectsForeground object
5ChapterChapter 7Inspection Tools7–11Figure 7.8 Examples: Counting Foreground Objects (Gray Scale)ABFigure 7.9 uses a graph to illustrate the relati
Chapter 2CVIM2 System Configuration: An Overview2–2Figure 2.2 is a chart showing four basic phases that are involved inconfiguring the CVIM2 system f
Chapter 7Inspection Tools7–12Gray Scale Gaging Mode: Background ObjectsBackground objects are those objects that lie completely between the first and
5ChapterChapter 7Inspection Tools7–13Figure 7.11 Example: Identifying Background Objects (Gray Scale)LighterDarkerObject 4Object 1 Object 2Object 3E
Chapter 7Inspection Tools7–14Linear MeasureThis gage operation is available when you select either the binary gagingmode or the gray scale gaging mode
5ChapterChapter 7Inspection Tools7–15Figure 7.14 Example: Reporting the X Coordinate of a Single EdgeY PositionThis gage operation is available when
Chapter 7Inspection Tools7–16NOTE: The following gage operations apply only to arc gages. Forinformation about the pick and place operations that are
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
Chapter 7Inspection Tools7–18Figure 7.18 Example: Measuring the Chord AngleX–axisChordFeature AFeature B0°The following six gage operations employ “
5ChapterChapter 7Inspection Tools7–19Figure 7.19 Example: Selecting the Define Feature Selection PanelHere is a brief description of the feature sel
Chapter 7Inspection Tools7–20ModeWhen you pick the Mode field in the Define Feature menu, the FeatureMode selection menu appears on the screen, as sho
5ChapterChapter 7Inspection Tools7–21All EdgesThe all edges feature mode enables you to specify an edge from among thefollowing points along the lengt
5ChapterChapter 2CVIM2 System Configuration: An Overview2–3The remainder of this chapter describes the major configuration functionswithin each basic
Chapter 7Inspection Tools7–22Max F. ObjectThe maximum foreground object feature mode enables you to specify an edgefrom among the following points on
5ChapterChapter 7Inspection Tools7–23DirectionThe search direction is the direction used to search for an edge along thelength of the gage. The two av
Chapter 7Inspection Tools7–24This section discusses the inspection results that are available to a math toolformula from a gage tool. The specific set
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
Chapter 7Inspection Tools7–26• *Min –– This returns the current minimum value of the inspection resultssince the start of the run operation.• *Max ––
5ChapterChapter 7Inspection Tools7–27This section discusses windows and the inspection functions (“operations”)that the windows can perform.Once you h
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,
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
Chapter 7Inspection Tools7–30• Ellipse –– The axes of an elliptical window are always aligned with thevertical and horizontal axes of the image field.
5ChapterChapter 7Inspection Tools7–31NOTE: The destination window is normally configured with the verticalaxis longer than the horizontal axis, since
Chapter 2CVIM2 System Configuration: An Overview2–4Picking the Editors MenuThe next step, after defining at least one configuration, is taken from th
Chapter 7Inspection Tools7–32When you pick the Operation field in the window tool edit panel, theWindow Operation selection panel appears, as shown in
5ChapterChapter 7Inspection Tools7–33Figure 7.29 Example: Using the White Pixel Counting OperationNote in Figure 7.29 that the “Nominal” value shows
Chapter 7Inspection Tools7–34White Contours; Black ContoursThese two operations identify black or white objects within the windowboundaries. The image
5ChapterChapter 7Inspection Tools7–35Target PanelThe Target panel enables you to specify the measurement functions thatdetermine which contours the wi
Chapter 7Inspection Tools7–36Contour Measurement FieldsThe contour measurement fields consist of three columns whose contents andfunctions are describ
5ChapterChapter 7Inspection Tools7–37NOTE: You can change the status of each measurement function to eitheractive or inactive, according to whether i
Chapter 7Inspection Tools7–38Note in Figure 7.33 that the Max and Min values are 100000 (using scientificnotation: 1e+05) and 0, respectively. These
5ChapterChapter 7Inspection Tools7–39Figure 7.34 Examples: Selecting Basis for Numbered DisplaysABCIn example (A), the “)” symbol appears on the “Ar
Chapter 7Inspection Tools7–40areas of objects 2 through 9 lie between these two values. Thus, the windowmeasures the largest ten objects.In example (C
5ChapterChapter 7Inspection Tools7–41• Holes –– This field determines whether to Include or Exclude “holes” incontours (for example, white holes in bl
5ChapterChapter 2CVIM2 System Configuration: An Overview2–5Figure 2.5 Example: Configuration Editor Panel With Six InspectionsWhen you finish the c
Chapter 7Inspection Tools7–42The Nearest Neighbor selection panel (Figure 7.35, page 7–40) enables youactivate the nearest neighbor function and selec
5ChapterChapter 7Inspection Tools7–43In Figure 7.37, however, the orientation of the two objects precludes anyoverlap of the objects’ bounding boxes i
Chapter 7Inspection Tools7–44Figure 7.38 Example: Selecting Pick Target PanelWhen you pick one of the objects in the image field, the measurement re
5ChapterChapter 7Inspection Tools7–45Contour Measurement FunctionsThe contour measurement functions described earlier are mostly selfexplanatory. Thus
Chapter 7Inspection Tools7–46Figure 7.40 Example: Comparing Roundness of Various ShapesAB
5ChapterChapter 7Inspection Tools7–47Circularity –– Circularity is a measure of how close the basic shape of anobject is to being a perfect circle, an
Chapter 7Inspection Tools7–48Inertia –– The sum, over all pixels within the contour, of the squareddistance from the centroid to each pixel. This is e
5ChapterChapter 7Inspection Tools7–49Figure 7.43 Example: Theta of Two Objects of Different Orientation–37.8°40.2°AB
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
5ChapterChapter 7Inspection Tools7–51Note that the maximum measurable angle in each direction is 90.0°(clockwise) and –90.0° (counterclockwise), since
Chapter 2CVIM2 System Configuration: An Overview2–6Selecting Image Acquisition ParametersYour next step, after configuring a toolset, is to pick the
Chapter 7Inspection Tools7–52LuminanceThe luminance window operation calculates the average luminance, or grayscale value, of all the pixels within th
5ChapterChapter 7Inspection Tools7–53Some morphology functions can create artifacts along the border of thewindow. When two pass is used, the first pa
Chapter 7Inspection Tools7–54Figure 7.47 Example: Using Two Pass to Remove Unwanted PixelsABC
5ChapterChapter 7Inspection Tools7–55This section discusses the expanded inspection results that are available to amath tool formula from a window too
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
5ChapterChapter 7Inspection Tools7–57The object number that replaces the “#” sign must conform to these tworequirements:1. The object number must be a
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
5ChapterChapter 7Inspection Tools7–59In the CVIM2 system, some spatial filtering functions (such as Sobel) havetheir kernel coefficients arrayed in sp
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
5ChapterChapter 7Inspection Tools7–61• Thresh/Filter –– The button activates threshold and/or filterfunctions that are appropriate for the selected
CVIM2 ModuleReference ManualTable of ContentsiChapter 1CVIM2 System Components 1–1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Co
5ChapterChapter 2CVIM2 System Configuration: An Overview2–7• Toolset Trigger panel –– This scrolling list panel enables you to select aToolset Trigge
Chapter 7Inspection Tools7–62The Transform operation is the appropriate choice under the followingconditions:• The required image processing can be pe
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
Chapter 7Inspection Tools7–64Figure 7.53 illustrates the effects on the inspected object that Absolute andS.Threshold LUTs have when using the Sobel X
5ChapterChapter 7Inspection Tools7–65Figure 7.54 Example: Effect of Sobel Y Kernel on Inspected ObjectImage toolInspectedobjectNote that the Sign LU
Chapter 7Inspection Tools7–66Laplace KernelThe Laplace kernel performs nondirectional spatial filtering functions thatsharpen gradients lying along bo
5ChapterChapter 7Inspection Tools7–67Note that the Sign LUT was selected for the example. Since the Laplacekernel creates a signed image, which contai
Chapter 7Inspection Tools7–68X Edge, Y Edge KernelsThe X Edge and Y Edge kernels perform directional spatial filteringfunctions that sharpen gradients
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
Chapter 7Inspection Tools7–70Figure 7.58 Example: Effect of Y Edge Kernel on Inspected ObjectImage toolInspectedobjectThe effects on the inspected o
5ChapterChapter 7Inspection Tools7–71Figure 7.59 illustrates the effect of the XY Edge kernel on a dark inspectedobject on a light background.Figure 7
Chapter 2CVIM2 System Configuration: An Overview2–8Selecting Online OperationNormally, your last step is to pick Go On–Line in the Environment menu.T
Chapter 7Inspection Tools7–72Average 3x3, Average 5x5 KernelsThe Average 3x3 and Average 5x5 kernels calculate the average value ofthe pixels in a nei
5ChapterChapter 7Inspection Tools7–73Figure 7.61 Example: Effect of Average 3x3 Kernel on Inspected ObjectImagetoolInspectedobjectAverage 5x5 Kernel
Chapter 7Inspection Tools7–74Figure 7.62 Example: Effect of Average 5x5 Kernel on Inspected ObjectImagetoolInspectedobjectUser 3x3, User 5x5 Kernels
5ChapterChapter 7Inspection Tools7–75Figure 7.63 Selecting Coefficient for User 3x3 KernelAs Figure 7.63 shows, when you pick any of the coefficient
Chapter 7Inspection Tools7–76Contrast field depends on the placement of the user–selectable coefficientswithin the kernel.When active, the Contrast fi
5ChapterChapter 7Inspection Tools7–77The availability of the contrast function, and the maximum contrast values,are both related to the specific kerne
Chapter 7Inspection Tools7–78Table 7.5 correlates the LUT with the signed/unsigned state of the inputimage from a convolution kernel, and indicates th
5ChapterChapter 7Inspection Tools7–79This section provides detailed information about the six arithmetic operationslisted in the Image Operation selec
Chapter 7Inspection Tools7–80Image Subtraction: S1 – S2, S1 – S1’, S1 – TIn an image subtraction operation, the image tool subtracts an AOI in thesec
5ChapterChapter 7Inspection Tools7–81Figure 7.65 Example: Designating S2 Source for Image Tool Using S1 – S2In this example, Tool 2 is an image tool
5ChapterChapter 2CVIM2 System Configuration: An Overview2–9The display panel shows the inspection tools over the inspected image. Themenu bar in the
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
5ChapterChapter 7Inspection Tools7–83the subtraction is assigned to one of the image buffers (P1, P2, or P3) in thedestination (“Dest”) column of the
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”
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)
Chapter 7Inspection Tools7–86Figure 7.68 Example: Occurrence of “Tool Outside” MessageAOI#1 forTool 2Image fromTool 1 (P1)When the “tool outside” me
5ChapterChapter 7Inspection Tools7–87Figure 7.70 Example: AOI Window “Modified to Fit” in ImageAOI#1 forTool 2Note that the AOI window may not have
Chapter 7Inspection Tools7–88The pick and place procedure for the circular AOI is comparable to theprocedure for circular gages, while the pick and pl
5ChapterChapter 7Inspection Tools7–89QuadA quad “shape” image tool consists of two separate windows: a quadrilateralAOI, and a rectangular “destinati
Chapter 7Inspection Tools7–90PerspectiveA perspective “shape” image tool consists of two separate windows: aperspective AOI, and a rectangular “desti
5ChapterChapter 7Inspection Tools7–91bottom part. Note that the grid lines are essentially at right angles. Thebottom “squares” of the grid are nearly
Chapter 2CVIM2 System Configuration: An Overview2–10NOTE: In the following discussions, the use of a mouse is assumed for thescreen pointer function
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
5ChapterChapter 7Inspection Tools7–93Figure 7.76 Example: Neighborhood Operation in Image Tool000322827312728332928332729312829322729585755312728918
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
5ChapterChapter 7Inspection Tools7–95The Lut field in the tool edit panel selects a look–up table (LUT), which, asnoted earlier, remaps the gray scale
Chapter 7Inspection Tools7–96• Threshold –– This selection converts an “unsigned” gray scale image to abinary image. All pixels whose gray values lie
5ChapterChapter 7Inspection Tools7–97The Morph Passes parameter determines the number of times the image ispassed through the image processing “pipeli
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
5ChapterChapter 7Inspection Tools7–99In Figure 7.83, four “morph passes” have occurred, with the result that all ofthe horizontal lines are eliminated
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
5ChapterChapter 7Inspection Tools7–101The feature finder tool is intended to perform object counting and objectidentification on the basis of gray sca
5ChapterChapter 2CVIM2 System Configuration: An Overview2–11In the Configuration Editor panel, the pointer is positioned over the button, and the lef
Chapter 7Inspection Tools7–102Figure 7.85 Example: Selecting the Feature Finder Tool Edit PanelThe feature finder edit panel (named “Toolset 1.Tool
5ChapterChapter 7Inspection Tools7–103• Pass 2 –– The button selects the Second Pass panel, fromwhich you can select the parameters that the feature
Chapter 7Inspection Tools7–104This section discusses the configuration steps that are accessed from thefields and buttons in the feature finder tool e
5ChapterChapter 7Inspection Tools7–105Second Pass ConfigurationThe second pass configuration procedure for the feature finder tool isidentical to the
Chapter 7Inspection Tools7–106The data in the Feature Locations panel appears under three columns,which are defined as follows:• Rank –– This identifi
5ChapterChapter 7Inspection Tools7–107This section discusses the expanded inspection results that are available to amath tool formula from a feature f
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
5ChapterChapter 7Inspection Tools7–109Also, the feature number that replaces the “#” sign must conform to thesetwo requirements:1. The feature number
Chapter 7Inspection Tools7–110The math tool enables the CVIM2 system to perform mathematical and/orlogical operations, using formulas that you specify
5ChapterChapter 7Inspection Tools7–111Once you have selected a math tool as outlined in the Overview: InspectionTool Selection Process section (page
Chapter 2CVIM2 System Configuration: An Overview2–12Figure 2.11 Example: Moving a Panel Across the ScreenDrag panelFinal positionof panel
Chapter 7Inspection Tools7–112operation mode, see the math tool example, Example: Using a SingleMath Tool to Generate Multiple Results, on page 7–144
5ChapterChapter 7Inspection Tools7–113When you pick the button on the math tool edit panel, the formulaentry keyboard appears, as shown in Figure 7.
Chapter 7Inspection Tools7–114• Previous key –– The key accesses the Previous Resultspanel, which lists all of the tools in the toolset edit panel (
5ChapterChapter 7Inspection Tools7–115• Greater than or equal key –– The key is used to enter a “greaterthan or equal” (w) symbol between two values
Chapter 7Inspection Tools7–116ResultsWhen you pick the key, the Results panel appears, as shown by theexample in Figure 7.92.Figure 7.92 Example:
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
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
5ChapterChapter 7Inspection Tools7–119Previous ResultsWhen you pick the key, the Previous Results panel appears, asshown by the example in Figure 7.
Chapter 7Inspection Tools7–120Trig FunctionsWhen you pick the key, the Trig Functions panel appears, as shownby the example in Figure 7.95.Figure 7.
5ChapterChapter 7Inspection Tools7–121asin –– The “asin” (arc sine) function calculates an arc sine (angle) on thebasis of the sine value that you ent
5ChapterChapter 2CVIM2 System Configuration: An Overview2–13Figure 2.12 Example: Panel Manipulation FunctionsPick tochange panelto icon formPick to
Chapter 7Inspection Tools7–122atan –– The “atan” (arc tangent) function calculates the arc tangent (angle)on the basis of the tangent value that you e
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
Chapter 7Inspection Tools7–124Logical FunctionsWhen you pick the key, the Logical Functions panel appears, asshown by the example in Figure 7.97.Fig
5ChapterChapter 7Inspection Tools7–125Figure 7.98 Example: Using a Logical “and” FunctionIn this example, Tool 1.Pass, Tool 2.Pass, and Tool 3.Pass
Chapter 7Inspection Tools7–126or –– The “or” logic operator is inserted between two or more expressions(such as inspection results values) in a formul
5ChapterChapter 7Inspection Tools7–127test –– The “test” logic operator evaluates the expression following theparenthesis. If the value of the express
Chapter 7Inspection Tools7–128Figure 7.99 Example: Selecting the Bit Functions PanelThe value(s) used with a bit–level logic operator are usually nu
5ChapterChapter 7Inspection Tools7–129In this example formula, the decimal value 8710 is bit–xored with thedecimal value 11910, which produces a resul
Chapter 7Inspection Tools7–1301891879binary result of the logic operation (“output”) is then converted backto decimal form.In a simple example, two va
5ChapterChapter 7Inspection Tools7–131For example, the following formula calculates the average area of the foursmallest contours in a window using a
Chapter 2CVIM2 System Configuration: An Overview2–14Throughout the configuration process, names must be entered for files,inspections, tools, and var
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
5ChapterChapter 7Inspection Tools7–133The Misc Functions panel lists various additional functions that a math toolcan perform.After selecting a misc f
Chapter 7Inspection Tools7–134sqrt –– The “sqrt” (square root) function calculates the square root of thevalue entered after the opening parenthesis.
5ChapterChapter 7Inspection Tools7–135This section discusses the expanded inspection results that are available to amath tool formula from another mat
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
5ChapterChapter 7Inspection Tools7–137This section contains several examples that demonstrate some of the methodsof using math tool formulas.Example:
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
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
Chapter 7Inspection Tools7–140Figure 7.107 Example: Four Window Tools Configured to Corner ObjectsThe formula is set up on the formula entry keyboar
5ChapterChapter 7Inspection Tools7–141Example: List ProcessingSome tool operations can produce, in addition to basic tool results, a varietyof multip
5ChapterChapter 2CVIM2 System Configuration: An Overview2–15• Del (delete) key –– This key deletes the character at the cursor position.• Clear key –
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
5ChapterChapter 7Inspection Tools7–143Figure 7.112 Example: Formula Configured to Sum “Pass” Results From Four GageToolsNOTE: A math formula that s
Chapter 7Inspection Tools7–144Example: Using a Single Math Tool to Generate Multiple ResultsThis example illustrates the requirements for configuring
5ChapterChapter 7Inspection Tools7–145Figure 7.116 Example: Selecting “Area” Formula For Multiple OperationAfter the button is picked and the form
Chapter 7Inspection Tools7–146Figure 7.118 Example: Displaying Area Values in Math Values PanelThe area values appearing in the “scrolling” list are
5ChapterChapter 7Inspection Tools7–147This section discusses the profile tool and the inspection functions(“operations”) that it can perform.The profi
Chapter 7Inspection Tools7–148The profile tool edit panel (named “Toolset 1.Tool 5 Edit” in Figure 7.119)contains several parameter selection fields
5ChapterChapter 7Inspection Tools7–149This section defines the components of the profile tool and, using a simpleexample, illustrates the initial part
Chapter 7Inspection Tools7–150Figure 7.120 Example: Positioning the Profile Window Over WorkpieceProfile window(default position)Profile window(new
5ChapterChapter 7Inspection Tools7–151Profile WindowAs noted earlier, the profile window defines the portion of the image field tobe processed for a p
Chapter 2CVIM2 System Configuration: An Overview2–16it appears in the display window above the keys. The maximum number ofdigits that you can enter i
Chapter 7Inspection Tools7–152Figure 7.122 uses the “pin connector” workpiece in Figure 7.121 to illustratean “X” direction profile display.Figure 7.1
5ChapterChapter 7Inspection Tools7–153Y Direction Profile DisplayWhen the “Y” direction is selected, the variations in amplitude appear alongthe Y, or
Chapter 7Inspection Tools7–154Threshold DisplayThe threshold display is a graphic representation of the current thresholdsetting. It can be adjusted,
5ChapterChapter 7Inspection Tools7–155The threshold setting should be the one that optimizes the profile tool for itsassigned inspection task of locat
Chapter 7Inspection Tools7–156Here is a brief description of each profile tool operation:• Position –– This operation identifies the location (the X o
5ChapterChapter 7Inspection Tools7–157Figure 7.128 Example: Reporting the X Coordinate of a Single EdgeWhen the workpiece is rotated 90°, and the Y
Chapter 7Inspection Tools7–158Figure 7.129 illustrates a profile tool using the distance operation in the Xdirection.Figure 7.129 Example: Reporting
5ChapterChapter 7Inspection Tools7–159Foreground Objects; Background ObjectsThese two operations configure a profile tool to count the number of“foreg
Chapter 7Inspection Tools7–160Figure 7.130 Example: Identifying Foreground and Background ObjectsThreshold(level 128)ForegroundobjectsBackgroundobje
5ChapterChapter 7Inspection Tools7–161The profile tool’s edge counting operation is similar to the edge countingoperations for a gage tool, in the sen
CVIM2 ModuleReference ManualTable of ContentsiiChapter 3 (continued)Focus Function 3–5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3Chapter3–1Image Acquisition ParametersThis chapter discusses the details of selecting the appropriate imageacquisition parameters in preparation for
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
5ChapterChapter 7Inspection Tools7–163The Filter selection panel lists eight morphology filtering functions and a“size” selection field. Morphology is
Chapter 7Inspection Tools7–164The Filter selection panel also has a “Size” field, which is used to select thesize (or width) of the morphology filter
5ChapterChapter 7Inspection Tools7–165Note that the Position operation needs to specify only one feature, while theDistance operation needs to specify
Chapter 7Inspection Tools7–166• FG Border –– This feature mode restricts the search for a specifiedfeature on the basis that the first edge (offset 1.
5ChapterChapter 7Inspection Tools7–167BG BorderThe background border feature mode is identical to the all edges mode,except that offset 1.0 always coi
Chapter 7Inspection Tools7–168Middle BG ObjectThe middle background object feature mode enables you to specify an edgefrom among the following points
5ChapterChapter 7Inspection Tools7–169MethodThe method selection determines the location of a midpoint offset. The twoavailable choices are these: Mi
Chapter 7Inspection Tools7–170The threshold adjustments determine how the profile image is divided intoforeground and background objects and where edg
5ChapterChapter 7Inspection Tools7–171When other threshold modes are selected, the slide bar assumes otherfunctions, which are discussed next in the M
Chapter 3Image Acquisition Parameters3–2• Acquisition Systems Settings panel –– The button accessesthe Acquisition System Settings panel, from which
Chapter 7Inspection Tools7–172Min+%Diff High ModeWhen you pick Min+%Diff High in the Thresh Mode panel, the Thresholdpanel appears as shown in Figure
5ChapterChapter 7Inspection Tools7–173Figure 7.139 illustrates the Min+%Diff High threshold mode, using thedefault values for the “%” and “Limit” sett
Chapter 7Inspection Tools7–174Figure 7.140 Appearance of Threshold Adjustment Panel With Min+%Diff Low ModeMin+Offset ModeWhen you pick Min+Offset in
5ChapterChapter 7Inspection Tools7–175Figure 7.141 Appearance of Threshold Adjustment Panel With Min+Offset ModeFigure 7.142 illustrates the Min+Offs
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
5ChapterChapter 7Inspection Tools7–177Morphology Filter SelectionThe and buttons under the slide bar provide access toidentical morphology selecti
Chapter 7Inspection Tools7–178Here is a brief definition and explanation of each of the expanded resulttypes listed in Figure 7.144.• Execute –– This
5ChapterChapter 7Inspection Tools7–179• Bx, By –– These values pertain only to a profile tool configured fordistance or position operations. “Bx” retu
Chapter 7Inspection Tools7–180Figure 7.145 (A) appears when the “Statistics” option has not been selectedfor the corresponding tool, while (B) appears
5ChapterChapter 7Inspection Tools7–181As Figure 7.146 shows, the CVIM2 system provides two sets of range limits:Warning range limits, and fail range l
5ChapterChapter 3Image Acquisition Parameters3–3The Camera setup panel contains a scrolling list panel, several parameterselection boxes, and several
Chapter 7Inspection Tools7–182Here is a summary of the conditions under which tool fail and tool warnconditions can occur.A tool fail condition arises
5ChapterChapter 7Inspection Tools7–183This section discusses “conditional processing,” which, when selected for aspecific inspection tool, permits tha
Chapter 7Inspection Tools7–184The Conditions panel also contains two checkboxes and two buttons, whichare described briefly, as follows:• Enable –– Th
5ChapterChapter 7Inspection Tools7–185In this example, the object of the inspection is to inspect the front and backlabels of a package for correct po
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
5ChapterChapter 7Inspection Tools7–187This section discusses the multiple gages tool and the inspection functions(“operations”) that it can perform.On
Chapter 7Inspection Tools7–188• Width, Kernel –– This field provides access to the selection of the GageWidth & Kernel panel, which sets the sub–g
5ChapterChapter 7Inspection Tools7–189• P&P Gages –– The button activates the pick and place functionfor the highlighted sub–gage. Each time a s
Chapter 7Inspection Tools7–190When you pick the Operation field in the multiple gages tool edit panel, theSub–Gage Operation selection panel appears,
5ChapterChapter 7Inspection Tools7–191The Width box enables the selection of one of several sub–gage widths. Thedefault width setting is 1 pixel, but
Chapter 3Image Acquisition Parameters3–4Camera Type SelectionThis scrolling list panel lists the “standard” camera types that theAllen–Bradley Company
Chapter 7Inspection Tools7–192The Gage Threshold panel contains a separate adjustment for the “rising”and “falling” edges of an object in the image fi
5ChapterChapter 7Inspection Tools7–193The following three gage operations employ “features” to identify the edgesused for a measurement: X position,
Chapter 7Inspection Tools7–194This section discusses the expanded inspection results that are available to amath tool formula from a multiple gages to
5ChapterChapter 7Inspection Tools7–195• Gage# –– This returns the results value from a specific sub–gage (forsingle math operations) or the results va
Chapter 7Inspection Tools7–196This section discusses the multiple windows tool and the inspection functions(“operations”) that it can perform.Once you
5ChapterChapter 7Inspection Tools7–197• Result –– This field displays an eight–digit hexadecimal number. Each ofthe 32 bit positions represents the pa
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
5ChapterChapter 7Inspection Tools7–199When you pick the Thresh/Filter field in the multiple windows tool editpanel, the Thresh/Filter panel appears wh
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
5ChapterChapter 7Inspection Tools7–201Here is a brief definition and explanation of each of the expanded resulttypes listed in Figure 7.161.• Execute
5ChapterChapter 3Image Acquisition Parameters3–5Trigger/Rate/Source/Strobe SelectionsThese selections refer to the fields labeled Focus Trigger, Rate
8Chapter8–1Thresholds, Filters, and MorphologyThis chapter discusses the various threshold and filter settings for theinspection tools, as follows:• B
Chapter 8Thresholds, Filters, and Morphology8–2Settings can be changed by “dragging” the cursors up and down, or bypicking the screen above or below a
5ChapterChapter 8Thresholds, Filters, and Morphology8–3Figure 8.2 Example: Optimizing the Threshold Settings (Binary Gaging Mode)BinarizedimageGageE
Chapter 8Thresholds, Filters, and Morphology8–4Figure 8.3 Selecting Binary Filter Panel for GageCursorFilter valuefieldFrom the Binary Filter panel y
5ChapterChapter 8Thresholds, Filters, and Morphology8–5value that results in consistent edges being detected at the desired referencepoints on the wor
Chapter 8Thresholds, Filters, and Morphology8–6Threshold specifies the relative brightness change between neighboringpixels, while kernel specifies th
5ChapterChapter 8Thresholds, Filters, and Morphology8–7Figure 8.5 Example: Effects of Changing Threshold Values (Constant Kernel)ABC
Chapter 8Thresholds, Filters, and Morphology8–8Figure 8.6 Example: Effects of Changing Kernel Values (Constant Threshold)ABC
5ChapterChapter 8Thresholds, Filters, and Morphology8–9There are two methods by which you can alter the processed image within awindow: setting binar
Chapter 8Thresholds, Filters, and Morphology8–10Figure 8.7 Example: Effects of Changing Low Threshold (Constant High Threshold)A BC DBinary Threshol
Chapter 3Image Acquisition Parameters3–6Figure 3.3 Example: Camera Image With Focus Function ActiveFigure 3.4 Trigger Time–out Warning MessageLight
5ChapterChapter 8Thresholds, Filters, and Morphology8–11Low threshold –– Any part of that image whose gray–scale brightness valueis lower than the low
Chapter 8Thresholds, Filters, and Morphology8–12Figure 8.9 Example: Using the Dynamic Threshold FunctionIn this example, the toolset contains, in or
5ChapterChapter 8Thresholds, Filters, and Morphology8–13NOTE 1: In this example, the formula, ({back}+{fore})/2, could have beenentered directly as t
Chapter 8Thresholds, Filters, and Morphology8–14Figure 8.10 Example: Workpiece Image With White Noise in BackgroundIf left in the window, the unwant
5ChapterChapter 8Thresholds, Filters, and Morphology8–15Morphology Selection PanelsNote the and buttons under the cursors and slide bar inFigure 8
Chapter 8Thresholds, Filters, and Morphology8–16When you pick the button (see Figure 8.10, page 8–14), the Morph2 selection panel appears.In general
5ChapterChapter 8Thresholds, Filters, and Morphology8–17Figure 8.14 Binary Morph Function Selection PanelNOTE: Use the scroll bar to accessthe entir
Chapter 8Thresholds, Filters, and Morphology8–18• Dilation –– This function dilates the edges of white objects (and,conversely, erodes the edges of bl
5ChapterChapter 8Thresholds, Filters, and Morphology8–19Figure 8.15 shows how the workpiece image in Figure 8.10 would appearafter being filtered by a
Chapter 8Thresholds, Filters, and Morphology8–20Gray Scale MorphologyAs shown in Figure 8.13 (page 8–15), the gray scale selection panel containssever
5ChapterChapter 3Image Acquisition Parameters3–7When you pick the button on the camera setup panel, thecamera image appears along with the adjustmen
5ChapterChapter 8Thresholds, Filters, and Morphology8–21Here are the gray scale morphology functions shown in the Functionselection panel, along with
Chapter 8Thresholds, Filters, and Morphology8–22Figure 8.17 Example: Kernel Structure and Neighborhood of Image PixelsKernelstructurePixels in image
5ChapterChapter 8Thresholds, Filters, and Morphology8–23When configured as shown in (A) of Figure 8.18, where all of the kernel’sseven boxes have aste
Chapter 8Thresholds, Filters, and Morphology8–24Figure 8.20 Example: Filtering Effect of Max – Min Function With Three HorizontalAsterisks SetABFigu
9Chapter9–1Discrete I/O AssignmentsThis chapter provides detailed information about the discrete inputs andoutputs that connect the CVIM2 system to th
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
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
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
5ChapterChapter 9Discrete I/O Assignments9–5Figure 9.2 Example: Selecting the Input Signals MenuTo select a trigger input signal from the Input Sign
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,
Chapter 3Image Acquisition Parameters3–8Light Reference SettingsThe light reference settings are adjusted by picking and dragging the left (Hi)and rig
5ChapterChapter 9Discrete I/O Assignments9–7Pulse Input Selection: Parts Tracking FunctionThe pulse input signal enables the CVIM2 system to be synch
Chapter 9Discrete I/O Assignments9–8Figure 9.4 Example: Using the Calculator Pad to Select Delay Parameter
5ChapterChapter 9Discrete I/O Assignments9–9Output SelectionsAs noted earlier, the lower 14 discrete I/O locations in the Module I/O layoutare reserve
Chapter 9Discrete I/O Assignments9–10The signal names appearing in the center scrolling list are described brieflyas follows:• Pass –– This signal occ
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
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
5ChapterChapter 9Discrete I/O Assignments9–13+/– SelectionsAs described earlier, the +/– field selects additional parameters for thediscrete inputs an
Chapter 9Discrete I/O Assignments9–14For output signals, the +/– parameter determines whether an output will beinverted. If “Pos” is selected (the def
5ChapterChapter 9Discrete I/O Assignments9–15Output Status from Various +/– and Force SelectionsTable 9.1 shows the output status (activated or deacti
Chapter 9Discrete I/O Assignments9–16Figure 9.10 Selecting the System I/O Editor Panel
5ChapterChapter 3Image Acquisition Parameters3–9The interactive result of the two cursor settings is this: All portions of theimage whose brightness
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
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
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
Chapter 9Discrete I/O Assignments9–20To make proper use of the output signals, you must first understand thetiming relationships that exist between th
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
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
5ChapterChapter 9Discrete I/O Assignments9–23The system will not process a trigger signal in the following situations:• Whenever a second trigger sign
10Chapter10–1Environment Menu SelectionsThis chapter provides detailed information about the functions that you canselect in the Environment menu in t
Chapter 10Environment Menu Selections10–2• Go On–Line –– When you pick this item, the CVIM2 system goesonline, and is enabled to perform inspections u
5ChapterChapter 10Environment Menu Selections10–3Figure 10.3 Example: Selecting the Configuration File Selection MenuIf you pick the Environment men
Chapter 3Image Acquisition Parameters3–10Figure 3.6 Example: Before and After Light Reference AdjustmentBEFORE:AFTER:
Chapter 10Environment Menu Selections10–4Note that the Environment panel contains several “buttons.” Here is a briefdescription of their functions:• A
5ChapterChapter 10Environment Menu Selections10–5Note that all variable names are case–sensitive. Enter the appropriate changesto the variable, then p
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
5ChapterChapter 10Environment Menu Selections10–7Archiving VariablesThe Archive function enables you to save the entire list of variables in theEnviro
Chapter 10Environment Menu Selections10–8Figure 10.9 Example: Archive File Name in “Save As . . .” PanelTo exit the “Save as . . .” panel, pick the
5ChapterChapter 10Environment Menu Selections10–9Restoring Archived VariablesThe Restore function enables you to restore any previously archived list
Chapter 10Environment Menu Selections10–10When you pick Comm Ports in the Environment menu, the Comm Portsselection menu appears, as shown in Figure 1
5ChapterChapter 10Environment Menu Selections10–11When you pick Comm Ports in the Environment menu, the Comm Portsselection menu appears, as shown in
Chapter 10Environment Menu Selections10–12Figure 10.14 Example: Selecting the Discrete Outputs Configuration Panel Here is a brief description of th
5ChapterChapter 10Environment Menu Selections10–13The Go On–Line item in the Environment menu is the gateway to onlineoperations, during which the CVI
CVIM2 ModuleReference ManualTable of ContentsiiiChapter 4 (continued)Overlap Acq/Insp 4–12. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5ChapterChapter 3Image Acquisition Parameters3–11Light Probe SetupThe light probe tool provides a lighting compensation function, whichenables the CVI
Chapter 10Environment Menu Selections10–14Online Image/Tool Display PanelThe online image/tool display (Figure 10.15, page 10–13) conforms to theparam
5ChapterChapter 10Environment Menu Selections10–15The toolset Adjust panel is similar to the Toolset Edit panel described inChapter 4, Inspection Conf
Chapter 10Environment Menu Selections10–16DisplayWhen you pick Display in the menu bar, the Display menu appears, asshown in Figure 10.18.Figure 10.18
5ChapterChapter 10Environment Menu Selections10–17When Freeze Last Rejects is selected, the first rejected image will beheld on the display. While the
Chapter 10Environment Menu Selections10–18Figure 10.19 Example: Inspection Results Display PanelThe Results panel contains several columns having th
5ChapterChapter 10Environment Menu Selections10–19Totals Detail PanelWhen you pick Totals in the Results panel menu bar, the Totals detail panelappear
Chapter 10Environment Menu Selections10–20Tool Results Detail PanelWhen you “pick” anywhere along a tool results line in the Results panelunder the Re
5ChapterChapter 10Environment Menu Selections10–21Figure 10.22 illustrates an expanded detail panel. In this case, it presentsresults data from a wind
Chapter 10Environment Menu Selections10–22• Dynamic horizontal line (green) –– This line shows the relative level ofthe current “mean” value.• Static
11Chapter11–1File FunctionsThis chapter provides detailed information about the file–manipulationfunctions that you can perform in the File panel, whi
Chapter 3Image Acquisition Parameters3–12Light Probe Operation: GeneralThe light probe tool is a small, special–purpose window or “box” that ispositi
Chapter 11File Functions11–2File List Column HeadingsThe File panel contains a scrolling list that displays the files in the currentlyselected device.
5ChapterChapter 11File Functions11–3In the second instance, the memory card is installed in the front panel; thus,the file list displays the files on
Chapter 11File Functions11–4• Battery –– When you highlight the MC device, the button isactive. This enables you to change the memory card battery w
5ChapterChapter 11File Functions11–5FilterThe entry in the Filter data field determines which files (if any) will appearin the file list. The Filter d
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
5ChapterChapter 11File Functions11–7Figure 11.4 Examples: Accessing “Viewing File” PanelCopyThe copy function enables you to copy a file to the same
Chapter 11File Functions11–8Figure 11.5 Example: Starting the File Copy OperationFigure 11.6 Example: Completing the File Copy Operation
5ChapterChapter 11File Functions11–9XCopyThe external copy function enables you to copy one or more files in onedevice to a different device (except t
Chapter 11File Functions11–10Figure 11.8 Example: Delete Warning Message BoxIf you intend to perform the delete function, pick the button; if not,
5ChapterChapter 11File Functions11–11The format function can be used to erase all data from the external memorycard and from some of the internal memo
5ChapterChapter 3Image Acquisition Parameters3–13Light Probe PanelThe Light Probe panel, shown in Figure 3.8, contains two fields and twobuttons: The
Chapter 11File Functions11–12The recycle function applies only to the V1: and V2: devices, and then onlywhen you need to update the appropriate device
12Chapter12–1System SecurityThis chapter provides detailed information about the system securityprovided in the CVIM2 system. Briefly, the system prov
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
5ChapterChapter 12System Security12–3Since the system initially has no password file, the system security leveldefaults to Level 8, and any user can a
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
5ChapterChapter 12System Security12–5This section illustrates the procedure for changing a user’s password. Whenyou pick Change Password, a keyboard a
Chapter 12System Security12–6This section discusses the security functions that are accessible only to theLevel 8 user (the “administrator”). When you
5ChapterChapter 12System Security12–7Figure 12.7 Example: Selecting the Password File Viewing PanelNote also that you can only view the entries in t
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
5ChapterChapter 12System Security12–9Modifying an Existing UserWith the keyboard displayed as shown in Figure 12.8 (page 12–8) use thefollowing steps
Chapter 3Image Acquisition Parameters3–14Figure 3.9 Selecting Probe Tool Type and Range Limit PanelLight Probe Tool Results and Math Tool FormulasThi
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
5ChapterChapter 12System Security12–11Changing Text: Menu FieldAfter enabling the system for text/privilege changes, as described in thepreceding sec
Chapter 12System Security12–12Figure 12.11 Example: Changing “File” to “File Storage” in Main Menu Bar
5ChapterChapter 12System Security12–13Changing Access Privilege LevelsThe process for setting up a privilege change is the same as for changingmenu an
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
5ChapterChapter 12System Security12–15You should then pick the “Administer” field in the Security menu to accessthe Administer menu, as shown in Figur
AAppendixA–1Warning and Error MessagesThis appendix tabulates all of the CVIM2 system warning and errormessages, which are listed in ascending numeric
Appendix AWarning and Error MessagesA–2Warning/ErrorCodeMessage Text Conditions275Language could not beinstalled.Insufficient memory on the devicefor
5ChapterAppendix AWarning and Error MessagesA–3Warning/ErrorCodeMessage Text ConditionsRun–time error. System hasbeen taken off–line.Toolset <n>
Appendix AWarning and Error MessagesA–4Warning/ErrorCodeMessage Text Conditions1032 The tool reference failedThe tool’s associated reference toolfaile
5ChapterChapter 3Image Acquisition Parameters3–15Here is a brief definition and explanation of each of the expanded resulttypes listed in Figure 3.10.
5ChapterAppendix AWarning and Error MessagesA–5Warning/ErrorCodeMessage Text Conditions1052 Formula too bigFormula size limit has been ex-ceeded (128
Appendix AWarning and Error MessagesA–6Warning/ErrorCodeMessage Text Conditions1542Bad number of componentsin a scanInvalid JPEG file.1543 Bad spectra
5ChapterAppendix AWarning and Error MessagesA–7Warning/ErrorCodeMessage Text Conditions2049Panel Manager Help Sys-tem ErrorInvalid help file(s).2050Di
Appendix AWarning and Error MessagesA–8Warning/ErrorCodeMessage Text Conditions2830 (VRTX) Error in putc None. (1)2831 (VRTX) Error in waitc None. (
5ChapterAppendix AWarning and Error MessagesA–9Warning/ErrorCodeMessage Text Conditions2861 (VRTX) Error in sema-phore pendNone. (1)2862 (VRTX) Error
Appendix AWarning and Error MessagesA–10Warning/ErrorCodeMessage Text Conditions3086 OK to calibrate ?The calibration action is selectedbefore either
5ChapterAppendix AWarning and Error MessagesA–11Warning/ErrorCodeMessage Text Conditions3351Message unknown tokenfound.None3352Message file name un-kn
Appendix AWarning and Error MessagesA–12Warning/ErrorCodeMessage Text Conditions3843 File name is too long.A file name entered containedmore than the
5ChapterAppendix AWarning and Error MessagesA–13Warning/ErrorCodeMessage Text Conditions4096The window border mayaffect the resultMorphology processin
Appendix AWarning and Error MessagesA–14Warning/ErrorCodeMessage Text Conditions4114Image file name notloaded.An image file required by a toolcould no
Chapter 3Image Acquisition Parameters3–16*These expanded statistical results are available only when a tool is enabledfor statistics operations, as in
BAppendixB–1Environment VariablesTable B.1 in this appendix contains a list of environment variables for theCVIM2 system. The table includes the defau
Appendix BEnvironment VariablesB–2Name UsageMaximumMinimumDefaultLang Eng n/a n/a Specifies the current language for the CVIM2menus. THIS VARIABLE SHO
Appendix BEnvironment VariablesB–3Name UsageMaximumMinimumDefaultrint 16 0 128 Specifies the number of Remote I/O bits thatare examined each time the
IndexI–1AAcquisition Configuration, File names, 4–3Acquisition Editor panel, 2–6, 3–1Acquisition System Settings panel, 3–2, 3–26Acquisition systems s
IndexI–2Basic steps, 3–16Image setup, 3–17Offset selections, 3–22Pick and place, 3–21Threshold adjustments, 3–22Typical applications, 3–16Calibrate pa
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
IndexI–4Configuration overview, 7–103DefinitionsFeature finder tool, 7–101Feature window, 7–101Search window, 7–101First pass, 6–34, 6–46Define mask,
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,
IndexI–6Image/tool display panelDisplay functions, 10–14Resume function, 10–14Tool adjust function, 10–14Inertia, 7–36, 7–48Inspection nameDefault, 4–
IndexI–7Standard deviation, 7–131Variance value, 7–131Trigonometry functionsArc cosine, 7–121Arc sine, 7–121Arc tangent, 7–122Arc tangent 2, 7–122Cosi
5ChapterChapter 3Image Acquisition Parameters3–174. Enter scale factors –– For the Absolute calibration mode only, enter theappropriate scale factors
IndexI–8Inspection events, 4–33Math tool formulas, 4–33Results definitions, 4–33Perimeter, 7–36Pick and place functionArc gages, 5–3Arc ring windows,
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–
IndexI–10SScale To, 6–35, 6–43Screen pointers, 2–9Security cardUse of, 12–14When needed, 12–14Security menuInitial appearance, 12–1Security levelsLeve
IndexI–11Contour counting, 7–34Object definitions, 7–34Contour measurement functionsCircularity, 7–47H Size, L Size, 7–51Inertia, 7–48Roundness, 7–45T
Publication 5370–801 – September 1996Rockwell Automation helps its customers receive a superior return on their investment by bringingtogether leading
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
5ChapterChapter 3Image Acquisition Parameters3–19• Scale –– When the “Computed” calibration mode is selected, this fieldwill display the computed “sca
Chapter 3Image Acquisition Parameters3–20Figure 3.12 Calibrate Panel With Computed and Absolute Modes SelectedAll parameter fields are shown in their
CVIM2 ModuleReference ManualTable of ContentsivChapter 6 (continued)Shape Selection 6–11. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5ChapterChapter 3Image Acquisition Parameters3–21Pick and Place Functions (Computed Mode Only)After acquiring an appropriate camera image of the calib
Chapter 3Image Acquisition Parameters3–22Threshold Adjustments and Offset Selections (Computed Mode Only)After positioning a gage across the calibrati
5ChapterChapter 3Image Acquisition Parameters3–23Figure 3.15 Example: Offset SelectionFeature AOffset 1.0Feature BOffset 1.0Units SelectionSelecting
Chapter 3Image Acquisition Parameters3–24Figure 3.16 Example: Performing Nominal or “Learn” OperationNote that the distance between the Feature A an
5ChapterChapter 3Image Acquisition Parameters3–25Figure 3.17 Performing Scale Computation to “Real World” Measurement UnitsEntering Scale Value (Abso
Chapter 3Image Acquisition Parameters3–26Note that the scale value that you entered (0.0052221) is rounded to fourplaces (0.0052) in the Scale field;
5ChapterChapter 3Image Acquisition Parameters3–27• Bank Switch Command Input –– This field selects the bank switchcommand input assignment on either t
Chapter 3Image Acquisition Parameters3–28Figure 3.20 Pinout Diagram: CVIM2 Front Panel Camera Connector+12V OutGndVideo In (G)Ext HD Out (G)Video In
5ChapterChapter 3Image Acquisition Parameters3–29Camera Bank SwitchingThe CVIM2 system can service three cameras inputs at one time: cameras#1, #2, a
Chapter 3Image Acquisition Parameters3–30Note that the delays are cumulative; that is, the total delay consists of thepolling latency plus one of the
CVIM2 ModuleReference ManualTable of ContentsvChapter 7Overview: Inspection Tool Selection Process 7–1. . . . . . . . . . . . . . . . . . . Gage Tool
5ChapterChapter 3Image Acquisition Parameters3–31Bank Switch Command InputThe Bank Switch Command Input field is active only when the OnCommand bank s
Chapter 3Image Acquisition Parameters3–32Bank Switch State OutputThe Bank Switch State Output field accesses a discrete I/O edit panel,where you can a
5ChapterChapter 3Image Acquisition Parameters3–33After assigning the bank state status to the appropriate output, pick the button to exit back to the
Chapter 3Image Acquisition Parameters3–34Editing Standard Allen–Bradley CamerasWhen you highlight one of the standard camera types in the Camera Types
5ChapterChapter 3Image Acquisition Parameters3–35Figure 3.25 Example: Effect of Different Acq.Pixels Settings on Displayed ImageAcq. Pixels =512Acq.
Chapter 3Image Acquisition Parameters3–36however, the Acq.Phase (Pixels) value can be set within the followingrange:*(640 – Acq. Pixels) B 2 x Value
5ChapterChapter 3Image Acquisition Parameters3–37Figure 3.27 Example: Effect of Acq. Phase Settings on Acquired Pixels512 acquiredpixelsAB512 acquir
Chapter 3Image Acquisition Parameters3–38The effect of adjusting the Vertical Timing parameters is described asfollows:Acq.Start (1/2 Lines) –– This p
5ChapterChapter 3Image Acquisition Parameters3–39Figure 3.28 Example: Effect of Various Acq. Lines (1/2 Lines) Settings on ImageAcq. Start (1/2 Line
Chapter 3Image Acquisition Parameters3–40Figure 3.29 Example: Effects of Changing Horizontal Image Acquisition ParametersAcq. Start (1/2 Lines) = 22
CVIM2 ModuleReference ManualTable of ContentsviChapter 7 (continued)Overview: Image Tool Operations 7–58. . . . . . . . . . . . . . . . . . . . . .
5ChapterChapter 3Image Acquisition Parameters3–41Figure 3.30 Setup Camera Type Panel: Camera XYZMost of the data for these parameter selections can
Chapter 3Image Acquisition Parameters3–42• Period (ms) –– This is amount of time required to scan one horizontalline. It is equal to the reciprocal of
5ChapterChapter 3Image Acquisition Parameters3–43NOTE: For MOS–type cameras, which do not use shift registers, theTransfer value can be set to –1 to
Chapter 3Image Acquisition Parameters3–44When you highlight a toolset trigger name in the Toolset Trigger scrollinglist and then pick the button belo
5ChapterChapter 3Image Acquisition Parameters3–45• Source I/O –– When “I/O” is selected as the (external) trigger source,this selects the discrete inp
Chapter 3Image Acquisition Parameters3–46The Auto selection uses the CVIM2 system’s internal trigger source,whereas the I/O selection uses one of the
5ChapterChapter 3Image Acquisition Parameters3–47Figure 3.35 Example: Assigning Inspection to Discrete Input
4Chapter4–1Inspection ConfigurationThe CVIM2 system can be configured to perform a single inspection ormultiple related inspections. Each inspection i
Chapter 4Inspection Configuration4–2Typically, a configuration file is given a name that indicates its role in theoverall inspection application. Simi
5ChapterChapter 4Inspection Configuration4–3Note that the Config Files panel contains several data entry fields and“buttons.” Here is a brief descript
CVIM2 ModuleReference ManualTable of ContentsviiChapter 7 (continued)Nominal (“Learn”) Function 7–105. . . . . . . . . . . . . . . . . . . . . . . .
Chapter 4Inspection Configuration4–4Figure 4.3 Selecting New “Config” File NameFigure 4.4 Example: Configuration Files Panel With New “Config” Name
5ChapterChapter 4Inspection Configuration4–5NOTE: If you attempt to exit the Config Files panel at this time by pickingthe button, the following mes
Chapter 4Inspection Configuration4–6the Config field. You can use this name, if it is appropriate for yourapplication, or you can enter a different na
5ChapterChapter 4Inspection Configuration4–7Assuming that at least one configuration has been set up and selected, whenyou then pick Editor in the mai
Chapter 4Inspection Configuration4–8• Cut –– Use the button to delete the toolset that has the cursor arrow(→) alongside the toolset number. Thus, i
5ChapterChapter 4Inspection Configuration4–9Figure 4.7 Example: Configuration Editor Panel With Three inspections DefinedThe basic configuration pro
Chapter 4Inspection Configuration4–10Figure 4.8 Selecting an Inspection NameThe default inspection name, Toolset 1, appears in the keyboard name bari
5ChapterChapter 4Inspection Configuration4–11Note that the default inspection name (Toolset 1) now appears in the firstfield under Inspection Name, an
Chapter 4Inspection Configuration4–12Note that the Inspection panel, unlike the Acquisition Editor panel, showsinspection settings for a single toolse
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