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

The text of a manual · part 1 of 42

Bulletin 5370 CVIM Configurable Vision Input Module User Manual, pages 1 to 12

Pages 1 to 12 of 390: 5370-ND001, Bulletin 5370 CVIM Configurable Vision Input Module User Manual; Important User Information; Table of Contents

The original document is the PDF (26 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

For the Allen-Bradley 5370-CVIM

Page 1 read from a scan by OCR; it may hold reading errors

ALLEN-BRADLEY iy

Bulletin 5370 CVIM™

Configurable Vision Input Module (Catalog No. 5370-CVIM)

User Manual

Page 2

Important User Information

Solid state equipment has operational characteristics differing from those of electromechanical equipment. “Safety Guidelines for the Application, Installation and Maintenance of Solid State Controls” (Publication SGI- 1.1) describes some important differences between solid state equipment and hard-wired electromechanical devices. Because of this difference, and also because of the wide variety of uses for solid state equipment, all persons responsible for applying this equipment must satisfy themselves that each intended application of this equipment is acceptable. In no event will the Allen-Bradley Company be responsible or liable for indirect or consequential damages resulting from the use or application of this equipment. The examples and diagrams in this manual are included solely for illustrative purposes. Because of the many variables and requirements associated with any particular installation, the Allen-Bradley Company cannot assume responsibility or liability for actual use based on the examples and diagrams. No patent liability is assumed by Allen-Bradley Company with respect to use of information, circuits, equipment, or software described in this manual. Reproduction of the contents of this manual, in whole or in part, without written permission of the Allen-Bradley Company is prohibited.

Page 3

Table of Contents Chapter 1

Title

Page

Introduction : CVIM Machine Vision Chapter Objective ............................... ............. CVIM Quick Start Self-Training Guide .......................... User Manual Objective User Experience ................................. . _ _ . _ . __ . . CVIM Machine Vision: System Overview CVIM Operating Modes .......................... Stand-Alone Mode ........................... ................................ HostedMode ................................. Basic Hardware ................................ CVlMModule Pyramid Integrator Chassis .................... Chassis Power Supply ......................... .............................. Video Monitors .................................... LightPen Camera lnterfaceMbd~l~s’1111~1~1~~1~~~~~~1~~111~1111 User Interface Box ......................... .......................... I/OlnterfaceBox 1771 JMB Interface Board .................. Interconnecting Cables ....................... Communication Channels ........................ Discrete I/O Lines ............................. .............................. Remotel/OPort RS-232 Communications Port .................. ............................ Chassis Backplane Warnings and Cautions .......................... .......................... Reference Publications

2

- l-2 l-2 l-3 l-3 l-3 l-4 l-4 l-4 l-4 l-5 l-5 l-6 l-6 l-6 l-6 l-6 l-7 l-7 l-7 l-8 l-8 l-8 l-8 l-9

CVIM Hardware Connection and Powerup Check .............................. ChapterObjectives ....................... CVIM System Components ............ Connecting CVIM System Components ....................... Powering Up CVIM System

3 l-l l-l l-l

2-l 2-l 2-l

2-9

CVIM User Interface Chapter Objective . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . CVIM Userlnterface . . . . . . . . . . . . . .._............. LightPen ....................................... . . . . _ . __ __ . . . . . __ . _. Pointing and Highlighting Picking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

3-l 3-l 3-2 3-2 3-2

Page 4

Table of Contents 2

Chapter

Title

Page

Dragging ................................... Placing ..................................... Summary: Manipulating Symbols ............. Graphic Figures ................................. Menus ...................................... Tables ...................................... Symbols ..................................... Configuration Shortcut .......................... HelpMessages .................................. Menu Removal Function .........................

3-3 3-3 3-3 3-4 3-4 3-6 3-8 3-9 3-l 1 3-l 1

3 (continued)

4

Operating Environment Chapter Objective .............................. Operating Environment ......................... ............. Configuring Operating Environment Selecting Environ Popup Menu ................ Selecting System Popup Menu and Parameters ............................. Selecting Host Select Popup Menu .......... Selecting Tool Display Status ............... .................... Selecting MonitorType ............... Selecting Units Popup Menu Selecting /IO Popup Menu andparameters ............................. Selecting Output Assignment Popup Menu . . ........... Assigning Output Line Functions ............... Selecting RS-232 Parameters ...... Selecting 1771 Remote /IO Parameters Selecting Tool Set Popup Menu and Parameters ............................. ... Selecting Too/Set #I Camera and Trigger Selecting Too/Set #2 Camera and Trigger .._ Selecting Active Tool Set ...................

5

4-l 4-l 4-2 4-2 4-3 4-3 4-5 4-5 4-6

-

4-7 4-8 4-9 4-12 4-13 4-15 4-16 4-18 4-20

Camera and Lighting Parameters Chapter Objectives . _. . . _. . . . _. . . . . . . . . . . _. . . . _. . Configuration Categories . . . . . . . . . _. . . . . . . . . . _ . . . _. . . _ Configuring Camera and Lighting Parameters Selecting Camera Popup Menu and Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . Selecting Camera Type/Mode Popup Menu . . . . . . . . _. . . . . _ . . . . _ _. . Selecting Shutter Parameter

5-l 5-l 5-2 5-2 5-3 5-4

-

Page 5

Table of Contents

Chapter

3

Page

Title

5 (continued)

................. Using Focus Camera Function Selecting LightinglI?eso/ution Popup Menu and Parameters ............................. .......... Selecting Resolution Popup Menu .......... Setting Light Reference Threshold Selecting Light Probe Popup Menu and Parameters ............................. Selecting Probe Status Popup Menu ......... ................ Using Pick & Place Function ...................... Using Learn Function Assigning Range Limits and Output Lines .... Using Object Calibration and Grid Calibration .._ Selecting Object Calibration Functions and Parameters ............................. ................ Using Pick & Place Function ........................... Defining Edges ............. Performing Calibrate Function ..... Entering Calibration Object Dimensions Selecting Grid Calibration Functions and Parameters ............................. ................ Using Pick & P/ace Function ........................... Defining Edges Entering Calibration Grid Dimensions __ __ __ ............. Performing Calibrate Function

6

5-6 5-7 5-8 5-10 5-12 5-14 5-15 5-18 5-18 5-25 5-26 5-27 5-33 5-34 5-34 5-36 5-38 5-44 5-46 5-48

Reference Tools: Lines and Windows Chapterobjectives .___..._.._....__............. A Few Questions and Answers About Reference Tools ......................... Reference Lines . . . . . . . . . . . . . . . . . . . . . . . . . _ . . . . . . . Using Reference Lines . . . . . . . . . . . _. . . . . . . . . . . . Configuring Reference Lines .................. Selecting Ref. Line Popup Menu ............... Selecting and Enabling Reference Line . . . . . . . . . Selecting Define Ref. Line Popup Menus and Parameters . .._.._.____.____._..._...... Selecting Ref. Line Type Popup Menu ....... Selecting Active Reference Line . . . . . . . . . . . . . Selecting Binary or Gray Scale Mode ........ Using Pick and P/ace Function .............. Using Define Edges Function: Binary Mode . . . . . . . . . . . _ . . . . . . . . . . . . . . . . . Using Define Edges Function: Gray Scale Mode . _ . . . _ . _ _ _ _ . _ _ _ . _. _ . . . . . .

6-l 6-l 6-2 6-2 6-8

6-9 6-9 6-10 6-10 6-14 6-15 6-16 6-20 6-23

Page 6

Table of Contents

4

Chapter

Tit/e

Page

6 (continued) Selecting Define Features Popup Menu and Parameters ............................. Selecting Active Feature ................... Selecting Search Direction ................. Selecting 5. Mode Popup Menu ............. Using Offset Function ..................... Using Learn Function ......................... Selecting Output/Reference Popup Menu and Parameters ............................. Selecting Output Line Selection Popup Menu Selecting Reference Popup Menu ........... Reference Windows ............................. Using Reference Windows .................... Shift-Only Example ....................... Rotation and Shift Example ................ Selecting Workpiece Features ................. Configuring Reference Windows .............. Selecting Ref. Win Popup Menu ............... Selecting and Enabling Reference Window ..... Selecting Define Features Popup Menu and Parameters ............................. Selecting Active Feature ................... Using P&P Feature Win. Function ........... Using Feature Disp Function ............... Using P&PSearch Win. Function ............ Understanding Set Score Function .......... Determining Set Score Value ............... Using Set Score Function ................... Using find Feature Function ............... Using Learn Function ......................... Selecting Output/Reference Popup Menu and Parameters ............................. Selecting Output Line Selection Popup Menu Selecting Reference Popup Menu ...........

7

Inspection

Tools:

6-25 6-26 6-26 6-27 6-31 6-34 6-34 6-35 6-36 6-38 6-38 6-39 6-43 6-49 6-50 6-51 6-51 6-52 6-52 6-53 6-59 6-59 6-60 6-61 6-66 6-67 6-68

-

6-71 6-71 6-73

Gages

Chapter Objectives ....................... A Few Questions and Answers About Gages ........................... Gages .................................. Using Linear Gages .................... Using Circular Gages .................. Configuring Gages .................... Selecting Gage Popup Menu ........... Selecting and Enabling Gage ...........

7-l . . . . . . . . . . .. . . .. . . . . . . . . . . ..

7-l 7-2 7-2 7-6 7-9 7-10 7-10

-

Page 7

Table of Contents

Chapter

Tit/e

5

Page

7 (con timed) Selecting Define Gage Popup Menu ............................. andparameters Selecting Gage Shape ..................... Selecting Operation Popup Menu ........... Selecting Gaging Mode Popup Menus ....... Using Pick and P/ace Function .............. Using Define Edges Function: Binary Gaging Mode ..................... Using Define Edges Function: Gray Scale Gaging Mode .................. Selecting Define Features Popup Menu andparameters ............................. Selecting Active Feature ................... Selecting Search Direction ................. Selecting 5. Mode Popup Menu ............. Using Offset Function ..................... Using Learn Function ......................... Selecting Range/Reference Popup Menu andparameters ............................. Assigning Range Limits and Output Lines .... Selecting Reference Popup Menu ...........

8

7-l 1 7-11 7-12 7-14 7-16 7-32

7-37 7-38 7-38 7-39 7-43 7-45 7-45 7-46 7-54 inspection Too/s: Wind0 ws Chapterobjectives .............................. A Few Questions and Answers About Windows ............................... Windows ....................................... Using Rectangular Windows .................. Using Elliptical Windows ...................... Using Masks With Windows ................... Using Polygonal Windows .................... Configuring Windows . __ . . ___ . . __ . _ __ . . _ . __ . _ Selecting Window Popup Menu ............... Selecting and Enabling Window ............... Selecting Define Window Popup Menu andparameters ............................. Selecting Window Shape .................. Using P&P Process Win. Function ............ Selecting Window Mask Popup Menu ....... Using P&P Mask Win. Function ............. Selecting Window Operation Popup Menu __ Configuring #O@‘s Operations ............. Using Threshold/Filter Function (Pixel and Object Counts) ........................... Using PixellObj Filter Menu ................

8-l 8-l 8-2 8-2 8-5 8-9 8-10 8-11 8-12 8-12 8-13 8-13 8-15 8-26 8-27 8-28 8-30 8-34 8-36

Page 8

Table of Contents

6

-. Chapter

Tit/e

Page

8 (con timed) Configuring GradientOperations _. . . . . . . __ Using ThresholdlFilterFunction (Gradient) .. Using Gradient Menu _. . . . . . __. . . . . _. . . . . . Configuring Template Match Operations .... Using Learn Function ......................... Selecting Range/Reference Popup Menu andparameters . . . . ..__...._._....__......__ Assigning Range Limits and Output Lines . . _ _ Selecting Reference Popup Menu . . _ _ _ . . . _ _ _

9

Configuration

8-46 8-47 8-55

Aids and Storage Functions

Chapter Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Configuration Aids and Storage: Overview . . _. . . . . Using Configuration Aids and Storage Functions . __ Selecting Mist Popup Menu . . . . . . . . . . _ _ _ . . . . . . Selecting Archival Popup Menu . . . . __. . . . . . _. Using Set Archive Names Function _. . . . . _. . Using Save Config. (/nt) Function _ . . . . _ __ . Using Load Config. c/nt) Function . . . _. . . . Using Load Default Config Function .. .... Preparing RAM Card . . _ . . . . . . . . . _ . _ . . . . . . . Using Format Card Function . . . . . . . . . . _. . . . Using Save to Card Function . _ . . . . . _. . . . _ . Using Load From Card Function . _. . . . . . _. . Selecting Snapshot Popup Menu . . . . . . . . . . . . _. Using Acquire image Function __. . . . _. . _. . . Using Display Test Image Function . . _. . . . . __ Selecting Analysis Popup Menu . . . . __. . . . __. . . Using Tool Display Function . . . . . . . . . . . . . . __ Using Analyze Image Function . . __. . . . . . . . . Using Snap &Analyze Function . . . . . . . . . . . _. Using Continuous 5 &A Function . . . __ _. . . . . Selecting Registration Popup Menu . . . . . . . . . . _ . Using Tool Display Function . . . . . __. . . . _ _. . Using Snap & Register Function . . . . . __. . . . . Using Continuous 5 & R Function . . . _. . . . __ . Using Register to Image Function . . . __ . . . __ . Using Learn Registration Function . . __ . . _ __ .

