The text of a manual · part 10 of 24
CV-700 Series User's Manual: High-speed, High-accuracy, Color Vision System, pages 91 to 100
Pages 91 to 100 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 91
Chapter 4 Tips
Setting Procedure
To change the window shape Selecting SQR or CIRC is available only when the window is not drawn. To change the shape to another selection (square or circle) after drawing the window, clear the current window. To clear, move cursor to [MEASURE] and hold [CLEAR] key for at least 2 seconds. 6) After setting the size and position of the window, press the [ESCAPE] key to exit the [MEASURE] setting. ■ Mask window When a mask window ([MASK]) is overlapped with a measurement window, the area inside of the mask window is omitted from the measurement. Draw a mask window using the same procedure as for a measurement window. Area to be measured
MEASURE MASK
[MASK] window
4 [MEASURE] window
3. Set [TOL] (Tolerance) Set the upper limit “H=” and the lower limit “L=” of the tolerance. The unit is the number of targets counted. 1) First, set the upper limit. Place the cursor on [H=000] under [TOL] and press the [ENT] key. The first digit, “0”, is shown as highlighted. You can enter a numerical value.
TOL H= 000 L= 000 2) Move the cursor to the left or right to select the digit to be changed.
TOL H= 000 L= 000 3) Change the value.
81
Page 92
Chapter 4
Setting Procedure •
With the panel keys Press the “▲” cursor key repeatedly.
•
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. When the “▼” cursor key is pressed or the [ENT] key is moved down, the value decrements by one to 0.
TOL H= 009 L= 007 4) Press the [ENT] key to confirm the input value. 5) Place the cursor on [L=000] (lower limit) under [TOL], and change the value for the lower limit using the same procedure as for the upper limit.
4
The basic setting for the COUNT mode is completed.
Operation check after changing the settings 1. Press the [ESCAPE] key to return to the initial menu screen. 2. Press the [TRIGGER] key. •
Cursor for all the counted targets appear on the screen. CAM1 CAM2 PROGRAM No.00 MODE INS/TRG SHUTTER SCRN REG WIND•1 INSPECT COUNT NUMBER 008 TOL H= 009 L= 007 OPTION SAVE T= RAW SCR
Tips
• You can omit the undesired noise and/or stains in the window from counting by using “AREAFILT” (Area filter). (➮ page 101) • “FILTER” is also available for the setting. (➮ page 103) 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
NUMBER 008 T= RAW SCR
Detection result
82
Page 93
Chapter 4
Setting Procedure
Saving the settings Save the setting data. The following three method can be used to save the 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] on 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 COUNT NUMBER 000 TOL H= 009 L= 008
REGISTER SET
•
4
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.
83
Page 94
Chapter 4
4.6.6
Setting Procedure
Basic setting procedure for the POINT (Point sensor) mode Detects the presence or absence of a target. Judges by the presence or absence of the extracted color at the set points. Up to eight points can be measured with a window. This section describes the basic setting procedure for “POINT” mode.
Extraction color: Red
Present Absent
Present
<Example>
1. First follow the “Basic setting procedures” (➮ page 36) to set the parameters to the color settings. 2. Set the size for measurement.
4
Set the size of the measurement point. 1) Place the cursor on [SIZE]. Select a size best suited for the area to be detected. Select the size from 4/8/16 pixels.
COLOR SIZE POINT 2) Press the [ENT] key. The size menu appears. 3) Move the cursor to select a desired size and press the [ENT] key to confirm the selection.
SIZE 4 8 16 3. Select the measurement points Set up to eight points to be measured. (Up to 64 points can be measured with eight windows.) 1) Place the cursor on [POINT].
COLOR SIZE POINT 2) Press the [ENT] key. The SEL POINT (Point selection) menu appears.
POINT P1 P2 P3 P4 P5 P6 P7 P8 Tips
84
A point with “●” indicates that the point is already being used.
Page 95
Chapter 4
Setting Procedure
3) Move the cursor to determine a desired point and press the [ENT] key. A point frame is displayed in red on the screen. CAM1 CAM2 PROGRAM WIND•1 INSPECT POINT SEL SCRN COLOR SIZE POINT P1 138,230 MATCH –––––––– SET o– – – – – – –
T= RAW SCR
4) Move the point frame to a desired point for detection, and press the [ENT] key to confirm the setting.
4
CAM1 CAM2 PROGRAM WIND•1 INSPECT POINT SEL SCRN COLOR SIZE POINT P1 138,230 MATCH –––––––– SET oooo– – – –
T= RAW SCR
5) Repeat the procedure (steps 3 and 4) to set all points. 4. Set the presence/absence Set the acceptable/unacceptable judgment from the presence/absence of the extracted colors within the point frames. The display farthest to the left indicates the result of P1, and the display farthest to the right indicates the result of P8. Present: ●
Absent: x
No detection: –
The displays in green indicate that the presence/absence settings match the result. The displays in red indicate that the settings do not match the result.
MATCH oxox– – – –
SET ooxx– – – – 1) Place the cursor on [SET] and press the [ENT] key. The setting parameter for P1 is highlighted, and the setting becomes available.
SET ooxx– – – –
85
Page 96
Chapter 4
Setting Procedure 2) Move the cursor to select the desired point.
SET ooxx– – – – 3) Change the setting. Press the [▲]/ [▼] panel keys or move the [ENT] key up and down on the remote control console to change the setting. 4) Press the [ENT] key. The cursor returns to [SET]. Repeat the above procedure (steps 1 to 3) to change two or more point settings. The basic setting for the POINT mode is complete. Note: The detection result output is an OR output based on the MATCH results of P1 to P8.
4
Operation check after changing the settings 1. Press the [ESCAPE] key to return to the initial menu screen. 2. Press the [TRIGGER] key. •
[MATCH] displays the measurement result for each point. (Green: acceptable, Red: unacceptable.)
MATCH oxox– – – – Tips
Change “BACK” settings (background color) when the color extraction is not shown clearly. (➮ page 102)
Saving the settings Save the setting data. The following three can be used to save the 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] on 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 POINT MATCH –––––––– SET ––––––––
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.
86
Page 97
Chapter 4
4.6.7
Setting Procedure
Basic setting procedure for the STAIN mode Use the STAIN mode to detect stains in the window. Select a window shape from circle, square, circumference, and arc. 1) Set a small area in the window. The small area is called a “segment”. The average brightness is measured for each segment. (Change the size of segments with [SIZE].)
Segment
2) Measure all of the segments for brightness differentials between adjacent segments. The maximum differential in the window is measured.
4
3) When the measured value exceeds the set level, the stain is judged as unacceptable (defective). This section describes the basic setting procedure for the STAIN mode. 1. First follow the “Basic setting procedures” (➮ page 36) to set the parameters to the color settings. 2. Set [MEASURE] (Measurement window) 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), [CIRC] (circle), [RING] (circumference), and [ARC] (arc).
MEASURE SQR CIRC RING ARC 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 STAIN SEL SCRN COLOR MEASURE X=+00200 Y=+00200 R= 00100 LEVEL= 020 NUMBER 000 TOL H= 000 L= 000 ANALOG T= RAW SCR
87
Page 98
Chapter 4
Setting Procedure 4) Move the cursor to enclose the desired area for measurement. CAM1 CAM2 PROGRAM WIND•1 INSPECT STAIN SEL SCRN COLOR MEASURE X=+00200 Y=+00200 R= 00100 LEVEL= 020 NUMBER 000 TOL H= 000 L= 000 ANALOG T= RAW SCR
5) The window drawing mode changes as follows every time the [ENT] key is pressed. Square window
4
Circular window
Circumference window
Arc window
Tips
To change the window shape Selecting SQR, CIRC, RING or ARC is available only when the window is not drawn. To change the shape to another selection (square, circle, circumference or arc) after drawing the window, clear the current window. To clear, move cursor to [MEASURE] and hold [CLEAR] for at least 2 seconds. 6) After setting the size and position of the window, press the [ESCAPE] key to exit the [MEASURE] setting. 3. Set the segment size Select a value to change the sensitivity for stain detection. The smaller values offer more sensitivity for small stains.
Tips
Smaller
←
Value
→
Greater
Higher
←
Sensitivity
→
Lower
Enhancing the sensitivity extends the processing time and makes it difficult for the system to respond to high-speed production lines. Eliminate wasted time and select optimal values. The size is the area in the measurement window to be detected in sequence. 1) Place the cursor on [SIZE] and press the [ENT] key.
SIZE 050 LV 020
88
Page 99
Chapter 4
Setting Procedure
2) Change the values. Move the cursor keys or the [ENT] key up and down to change the values.
SIZE 050 LV 020 3) Press the [ENT] key to confirm the setting.
SIZE 030 LV 020 4. Select the level When the measured values exceed the [LEVEL] value, the target is judged as unacceptable (defective). The measured value is the brightness differential of the detected areas. 1) Select the upper limit. Place the cursor on [LV] and press the [ENT] key. The first digit is highlighted. You can input a numerical value for the first digit.
LV
4
020
2) Move the cursor to select the desired digit.
LV
020
3) Change the values. Move the cursor keys or the [ENT] key up and down to change the values.
LV
090
4) Press the [ENT] key to confirm the LEVEL value. The basic setting for the [STAIN] mode is completed.
Operation check after changing the settings 1. Press the [ESCAPE] key to return to the initial screen. 2. Press the [TRIGGER] key. The measurement cursor appears on the area with stains. CAM1 CAM2 PROGRAM WIND•1 INSPECT STAIN SEL SCRN COLOR MEASURE SIZE= 050 LEVEL= 020 NUMBER 000
ANALOG T= RAW SCR
Tips
• When stains and defects are not detected properly, go back to “Select the size” (➮ page 88) to readjust the SIZE. • When stains and defects are not extracted properly, use the filter function. (➮ page 103)
89
Page 100
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 119
T= RAW SCR Detection result
Saving the settings Save the setting data. The following three can be used to save the 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] on 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.
4
CAM1 CAM2 PROGRAM No.00 MODE INS/TRG SHUTTER SCRN REG
OPTION SAVE T=
WIND•1 INSPECT STAIN LEVEL= 020 NUMBER 000
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.
90