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

The text of a manual · part 8 of 9

Compact Color Vision System CV-301 Series Instruction Manual, pages 71 to 80

Pages 71 to 80 of 86

The original document is the PDF (1.1 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-301

Page 71

Chapter 4

Setting procedure

“BACK” (Background) setting Set the background color of the “PROCES1” screen that appears when you press the SCREEN key. The color can be set to either “BK” (Black) or “WH” (White). Select a background color that allows the extracted color to be easily seen. Initial setting: “BK” 1. Move the ENT key up or down to place the cursor on “BACK”.

ENT

SELECT SEN • 5 BACK • BK IGNORE AUTO

2. 1) Press the ENT key. The cursor moves to “BK” (or “WH”). ENT

SEN • 5 BACK • BK IGNORE

4

2) Move the ENT key up or down to select “WH” (or “BK”). ENT

SEN • 5 BACK • WH IGNORE

3) Press the ENT key to accept the color. The screens on the right show the difference between black and white backgrounds on the “PROCES1” screen. When “BK” is selected for the background ENT

PROG WINDOW 1 COLOR

SEN • 5 BACK • BK IGNORE AUTO COPY REGISTER ZOOM 1 170, 156 T=000017 PROCES1 --------

When “WH” is selected for the background PROG WINDOW 1 COLOR

SEN • 5 BACK • BK IGNORE AUTO COPY REGISTER ZOOM 1 234, 210 T=000017 PROCES1 --------

63

Page 72

Chapter 4

Setting procedure

“IGNORE” setting Setting: 1 to 20 Select the color not to be extracted when you use the “AUTO” function to extend the range of the color extraction. When you place the cursor on a certain point and press the ENT key, the color at this point will not be extracted. Up to 20 points can be specified. When you select more than 20 colors, the firstly selected point is erased.

BACK • BK IGNORE AUTO COPY

SEN • 5 BACK • BK 10 AUTO

Number of points to be ignored.

Note: Set “IGNORE” after you select a color in “SELECT” and before you use the “AUTO” function.

“COPY” setting Setting: W1 to W8, P1, P2 “W” represents a window No. “P” represents a position adjustment No.

4

The “COLOR” setting of one window No. or position adjustment No. can be copied to another window No. or position adjustment No. 1. Move the ENT key up or down to place the cursor on “COPY”.

ENT

BACK • BK IGNORE AUTO COPY REGISTER

2. 1) Press the ENT key. The cursor disappears and “W1” appears initially. ENT

IGNORE AUTO COPY W1 REGISTER

2) Move the ENT key up or down to select the original window No. or position adjustment No. ENT

3) Press the ENT key to accept the window No. or position adjustment No. The window No. or position adjustment No. settings are copied. ENT

64

Page 73

Chapter 4

Setting procedure

4.5.4 Advanced “Position Adjustment” Setting To perform accurate position adjustment, you need to set not only the “COLOR” setting but also the position adjustment mode according to the target. This section explains each position adjustment mode and the setting procedure. Refer to page 18 for details about each mode.

Mode selection 1. Move the ENT key up or down to place the cursor on “MODE”.

POS • 1 COLOR MODE • P PW SW SEN • 2

ENT

2. Press the ENT key and select a mode from the following selection.

MODE P X Y X +Y X >Y Y>X

ENT

ENT

4

P: Set the image to be saved and the window (range) to be searched. PROG

Pattern window

Search window

POS • 1 COLOR MODE • P PW SW SPEED • 2 X= 000 Y= 000 MAT 00 TOL X = +500 =+ 0 Y = +480 =+ 0 MAT 50 T=000053 PROCES1 --------

X: Search only the X-coordinate of the pattern edge in the X window (range). PROG POS • 1 COLOR MODE • X XW FILTER 026,238 174,300

X window

TOL X = +500 =+ 0 Y = +480 =+ 0 T=000034 PROCES1 --------

65

Page 74

Chapter 4

Setting procedure Y: Search only the Y-coordinate of the pattern edge in the Y window (range). PROG POS • 1 COLOR MODE • Y

Y window

YW FILTER 258,066 302,222 TOL X = +500 =+ 0 Y = +480 =+ 0 T=000036 PROCES1 --------

