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

The text of a manual · part 5 of 9

Compact Color Vision System CV-301 Series Instruction Manual, pages 41 to 50

Pages 41 to 50 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 41

Chapter 4

Setting procedure

4.3.2 Setting Parameters and Procedure Setting parameters The following is the layered structure of the parameters for the [AREA•CON] mode setting. The parameters in bold type are described in the basic setting. To set parameters other than those shown in bold type, refer to pages 53 through 71.

PROG No MODE

Mode selection AREA•CON AREA•TRG AREA+POS ABS•POS REL•POS

SHUTTER REGISTER WINDOW1 MEASURE 000000

WINDOW1 COLOR

SELECT SEN•5

TOL H=000000

BACK•BK

L=000000

AUTO

ILLU T=000000 RAW SCRN

COPY

Color extraction menu Specify the color to be extracted.

4

IGNORE

REGISTER ZOOM

Main menu MEASURE

SQR CL

MASK

SQR CL

DETECT MEASURE 000000

Coordinate Set measurement value setting window

Set mask Coordinate value setting window

COLOR BACK

TOL H=000000 L=000000 Window menu Set the color to be extracted, window size, and tolerance for each window.

33

Page 42

Chapter 4

Setting procedure

Basic setting 1. Determine the program No. You can set 16 programs (numbers 0 to 15). 1) Move the ENT key up or down to place the cursor on “No.”.

ENT

PROG No 0 MODE

2) Press the ENT key. Now you can change the program number. ENT

3) Move the ENT key up or down to select the number.

PROG ENT

4

No 1 MODE

4) Press the ENT key to choose the desired selection. ENT

Reference: Program numbers can be changed using the I/O terminals (➮ Refer to pages 95 and 99.). 2. Select the measurement mode. 1) Move the ENT key down to place the cursor on “MODE”.

ENT

PROG No 1 MODE

2) Press the ENT key. The cursor moves one line down. ENT

3) Move the ENT key up or down to select “AREA•CON”.

PROG ENT

No 1 MODE AREA•CON

4) Press the ENT key to choose the desired selection. The cursor returns to “MODE”. ENT

34

Page 43

Chapter 4

Setting procedure

3. Register the screen. Store the image to be used for the setting in the memory. 1) Move the ENT key down to place the cursor on “REGISTER”.

ENT

MODE AREA•CON SHUTTER REGISTER

2) Press the ENT key. The message “REGISTER SCREEN N/Y” appears To cancel the screen registration, press the ENT key while “N” is selected. PROG No 0 MODE AREA•CON SHUTTER REGISTER

ENT

ERASE SCREEN N / Y

WINDOW 1 MEASURE 09297 TOL H= 005000 L = 000000 ILLU OFF T=000017 RAW SCRN ●-------

4

3) Move the ENT key right to select “Y”. ENT

4) Press the ENT key. The current screen is stored in the memory. ENT

Note: The registered screen is available in any of 16 programs, and remains until you cancel and register new one. 4. Set [COLOR] for [WINDOW1]. Set the color to be extracted. 1) Move the ENT key up or down to place the cursor on “WINDOW1”. The menu changes. The cursor is placed on “WINDOW1”. ENT

WINDOW 1 MEASURE 000000

2) Move the ENT key down to place the cursor on “COLOR”. ENT

WINDOW 1 COLOR

3) Press the ENT key. The menu changes. The cursor is placed on “SELECT”. ENT

SELECT SEN • 5

35

Page 44

Chapter 4

Setting procedure 4) Press the ENT key. The arrow cursor appears on the screen. PROG

ENT

WINDOW 1 COLOR SEN • 5 BACK • BK IGNORE AUTO COPY REGISTER ZOOM 1 244, 208 T=000017 PROCES1 •-------

5) Move the ENT key in any direction to move the arrow cursor to the color to be extracted. ENT

6) Press the ENT key.

4

•

The screen changes to Processed Screen 1 and the background becomes black.* Only the extracted color is faintly displayed. Pressing the ENT key makes the color clearer. ENT

WINDOW1 COLOR

SEN • 5 BACK • BK IGNORE AUTO COPY REGISTER ZOOM 1