10

8-37 8-39 8-40 8-43 8-46

9-1 9-l 9-l 9-2 9-2 9-4 9-6 9-6 9-7 9-9 9-11 9-12 9-13 9-15 9-15 9-15 9-16 9-17 9-18 9-18 9-19 9-19 9-21 9-22 9-22 9-23 9-23

-_

Run time Functions Chapter Objectives Runtime Functions:

. . . . . . . . _ . . . _. . . _. . . . . _. . . . __ Overview ..................._

_

10-l 10-l

Page 9

Table of Con tents

Chapter

7

Title

Page

Using Runtime Functions ........................ Selecting Exit Popup Menu .................... Selecting Runtime Init. Popup Menu ........... Selecting Halt Status ...................... Selecting Freeze Status .................... Selecting Output Line Status ............... Selecting Operating Mode Status ........... Selecting Reset Counters Function .......... Selecting Runtime Arm Popup Menu ........... Selecting Runtime Display Popup Menu ........ Selecting Runtime Popup Menu ............... Selecting Save Config. (ht) Function ....... Selecting Goto Runmode Function .......... Interpreting Run Mode Displays ............... ............................... ImageOnly ............ Failed Tools AllTools ... . . . . . . . . . . . . . . . . . . ............ I/OPage .................................. ResultsPage .............................. Stat 1 Page ............................... ............................... Stat2Page Displaying Other Tool Set .................. Using Run Mode Halt and Freeze Functions .....