X+Y: Search the X- and Y-coordinates of the pattern edges in the X and Y windows (ranges). X>Y: Search the X-coordinate of the pattern edge first and then search the Ycoordinate. X<Y: Search the Y-coordinate of the pattern edge first and then search the Xcoordinate. X window

4

Y window PROG POS • 1 COLOR MODE •X+Y XW YW FILTER X= 000 Y= 000 TOL X = +500 =+ 0 Y = +480 =+ 0 T=000035 PROCES1 --------

Reference: Priority position adjustment • Example: X priority (X>Y) mode When the X priority mode is selected, the X-coordinate of the pattern edge is searched in the X window. The result (the difference between the registered Xcoordinate value and the searched X-coordinate value) is used to shift the position of the Y window, and then the Y-coordinate of the pattern edge is searched.

X window

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 NG output is produced regardless of the coordinate value.

Y window is shifted off of the screen.

66

Page 75

Chapter 4

Setting procedure

“SPEED” (Speed) setting You can set “SPEED” only in “P” mode. Setting: 0 to 5 (Initial setting: 2) Use “SPEED” to change the speed (accuracy) of the search. •

A setting of “0” shortens the processing time; a setting of “5” lengthens it.

•

If a similar pattern is positioned near the target, set “SPEED” to “5” for a more accurate search.

1. Move the ENT key up or down to place the cursor on “SPEED”. ENT

SW SPEED 2 X = 000

2. 1) Press the ENT key. The cursor moves to the numerical value line. ENT

SW SPEED 2 X = 000

4

2) Move the ENT key up or down to change the numerical value. ENT

3. Press the ESCAPE key to accept the value and exit the “SPEED” setting. ESCAPE

“XW”/”YW” setting You can set “XW” or “YW” only in a mode other than “P” mode. •

Set a search window (range) to detect the edge of a pattern. XW: Set a window in the X-axis direction. The pattern is searched from the left of the screen. YW: Set a window in the Y-axis direction. The pattern is searched from the top of the screen.

•

On the screen, the X window is drawn with a solid line and the Y window is drawn with a dashed line.

•

When “MODE•X” is selected, “YW” is not displayed. When “MODE•Y” is selected, “XW” is not displayed. X window

“FILTER” setting MODE •X+Y XW YW FILTER

Y window

PROG POS • 1 COLOR MODE •X+Y XW YW FILTER X= 000 Y= 000 TOL X = +500 =+ 0 Y = +480 =+ 0 T=000035 PROCES1 --------

67

Page 76

Chapter 4

Setting procedure Set the edge detection method in the window drawn in the “XW” and “YW” settings. RNGE (Range) LENG (Length) DET (Detection)

: 1 to 64 (Initial setting: 5) : 1 to 64 (Initial setting: 5) : C (Color): The first edge of the extracted color in the window is detected. B (Back): The first edge of the background in the window is detected.

1. Move the ENT key up or down to place the cursor on “FILTER”.

YW FILTER +400

ENT

2. 1) Press the ENT key. ENT

2) Move the ENT key up or down to select the item to be changed.

4

ENT

3) Press the ENT key to accept the item. Move the ENT key up or down to change the value or select “C” or “B”.

XW RNGE LENG DET YW RNGE LENG DET

ENT

5 5 C 5 5 C

4) Press the ESCAPE key to accept the value and exit the “FILTER” setting. ESCAPE

Reference: Filter function •

RNGE (Range) Recognize the edge when the detected range of the extracted pattern exceeds the set range. Noise component*

Cursor

XW

•

LENG (Length) Recognize the edge when the detected length of the extracted pattern exceeds the set length. Noise component*

Cursor

XW Length

Range

Example in X window

Example in X window

* Small dots such as noise components can be ignored unless the dot size is larger than the set range or length.

68

Page 77

Chapter 4 •

RNGE (Range)

•

Noise component*

Noise component*

Setting procedure

LENG (Length)

Range

Cursor

Cursor Length

YW

YW

Example in Y window

Example in Y window

“TOL” (Tolerance) setting Set the tolerance by using coordinate values or deviation COORD (Coordinate): Use the absolute coordinate to show the current coordinate and set the tolerance. DEV (Deviation): Use the amount of the deviation from the reference value (registered screen) to show the current coordinate and set the tolerance.

4

1. Move the ENT key up or down to place the cursor on “TOL”. ENT

TOL X = +100 = +100

