The text of a manual · part 2 of 42
Bulletin 5370 CVIM Configurable Vision Input Module User Manual: 1 - Introduction: CVIM Machine Vision
Pages 13 to 22 of 390, from Bulletin 5370 CVIM Configurable Vision Input Module User Manual
The original document is the PDF (26 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Allen-Bradley 5370-CVIM
Page 13
Chapter
Chapter Objective
CVIM Quick Start Self- Training
Guide
I
Introduction..CVIM Machine Vision
The objective of this chapter is to introduce you to the Allen-Bradley 5370 CVIM (Configurable Vision Input Module) machine vision system and explain the main objective of this manual.
Before you use this manual, you should first acquaint yourself with the CVIM Quick Start Self-Training Guide, Catalog No. 5370-ND003. The quick-start guide steps you through the basics of the CVIM user interface. It explains the popup menus and graphic symbols on the video monitor screen, and it shows you how to use the light pen to select the menus and manipulate the symbols on the monitor screen.
User Manual Objective
The objective of the CVIM User Manual is to provide the information and procedures you need to prepare your CVIM system for an inspection application. First, Chapter 2 steps you through the procedures for connecting the CVIM components, powering up the system, and checking the system’s status. For complete installation instructions, refer to the Allen-Bradley Pyramid Integrator Installation Manual, Publication 5000-6.2.10. Second, Chapter 3 introduces you to the CVIM user interface and shows you how to use it. Third, Chapters 4 through 10 step you through the procedures for configuring system parameters and analysis tools, storing configurations, and operating the CVIM system and observing inspection results. Where appropriate, the user manual provides one or more simple examples to help you understand the concepts involved in a particular feature or function. Following an example, the user manual provides the step-by-step instructions for configuring the feature or function. Of course, your application may not require all of the CVIM system’s capabilities. In that case, you need refer only to the chapters or sections that your application requires. NOTE: It is beyond the scope of this manual to show you how to configure your CVIM system for specific applications.
Page 14
Chapter
1
Introduction:
CVlM Machine Vision l-2
This manual and the CVIM system are intended for technical operators with little or no programming experience. However, if you are integrating the CVIM system into an existing programmable logic controller (PLO system, experience in PLC operation would be helpful. You should be familiar with the Allen-Bradley line of PLCs and have some Ladder-Logic programming experience.
User Experience
CVIM Machine Vision: System Overview
-
The CVIM system provides a flexible, easy-to-configure machine vision system, with powerful analysis tools, for a large variety of manufacturing inspection applications. The system consists of several modules and peripheral components. This includes the CVIM module, a chassis and power supply, a video monitor, and one or two cameras. Figure 1.1 identifies, in symbolic form, the basic CVIM system components and shows the connections between these components and the external equipment.
Fiaure 1 .l CVIM Svstem Components and Connections :
.:-.::::.::.:‘.:.:.-:
-.
:: ::.::;:::::::’
I j: :j?:. ;::.::1 Remote 110 (obional)
1 RS-232 and Discrete (optional)
1
I
L
+
User Interface Box
Video Monitor 1 lamera
To: IJser PLC Ew lipment
I I/O Interface Box
I
Workpiece Discrete I/O Board
Light Pen
1
RS-232
;;;;;; Equipment
-
Page 15
Chapter
1
Introduction:
CVlM Machine Vision l-3
Cl//M Machine Vision: System Overview (continued)
During CVIM system configuration, you will be using the light pen and the video monitor to prepare the CVIM system for inspection tasks. During an inspection cycle, the solid state camera acquires an image of the item to be inspected (the “workpiece”) and sends it to the CVIM module. There, specialized machine vision circuitry digitizes the image and displays it on the video monitor, then analyzes designated parts of the image using its analysis tools. The CVIM module sends the results of that analysis - a “pass/fail” signal - to your production equipment, which can accordingly accept or reject the workpiece.
CVIM Operating Modes
The CVIM machine vision system can operate as a standalone vision system or as a hosted system, in which the CVIM system interacts with a host system through the chassis backplane or through a front panel port.
Stand-A/one
The term “stand-alone mode” means that CVIM system control takes place through a set of discrete I/O lines connected to your production equipment.
Mode
In this mode, the CVIM system receives trigger signals directly from your production equipment, and sends inspection results signals directly to that equipment. These signals are routed to your production equipment through a discrete UO port on the CVIM module’s front panel.
Hosted Mode
The term “hosted mode” means that one of the three CVIM communications ports is designated as the host: the remote I/O port, the RS-232 port, and the chassis backplane. You can designate only one as host at any given time. In this mode, only the designated host can issue commands to control CVIM operation, trigger inspections, upload and download configurations, and change displays. Data, however, can be accessed through all three ports simz&aneo~sly. This means that your computer or PLC equipment can read discrete bits and numerical results information through any of the three ports, regardless of which is the designated host.
Page 16
Chapter
1
Introduction:
CVlM Machine Vision
1-4
Basic Hardware
This section identifies and briefly describes the basic hardware components for a CVIM system, namely: l CVIM module.
l Pyramid
Integrator chassis.
l Chassis power supply.
l Video monitor.
l Light pen.
l Camera. l Interface modules.
l Interconnecting
CVIM Module cables.
The CVIM module contains all of the machine vision circuitry - the hardware and software that analyze the camera’s image and control the communications. The module occupies one slot in the chassis. Communications between the CVIM module and other modules in the same chassis take place through the chassis backplane. Communications between the CVIM module and external devices take place through the front panel ports.
Pyramid Integrator
Chassis
Two Pyramid Integrator chassis are available: slots, and the other has eight slots.
One has four
The 4-slot chassis can accommodate up to four CVIM modules, and the 8-slot chassis can accommodate up to eight modules.
Chassis Power Supply
The chassis power supply plugs into the leftmost slot of the chassis, which is dedicated to the power supply. The power supply requires an input voltage range of either 90 to 132 VAC or 180 to 264 VAC. The power supply provides the following DC voltage and amperage outputs: l + 5VDC l + 12VDC
0 -12VDC
@ 35A. @ 800mA. @ 800mA.
Page 17
Chapter
7
Introduction:
W/M
Machine
Vision l-5
Chassis Power Supply (continued)
An external + 24 VDC power supply may be needed for applications that require several cameras. If so, the chassis power supply has a front panel input connection for the + 24VDC source. This connection can also carry fan status signals from an optional fan chassis. Allen-Bradley offers two cable assemblies for connecting the 24VDC power supply to the chassis power supply. The first assembly carries only the + 24VDC. The second carries fan status from the fan chassis as well as + 24VDC from the external power supply.
Video Monitors
A video monitor is required to configure the CVIM system for its inspection applications. During CVIM system operation, the monitor can also be used to observe inspection results. The monitor screen displays the image from the camera and the popup menus and graphic symbols from the CVIM module. These menus and symbols, along with the light pen, are used to configure the CVIM system. Allen-Bradley offers three video monitors: g-inch and 12inch monochrome monitors, and a 13-inch rack-mounted color monitor. The g-inch monochrome monitor is available in 115VAC and 230VAC versions.
-
NOTE: The procedures described in this manual are based on the assumption that you have a color monitor.
Light Pen
Like the video monitor, the light pen is required to configure the CVIM system for its inspection applications. The light pen has a light-sensitive sensor and a springloaded switch in its tip. Light from the monitor screen reaches the sensor through a small hole in the tip. The tip activates the switch when you press the tip against the monitor screen. You operate the light pen by pressing its tip against a popup menu or other symbol on the monitor screen. This generates signals from the sensor and switch. The CVIM system uses the timing of these signals to determine the appropriate response. Together, the light pen and the screen symbols form the user interface, which is the means by which you configure the CVIM system for its inspection tasks. Chapter 3, CV1M User Interface, describes the user interface in detail.
Page 18
Chapter
1
In trodoction:
CVIM Machine Vision l-6
Camera
Allen-Bradley offers a solid state camera for use with the CVIM system. One CVIM module can accomodate two cameras.
-
The low voltage DC power for the camera comes from either the chassis power supply or from an external DC power supply. The chassis power supply is generally sufficient for applications using one or two cameras.
Interface Modules
The CVIM system uses two interface modules or “boxes” and one printed circuit board to distribute signals: l The user interface box.
l The I/O interface l The box.
1771 JMB interface board.
User Interface Box This box receives video signals from the CVIM module through the user interface cable. It routes the video signals to the monitor through a single coaxial cable (monochrome) or four coaxial cables (color). The user interface box also receives switch and light sensor signals from the light pen, and routes them to the CVIM module through the user interface cable.
-
Finally, the user interface box receives + 5 VDC from the CVIM module, which it uses to energize itself and the light sensor in the light pen. II0 Interface Box This box routes discrete I/O signals between a 1771-JMB I/O board (described below) and the CVIM module. The I/O interface module connects directly to the 1771-JMB board. The I/O interface box also routes RS-232 data communication signals between the CVIM module and host computer equipment. The box uses a g-pin D-type connector to carry the RS-232 signals. 1771 JMB Interface Board This board routes discrete input and output signals between the I/O interface box and your production equipment. The JMB board connects directly to the I/O interface box. The JMB board contains up to 16 optically isolated discrete I/O modules, 14 of which are for output signals from the CVIM module and two of which are for input signals from your production equipment. The JMB board contains an LED for each I/O module. An LED turns on whenever the associated I/O module receives a signal.
_
Page 19
Chapter
1
Introduction:
CVlM Machine Vision 1-7
Interconnecting
Cables
Since the CVIM system consists of separate components, it requires a number of interconnecting cables to join these components. Briefly, these are the cables: l Camera cables - Catalog No. 2801-NC14, -NC15, and NC-16 connect the camera(s) directly to the CVIM module.
l User interface cables - Catalog No. 2801-NC18A, -NC18B, and -NC18C connect the CVIM module to the user interface box. l I/O cable - Catalog No. 2801-NC17 module to the I/O interface box.
connects the CVIM l Video monitor cable(s) - Catalog No. 2801-NC2 and -NC3 connect the video monitor to the user interface box. (The monochrome monitor uses one cable; the color monitor uses four cables.)
Communication Channels
The CVIM module has four channels for communicating with other equipment: l Sixteen discrete I/O lines.
l A remote
Discrete
110 Lines
I/O port.
l An RS-232 communications l The chassis backplane.
port.
The CVIM system provides 16 discrete I/O lines, whose signals enable direct interaction between the system and your production equipment. Of the 16 lines, two are “trigger signal” lines. These are dedicated input lines, which are equipped to carry signals from part-presence sensors. The other 14 lines are all dedicated output lines, whose functions you can assign during CVIM system configuration. The CVIM module has a special front panel port (called Module I/O) that routes both RS-232 data and discrete I/O signals to the I/O interface box. The discrete I/O signals from the I/O interface box connect directly to the 1771 JMB board through an edge connector on the JMB board. I/O modules on the JMB board provide electrical isolation between your production equipment and the CVIM system.
Page 20
Chapter
1
Introduction:
CWM Machine Vision
7-8
Remote 110 Port
The CVIM system has a remote I/O port for carrying data between the CVIM system and a 1771-based PLC (programmable logic controller) system.
-
Input data consists of configuration parameters or control commands. Output data consists of configuration parameters, inspection results, and CVIM module status.
RS-232 Communications
Port
The CVIM system has an RS-232 serial communications port for carrying data between the CVIM system and computer equipment or a PLC system. Input data consists of configuration parameters or control commands. Output data consists of configuration parameters, inspection results, and CVIM module status.
Chassis Backplane
When the chassis has other modules (such as a PLC 5/250) installed, the CVIM system can use the chassis backplane to carry data between the CVIM system and the other modules. Input data consists of configuration parameters or control commands. Output data consists of configuration parameters, inspection results, and CVIM module status.
Warnings and Cautions
Warnings and cautions occasionally appear in this manual. They are included in order to protect both you and the equipment. They appear as follows:
A ? 0
A t l
CAUTION: A caution symbol is used when the equipment could be damaged or performance seriously impaired if stated procedures are not followed.
WARNING : A warning symbol means that a person may be injured if the stated procedures are not followed.
-
Page 21
Chapter
1
/ntroduction:
W/M
Machine Vision 1-9
Reference Pub/ications
The following Allen-Bradley in this manual:
publications l The CVIM
Quick Start Self-Training l The CVIM
Communications
5370-ND003.
ND002.
l Pyramid
5000-6.2.10. 17774.1.
Guide, Catalog No.
Manual, Catalog No. 5370-
Integrator Installation l Grounding are referenced
Manual, Publication and Wiring Guidelines,
Publication l Solid State Control Safety Guidelines, SGI-1.1.
No.
No.
Publication
No.