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 12 of 24

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

Pages 111 to 120 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 111

Chapter 4

4.7.3

Setting Procedure

Adjustment for the COUNT and GRAVITY modes

Adjusting the [AREAFILT] When unnecessary areas are detected with the [COUNT] or [GRAVITY] mode, adjust the area filter to detect only the clusters of desired size. Select the upper and lower limit for the area filter. [H=xxx] shows the upper limit, and [L=xxx] shows the lower limit. Parameter

Description

H=xxx

Clusters with a greater number of pixels than “H” are not counted.

L=xxx

Clusters with a smaller number of pixels than “L” are not counted.

1. Set the upper limit. Place the cursor on [H=xxx] under [AREAFILT] in the window menu, and press the [ENT] key.

AREAFILT H= 65535 L = 00100

4

2. The first digit is shown as highlighted. Change the value for the upper limit of AREAFILT by pressing [▲]/[▼] cursor keys.

AREAFILT H= 65535 L = 00100 3. Press the [ENT] key to confirm the setting. Press the [TRIGGER] key after pressing the [ENT] key to check the detection status. Select the optimal value while watching the monitor.

AREAFILT H= 03000 L = 00100 4. Set the lower limit. Place the cursor on [L=xxx] and follow the above procedure (1 to 3).

101

Page 112

Chapter 4

4.7.4

Setting Procedure

Advanced COLOR setting When the color extraction is not shown clearly, adjust the setting with the menu as shown below.

SEN =5 BACK IGNORE AUTO

[BACK] When [PROCES1] is selected with the [SCREEN] key, change the background color to white or black. (The initial setting is [BL] (Black).) 1. Place the cursor on [BACK] under [COLOR] menu and press the [ENT] key. The cursor moves to [BL] or [WH].

4

SEN =5 BACK IGNORE 2. Press the [ENT] key up or down to select [BL] or [WH]. The screens below are the [PROCES1] screens with a [BL] or [WH] background.

BACK BLACK WHITE

102

[PROCES1] with a “BL” background

[PROCES1] with a “WH” background

CAM1 CAM2 PROGRAM WIND•1 INSPECT POINT SEL SCRN COLOR SIZE POINT P1 138,230

CAM1 CAM2 PROGRAM WIND•1 INSPECT POINT SEL SCRN COLOR SIZE POINT P1 138,230

MATCH ––––––––

MATCH ––––––––

SET o– – – – – – –

SET o– – – – – – –

T= RAW SCR

T= RAW SCR

Page 113

Chapter 4

4.7.5

Setting Procedure

Adjusting the color extraction

Using the filter function on the screen Follow the procedure below to set advance processing (filter) to an image in order to omit noise on the screen or to optimize detection. Up to two filters can be set, and processing is operated following the order of selection. 1) Place the cursor on [FILTER] and press the [ENT] key. 2) Press the [▲]/[▼] cursor keys to select the desired filter. 3) Press the [ENT] key to select a filter function.

EXPAND1 EXPAND2 SHRINK MEDIAN AVERAGE EDGE EM EDGE EX INVERT SHADING INT UP TINT UP *

4

To remove the filter, select the chosen filter to be canceled and press the [CLEAR] key.

Filter type

Description

EXPAND1

Translates each pixel on the screen into the level of the brightest pixel within the surrounding 3 x 3 area. Expands the extracted area to stabilize the processing of small and disconnected edges and clusters.

EXPAND2

Same processing as EXPAND1. Select EXPAND2 to operate the expansion processing twice.

SHRINK

Translates each pixel on the screen into the level of the darkest pixel within the surrounding 3 x 3 area. Effective in reducing small amounts of noise.

MEDIAN

Translates each pixel on the screen into the level of the fifth brightest pixel within the surrounding 3 x 3 area. Reduces the noise without affecting the size of the extraction range.

AVERAGE

Translates each pixel on the screen into the average brightness level within the surrounding 3 x 3 area. Because it finds the average from the maximum and minimum value of the brightness level, it is more effective in eliminating noise than the MEDIAN.

EDGE EM

Emphasizes the border between the dark and bright area of the image.

EDGE EX

Only displays the border between the dark and bright area of the image.

INVERT

Inverts the bright and dark area.

SHADING

Adjusts the varied luminous intensity in the window.

INT UP

Increases the intensity of the screen to adjust the visibility of the image.

TINT UP

Increases the tint of the screen to sharpen the color of the image.

Some combinations cannot be used simultaneously due to the types and sequence of the filters. One filter cannot be used two or more times.

103

Page 114

Chapter 4

Setting Procedure Basic concepts of the filter function ■ EXPAND

■ EDGE EX

■ SHRINK

■ INVERT

■ MEDIAN

■ SHADING The median

4 ■ AVERAGE

■ INT UP

■ EDGE EM

■ TINT UP

4) When the target colors are varied, for example when setting the [COLOR] for two or more targets, re-register the screen [SCRN REG] and repeat the color extraction process described in “Basic Settings” page 36. CAM1 CAM2 PROGRAM CLR TYPE COLOR1 SELECT SEN =5 BACK IGNORE AUTO SCRN REG LEVEL FILTER

T= RAW SCR

5) Press the [ESCAPE] key to register the color settings. Note: The color setting interacts with the filter function. When the settings for one window are copied to another window using the method described on page 44, the filter type is copied accordingly.

104

Page 115

Chapter 4

Setting Procedure