10-l 10-l 10-2 1o-4

10 (con timed)

Appendix A

10-9 1o-9 10-10 10-l 1 10-l 1 10-l 1 10-l 1 10-12 lo-16

10-19 10-20 10-21 10-21

Planning Discrete /IO Assignments and Connections Appendix Objective . . . . _ . _. _. . . . . . . . . _ _ . . . . . . . . . Planning Output Line Assignments . _ . . . . . . . . _ . . . Using Output Line Planning Sheet . . . . . . . . . . . . . Using Output Signal Timing Data . _ _. . _. . . . . . . . Planning Output Line Connections _. . . . . . . . . . . . . . . Planning Connections to RS-232 Connector . . . . . Planning I/O Connections to 1771-JMB Board . . . Output Line Planning Sheet . . . _ . . . . _. . . _. . . . . . . . .

Appendix B

10-4 10-5 10-5 10-6 10-6 10-7

A-l A-l A-l A-5 A-8 A-9 A-9 A-12

Planning System Configuration Appendix Objective ............................. System Configuration Planning ................... Configuration Planning Tables ................... SystemParameters ........................... I/O Parameters (1 of 2) ........................ I/O Parameters (2 of 2) ........................

B-l B-l B-l B-l B-2 B-2

Page 10

Table of Con tents 8 Chapter

