Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 8 of 24

CV-700 Series User's Manual: High-speed, High-accuracy, Color Vision System, pages 71 to 80

Pages 71 to 80 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 71

Chapter 4

Setting Procedure

Basic setting procedure 1. First follow the “Basic setting procedures” (➮ page 36) to set the parameters to the color settings. 2. Set [DET] (Detection) Select whether to count the color pixels (extracted color) in the window or the background pixels. 1) Place the cursor on [DET] and press the [ENT] key. The detection menu appears. COLOR DET MEASURE 2) Select [COLOR] or [BACK] with the cursor.

DET COLOR BACK

4

3) Press the [ENT] key to confirm the selection. 3. Set [MEASURE] (Measurement window) Specify the range of the image (window) for measurement. 1) Place the cursor on [MEASURE] and press the [ENT] key. The window selection menu appears.

WIND•1 SEL SCRN COLOR DET MEASURE 2) Select the shape of the window from [SQR] (square), [CIRC] (circle), and [F SQR] (free square). MEASURE SQR CIRC F SQR 3) Press the [ENT] key. A frame appears on the screen. The screen below shows the frame 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

61

Page 72

Chapter 4

Setting Procedure 4) Move the cursor to enclose the desired area for measurement. 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

The window drawing mode changes as follows every time the [ENT] key is pressed. Square window

Circular window

4

Free square window

Tips

To change the window shape Selecting SQR, CIRC, or F SQR is available only when the window is not drawn. To change the shape to another selection (square, circle, or free square) after drawing the window, clear the current window. To clear the current window, place the cursor on [MEASURE] and hold down the [CLEAR] key for at least two seconds. The message <ERASE SETTINGS N/Y> appears on the monitor screen. Select “Y” and press the [ENT] key. 5) 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.

MEASURE MASK Area to be measured Mask window

[MEASURE] window

62

Page 73

Chapter 4

Setting Procedure

4. Set [TOL] (Tolerance) Set the upper limit “H=” and the lower limit “L=” of the tolerance. The units are pixels. The measured values within the tolerance will be acceptable; the values outside of the tolerance will be unacceptable. 1) First, set the upper limit. Place the cursor on [H=000000] under [TOL] and press the [ENT] key. “0” for the first digit is shown highlighted. You can enter a numerical value.

TOL H=000000 L=000000 2) Move the cursor left or right to select the digit to be changed.

TOL H=000000 L=000000

TOL H=000000 L=000000

3) Change the value.

4

TOL H=000500 L=000000 •

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”, and 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. 4) Press the [ENT] key to confirm the input value. 5) Place the cursor on [L=000000] (lower limit) under [TOL] and change the value using the same procedure as for the upper limit.

TOL H=000000 L=000000 Tips

• When you cannot determine the tolerance value, refer to the measurement value displayed in the “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 procedures.

Operation check after changing the settings 1. Press the [ESCAPE] key to return to the initial menu screen. When the initial menu screen is displayed, trigger signals are input continuously and the measured value is displayed.

DATA Measured value

001216

63

Page 74

Chapter 4

Setting Procedure 2. 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.)

T= RAW SCR Detection result

Note 1: When [INS/TRG] (Inspection + position) is selected, the measured value is displayed at the time of a trigger input. Press the [TRIGGER] key to input the trigger signal. The detection result indicator is white before the first trigger input. Note 2: When [ARE/CON] is selected, “DATA” (Measured value) is retained while the [TRIGGER] key is pressed. Tips

4

Use the “illumination adjustment function” when the measured value is not stable because of the unstable luminous intensity. ➮ See page 136 for the setting procedure.

Saving the settings Save the setting data. The following three methods can be used to save the data. •

Press the [RUN/PROG] panel key 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.

OPTION SAVE T= CAM1 CAM2 PROGRAM No.00 MODE ARE/CON SHUTTER SCRN REG WIND•1

DATA 000000 TOL H=000000 L= 000000

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.

64

Page 75

Chapter 4

Setting Procedure

4.5 “AREA” Mode Advanced Settings 4.5.1

“AREA/CON” menu

AREA menu screen structure The following is the layered structure of the parameters for the “ARE/CON”mode. The details of the parameters in 1. Main menu, 2. Window menu, and 3. Color menu are explained on the following pages. 1. Main menu No.00 MODE INS/CON

SHUTTER SCRN REG

WIND•1 DATA TOL H= L=

OPTION

ARE/CON INS/TRG INS+POS ABS.POS REL.POS

2. Window menu

3. 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 TOL H= L=

COLOR BACK

SQR RING F SQR SQR RING F SQR

SEN=5

COLOR WIND•1 WIND•2 WIND•3 WIND•4 WIND•5 WIND•6 WIND•7 WIND•8

4

BACK IGNORE AUTO SCRN REG

ANALOG

ILLU

SAVE T= RAW SCR

65

Page 76

Chapter 4

Setting Procedure

