The text of a manual · part 14 of 24
CV-700 Series User's Manual: High-speed, High-accuracy, Color Vision System, pages 131 to 140
Pages 131 to 140 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 131
Chapter 4 Parameter
Description
Function
ANG
Set the tolerance for the angle.
Set the tolerance for the angle
FIT
Set the tolerance for the correlation ratio.
Set the tolerance for the correlation ratio.
Set the scaling value for analog output.
Output the measured value with the desired output voltage.
Processing time display
Check the processing time.
ANALOG
Setting
Setting Procedure
DATA H ANALOG H DATA L ANALOG L
T=000000
RAW SCR
RAW SCR*
The actual image captured Check the unprocessed by the camera. image.
PROCES1
Processed image for detection.
Check the detection condition.
PROCES2
Processed image for detection.
Check the detection condition.
4
121
Page 132
Chapter 4
Setting Procedure ■ Edge “*” indicates the initial setting value.
Parameter WIND• 1
Setting WIND• 1* to 4
Description Window No.
Change the window No. to set several windows. Use the pattern search method for position detection.
PATT* MENU (Search menu)
Function
Select the search method. Use the edge detection method for position detection.
EDGE
CAM1 SEL SCRN
CAM2
Select the camera image for screen registration.
When two cameras are connected.
Refer to sub menu 3 "Color Menu" (page 123) for detailes.
Set the colors to be extracted.
Extract colors for detection.
X
Set the range to detect the Detect (adjust) the position edge in the X-axis of a pattern only in the Xdirection. axis direction.
Y
Set the range to detect the Detect (adjust) the position edge in the Y-axis of a pattern only in the Ydirection. axis direction.
X+Y
Set the range to detect the Detect (adjust) the position edges in both the X- and of a pattern in both the XY-axis directions. and Y-axis directions.
X>Y
Detect (adjust) the position Set the range to detect the of a pattern in both the Xedges in both the X- and and Y-axis directions by Y-axis directions. first using the edge in the X-axis direction.
Y>X
Detect (adjust) the position Set the range to detect the of a pattern in both the Xedges in both the X- and and Y-axis directions by Y-axis directions. first using the edge in the Y-axis direction.
CAM1|2 CAM1/2
4 COLOR
EDGEMODE
COORD WINDOW X SCAN EDGE SEN
Set the range, scanning direction, and detection sensitivity of the X window.
Set the X window for the edge search.
COORD WINDOW Y SCAN EDGE SEN
Set the range, scanning direction, and detection sensitivity of the Y window.
Set the Y window for the edge search.
DATA
Measured value display
Check the measured value.
COORD (Coordinate)
Use the absolute coordinates on the screen as the numerical value output.
DEV (Deviation)
Use the deviation from the registered screen as the numerical value output.
TOL
122
Page 133
Chapter 4 Parameter
Setting X=0000 =0000
Setting Procedure
Description
Function
Set the tolerance for the distance of the X coordinate.
Set the tolerance for the X coordinate.
Set the tolerance for the distance of the Y coordinate.
Set the tolerance for the Y coordinate.
Set the scaling value for analog output.
Output the measured value with the desired output voltage.
Processing time display
Check the processing time.
COORD Y=0000 =0000
ANALOG
DATA H ANALOG H DATA L ANALOG L
T=000000 RAW SCR*
The actual image captured Check the unprocessed by the camera. image.
PROCES1
Processed image for detection.
Check the detection condition.
PROCES2
Processed image for detection.
Check the detection condition.
PROCES3
Processed image for detection.
Check the detection condition.
4
RAW SCR
3. Color menu “*” indicates the initial setting value.
Parameter
Setting
Description
Function
Select the color extraction settings.
Change the extraction methods or copy the settings of other windows.
COLOR1 COLOR2 CLR TYPE GRAY WIND• 1 to 4 SELECT
Move the cursor on the screen to select the colors To extract the colors. to be extracted.
SEN
Use the cursor to set the sensitivity for the color range when selecting the extraction colors.
Change the color range to be extracted in one operation.
IGNORE
Select colors not to be extracted.
Omit selected colors from those extracted.
AUTO
Automatically extend the range for color extraction.
Stabilize the color extraction.
SCRN REG N/Y
Register the reference image.
Save the target image in the memory.
LEVEL
Select a level for color extraction.
Manually select a level for color extraction.
Select a filter. (Reference: For details, see page 131.)
Omit the noise or optimize detection.
FILTER
0 to 9 (5*)
11 types
123
Page 134
Chapter 4
Setting Procedure
4.10.2 “REL.POS” Menu Menu structure The parameters of 2 and 3 are the same as the [ABS.POS] menu. 2. Window menu
1. Main menu No.00 MODE REL.POS
SHUTTER SCRN REG
REF WND MENU PATT
4
CAM1 CAM2
REF WND MENU SEL SCRN COLOR PW SW SRCH SPD SRCH SEN ANG ADJ
REF WND REL•1 REL•2 REL•3
DATA TOL ANG= FIT= ANALOG
ARE/CON INS/TRG INS+POS ABS.POS REL.POS
PATT EDGE
3. Color menu CLR TYPE COLOR1 SELECT SEN=5
IGNORE AUTO SCRN REG
DATA
OPTION
SAVE T= RAW SCR
124
SVD SCRN ILLU DATA CAL
WIND•1 MENU SEL SCRN COLOR EDGEMODE X WINDOW X DATA TOL COORD X= = Y= = ANALOG
PATT EDGE X Y X+Y X>Y X<Y COORD DEV
LEVEL FILTER
COLOR1 COLOR2 GRAY REF WND REL 1 REL 2 REL 3
Page 135
Chapter 4
Setting Procedure
4.10.3 Advanced position adjustment setting (Pattern search) This section describes the setting procedure for accurate position adjustment.
[SRCH SPD] (Search speed) Set the speed and resolution of the search. • • •
The initial setting is [NORMAL]. The processing time becomes longer as the setting is changed from [FAST] to [NORMAL], and then to [SUB_PIX] (Sub pixel). The [SUB_PIX] setting enables detection with a high resolution of 0.1 pixels.
1. Place the cursor on [SRCH SPD] in the window menu and press the [ENT] key. The [SRCH SPD] (Search speed) menu appears.
SW SRCH SPD SRCH SEN 2. Place the cursor on the desired option and press the [ENT] key to confirm the selection for [SRCH SPD].
SRCH SPD FAST NORMAL SUB PIX
Tips
The processing time is displayed at the bottom of the menu screen (T=000000). Check the value after changing the setting.
[SRCH SEN] (Search sensitivity) Change the sensitivity of the search when the search is unstable or fails. • •
The initial setting is [AUTO]. The sensitivity of the search increases and the stability of detection enhances as the setting is changed from [OBJT1] to [OBJT2], then to [AUTO], [FINE1], and [FINE2]. OBJT1
Rough search
Faster
Fine search
Slower
OBJT2 AUTO FINE1 FINE2
125
4
Page 136
Chapter 4
Setting Procedure Note 1: When [OBJT1] or [OBJT2] is selected under [SRCH SEN], the maximum size of a pattern window is 256 x 256 pixels. [GRAVITY] (Gravity) mode searches the image for the position of the center of gravity and its angle of principal axis of the binary-converted extracted color data (The horizontal axis of the screen and the longitudinal axis of the smallest ellipse enclosing a cluster of extracted colors form the angle of principal axis.) Binary conversion processing speeds the processing; however, detection will be unstable under the following conditions due to the operation principles. Gravity
Note 2: When the cluster of extracted colors spreads across the MEASURE window. Note 3: When two or more clusters with a similar size exist in the MEASURE window. Note 4: When the principal axis is not determined. (e.g. square and circular objects)
4
1. Place the cursor on [SRCH SEN] in the window menu and press the [ENT] key. [SRCH SEN] menu appears.
SRCH SPD SRCH SEN ANG ADJ 2. Place the cursor on the desired option and press the [ENT] key to confirm the selection for [SRCH SEN].
SRCH SEN OBJT1 OBJT2 AUTO FINE1 FINE2
Tips
126
Increasing the SERCH SEN value slows the processing time. Do not set the sensitivity higher than it needs to be.
Page 137
Chapter 4
Setting Procedure
4.10.4 Advanced position adjustment setting (Edge detection) Selecting the edge detection mode There are five modes for edge detection. In any mode, the screen is searched in the direction set with “SCAN” for edge detection. 1. Place the cursor on [MENU] in the window menu and press the [ENT] key. The search menu appears.
WIND•1 MENU SEL SCRN 2. Place the cursor on [EDGE] and press the [ENT] key. The message <ERASE SETTINGS N/Y> appears on the screen. Place the cursor on “Y” and press the [ENT] key.
4
MENU PATT EDGE 3. Place the cursor on [EDGEMODE] mode and press the [ENT] key.
COLOR EDGEMODE X WINDOW X 4. Select the desired mode and press the [ENT] key.
EDGEMODE X Y X+Y X>Y Y>X X: To adjust the position only in the X-axis direction.
X window
Y: To adjust the position only in the Y-axis direction.
Y window
127
Page 138
Chapter 4
Setting Procedure X+Y: To adjust the position in both X- and Y-axis directions. Y window X window
X>Y: To adjust the position in the X-axis direction first, and then adjust the position in the Y-axis direction. Y>X: To adjust the position in the Y-axis direction first, and then adjust the position in the X-axis direction. Tips
4
Priority position adjustment • Example: X priority (X>Y) mode When the X priority mode is selected, the X coordinate of the edge is searched in the X window. The result (the difference between the registered X coordinate value and the detected X coordinate value) is used to shift the Y window, and then the Y coordinate of the edge is searched.
X edge Y window Registered screen
Y window is shifted.
• When the preferred edge position is extremely different from the registered position and the shifted window disappears from the screen, the detection result is unacceptable regardless of the coordinate value.
The Y window is shifted off the screen.
128
Page 139
Chapter 4
Setting Procedure
WINDOW X and WINDOW Y settings WINDOW X/WINDOW Y : Set a window to search in the X-axis/Y-axis direction with [COORD]. The screen is searched in the horizontal/vertical direction. Set the direction of the edge search with [SCAN]. Use the [▲]/[▼] cursor to change the setting.
EDGEMODE X WINDOW X
•
WINDOW X COORD 100, 220 400, 260 SCAN BL→WH EDGE SEN 030
X window
Search direction
Y window
Search window
[BL] ← [WH]
Right to left
[BL] ← [WH]
Bottom to top
[WH] ← [BL]
Right to left
[WH] ← [BL]
Bottom to top
[WH] → [BL]
Left to right
[WH] → [BL]
Top to bottom
[BL] → [WH]
Left to right
[BL] → [WH]
Top to bottom
4
[EDGE SEN]: Set the sensitivity of the edge detection. Setting range: 000 to 100 (Initial setting: 030) A smaller value increases the sensitivity so that edges are detected with a smaller difference in the brightness. Set the optimal sensitivity while watching the monitor.
4.10.5 Advanced position adjustment (Tolerance setting) [TOL] (Tolerance) Select the coordinates or the deviation to set the edge tolerance. [COORD] : Use the absolute coordinates to display the measured value and to set the tolerance. [DEV] : Use the difference from the reference value (registered screen) to display the measured value and to set the tolerance. 1. Place the cursor on [TOL] in the window menu and press the [ENT] key.
TOL ANG=±010 FIT= 00 2. Place the cursor on [COORD] or [DEV] and press the [ENT] key.
TOL COORD DEV
129
Page 140
Chapter 4
Setting Procedure
4.10.6 Sensitivity adjustment for edge detection Adjusting the sensitivity for edge detection When detection is unstable (e.g. some edges are not detected or unnecessary edges are detected), adjust the sensitivity to optimize detection. 1. Place the cursor on [WINDOW X] in the window menu and press the [ENT] key.
WINDOW X COORD 100, 220 400, 260 SCAN BL→WH EDGE SEN 030
4
2. Place the cursor on [EDGE SEN] and press the [ENT] key. The first digit of the sensitivity is shown as highlighted.
EDGE SEN 030 3. Change the value for the [EDGE SEN] using the [ENT] key. •
•
The change in the values for [EDGE SEN] is reflected in the edge detection status on the monitor screen. Set the optimal sensitivity while watching the monitor. A larger value decreases the sensitivity, and a smaller value increases the sensitivity. CAM1 CAM2 PROGRAM WIND•1 INSPECT OUTER SCRN REG COLOR SCAN MEASURE EDGE SEN 035 DATA +0.000 TOL H=+0.000 L= +0.000 ANALOG T= RAW SCR
130