The text of a manual · part 9 of 24
CV-700 Series User's Manual: High-speed, High-accuracy, Color Vision System, pages 81 to 90
Pages 81 to 90 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 81
Chapter 4
Setting Procedure
● EDGE NO (Edge count) Counts the number of edges in the window 1
Tips
2
3
4
5
Window
An edge is a point at which the brightness changes from bright to dark or from dark to bright on the color concentration screen. ● COUNT Counts the number of clusters of extracted colors in the window. Up to 256 clusters can be counted. 2
4
1
3
5
4
● POINT (Point sensor) Detects the presence or absence of the extracted colors of the set point. Up to 8 points can be detected in a window. Absence Presence
● STAIN Detects stains and defects in the window. Stain
● GRAVITY Detects the center of gravity and the angle of principal axis of a cluster of the extracted color. The principal axis is the longitudinal angle of the cluster.
GRAVITY center
71
Page 82
Chapter 4
4.6.2
Setting Procedure
Initial menu screen The following menu appears after “INS/TRG” is selected.
Program No. Up to 16 programs (Nos. 00 to 15) can be registered. Shutter speed Changes shutter speed. Window Sets a window for detection.
CAM1 CAM2 PROGRAM No.00 MODE INS/TRG SHUTTER SCRN REG WIND•1 INSPECT AREA DATA 000000 TOL H=000000 L= 000000
4
Processing time Displays the processing time for each screen. (Units: ms)
OPTION SAVE T= RAW SCR ●●●
Detection result The indicator shows the detection result for each window (8 windows max.). The light farthest to the left represents window 1, and the light farthest to the right represents window 8. ● (Green): Within tolerance ● (Red): Outside of tolerance ● (White): No detection –: The window has not been determined.
72
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 stored screen, illumination adjustment, and data conversion SAVE Saves the settings. Screen selection Shows the current screen type. (Raw screen, Processed screen 1/2/3/4)
Page 83
Chapter 4
4.6.3
Setting Procedure
Basic setting flow
Common settings
Mode setting
Operation check
Saving data ➮
Select a program number
Page 36
Select a program number to save the settings to.
Set “INS/TRG” mode
Page 37
Select “INS/TRG” 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.
Select INSPECT mode
Page 43
Select INSPECT mode according to the desired inspection method.
Set COLOR
Page 44
Extract colors from the detection area.
Set MEASURE window
Page 76
Set the area for measurement.
Set TOL
Page 77
Set a tolerance value for differentiation.
Check the settings
Page 78
Check that the data is properly set.
Save the settings
Page 79
Save the settings.
For common settings, refer to “4.3 Basic Settings: Basic setting procedures” on page 36.
73
4
Page 84
Chapter 4
Setting Procedure
Setting parameters The parameters in bold type are described in the basic setting procedures. ➮ ➮
See “4.7 “INS” Mode Advanced Settings” on page 96 for other parameters. See “ Basic Settings” on page 36 for the parameters in bold.
Window menu
Main menu No.00 MODE INS/CON
SHUTTER SCRN REG
WIND1 INSPECT OUTER
4
DATA TOL H= L= OPTION
ARE/CON INS/TRG INS+POS ABS.POS REL.POS
WIND•1 INSPECT OUTER SEL SCRN
CAM1 CAM2 WIND•1 WIND•2 WIND•3 WIND•4 WIND•5 WIND•6 WIND•7 WIND•8 SVD SCRN ILLU DATA CAL
SAVE T= RAW SCR
COLOR SCAN
Color menu AREA OUTER INNER GAP PITCH EDGE NO COUNT POINT STAIN GRAVITY X Y
MEASURE EDGE SEN 030
CLR TYPE COLOR1 SELECT SEN=5
COLOR1 COLOR2 GRAY WIND•1 WIND•2 WIND•3 WIND•4 WIND•5 WIND•6 WIND•7 WIND•8
IGNORE AUTO
SCRN REG DATA TOL H= L=
LEVEL FILT
ANALOG
■ Screen type sequence Pressing the [SCREEN] key shows the following sequence. •
When AREA or COUNT is selected Raw screen
*
Processed screen 3
Processed screen 1
Processed screen 2
When COUNT or GRAVITY is selected Raw screen
74
Processed screen 2
Processed screen 4
When OUTER, INNER, GAP, PITCH, EDGE NO, or STAIN is selected Raw screen
*
Processed screen 1
Processed screen 1
Processed screen 2
Processed screen 3
Page 85
Chapter 4
4.6.4
Setting Procedure
Basic setting procedure for the measurement mode You can select a measurement mode best suited for your application from the following five modes: [OUTER], [INNER], [GAP], [PITCH], and [EDGE NO]. 1. First follow the “Basic setting procedures” (➮ page 36) to set the parameters to the color settings. 2. Select the edge type and scanning direction for measurement. 1) Place the cursor on [SCAN] and press the [ENT] key. The [SCAN] menu appears.
COLOR SCAN MEASURE 2) Select the scanning direction with the cursor. [X]: Scan in the horizontal direction on the screen. [Y]: Scan in the vertical direction on the screen.
4
SCAN X Y 3) Press the [ENT] key to confirm the selection.
● When [INSPECT] is set to [EDGE NO] Place the cursor on [SCAN] and press the [ENT] key. The edge menu appears.
SCAN EDGEMODE MEASURE Place the cursor on the desired option and press the [ENT] key. •
[BL ➞ WH]: Count the edge at which the image changes from dark to bright when scanned from the left or top of the color screen.
•
[WH ➞ BL]: Count the edge at which the image changes from bright to dark when scanned from the left or top of the color screen.
EDGEMODE BL→WH WH→BL
75
Page 86
Chapter 4
Setting Procedure 3. Set [MEASURE] (Measurement window) Specify the size of the window used for measurement. (Example: Setting for OUTER mode)
WIND•1 SEL SCRN COLOR DET MEASURE
1) Place the cursor on [MEASURE] and press the [ENT] key. A frame appears on the screen. CAM1 CAM2 PROGRAM WIND•1 INSPECT OUTER SEL SCRN COLOR SCAN MEASURE 100, 220 400, 260
4
DATA +0.000 TOL H=+0.000 L= +0.000 ANALOG T= RAW SCR
2) Move the cursor to enclose the desired area for measurement. CAM1 CAM2 PROGRAM WIND•1 INSPECT OUTER SEL SCRN COLOR SCAN MEASURE 100, 220 400, 260 DATA +0.000 TOL H=+0.000 L= +0.000 ANALOG T= RAW SCR
The window drawing mode changes as shown below every time the [ENT] key is pressed.
3) After setting the size and position of the window, press the [ESCAPE] key to exit the [MEASURE] setting.
76
Page 87
Chapter 4
Setting Procedure
4. Set [TOL] (Tolerance) Set the upper limit “H=” and the lower limit “L=” of the tolerance. 1) First, set the upper limit. Place the cursor on [H=0.000] under [TOL] and press the [ENT] key. The first digit, “0”, is shown as highlighted. You can enter a numerical value.
TOL H=+0.000 L=+0.000 2) Change the value.
TOL H=+0.000 L=+0.000 •
With the panel keys Press the “▲” cursor key repeatedly.
4
TOL H=+0.000 L=+0.000 •
With the remote control console Move the [ENT] key up repeatedly. The value increments by one from “0”. After “9”, the second digit is incremented.
TOL H=+150.0 L=+0.000 When the “▼” cursor key is pressed or the [ENT] key is moved down, the value decrements by one to 0. 3) Press the [ENT] key to confirm the input value. 4) Place the cursor on [L=000000] (lower limit) under [TOL] and change the value for the lower limit using the same procedure as for the upper limit.
TOL H=+150.0 L=+0.000
Tips
• When you cannot determine the tolerance value, refer to the measurement value displayed in “Operation check after changing the settings” described in the following pages. • The upper limit cannot be smaller than the lower limit. The setting for WIND•1 is complete. You can set up to eight windows for a single program number. To set several windows, select another window number and repeat the above procedure.
77
Page 88
Chapter 4
Setting Procedure
Operation check after changing the settings 1. Press the [ESCAPE] key to return to the initial menu screen. 2. Press the [TRIGGER] key. •
When [INSPECT] mode is set to [OUTER] or [INNER], the screen shows two lines indicating the detected edges. (The illustration below shows the screen for [OUTER].) CAM1 CAM2 PROGRAM No.00 MODE INS/TRG SHUTTER SCRN REG WIND•1 INSPECT OUTER DATA +146.1 TOL H=+150.0 L= +0.000 OPTION SAVE T= PROCES1
4 •
When [INSPECT] mode is set to [GAP] or [PITCH], the screen shows all detected edges. (The illustration below shows the screen for [PITCH].) CAM1 CAM2 PROGRAM No.00 MODE INS/TRG SHUTTER SCRN REG WIND•1 INSPECT PITCH DATA Avg+32.90 Max+33.00 Min+32.90 TOL H=+50.00 L= +0.000 OPTION SAVE T= PROCES1
•
When [INSPECT] is set to [EDGE NO], the screen shows all detected edges. CAM1 CAM2 PROGRAM No.00 MODE INS/TRG SHUTTER SCRN REG WIND•1 INSPECT EDGE No DATA 003 TOL H= 010 L= 001 OPTION SAVE T= PROCES1
Tips
78
When edge detection is unstable, adjust the detection sensitivity to optimize the detection. (➮ See page 100.)
Page 89
Chapter 4
Setting Procedure
3. Check the detection result indicator. Green: Acceptable (The measured value is within the tolerance range.) Red: Unacceptable (The measured value is outside of the tolerance range.) White: No detection (The trigger signal is not input.)
Measured value
DATA +103.4
T= RAW SCR Detection result
Saving the settings
4
Save the setting data. The following three method can be used to save data. •
Press the [RUN/PROG] panel key for at least two seconds or slide the mode selection slide switch on the remote control console up. When the CV-701(P)/751(P) enters [RUN] mode, the message <REGISTER SET> appears on the screen and the settings are saved in the internal memory.
•
Select [SAVE] in the menu screen. When the [ENT] key is pressed, the message “REGISTER SET” appears on the screen and the settings are saved in the internal memory. CAM1 CAM2 PROGRAM No.00 MODE INS/TRG SHUTTER SCRN REG
OPTION SAVE T=
WIND•1 INSPECT OUTER DATA +0.000 TOL H=+3.410 L= +0.500
REGISTER SET
•
OPTION SAVE T= RAW SCR
Save the data in CompactFlash memory (Optional) ➮
See “Chapter 7 CompactFlash Memory” on page 171 for the procedure.
Note 1: Do not turn the power off until the message “REGISTER SET” disappears. Note 2: If the power is turned off before saving the settings, the setting data will be lost.
79
Page 90
Chapter 4
4.6.5
Setting Procedure
Basic setting procedure for COUNT Count the number of targets in the measured area. One cluster of extracted color is counted as one target. Measurement is operated for the entire area inside the window. This section describes the basic setting procedure for the “COUNT” mode. 1
3
4
5
2
1. First follow the “Basic setting procedures” (➮ page 36) to set the parameters to the color settings. 2. Set [MEASURE] (Measurement window)
4
Specify the size of the window used for measurement. 1) Place the cursor on [MEASURE] and press the [ENT] key. The window selection menu appears. 2) Select the shape of the window from [SQR] (square) or [CIRC] (circular).
MEASURE SQR CIRC 3) Press the [ENT] key. A frame appears on the screen. The screen below shows the frame when [CIRC] is selected. CAM1 CAM2 PROGRAM WIND•1 INSPECT COUNT SEL SCRN COLOR MEASURE X=+00200 Y=+00200 R= 00100 L= 00000 NUMBER 000 TOL H= 000 L= 000 ANALOG T= RAW SCR
4) Move the cursor to enclose the desired area for measurement. Note: Up to 256 targets can be counted in one MEASURE window. To count more targets, set two or more windows. 5) The window drawing mode changes as follows every time the [ENT] key is pressed. Square window
Circular window
80