2. 1) Press the ENT key. ENT

COORD DEV

2) Move the ENT key up or down to select “COORD” or “DEV”.

ENT

3. Press the ESCAPE key to accept the selection and exit the “TOL” setting. ESCAPE

69

Page 78

Chapter 4

Setting procedure

4.5.5 Illumination Adjustment Function The illumination adjustment function automatically compensates for the brightness of the illumination. Use this function to obtain stable detection even if the light intensity gradually changes over time. The illumination adjustment function can be used in each measurement mode. Processing time for illumination adjustment • [AREA•CON] mode The response is delayed for several seconds due to the illumination adjustment; however, the whole processing time is the same. •

[AREA•TRG] mode The processing time becomes approximately 17 ms longer.

•

[AREA+POS], [ABS•POS], and [REL•POS] modes The processing time becomes approximately 17 ms longer.

1. 1) Move the ENT key up or down to place the cursor on “ILLU”. ENT

4

L=000000 ILLU OFF

2) Press the ENT key. The cursor moves to “OFF”. ENT

L=000000 ILLU OFF

3) Move the ENT key up or down to change “OFF” to “ON”. ENT

L=000000 ILLU ON

2. 1) Press the ENT key. A window (frame) appears on the screen. ENT

2) Move the ENT key horizontally or vertically to move the window to a position with moderate brightness. Do not place the window on the target. PROG ENT

No 0 MODE AREA•CON SHUTTER REGISTER WINDOW 1 MEASURE 164,028 338,094 ILLU ON T=000017 RAW SCRN --------

3) Press the ENT key to accept the window position and exit the “ILLU” setting. ENT

Note: Set the illumination adjustment window to a position with moderate brightness. When the window is set in a position which is too bright or too dark, the illumination adjustment easily becomes saturated by a subtle change in brightness, resulting in unstable detection.

70

Page 79

Chapter 4

Setting procedure

4.5.6 Erasing Settings You can erase part of the setting.

Erasing window 1. Use the ENT and ESCAPE keys to place the cursor on the item to be erased.

MEASURE 200,150 400,300

2. Press the CLEAR key. The message “ERASE PROGRAM N/Y” appears. • •

To cancel erasing the window, select “N” and press the ENT key. To erase the window, select “Y” and press the ENT key. CLEAR

PROG

S114 ERASE PROGRAM N / Y

WINDOW 1 COLOR MEASURE 146,146 298,242 MASK - - -, - - - - -, - - DETECT MEASURE 000000 TOL H=000000 L=000000

4

T=000017 RAW SCRN -------

Items can be erased Mode

Item

Procedure

Place the cursor on "MEASURE" and [AREA• CON], Measurement window press the CLEAR key. [AREA• TRG], Place the cursor on "MASK" and [AREA+POS] Mask window press the CLEAR key.

Item to be erased Window Mask window

Erasing color setting (Items set in “SELECT” in the “COLOR” menu) 1. Use the ENT and ESCAPE keys to place the cursor on “SELECT”, “AUTO”, or “COPY”.

SELECT SEN • 5 BACK • BK 2. Press the CLEAR key for 2 seconds. The message “ERASE COLOR PROGRAM N/Y” appears. • To cancel erasing the color setting, select “N” and press the ENT key. • To erase the color setting, select “Y” and press the ENT key. CLEAR

PROG POS • 1 COLOR SELECT SEN • 5 BACK • BK IGNORE AUTO COPY REGISTER

ERASE COLOR PROGRAM N / Y T=000063 PROCES1 --------

71

Page 80

Chapter 4

4.6

Setting procedure

Initialization Initialize the CV-301 series when you want to reset all of the settings or when the unit operates abnormally. Note: After initialization, all settings are cleared to the factory-set values. If you need to save the settings, save them through the RS-232C or take note of the necessary settings.

4.6.1 Initialization Procedure 1. Hold down the remote control console’s CLEAR key and turn on the power supply unit. The message "ERASE ALL PROGRAM N/Y" appears on the screen. To cancel initialization, press the ENT key while “N” is selected. CLEAR

KEYENCE

4

<CV-300>

<ERASE ALL PROGRAM N / Y>

2. Move the ENT key to the right and select “Y”. ENT

3. Press the ENT key. The CV-301 series is initialized. ENT

72

<ERASE ALL PROGRAM N / Y >