SEN • 5 BACK • BK IGNORE AUTO COPY REGISTER ZOOM 1

▲

PROG

WINDOW 1 COLOR

244, 208

244, 078

T=000017 PROCES1 ●-------

T=000017 PROCES1 ●-------

•

If there is another area which contains the color to be extracted, place the arrow cursor on the area and press the ENT key.

•

Press the CLEAR key to undo the last key operation. The clear key can be used to undo up to 5 previous steps.

*

The background becomes black because “BK” (black) is selected in “BACK” (background) in the menu. (Refer to page 63.)

7) Press the ESCAPE key. The cursor goes to “SELECT”. ESCAPE

36

PROG

Page 45

Chapter 4

Setting procedure

■ To zoom in on the image The image can be zoomed in during the color extraction.

ZOOM

1

Zoom factor

170,156 1) Press the TRIGGER key. The cursor goes to the number next to “ZOOM”. TRIGGER

2) Every time the ENT key is moved up, the image is zoomed in 2x, 4x, 8x, 16x, and 32x sequentially. If the ENT key is moved down, the image is zoomed out. Select the desired image size. PROG WINDOW 1 COLOR

4

ENT

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

3) Press the TRIGGER key. You can continue the “SELECT” operation with the image size of the specified zoom factor. PROG

TRIGGER

WINDOW 1 COLOR

SEN • 5 BACK • BK IGNORE AUTO COPY REGISTER ZOOM 4 240, 294 T=000017 PROCES1 ●-------

5. Extract color automatically using the “AUTO” function. More stable color extraction is ensured regardless of the variation of target color or the change in illumination. It is recommended that you set “AUTO” after the color extraction. 1) Move the ENT key up or down to select “AUTO”.

ENT

IGNORE AUTO COPY

37

Page 46

Chapter 4

Setting procedure 2) Press the ENT key repeatedly. The color selected at “SELECT” is extracted. Press the CLEAR key to undo the last key operation. The clear key can be used to undo up to 5 previous steps. PROG

ENT

WINDOW 1 COLOR

SEN • 5 BACK • BK IGNORE AUTO COPY REGISTER

T=000017 PROCES1 ●-------

3) Press the ESCAPE key. The cursor returns to “COLOR”. ESCAPE

PROG WINDOW 1 COLOR

4

SEN • 5 BACK • BK IGNORE AUTO COPY REGISTER

T=000017 PROCES1 ●-------

■ To cancel the color extraction You can cancel the color selection and restart the procedure from the beginning. 1) Use the ENT key and ESCAPE key to place the cursor on “SELECT”. ENT

SELECT SEN • 5 BACK • BK

2) Hold down the CLEAR key for 2 seconds. The message “ERASE COLOR PROGRAM N/Y” appears. PROG

CLEAR

WINDOW 1 COLOR

SEN • 5 BACK • BK IGNORE AUTO COPY REGISTER

ERASE COLOR PROGRAM N / Y

3) Move the ENT key right to select “Y”. ENT

4) Press the ENT key. The color selection is canceled. ENT

38

T=000017 PROCES1 ●-------

Page 47

Chapter 4

Setting procedure

6. Set “MEASURE”. Set the window (range) for measurement. 1) Move the ENT key up or down to place the cursor on “MEASURE”.

ENT

COLOR MEASURE – – –, – – – – – –, – – –

2) Press the ENT key. The cursor goes to “SQR”. Move the ENT key up or down to select the shape of the window from “SQR” (square) or “CL” (circle). ENT

MEASURE SQR CL MASK

3) Press the ENT key. The frame of the window appears. The figure below shows a rectangular window.

4 PROG

ENT

WINDOW 1 COLOR MEASURE 200, 200 240, 240 MASK – – –, – – – – – –, – – – DETECT MEASURE 003017 TOL H=000000 L=000000 T=000017 RAW SCRN --------

4) Move the ENT key up/down/right/left and enclose the part to be detected. PROG ENT

WINDOW 1 COLOR MEASURE 200, 152 300, 304 MASK – – –, – – – – – –, – – –