Appendix

Page

Title

B (continued)

ToolSetParameters . . . . . . . . .._....._.._.._... CameraParameters . . .._.._...._..__.._.._... Reference Line Parameters (1 of 3) . . . . . . . . . . . _. Reference Line Parameters (2 of 3) . . . . . . . _ . . _. . Reference Line Parameters (3 of 3) _ . . _. . _. . _. , _ Reference Window Parameters . . . . . _ . . . _. . . . . . Gage Parameters (1 of 6) . . _. . . . . . . . . . . . . . . . . . Gage Parameters (2 of 6) . . . . . . . . . . . . . . . . . . . . . Gage Parameters (3 of 6) . . . . . . . . . . . . . . . . . . . . Gage Parameters (4 of 6) _ . . _ . _ . . . . . . _, . _ . . _. _ Gage Parameters (5 of 6) _ . . . . __. . . . _. . _ . . . , _ Gage Parameters (6 of 6) . . . . . . . . . . _ . . , _. . . . _. Window Parameters (1 of 4) _. . _. . . . _. . __ . . . . . Window Parameters (2 of 4) . . . . . . . . . . . _. . __ . _ Window Parameters (3 of 4) . . . . . . . . . . . . . . . . _. Window Parameters (4 of 4) . . . . . . _. . _. . _. __. .

