The text of a manual · part 7 of 24
CV-700 Series User's Manual: High-speed, High-accuracy, Color Vision System, pages 61 to 70
Pages 61 to 70 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 61
Chapter 4 ● Drawing a square [SQR] window 1. With the cursor placed on point A, move it in the desired direction. Point A moves in this direction to change the shape or size of the window. 2. Press the [ENT] key to set the position of point A. 3. With a cursor placed on point C, move it in the desired direction. Point C moves in this direction to change the shape or size of the window. 4. Press the [ENT] key to set the position of point C.
Setting Procedure
A
D
B
C D
A
B
5. With the cursor placed on a corner of the window, move it in the desired direction. The window moves in this direction. Pressing the [ENT] key repeats the steps above.
A
6. After setting the size and position of the window, press the [ESCAPE] key to complete the drawing of a window.
B
C D
4 C
● Drawing a circular [CIRC] window 1. With the cursor placed on point A, move it up or down to move point A in the desired direction.
A
2. Press the [ENT] key to set the position of point A. 3. With the cursor placed inside the window, move it in the desired direction to move the window. Pressing the [ENT] key repeats the steps above.
A B
4. After setting the size and position of the window, press the [ESCAPE] key to complete the drawing of the window. ● Drawing a free square [F.SQR] window 1. With the cursor placed on point A, move it in the desired direction. Point A moves in this direction to change the shape or size of the window. 2. Press the [ENT] key to set the position of point A.
D C
A
D
B
C
3. Set the positions of points B, C, and D using the same procedure above. 4. With the cursor placed on the corner of the window, move it in the desired direction. The window moves in this direction. Pressing the [ENT] key repeats the steps above.
51
Page 62
Chapter 4
Setting Procedure 5. After setting the size and position of the window, press the [ESCAPE] to complete the drawing of the window. ● Drawing a ring [RING] window This window is available only when “STAIN” is selected for the measurement mode. 1. With the cursor placed on point A, move it in the desired direction. Point A moves in this direction to change the shape or size of the window.
A B C
D
2. Press the [ENT] key to set the position of point A.
B
3. With the cursor placed on point B, move it in the desired direction. Point B moves in this direction to change the shape or size of the window. 4. Press the [ENT] key to set the position of point B.
4
5. With the cursor placed inside the window, move it in the desired direction. The window moves in this direction. Pressing the [ENT] key repeats the steps above. 6. After setting the size and position of the window, press the [ESCAPE] key to complete the drawing of the window. ● Drawing an arc [ARC] window This window is available only when “STAIN” is selected for the measurement mode. 1. With the cursor placed on point A, move it in the desired direction. Point A moves in this direction to change the shape or size of the window.
A
B
2. Press the [ENT] key to set the position of point A. 3. With the cursor placed on point B, move it in the desired direction. Point B moves in this direction to change the shape or size of the window.
A
B
4. Press the [ENT] key to set the position of point B. 5. With the cursor placed inside the window, move it in the desired direction. The window moves in this direction. Pressing the [ENT] key repeats the steps above. 6. After setting the size and position of the window, press the [ESCAPE] key to complete the drawing of the window.
52
A C B
Page 63
Chapter 4
Setting Procedure
● Cursor movement by pressing the [ENT] key Every time the [ENT] key is pressed, the window drawing mode changes as shown below. When drawing a square window
When drawing a circular window
When drawing a free square
When drawing a ring
4 When drawing an arc
Tips
To change the window shape Selecting SQR, CIRC, F.SQR, RING, or ARC is available only when the window is not drawn. To change the shape to another selection (square, circle, free square, ring, or arc) after drawing a window, clear the current window. To clear the current window, place the cursor on [MEASURE] and hold the [CLEAR] key down for at least two seconds. The message <ERASE SETTINGS N/Y> appears on the screen. Place the cursor on “Y” and press the [ENT] key. ● Window coordinate value display The coordinate values of a window are displayed with numerical values. Use the values to check or save the setting. Square window A (200,150)
D
MEASURE 200, 150 400, 300
B
Upper line: Coordinates of point A (X, Y) Lower line: Coordinates of point C (X, Y)
C(400,300)
Circular window
(200,200)
MEASURE X=+00200 Y=+00200 R= 00100
X: X-coordinate of the circle center Y: Y-coordinate of the circle center R: Radius
53
Page 64
Chapter 4
Setting Procedure Free square window A (210, 170)
B (120, 230)
D (300, 230)
MEASURE 210, 170 120, 230 210, 290 300, 230
1st line: Coordinates of point A (X, Y) 2nd line: Coordinates of points B (X, Y) 3rd line: Coordinates of points C (X, Y) 4th line: Coordinates of points D (X, Y)
c (210, 290)
Ring window
MEASURE X=+00200 Y=+00200 ER=00100 IR=00050
(200,200)
4
X: X-coordinate of the circle center Y: Y-coordinate of the circle center ER: Radius of external circle IR: Radius of internal circle
Arc window
A C
54
B
MEASURE 200, 200 100, 100 250, 150
1st line: Coordinate of point C (X, Y) 2nd line: Coordinate of point A (X, Y) 3rd line: Coordinate of point B (X, Y)
Page 65
Chapter 4
Setting Procedure
Screen Selection There are five types of screens: “RAW SCR” and “PROCES1/2/3/4”. Use the “PROCES1/2/3/4” to check the settings or operation. SCREEN WINDOW RUN PROG PROGRAM No.
■ Selecting the screen Every time the [SCREEN] key is pressed, the screen changes to the next type in sequence. Some screens may not appear depending on the selected menu. ■ AREA and POINT RAW SCR (raw screen)
4
Shows a window frame on a raw screen
PROCES1 (processed screen 1)
Converts the whole screen into a color binary image using the binary level of the selected window.
PROCES2 (processed screen 2)
Converts the whole screen into a binary image using the binary level of the selected window. Colors other than the extracted color are shown in gray.
PROCES3 (processed screen 3)
PROCES4 (processed screen 4)
Converts only the inside of the selected window into a binary image using the binary level of each window respectively. The area outside the window is shown in gray.
Converts the inside of each window into a binary image using the binary level of each window respectively. The area outside the windows is shown in gray.
55
Page 66
Chapter 4
Setting Procedure ■ Other (EDGE, COUNT, STAIN, and GRAVITY) RAW SCR (raw screen) PROCES1 (processed screen 1)
Shows a window frame on a raw screen.
Display in color density or gray
PROCES2 (processed screen 2)
PROCES3 (processed screen 3. COUNT and GRAVITY modes only)
The 255 levels are shown in yellow on the gradation display.
Display only extracted colors in green on the gradation screen.
4
56
Page 67
Chapter 4
Setting Procedure
4.4 “AREA” Mode Basic Settings Set the “AREA” mode from “ARE/CON” mode for continuous detection, and select “AREA” from “INS/TRG” for detection using the trigger signal input. This section describes the basic setting procedures using the “ARE/CON” (Area continuous) mode.
4.4.1
“AREA” mode ■ Difference between “ARE/CON” (Area continuous) and “INS/TRG” (Inspection trigger) “ARE/CON” detects a target continuously. “INS/TRG” can be used for area detection, but it detects a target only when a trigger signal is input. Both modes are set using the same procedure. ■ Resolution of image The images picked up with the CV-701(P)/751(P) are composed of the primary colors R (red), G (green), and B (blue), and each color has 256 color levels from 0 through 255. For example, a color with R=200, G=50, B=40 is a reddish color, and a color with R=150, G=150, B=150 is white. The data of R-G, G-B, and R-B are obtained based on the R, G, B data, and the area is set for the six parameters to operate color extraction. The color screen processes an image by 16,770,000 resolutions compared to the monochromatic gray mode that processes colors from white to black with 256 levels. This color mode enables target differentiations that cannot be distinguished with a black and white mode. R=20 G=55 B=40
R=174 G=10 B=10
RAW SCR
■ Counting pixels The CV-701(P)/751(P) counts the pixels of extracted colors in the MEASURE window and displays the number of pixels. You can set a tolerance (upper/lower limits) for the number of pixels to differentiate targets between acceptable and unacceptable. This enables detection of the presence or absence of components and the size of a target. Extracted color pixel
Pixel Window
Tips
Measured value: 8
Measured value: 6
If the position or angle of the target is not constant on the screen, use the position adjustment function. Select “INS+POS” (Inspection + position) in the mode selection. ➮ See “Basic Setting Flow” on page 107.
57
4
Page 68
Chapter 4
4.4.2
Setting Procedure
Initial menu screen The following menu appears after “ARE/CON” is selected. Program No. Up to 16 programs (Nos. 00 to 15) can be registered.
Shutter speed Changes shutter speed.
CAM1 CAM2 PROGRAM No.00 MODE ARE/CON SHUTTER SCRN REG WIND•1
Window Sets a window for detection.
DATA 000000 TOL H=000000 L= 000000
Processing time Displays the processing time for each screen. (Units: ms)
4
OPTION SAVE T= RAW SCR ●●●
Detection result The indicator shows the detection result for each window (8 windows max.). The lamp farthest to the left represents window 1, and the lamp farthest to the right represents window 8. ● (Green): Within tolerance ● (Red): Out of tolerance ● (White): No detection –: The window has not been determined.
58
Mode Allows selection from five measurement modes. Screen registration Registers the image for setting. Measured value Displays the measured value of the window. (Units: pixels) Tolerance Sets the allowable range of the detection results. (Units: pixels) Option Sets the illumination adjustment SAVE Saves the settings. Screen selection Shows the current screen type. (Raw screen, Processed screen 1/2/3/4)
Page 69
Chapter 4
4.4.3
Setting Procedure
Basic setting flow The “AREA” mode can be set by the following two procedures. • •
Select the “ARE/CON” measurement mode. Select the “AREA” inspection mode from the window menu of the “INS/TRG” measurement mode.
“ARE/CON” Select a program number
Page 36
Select a program number to save the settings to.
Set “ARE/CON” mode
Page 37
Select “ARE/CON” from the five measurement modes.
Select a shutter speed
Page 38
Select a shutter speed depending on the speed of movement and brightness of the target.
Register a screen
Page 39
Register a screen to store the settings.
Select a window number
Page 41
Select a window number when measuring two or more areas.
Set COLOR
Page 44
Extract colors of the detection area.
Set DET
Page 61
Select between the detection color and the background color for counting the pixels.
Set MEASURE window
Page 61
Set the area for measurement.
Set TOL
Page 63
Set a tolerance value for differentiation.
Check the settings
Page 63
Check if the data is properly set.
Save the settings
Page 64
Save the settings.
Common settings
Mode setting
Operation check Saving data
➮
For the common settings, refer to “4.3 Basic Settings: Basic setting procedures” on page 36.
59
4
Page 70
Chapter 4
Setting Procedure
Setting parameters The parameters in bold type are described in the basic setting procedures. ➮ ➮
See “4.5 “AREA” Mode Advanced Settings” on page 65 for other parameters. See “Basic Settings” on page 36 for the parameters in bold.
Main menu
No.00 MODE INS/CON
SHUTTER SCRN REG
WIND•1
4
DATA TOL H= L=
OPTION
ARE/CON INS/TRG INS+POS ABS.POS REL.POS
Window menu
Color menu
WIND•1 SEL SCRN COLOR DET
CLR TYPE COLOR
MEASURE CAM1 CAM2 WIND•1 WIND•2 WIND•3 WIND•4 WIND•5 WIND•6 WIND•7 WIND•8
MASK DATA
COLOR BACK
SQR CIRC F SQR SQR CIRC F SQR
TOL H= L=
SELECT SEN=5
COLOR WIND•1 WIND•2 WIND•3 WIND•4 WIND•5 WIND•6 WIND•7 WIND•8
BACK IGNORE AUTO SCRN REG
ANALOG
ILLU
SAVE T= RAW SCR ■ Screen type sequence Pressing the [SCREEN] key shows the following sequence. Raw screen
60
Processed screen 1
Processed screen 2
Processed screen 3
Processed screen 4