The text of a manual · part 5 of 42
Bulletin 5370 CVIM Configurable Vision Input Module User Manual: 4 - Operating Environment, pages 47 to 56
Pages 47 to 56 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 47
Chapter
Chapter Objective
4
Operating Environment
The objective of this chapter is to show you how to configure the operating environment parameters in the Env. popup menu. This menu appears when you pick the Env. menu box in the Main Configuration menu. For the most part, the operating environment parameters define the relationship of the CVIM module to the external devices with which it communicates. These parameters apply to the overall CVIM system, not just to specific tools.
Operating
Environment
The main elements of the CVIM system operating environment are these: l Host selection. Your CVIM system can operate in one of two modes: The stand-alone mode, or the hosted mode. You can specify which of these modes is appropriate for your application.
monitor. Your system can use either a color or a monochrome video monitor. You can specify which one your system will be using.
l Video
- lines. The 14 discrete output lines carry signals that indicate the results of CVIM inspections, as well as various timing signals, to your process equipment. You can assign a specific signal function to each output line. l Output communication ports. CVIM has two data communications ports: an RS-232 serial port, and a remote I/O port. If your application requires one or both of these ports, you will specify the data transmission rates and other parameters.
l Data
The trigger is the signal that begins an inspection cycle. You can select trigger sources for configuration (“setup”) and for the run mode. l Trigger.
Two strobe outputs are available, one for each tool set. You can enable or disable these outputs.
l Strobe.
If your application will use gages for making calibrated linear or circular measurements, you can select pixels, inches, or centimeters as the unit of measure. l Units.
Sets. A tool set consists of all of the analytical tools that CVIM can use to perform an inspection. Two identical tool sets are available, which you can apply to two separate tasks during each inspection cycle. You will select the appropriate combinations of tool set (1 or 2) and camera (A or B). l Tool
Page 48
Chapter
4-2
Configurin
4
Operating
Environment
This section shows you the procedures for configuring operating environment parameters.
Operating Pnvironment the
You will begin by picking the Env. menu box in the Main Configuration menu. You will then configure a variety of parameters grouped into three categories: System, I/O, and Tool Set.
Selecting Env. Popup Menu
Your first step is to select the Env. popup menu.
Comments
Your Action Pick Env. in the Main Configuration menu.
When you pick the Env. menu box, the Env. popup menu appears above the Main Configuration menu, as follows: System j:, @-$.‘::~ ,i Camera A
0.0
Ref. Line
Ref. Win
Gage
Window
Mist
Exit
These are the three parameter categories in the Env. popup menu: l System:
Selects stand-alone or hosted mode, monitor type, tool display status, and gage measurement units.
l I/O: Assigns functions to the 14 discrete output lines, and sets operating parameters for RS-232 and remote I/O communications. l Tool Set: Selects trigger source, active tool set and assigns cameras to tool sets.
In the following pages, the steps for configuring these parameters are presented in top-down order. You need not perform them in that order, however.
Page 49
Chapter
Selecting System Popup Menu and Parameters
4
Operating Environment
Select the System popup menu, then select the parameters in that menu.
Your Action Pick the System menu box in the Env.popup menu.
43
Comments When you pick the System menu box, the System popup menu appears above the Env. menu, as follows: Host: Stand Alone Tool Display:
:.. E&.
l em
Off
.-
Camera A
Ref. Line
Svstem
Ref. Win
Gage
Window
Mist
Exit
From the top down, these are the parameters in the System popup menu: -
Selects the CVIM system operating mode. The mode can be Stand Alone, Pyramid, Remote I/O, or RS-232.
l Host:
During the tool configuration mode, it causes all enabled tools of one type, and within one tool set, to appear on the monitor screen when set to On. The tool display can be either On or Off. l Tool
Display:
l Monitor: Selects either a color or a monochrome video monitor. The monitor can be Color or Monochrome.
Selects the unit of measurement for linear or circular gages that perform calibrated linear measurements. The units can be Pixels, Inches, or CM (centimeters). l Units:
Selecting Host Select Popup Menu Select the Host Select popup menu, then select the CVIM system operating mode from that menu. The operating mode selection specifies whether your CVIM system will be configured for stand-alone or hosted operation. Your Action ,-
Look at the Host menu box in the System popup menu.
Comments The Host menu box displays the currently selected CVIM system operating mode. The operating mode can be Stand Alone, Pyramid, Remote I/O, or RS-232.
Page 50
Chapter
4
Operating Environment
4-4
Selecting
Selecting Host Select Popup Menu (continued)
System Popup
Menu and Parameters (continued)
Comments
Your Action
When you pick the Host menu box, the Host Select popup menu appears alongside the System popup menu, as follows:
Pick the Host menu box.
System Popup Menu
0.0
I0 RS-232
I/O
0.0
+-.-.
Tool Set
0.0
Units:
;i g&
Inches
: 1:
Camera A
Ref. Line
I
Env. Popup Menu Ref. Win
Gage
Window
Mist
Exit
Note that the Stand Alone box in the Host Select menu has a shaded square (0) This indicates that Stand Alone is the currently selected operating mode. Chapter 1, Introduction: CVIM Machine Vision, differentiates the stand-alone and hosted operating modes. Here is a brief description of each box in the Host Select menu: l Stand Alone: Selects the stand-alone operating mode. In this mode, the CVIM system is controlled solely through the discrete I/O lines connected to the production equipment.
If a host system is connected to the CVIM system, and the CVIM system is configured for stand-alone operation, the host system can o&y read inspection results from the CVIM system. Selects the hosted operating mode. In this mode, the CVIM system can be controlled by Pyramid system modules occupying the same chassis. l Pyramid:
l Remote I/O: Selects the hosted operating mode. In this mode, the CVIM system can be controlled by a remote PLC system (or an Allen-Bradley 6008 scanner card installed in a computer) connected to the CVIM module’s remote I/O port.
Selects the hosted operating mode. In this mode, the CVIM system can be controlled by computer equipment connected to the CVIM module’s RS-232 port.
l RS-232:
Page 51
Chapter
4
Operating Environment 4-5
Selecting System Popup Menu and Parameters
Selecting Host Select Popup Menu (continued)
(con tinoed)
Comments
Your Action Pick the appropriate box in the Host Select popup menu.
The selection you make depends on the requirements your particular application of the CVIM system.
of
Note that if you pick a different operating mode, the new selection will be highlighted in the Host Select popup menu and will also appear in the Host menu box. Note also that if you change to the Pyramid operating mode, you must power the CVIM system down, then back up again, in order for the Pyramid system to recognize the CVIM system. Before powering down, be sure to save the current configuration first, if appropriate.
Selecting Tool Display Status Select the on or off status for the tool display during the tool configuration mode. When the tool display is on, all tools in the currently selected tool category will appear on the monitor screen. For example, assume that you are currently configuring gage #4 and that you have already configured and enabled gages #l through #3. If the tool display were on, gage #4 would be red and gages # 1 through #3 would be green. When the tool display is off, only the tool that you are currently configuring appears on the monitor screen. In the example above, you would see only gage #4. Your Action Look at the Tool Display menu box in the System popup menu. Pick the Tool Display box, if appropriate.
Comments The Tool Display menu box displays the currently selected tool display status. The tool display will be either On or Off. When you pick the Tool Display box, the status will toggle to the opposite condition. Thus, On will change to Off, or vice versa. Selecting Monitor
Type
Select color or monochrome, whichever is appropriate for the type of monitor you are using. NOTE: If you are using a monochrome monitor and the monitor type is set to color, the highlighting that appears in and around the menu boxes when you point the light pen at them will be very difficult to see.
Page 52
Chapter
4
Operating Environment
4-6
Selecting System Popup Menu and Parameters
Selecting Monitor
Type (continued)
(continued)
Comments
Your Action Look at the Monitor menu box in the System popup menu. Pick the Monitor menu box, if appropriate.
The Monitor menu box displays the currently selected monitor type. The monitor will be either Color or Monochrome.
When you pick the Monitor box, the monitor type will toggle to the opposite type. Thus, Monochrome will change to Color, or vice versa. Selecting Units Popup Menu If your application will be using linear or circular gages to make calibrated linear measurements, select Pixels, Inches, or CM (centimeters) as the unit of measurement. Note that you will also need to perform one of the calibration procedures described in Chapter 5. If your application procedure.
Your Action will not need “units,” you can skip this
Comments
Look at the Units menu box in the System popup menu.
The Units menu box displays the currently selected unit unit for calibrated measurements. The unit will be Pixels, Inches, or CM (centimeters).
Pick the Units menu box, if appropriate.
When you pick the U n its menu box, the Units popup menu will appear alongside the System popup menu, as follows: System Popup Menu
Host: Stand Alone
000
Tool Display: Off Monitor:
Color
-
Note that the Pixels box in the Units menu has a shaded square (0) This indicates that Pixels the currently selected measurement unit.
Page 53
Chapter
4
Operating
Environment
4-7
Selecting Units Popup Menu (continued)
Selecting System Popup Menu and Parameters (continued)
Comments
Your Action Pick the appropriate box in the Units popup menu.
The selection you make depends on the requirements your particular application of the CVIM system.
of
Note that if you pick a different unit, the new selection will be highlighted in the Units popup menu and will also appear in the Units menu box.
Select the I/O popup menu then select the parameters in that menu.
Selecting I/O Popup Menu and Parameters
Comments
Your Action Pick the I/Omenu box in the Env. popup menu.
When you pick the I/O menu box, the l/O popup menu appears above the Env. menu, as follows:
1
I :-.&&~~j:.~
Camera
*
Ref. Line
Ref. Win
Gage
Window
Mist
Exit
From the top down, these are the parameters in the System popup menu: Assignment: Selects the specific signal function for each of the 14 discrete output lines. Also, selects the pulse duration for the Results, Data Valid, and Master Range signals. l Output l RS-232:
Selects the protocol and baud rate parameters for the RS-232 port. I/O: Selects the data rate and rack address parameters for the node adapter.
l 177 1 Remote
Page 54
Chapter
4
Operating Environment
4-8
Selecting Output
Selecting I/O Popup Menu and Parameters
Assignment
Popup Menu
-
Select the popup menu, then select the appropriate signal function for each output line that your application requires.
(continued)
Your Action
Comments
Pick the Output Assignment menu box in the I/O popup menu.
When you pick the Output Assignment menu box, the Output Assignment popup menu appears alongside the I/O popup menu, as follows:
2 Not Used
Output Assignment Popup Menu
5 Not Used 6 Not Used 7 Not Used
I/O Popup Menu
8 Not Used 9 Not Used 10 Not Used 11 Not Used 12 Not Used
177 1 Remote I/O 1System
0.0
13 Not Used 14 Not Used l/Duration
Oms
Z/Duration
Oms
-1 0.0 --1 0.0
The Output Assignment popup menu consists of 16 boxes 14 boxes for output line function assignments and two boxes for pulse duration settings. Initially, the 14 function boxes will read “Not Used” and the two pulse duration boxes will read “Oms,” as shown in the example menu above. If the boxes had been previously configured, and the configuration stored, it would display whatever functions were assigned at that time. NOTE: If a function box displays “l/Results” or “21Results” in black type, it means that at least one analysis tool is already assigned to the output line designated by that function box. To change the function for that output line, you must first remove all tool assignments to it.
-
Page 55
Chapter
4
Operating Environment 4-9
Assigning Output fine Functions
Selecting I/O Popup Menu and Parameters
At this point, you should refer to the Output Line Planning Sheet in Appendix A, Planning Discrete II0 Assignments and Connections. This sheet will show you the function for each output line to be used in your application.
(continued)
If you have not prepared this sheet yet, you should do so at this time. If you have already prepared this sheet, you can now enter the output line functions as described in the following steps. Comments
Your Action Look at the Frst function box in the Output Assignment popup menu.
This box indicates the currently assigned function for output line #l. In the Output Assignment menu shown above, the current assignment is “Not Used .” This indicates that no function has been assigned to output line #I.
Pick the first function box.
When you pick this box, the Output Line Function popup menu will - appear alongside the Output Assignment popup _menu, as follows:
I 3 Not Used
0.0
4 Not Used
..a
5 Not Used l .e
16 Not Used l *o
Output AssignmenL Popup Menu
I
I/O
Popup Menu
1 RS-232 l ee
1771 Remote I/O l eo
System l eo
I 9 Not Used
0.0
10 Not Used
0.0
11 Not Used
0.0
12 Not Used l eo
13 Not Used l eo
14 Not Used
0.0
~l/Duration
Oms
0.0
IZ/Duration
Oms
0.0
Ref. Line
Ref. Win
Gage q l/Strobe
I
0 l/Results
I
0
Z/Trigger Nak
1
0
Z/Results
I
I t
Output Line Function Popup Menu I
Window
Mist
Exit
Page 56
Chapter
4
Operating En wironmen t
4-10
Selecting I/O Popup Menu and Parameters
Assigning Output Line Functions (continued)
(continued)
Your Action
Comments Note that the Not Used box in the Output Line Function menu has a shaded square (0) This indicates that Not Used the currently assigned function for output line #l.
Pick a function for output line #l, if appropriate.
Refer to your Output Line Planning Sheet from Appendix A, and pick the appropriate function box in the Output Line Function menu for output line #l. Note that if you pick a different function than the current one, the new function will be highlighted in the Output Line Function menu and will also appear in the Output Assignment menu.
Pick the functions for the remaining output lines.
Refer to your Output Line Planning Sheet and assign the appropriate functions to the remaining output lines. NOTE: Be certain to assign “Not Used” to all output lines that are not to be used in your application. This ensures that no signals will be present on the unused lines.
Look at the two “Duration” boxes in the Output Assignment menu.
The two boxes display the currently selected pulse duration for the Results, Data Valid, and Master Range signals for the two tool sets. The pulse duration is stated in milliseconds, acceptable range is 1 to 2000 milliseconds.
and the
NOTE: If you specify 0 (zero) milliseconds, the signals will be latched. They will be updated at the completion of the next inspection cycle.