The text of a manual · part 6 of 24
CV-700 Series User's Manual: High-speed, High-accuracy, Color Vision System, pages 51 to 60
Pages 51 to 60 of 232
The original document is the PDF (2.6 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 Keyence CV-070
Page 51
Chapter 4
Setting Procedure
4. The message <ARROW KEY MOVE > appears again on the screen. Readjust the position if necessary. 5. Press the [ESCAPE] key to exit the position change operation. The message <REGISTER POS N/Y> appears on the screen. CAM1 CAM2 PROGRAM No.00 MODE ARE/CON SHUTTER SCRN REG CAM1 WIND•1 INSPECT AREA DATA 000000 TOL H=000000 L= 000000
CHANGE POS N / Y
OPTION SAVE T= RAW SCR
6. Press the [ENT] key. The message <REGISTERING> appears on the screen. Registration is complete when the message disappears. To cancel the position change operation, select “N” and press the [ENT] key to go back to step 1. CAM1 CAM2 PROGRAM No.00 MODE ARE/CON SHUTTER SCRN REG CAM1 WIND•1 INSPECT AREA DATA 000000 TOL H=000000 L= 000000
REGISTERING
OPTION SAVE T= RAW SCR
5. Press the [ENT] key. The message <REGISTERING> appears on the screen, and the image is saved in the memory. When registration is complete, the screen returns to the main menu.
Select a window number Set different targets, measurement parameters, and result values for each window. Select window numbers when measuring two or more points with one measurement mode. 1. Place the cursor on [WIND•1] and press the [ENT] key. The window menu appears.
SHUTTER SCRN REG WIND•1 2. Place the cursor on the desired window number, and press the [ENT] key. (Window 1 is selected here.) The selected window menu appears.
WIND•1 WIND•1 WIND•2 WIND•3 WIND•4 WIND•5 WIND•6 WIND•7 WIND•8
41
4
Page 52
Chapter 4
Setting Procedure Tips
A window number shown with “●” indicates that the number is already being used.
4.3.2 Using two cameras Selecting a camera image When two cameras are connected, the screen registration should be done for each camera.
Battery
AA
4
Camera 2
Camera 1
Note 1: When two cameras are connected, the available program numbers are limited to 00 through 07. Note 2: When the vertical/horizontal split screen (1/2) is selected, both screens of the two cameras should be registered. 1. Place the cursor on [SCRN REG] and press the [ENT] key.
SHUTTER SCRN REG WIND•1 2. Place the cursor on the camera to be selected, and press the [ENT] key.
SHUTTER SCRN REG CAM1 CAM2
Select a window When two cameras are connected, you can select one of the registered screens to set a window.
Battery
AA Camera 1
42
Camera 2
Camera 1 ❘ 2
Camera 1/2
Page 53
Chapter 4
Setting Procedure
1. Place the cursor on [SEL SCRN] and press the [ENT] key.
WIND•1 SEL SCRN COLOR 2. Place the cursor on one of the four registered screens and press the [ENT] key.
SEL SCRN CAM1 CAM2 CAM1/2 CAM1I2 Note 1: In the “INS+POS” (Inspection+ position) mode, select the screen that is used for “POS ADJ” (Position adjustment) for WIND•1 (Window 1). When “CAM1❘2” or “CAM1/2” is selected in “WIND•1”, position adjustment is operated by using the image from Camera 1. Note 2: In the “INS+POS” mode, “POS ADJ1” uses the image from Camera 1, and “POS ADJ2” uses the image from Camera 2 for position adjustment.
Selecting an Inspection Mode (“INS/TRG” and “INS+POS” modes only) The “INS/TRG” and “INS+POS” modes offer 10 inspection modes. You can select different inspection methods for each window. The inspection method is referred to as “INSPECT” mode. (➮ See page 74 for the menu hierarchy.) 1. Place the cursor on [INSPECT] and press the [ENT] key. The inspection mode menu appears on the screen.
WIND•1 INSPECT AREA 2. Place the cursor on the inspection mode to be selected, and press the [ENT] key. The AREA mode is confirmed.
INSPECT AREA OUTER INNER GAP PITCH EDGE No COUNT POINT STAIN GRAVITY
43
4
Page 54
Chapter 4
Setting Procedure
Selecting Colors The CV-701(P)/751(P) measures registered patterns by measuring the “color” of the area. Define the target objects that are to be measured. Limit the measurement
Before the setting After the setting <Sample: AREA mode>
1. Place the cursor on [COLOR] and press the [ENT] key. The menu is switched to the color setting menu.
4
Refer to the chart below to select [CLR TYPE] (Color type) if necessary. Use this setting when copying color extraction settings of other windows, or when the color density extraction is not extracted properly. Place the cursor on the desired color type and press the [ENT] key. The color type is selected. Setting COLOR COLOR1 COLOR2
GRAY
POS ADJ *
WIND1/2/3/ 4/5/6/7/8
Description Displayed with AREA and POINT modes. Processes color-binary conversion. Extracts the target color to process the color density. Select COLOR1 for most operations. Select COLOR2 if the color is not extracted properly with COLOR1. (When both the target and background are dark colors.) Select this mode when the targets are similar colors or black and white. Converts the brightness/darkness into monochromatic images. Appears when "INS+POS" mode is selected. Copies the set color data when a position adjustment window is set. (When it is not set, the window names are shown in red color.) Copies the set color data when a window is selected. (When it is not set, the window names are shown in red color.)
[AREA]
CLR TYPE COLOR WIND•1 WIND•2 WIND•3 WIND•4 WIND•5 WIND•6 WIND•7 WIND•8 [ABS.POS]
CLR TYPE COLOR1 COLOR2 GRAY WIND•1 WIND•2 WIND•3 WIND•4
* Go to page 49 when selecting this color type.
Tips
The color data can easily be set by copying the color data from one window to another. The processing speed is reduced when, by selecting the already extracted colors from previous windows, the same color data is used for all windows. 2. Place the cursor on [SELECT] and press the [ENT] key. An arrow cursor appears on the screen. CAM1 CAM2 PROGRAM CLR TYPE COLOR SELECT SEN =5 BACK IGNORE AUTO SCRN REG TRG ZOOM
MOVE PUSH SELECT ESC END RAW SCR
44
Page 55
Chapter 4
Setting Procedure
3. Move the arrow to the position of the color to be extracted by using the [ENT] key. CAM1 CAM2 PROGRAM CLR TYPE COLOR SELECT SEN =5 BACK IGNORE AUTO SCRN REG TRG ZOOM MOVE PUSH SELECT ESC END RAW SCR
4. Press the [ENT] key. The highlighted area is extracted. Extend the extraction area by repeatedly pressing the [ENT] key. To optimize the detection, repeat the color extraction procedure until the images shown in the sample below appear. CAM1 CAM2 PROGRAM CLR TYPE COLOR
4
SELECT SEN =5 BACK IGNORE AUTO SCRN REG TRG ZOOM MOVE PUSH SELECT ESC END PROCES2
<Sample: AREA mode> Inspection mode AREA/POINT mode
Raw image
Extract the color until the desired area of extraction is shown clearly. The extracted color is shown in colors. Extracted image
(COLOR) EDGE mode (OUTER/ INNER/PITCH/GAP/ EDGE NO/SEARCH) Raw image
Extract the color until the edge (the boundary between the area of extracted color and the rest) becomes clear. The extracted color is shown in white. Extracted image
(COLOR1)
COUNT/GRAVITY mode Raw image
Extract the color until the clusters of extracted colors become isolated from the background. Extracted image
(COLOR2)
45
Page 56
Chapter 4
Setting Procedure Inspection mode STAIN mode
Extract the color until the defects and stains become isolated. Raw image
Extracted image
(COLOR1)
PATT
Extract the color until the whole image to be searched becomes isolated. Raw image
Extracted image
(COLOR1) *
4 Tips
When “PROCES2” is displayed (except AREA and POINT modes), the 255th level is shown in yellow. Be sure that the yellow color is not displayed except in the target area.
• When some areas of the target color have not been extraced, move the cursor to the nonextracted area and press the [ENT] key. • To go back to the previous step, press the [CLEAR] key. The extraction procedures go back to the previous step by the number of times you press the key (9 times max.).
5. Press the [ESCAPE] key. The cursor returns to [SELECT]. Tips
46
When detecting the same color for two or more windows simultaneously, color data can easily be set by copying data.
Page 57
Chapter 4
Setting Procedure
■ Zoom in on the image You can zoom in on the image for easy color extraction. 1. Press the [TRIGGER] key upon [SELECT]. The zoom function is enabled.
2. Every time the [ENT] key is pressed upward, the image is zoomed in. Every time the [ENT] key is pressed downward, the image is zoomed out. Select the desired image size. 3. Press the [TRIGGER] key. The zoom function is canceled and you can continue operation with the [SELECT] menu with the selected image size.
4
CAM1 CAM2 PROGRAM CLR TYPE COLOR
CAM1 CAM2 PROGRAM CLR TYPE COLOR
SELECT SEN =5 BACK IGNORE AUTO
SELECT SEN =5 BACK IGNORE AUTO
SCRN REG
SCRN REG
TRG ZOOM OFF
TRG ZOOM OFF
ZOOM
ZOOM
RAW SCR
RAW SCR
Auto Color Extraction The [AUTO] mode stabilizes the color extraction against the color variation of targets and the fluctuation of illumination. Setting the [AUTO] function after color extraction is recommended. 1. Place the cursor on [AUTO] and press the [ENT] key repeatedly. The color selected with [SELECT] is extracted. To cancel, press [CLEAR]. The extraction procedures go back to the previous step by the number of times you press the key (9 times max.).
BACK IGNORE AUTO 2. Press the [ESCAPE] key. The cursor returns to [COLOR]. CAM1 CAM2 PROGRAM CLR TYPE COLOR
CAM1 CAM2 PROGRAM CLR TYPE COLOR
SELECT SEN =5 BACK IGNORE AUTO
SELECT SEN =5 BACK IGNORE AUTO
SCRN REG
SCRN REG
T= PROCES2
T= PROCES2
47
Page 58
Chapter 4
Setting Procedure
Adjust the [SEN] (Color sensitivity) The range of selection is 0 to 9. (5 is the initial value). • • •
Select the color sensitivity for color extraction with [SELECT]. Smaller numbers indicate higher identifying sensitivity for colors. Color extraction can be operated in stages with [SELECT]. Larger numbers indicate lower identifying sensitivity for colors. Use this setting for approximate color extraction when a target has a limited number of colors.
1. Place the cursor on [SEN] in the color menu and press the [ENT] key. The cursor moves to the number.
SEN = 5 BACK IGNORE 2. Select a number with the [ENT] key. •
With the panel keys Press “▲” or “▼” cursor.
•
With the remote control console Press the [ENT] key up or down.
4
Pressing the [ENT] key up increases the number, and pressing the [ENT] key down reduces the number.
SEN = 5 BACK IGNORE 3. Press the [ENT] key. The [SEN] is confirmed.
Ignore an unwanted extracted color Set to ignore unwanted colors from the extracted colors. 1. Place the cursor on [IGNORE] and press the [ENT] key. An arrow cursor appears on the screen.
BACK IGNORE AUTO 2. Move the arrow cursor to the unwanted color using the [ENT] key. CAM1 CAM2 PROGRAM CLR TYPE COLOR SELECT SEN =5 BACK IGNORE AUTO SCRN REG
T= PROCES2
48
Page 59
Chapter 4
Setting Procedure
3. Press the [ENT] key. The color of the arrow-selected area will not be extracted. CAM1 CAM2 PROGRAM CLR TYPE COLOR SELECT SEN =5 BACK IGNORE AUTO SCRN REG
T= PROCES2
■ Clear the color extraction You can clear the extracted color data and resume the setting from the beginning. 1. Place the cursor on [SELECT] or [AUTO] by using the [ENT] key or [ESCAPE] key. 2. Hold down the [CLEAR] key for at least two seconds. The message <ERASE SETTINGS N/Y> appears on the screen. 3. Press the [ENT] key to the right to select “Y”. 4. Press the [ENT] key. The selected color data is cleared. CAM1 CAM2 PROGRAM CLR TYPE COLOR SELECT SEN =5 BACK IGNORE AUTO SCRN REG
ERASE SETTINGS N/Y
TRG ZOOM
MOVE PUSH SELECT ESC END PROCES2
Screen coordinates The monitor screen defines the upper left corner as the reference point and is composed of more than 240,000 pixels: 508 pixels in the X-axis direction and 480 pixels in the Y-axis direction. The tolerance and position are presented using pixels as the units. (0, 0) 1 2 3 ...
X-axis
1 pixel
...
1 2 3
(507,0)
243,840 pixels
(0 ,479)
(507,479)
Y-axis
A pixel is a basic unit in image processing. The length and area are presented in pixels.
49
4
Page 60
Chapter 4
Setting Procedure
Drawing a window The measurement range on the screen is called a window. The shape of the window can be selected from a square (SQR), a circle (CIRC), a free square (F.SQR), a ring (RING), or an arc (ARC). CAM1 CAM2 PROGRAM WIND•1 SCRN REG COLOR DET MEASURE 200, 200 300, 300
DATA 000000 TOL H=000000 L= 000000 ANALOG T= RAW SCR
Square window Tips
4
The available window shapes vary depending on the measurement mode. ■ Setting a window Set a window by the following procedures. (Description is given with the AREA mode as a sample.) 1. Place the cursor on [MEASURE] and press the [ENT] key. The window shape select menu appears.
COLOR DET MEASURE 2. Select a window shape from [SQR] (square), [CIRC] (circle), and [F.SQR] (free square).
MEASURE SQR CIRC F SQR 3. Press the [ENT] key. A window appears on the screen. The screen below is the window when [SQR] is selected. CAM1 CAM2 PROGRAM WIND•1 SCRN REG COLOR DET MEASURE 200, 200 300, 300
DATA 000000 TOL H=000000 L= 000000 ANALOG T= RAW SCR
4. Draw a window. The drawing procedure for each window shape is described in the following section. CAM1 CAM2 PROGRAM WIND•1 SCRN REG COLOR DET MEASURE 200, 200 300, 300
DATA 000000 TOL H=000000 L= 000000 ANALOG T= RAW SCR
50