Menu parameters 1. Main menu “*” indicates the initial setting value.

Parameter PROGRAM

Setting

Description

Function

00* to 15

Program No. for the setting

Change the program No. to set several settings.

1/30 to 1/10000 (1/60*)

Shutter speed

Select a faster shutter speed when detecting a fast-moving target.

Register the reference screen.

Save a target image in the memory.

Set a measurement window and the color of a target.

Set details for detection.

Measured value display

Check the measured value.

MODE SHUTTER

SCRN REG N/Y

WIND• 1

4

To sub menu (For the details, refer to “ 2.” ).

DATA TOL

H=000000 L=000000

Set the upper limit “ H” and the lower limit “ L” .

Set the measured data. (Units: pixels)

OPTION

To sub menu (For the details, refer to the respective sections).

Set the illumination adjustment function.

Set optional settings.

SAVE

Save the setting data.

Save the setting data in the memory.

T=000000

Processing time display

Check the processing time.

RAW SCR*

The actual image captured by the camera.

Check the unprocessed 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.

PROCES4

Processed image for detection.

Check the detection condition.

RAW SCR

66

Page 77

Chapter 4

Setting Procedure

2. Window menu “*” indicates the initial setting value.

Parameter WIND• 1

Setting

Description

Function

Window No.

Change the window No. to set several windows.

Select the camera image for the screen registration.

When two cameras are connected.

To sub menu (For the details, refer to “ 3.” ).

Set the colors to be extracted.

Extract colors for detection.

COLOR*

Using the cursor, select the pixels to be extracted in colors on the screen.

Count pixels in the extracted color.

BACK

Using the cursor, select the pixels to be extracted in the background on the screen.

Count pixels in the background.

Draw a square, circle or free square window on the screen.

Set the range to be measured.

Draw a square, circle or free square window on the screen.

Set the range not to be measured.

Measured value display

Check the measured value.

WIND• 1* to 8 CAM1*

SEL SCRN

CAM2 CAM1|2 CAM1/2

COLOR

DET

SQR MEASURE

RING F SQR SQR

MASK

RING F SQR

DATA

4

TOL

H=000000 L=000000

Set the upper limit “ H” and the lower limit “ L” .

Set the tolerance to judge whether the measured value is acceptable or unacceptable. (Units: pixels)

ANALOG

DATA H ANALOG H DATA L ANALOG L

Set the scaling value for analog output. ➮ See page 166 for the setting procedure.

Output the measured value with the desired output voltage.

67

Page 78

Chapter 4

Setting Procedure 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.

SELECT

Move the cursor on the screen to select the colors to be extracted.

Extract the colors.

SEN

Using the cursor, set the sensitivity for color range when selecting the extraction colors.

Change the color range to be extracted in one operation.

Set the background color.

When the detected image is not clear.

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.

COLOR* CLR TYPE WIND• 1 to 8

0 to 9 (5*)

BL* BACK WH

4

68

Page 79

Chapter 4

4.5.2

Setting Procedure

Advanced color settings When the color extraction is not shown clearly, follow the procedure below to adjust the settings.

SEN =5 BACK IGNORE AUTO

[BACK] (Background) Set the background color to white or black for [PROCES1] set by the [PROGRAM] key. (The initial setting: [BL] (black)). 1. Place the cursor on [BACK] under [COLOR] and press the [ENT] key. The cursor moves to [BL] or [WH].

4

SEN =5 BACK IGNORE 2. Move the [ENT] key up or down to select [BL] or [WH].

BACK BLACK WHITE 3. Press the [ENT] key to confirm the selection. The screen below the [PROCES1] screen with the background of [BL] or [WH]. [BL] (Black) background

[WH] (White) background

CAM1 CAM2 PROGRAM WIND•1 SCRN REG COLOR DET MEASURE MASK

CAM1 CAM2 PROGRAM WIND•1 SCRN REG COLOR DET MEASURE MASK

DATA

DATA

000000 TOL H=000000 L= 000000

000000 TOL H=000000 L= 000000

ANALOG T= RAW SCR

ANALOG T= RAW SCR

69

Page 80

Chapter 4

Setting Procedure

4.6 “INS” Mode Basic Settings This section describes the basic settings using the “INS” (Inspection) mode.

4.6.1

“INS” Mode In addition to the “AREA” detection described in the previous section, the “INS/ TRG” (Inspection trigger) mode offers the following nine measurement modes. Select the mode according to the application. ● OUTER (Outer edge) Measures the distance between the outermost edges in the window. OUTER measurement Window

4 ● INNER (Inner edge) Measures the distance between the innermost edges in the window. INNER measurement Window

● GAP Measures the distance between the odd-numbered edges and the even-numbered edges counted from the left (in horizontal scanning) or top (in vertical scanning) of the window. The maximum, minimum, and average values can be obtained. GAP measurement Window

● PITCH Measures the pitch values to obtain the maximum, minimum, and average values. PITCH measurement Window

70