Appendix C

B-3 B-3 B-4 B-4 B-5 B-5 B-6 B-7 B-8 B-9 B-10 B-l 1 B-12 B-13 B-14 B-l 5

Definition of Terms Appendix Definition

Objective of Terms

. . . . _ . . . . . . . . . . . . . . . _. . . . . _ . . . . . _. _. . _ . . . . _. . _ _. . . . . . . . . _

C-l C-l

Figure

Title

Page

1.1 3.1 3.2 3.3 3.4 3.5 3.6 3.7 3.8 3.9 3.10 6.1 6.2 6.3 6.4 6.5

.......... l-2 CVIM System Components and Connections 3-l CVIM Interface: Light Pen and Graphic Figures ....... 3-4 Run Mode and Main Configuration Menus ........... 3-5 Two Popup Menus ................................. 3-6 .................. Configuration and StatisticsTables 3-7 Inspection Statistics Table ........................... 3-7 Inspection Results Table ............................ 3-8 Symbols for Linear Gage and Handles ................ 3-8 Linear Gage Ready for Manipulation ................. 3-9 ............. Light Pen Manipulation of Gage Symbol 3-10 Configuration Shortcut ............................ 6-4 Reference Line Positioned Across Bottle .............. 6-5 Linear Gage Positioned Vertically Over Bottle ......... Edge Locations on Shifted Bottle and Original Bottle . . 6-6 6-7 ............... Linear Gage After Shift Compensation Single “Active Feature” Positioned Over 6-40 Feature on Plate ................................. 6-41 Linear Gage Positioned Over Hole in Plate ........... 6-42 Shifted Plate Compared to Original Plate ............

List of Figures

6.6 6.7

Page 11

Table of Contents

9

Figure

List 6.8

6.9 6.10 6.11 6.12 6.13 7.1 7.2 7.3 7.4 7.5 8.1 8.2 8.3 8.4 8.5 8.6 8.7 8.8

Page

Title of Figures

(continued)

Rotated and Shifted Plate Compared to “Original” Unrotated Plate . . . . . . . . . . . . . . . . . . . . . . . 6-43 Two “Active Features” Positioned Over Features on Plate _ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-44 Datum Lines and Reference Angie . . . . . . . . . . . . . . . . . . . . . . . 6-45 for Rotation Compensation Basis for Determining Rotation Compensation . . . . . . . 6-46 Datum Line and Midpoint for Shift Compensation . . . . 6-47 Basis for Determining Shift Compensation . . . . . . . . . . . 6-48 Linear Gage Configured to Measure Head-to-Edge . . . . 7-3 Linear Gage Configured to Measure Edge-to-Edge Distance . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-4 Linear Gage Measuring Liquid Level on Shifted Bottle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-5 Circular Gage Configured to Count Edges or Pixels . . . . 7-7 Circular Gages Configured to Measure Width of a Tooth . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-8 Screen Image of Metal Plate . . . . . . _. . . . . . . . . . . _. . . . . . 8-3 Rectangular Window Around Metal Plate . . . . . . . . . . . . 8-4 Rectangular Window Positioned Around 8-5 HolesinMetalPlate . . . . . . . . . . . . . . . . . . . . . . . . . . .._.. Circular Windows Around Holes in Metal Plate . . . . . . . _ 8-6 Looking Into Open End of Cylinder With and Without O-Ring . . . . _. . . . . . . . . . . . . . _. . . . . 8-7 Circular Window Positioned Over End of Cylinder . . . . . 8-8 Circular Window with Mask Positioned Over End of Cylinder . . . . . . . . . . . . . . . . . _ . . . . . . . . . . . . 8-9 Polygonal Window Around Screws in Workpiece . . . _ . 8-10

Page 12

-

-