Setting the color extraction level Do not use this function for normal operation. When the color is not extracted properly, display the histogram of the screen’s color data to operate detailed color extraction. The level setting function is available when using the color gradation processing feature. ■ LEVEL setting procedure 1. Display the color extraction menu. 2. Place the cursor on [LEVEL] and press the [ENT] key. The histogram appears.

LEVEL FILTER

4 H: Upper limit 2: Binary level L: Lower limit

▲

▲

The horizontal axis represents the color level, and the vertical axis represents the number of pixels. The distribution of pixels is displayed for each color level. “H” is the upper limit and “L” is the lower limit. Color extraction is operated between the upper and lower limit. Levels lower than the lower limit are translated into the lower limit value. Levels higher than the upper limit are translated into the upper limit value. By setting the “H” and “ L” to a level with concentrated distribution, undesired effects (e.g. variation of intensity) are likely to occur. “2” indicates the binary level. The levels above “2” will be converted into green. 3. The setting range for [LEVEL] is shown in blue. Press the [ ]/[ ] cursor (panel key) or move the [ENT] key to the right and left to select the desired level. 4. Press the [ENT] key.

▲

▲

The selected level is shown in red.

5. Change the level into the desired level. Press the [ ]/[ ] cursor (panel key) or move the [ENT] key to the right and left to select the desired level. 6. Press the [ENT] key to confirm the level selection. The level display returns to blue.

7. Repeat the above procedure (steps 3 to 6) to confirm the other levels. 8. Press the [ESCAPE] key to exit the level setting and return to the color extraction menu. LEVEL

FILTER

105

Page 116

Chapter 4

Setting Procedure

4.8 “INS+POS” Mode Basic Settings This section describes the basic settings before setting the inspection and position adjustment modes. For details of the inspection mode, refer to “4.6 “INS” Mode Basic Settings” (➮ page 70). For details of position adjustment, refer to “4.9 Position Detection Mode Basic Settings” (➮ page 109).

4.8.1

Initial menu screen The following menu appears after “INS+POS” is selected. Program No. Up to 16 programs (Nos. 00 to 15) can be registered. Shutter speed Changes shutter speed.

4

POS ADJ Sets parameters for position detection. Window Sets a window for detection.

Processing time Displays the processing time for each screen. (Units: ms)

CAM1 CAM2 PROGRAM No.00 MODE INS+POS SHUTTER SCRN REG POS ADJ WIND•1 INSPECT AREA DATA 000000 TOL H=000000 L= 000000 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.

106

Mode Allows selection from five measurement modes. Screen registration Registers the image for setting. Measured value Displays the measured value of the window. Tolerance Sets the allowable range of the detection results. 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 117

Chapter 4

4.8.2

Setting Procedure

Basic setting flow

Common settings

Select a program number

Page 36

Select a program number to save the settings to.

Set “INS+POS” mode

Page 37

Select “INS+POS” 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 of the detection area.

Set position adjustment parameters

Page 109

Refer to page 109 to set the position adjustment parameters.

Set detection parameters

Page 70

Refer to page 70 to set the detection parameters.

4

Mode setting

107

Page 118

Chapter 4

4.8.3

Setting Procedure

“INS+POS” menu

Menu structure Main menu No.00 MODE INS+POS

SHUTTER SCRN REG

4

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

When two cameras are connected. ➮ page 42

POS ADJ

POS ADJ1 POS ADJ2

To ABS.POS window menu. ➮ page 118

WIND•1 INSPECT AREA

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

To INS/TRG menu ➮ page 96

DATA TOL H= L= OPTION

SVD SCRN ILLU DATA CAL

SAVE T= RAW SCR

Tips

108

• The window menu is similar to the one for the “INS/TRG” mode. • The POS ADJ menu is similar to the one for the “ABS.POS” mode.

Page 119

Chapter 4

Setting Procedure

4.9 “Position Detection” Mode Basic Settings This section describes the basic settings to detect the position of a target using the “ABS.POS” (Absolute position) mode. The “REL.POS” (Relative position) and “INS+POS” (Inspection + position) modes are set using the same procedure. ■ Pattern search The pattern search method searches a screen for a stored pattern and measures its position and angle. It searches the pattern in horizontal, vertical, or rotating directions within the search range of the projected image to find the most similar pattern. It then measures its coordinates. The matching ratio of the detected pattern is displayed as the correlation ratio. Stored image

4 Pattern window Search window

■ Edge detection Using the edge detection method, two windows are set in the X- and Y-axis directions independently. The screen is scanned from left to right in the X window and from top to bottom in the Y window to find the coordinates of the first edge. You can select the edge to be detected at which the image changes from bright to dark, or the edge at which the image changes from dark to bright. Y window Edge PROG WINDOW 1 COLOR MEASURE 248,168 378,236 MASK – – –, – – – – – –, – – – DETECT MEASURE 001329 TOL H=000000 L=000000 T=000017 RAW SCRN ●

X window Edge

109

Page 120

Chapter 4

4.9.1

Setting Procedure

Initial menu screen The following menu appears after the “ABS.POS” mode 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 ABS•POS SHUTTER SCRN REG WIND•1 INSPECT PATT DATA X=+0.000 Y=+0.000 ANG=+000 FIT= 00

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 (4 windows max.). The light farthest to the left represents window 1, and the fourth light from the left represents window 4. ● (Green): Within tolerance ● (Red): Outside of tolerance ● (White): No detection –: The window has not been determined.

110

Mode Allows selection from five measurement modes. Screen registration Registers the image for setting. Search menu Displays the current search menu.

Measured value Displays the measured value of the window. (X-/Y-coordinates, angle, correlation value) 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)