DETECT MEASURE 003429 TOL H=000000 L=000000 T=000017 RAW SCRN ●-------

Every time the ENT key is pressed, the window drawing mode changes as follows. ENT

• When drawing a square window

• When drawing a circle window

39

Page 48

Chapter 4

Setting procedure 5) After setting the size and position of the window, press the ESCAPE key to exit MEASURE mode. ESCAPE

■ Mask window When a mask window ([MASK]) is created in 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.

MASK – – –, – – – – – –, – – –

4

Area to be measured

Mask window [MASK]

Measurement window [MEASURE]

7. Set “TOL” (tolerance). Set the upper limit “H =” and the lower limit “L =” of the tolerance. (Units: pixels) 1) First, set the upper limit. Move the ENT key up or down to place the cursor on “H = 000000” under “TOL”. TOL H=000000 L =000000 ENT

2) Press the ENT key. “0” on the first digit is shown in reverse video. You can enter a numerical value. ENT

TOL H=000000 L =000000

3) Move the ENT key right or left to select the digit to be changed.

ENT

TOL H=000000 L =000000

4) Move the ENT key up repeatedly. The numerical value increases starting from 0. When the value goes above 9, the reverse video moves to the next digit. If you move the ENT key down repeatedly, the numerical value decreases to 0.

ENT

TOL H=005000 L =000000

5) Press the ENT key to accept the entered value. ENT

40

TOL H=005000 L =000000

Page 49

Chapter 4

Setting procedure

6) Place the cursor on “L = 000000” (Lower limit) and set the value using the same procedure as for the upper limit. ENT

TOL H=005000 L =000000

Note: If you do not know what to set the tolerance limit value at, refer to the measured value displayed in the operation check described on the following page. The upper limit cannot be smaller than the lower limit. This completes the WINDOW1 settings. In [AREA] mode, you can set up to 8 windows in a single program number. To set several windows, select another window number and repeat steps 4 through 7 in the procedure.

Operation check after setting 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. PROG

ESCAPE

No 0 MODE AREA•CON SHUTTER REGISTER WINDOW 1 MEASURE 006959 TOL H= 000000 L = 000000 ILLU OFF T=000017 RAW SCRN ●-------

Measured value

WINDOW1 MEASURE 004587 TOL

2. Check the detection result indicator. Green: Acceptable (The measured value is within the tolerance limits.) Red:

Not acceptable (The measured value is out of the tolerance limits.)

Detection result indicator

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

Note 1: When [AREA•TRG] is selected, the measured value is displayed at the time of a trigger input. The detection result indicator is white before the first trigger input is produced. Note 2: When [AREA•CON] is selected, the measured value and the detection result is retained only while the TRIGGER key is pressed.

41

4

Page 50

Chapter 4

4.4

Setting procedure

[POS “Position detection”] Mode Setting This section describes the basic setting procedure for position detection mode using [ABS•POS “Absolute position”] mode. Both [ABS•POS] and [REL•POS “Relative position”] modes are set through the same procedure using the “POS“ (Position adjustment) menu.

4.4.1 [ABS•POS] Mode Menu The following menu is displayed after [ABS•POS] mode is set.

Program No. Up to 16 programs (numbers 0 to 15) can be registered.

4

PROG

SHUTTER Changes shutter speed.

No 0 MODE ABS•POS SHUTTER REGISTER POS•1

POS•1 (Position adjustment 1) Set parameters for position detection.

X= 000 Y= 000

Processing time Displays the processing time for each screen. (Units: ms) Detection result The color indicator shows the detection result for each window. ● (Green): Within tolerance ● (Red): Out of tolerance ● (White): No detection

ILLU OFF T=000063 RAW SCRN ●●● - - - -

MODE 4 measurement modes can be selected. Screen registration Store the image for setting. Coordinate value display Coordinate values of the results of position detection. The values are shown in pixels. Illumination adjustment function ON/OFF display

Current display Shows the current screen mode. (Raw screen, Processed screen 1, Processed screen 2)

: Window has not been determined.

Note: This photo shows all indicators lit in order to demonstrate the actual color of the detection result. In reality, only the left indicator is lit.

42