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

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

Pages 121 to 130 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 121

Chapter 4

4.9.2

Setting Procedure

Basic setting flow Select a program number

Page 36

Select a program number to save the settings to.

Set “Position Detection” mode

Page 37

Select “ABS.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.

Set COLOR

Page 44

Extract colors of the detection area.

Set MEASURE window

Page 113

Set the measurement range.

Set TOL

Page 114

Set a tolerance value for differentiation.

Check the settings

Page 117

Check that the data is set properly.

Save the settings

Page 117

Save the settings.

Common settings

Mode setting

Operation check

Saving data

➮

For common settings, refer to “4.3 Basic Settings: Basic setting procedures” on page 36.

111

4

Page 122

Chapter 4

Setting Procedure

Setting parameters The parameters in bold type are described in the basic setting procedures. ➮

See “Basic Settings” on page 36 for the parameters in bold.

Window menu

Main menu No.00 MODE ABS.POS

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

SHUTTER SCRN REG

WIND•1 WIND•2 WIND•3 WIND•4

WIND•1 MENU PATT

4

CAM1 CAM2

WIND•1 MENU SEL SCRN COLOR PW SW SRCH SPD SRCH SEN ANG ADJ DATA

Color menu PATT EDGE

CLR TYPE COLOR1 SELECT SEN =5

TOL ANG= FIT= ANALOG

COLOR1 COLOR2 GRAY WIND•1 WIND•2 WIND•3 WIND•4

IGNORE AUTO SCRN REG

DATA

SVD SCRN ILLU DATA CAL

OPTION

SAVE T= RAW SCR

WIND•1 MENU SEL SCRN COLOR EDGEMODE X WINDOW X DATA TOL X= = Y= = ANALOG

PATT EDGE

LEVEL FILT

X Y X+Y X>Y X<Y COORD DEV

■ Screen type sequence Pressing the [SCREEN] key shows the following sequence. Raw screen

Processed screen 1

Processed screen 2

Processed screen 3

Basic setting procedure 1. First follow the “Basic setting procedures” (➮ page 36) to set the parameters to the color settings. 2. Set [PW] (pattern window). Draw a window (range) on the screen to save the pattern of the target on the screen. 1) Place the cursor on [PW] and press the [ENT] key. A frame appears on the screen.

COLOR PW SW

112

Page 123

Chapter 4

Setting Procedure

2) Adjust the window to fit around the desired pattern to be detected. CAM1 CAM2 PROGRAM WIND•1 INSPECT SEL SCRN COLOR PW 200, 200 300, 300 SRCH SEN ANG ADJ ±0 DATA X=+0.000 Y=+0.000 ANG=+000 FIT= 00 TOL ANG=±000 FIT= 00 ANALOG T=000254 RAW SCR

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

3) Press the [ESCAPE] key to exit the [PW] setting after setting the range and position of the window. Note: When “GRAVITY1” or “GRAVITY2” is selected under “SRCH SEN”, the maximum size of a pattern window is 256 x 256 pixels. 3. Set [SW] (Search window). Draw a window (range) on the screen to search for the pattern saved in PW. 1) Place the cursor on [SW] and press the [ENT] key. A frame appears on the screen. COLOR PW SW 2) Adjust the window to fit around the area in which the selected pattern should be searched for. CAM1 CAM2 PROGRAM WIND•1 INSPECT SEL SCRN COLOR PW SW SRCH SPD SRCH SEN ANG ADJ ±0 DATA X=+0.000 Y=+0.000 ANG=+000 FIT= 00 TOL ANG=±000 FIT= 00 ANALOG T=000254 RAW SCR

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

3) Press the [ESCAPE] key to exit the [SW] setting after setting the range and position of the window. Note 1: The search window is drawn with a red line. The pattern window searches for the specified pattern within the search window. If a similar pattern exists near the specified pattern, narrow the search window to avoid detection errors. Note 2: Narrowing the search window decreases the processing time.

113

4

Page 124

Chapter 4

Setting Procedure ■ Window coordinate value display The window coordinate value is displayed using numerical values. Use the value to check or save the coordinate values. A (200,150)

D

MEASURE 200, 150 400, 300 B

Upper line: Coordinates of point A (X, Y) Lower line: Coordinates of point C (X, Y)

C(400,300)

4. Adjust the angle. When position detection uses the pattern search, the angle of the target can be adjusted as necessary. The adjustable range is ±180° maximum. 1) Place the cursor on [ANG ADJ] (Angle adjustment) and press the [ENT] key. The [ANG ADJ] menu appears on the screen.

4

SRCH SEN ANG ADJ ±0 2) Place the cursor on the desired angle for adjustment and press the [ENT] key. ANG ADJ ±0 ±5 ±10 ±20 ±30 ±45 ±90 ±180 Tips

• The angle adjustment function is available only when the search menu is set to [PATT] (pattern). • Increasing the range for angle adjustment increases the processing time. Avoid needless increases. 5. Set the tolerance of the coordinates. Set the allowable range (upper and lower limits) for the X and Y coordinates. The values outside of the range are judged as unacceptable. The setting range is ±99999. Note: When using the “REL.POS” (Relative position) setting, the tolerance for [REF WND] (Reference window) is specified with the absolute values. The tolerance for other windows is specified with the difference from the coordinates of [REF WND]. 1) Place the cursor on [TOL] and press the [ENT] key. The [COORD] and [DEV] selection menu appears.

TOL ANG=±000 FIT= 00

114

TOL COORD DEV

Page 125

Chapter 4

Setting Procedure

[COORD] : Use the median coordinate of the pattern window (X1, Y1) to display the measured value. [DEV] : Use the difference from the median coordinate of the reference pattern window (registered screen) (dX, dY) to display the measured value. 2) Place the cursor on [COORD] and press the [ENT] key. The cursor moves to [X=xxx].

TOL COORD X=+0.500 =+0.000 Y=+0.500 =+0.000 3) Press the [ENT] key. The first digit, “0”, is shown as highlighted. You can enter a numerical value.

TOL COORD X=+0.500 =+0.000 Y=+0.500 =+0.000 4) Move the cursor to the left or right and select the digit to be changed. 5) Press the [▲]/[▼] cursor key (panel key) or move the [ENT] key (remote control console) up or down repeatedly. When the [▲] cursor key is pressed or the [ENT] key is moved up repeatedly, the value increments by one from “0”. After “9”, the second digit is incremented. The maximum value is “99999”. When the [▼] cursor key is pressed or the [ENT] key is moved down repeatedly, the value decrements by one to “0”.

TOL COORD X=+100.0 =+0.000 Y=+0.500 =+0.000 6) Press the [ENT] key to confirm the input value for the upper limit of the Xcoordinate. 7) Move the cursor to the second line and set the lower limit with the same procedure. 8) Move the cursor to [Y=xxx] and input the upper and lower limits for the Ycoordinate with the above procedure (steps 2 to 6).

TOL COORD X=+100.0 =+0.000 Y=+0.500 =+0.000

115

4

Page 126

Chapter 4

Setting Procedure Note: The selection menu of [COORD] and [DEV] is displayed only when the tolerance is not specified. To change the current setting, clear the preset tolerance value. To clear the tolerance, place the cursor on [TOL] and hold down the [CLEAR] key for at least two seconds. When the confirmation message appears, select “Y”. 6. Set the tolerance of the angle adjustment. You can set the tolerance for the angle measured by the angle adjustment. Values outside of the range are judged as unacceptable. 1) Place the cursor on [ANG=] under [TOL] and press the [ENT] key.

TOL ANG=±000 FIT= 00 2) The value changes to the tolerance value. The first digit is shown as highlighted. Set the tolerance value with the [ENT] key.

4

TOL ANG=±000 FIT= 00 3) Press the [ENT] key to confirm the setting. Tips

• When the measured angle is within the tolerance range, the detected result is acceptable. When the measured angle is outside of the tolerance range, it is unacceptable. • The tolerance is applied to both positive and negative values. • The available values should be within the angle adjustment range. 7. Set the tolerance of the correlation ratio. Set the tolerance when comparing the matching rate of the saved pattern and the detected pattern. The correlation ratio is a value that indicates the matching rate between the saved pattern and the detected pattern. Theoretically, the value will be 100 if the patterns are identical. A measured value below the tolerance value is unacceptable. The setting range is 00 to 99. 1) Place the cursor on [FIT=] and press the [ENT] key. The first digit, “0”, is shown as highlighted. You can enter a numerical value.

TOL ANG=±000 FIT= 00 2) When the [▲] cursor key (panel key) is pressed or the [ENT] key (remote control console) is moved up repeatedly, the value increments by one. After “9”, the second digit is incremented. The maximum value is 99. When the [▼] cursor key is pressed or the [ENT] key is moved down repeatedly, the value decrements by one to “0”.

TOL ANG=±000 FIT= 00 3) Press the [ENT] key to confirm the input value. The setting of WIND•1 is complete. Up to four detection windows can be set under one program number. To set two or more windows, select a different window number and repeat the procedure described above.

116

Page 127

Chapter 4

Setting Procedure

Operation check after changing the settings 1. Press the [ESCAPE] key to return to the initial menu screen. 2. Press the [TRIGGER] key. 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

Tips

DATA X=+0.000 Y=+0.000 ANG=+000 FIT= 00

T= RAW SCR Detection result

When detection is not stable, refer to “Advanced position adjustment setting”. ➮ pages 127 to 129

4

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 ABS•POS SHUTTER SCRN REG WIND•1 INSPECT PATT

OPTION SAVE T=

DATA X=+0.000 Y=+0.000 ANG=+000 FIT= 00

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.

117

Page 128

Chapter 4

Setting Procedure

4.10 “Position Detection” Advanced Settings 4.10.1 “ABS.POS” Menu Menu structure 1. Main menu No.00 MODE ABS.POS

SHUTTER SCRN REG

4

WIND•1 MENU PATT

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

WIND•1 WIND•2 WIND•3 WIND•4

2. Window menu

3. Color menu

WIND•1 MENU SEL SCRN COLOR PW SW SRCH SPD SRCH SEN ANG ADJ DATA

CLR TYPE COLOR1

PATT EDGE

SELECT SEN=5

TOL ANG= FIT= ANALOG

IGNORE AUTO SCRN REG

DATA

OPTION

SAVE T= RAW SCR

118

SVD SCRN ILLU DATA CAL

WIND•1 MENU SEL SCRN COLOR EDGEMODE X WINDOW X DATA TOL X= = Y= = ANALOG

PATT EDGE X Y X+Y X>Y X<Y COORD DEV

LEVEL FILT

COLOR1 COLOR2 GRAY WIND•1 WIND•2 WIND•3 WIND•4

Page 129

Chapter 4

Setting Procedure

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

Parameter

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.

MEASURE

Measurement mode display

Check the measurement mode of the selected window.

DATA

Measured value display

Check the measured value.

ANG

Measured angle display

Check the measured angle.

FIT

Correlation ratio display

Check the correlation ratio.

Set the illumination adjustment function, value conversion, and saved screen.

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.

PROGRAM MODE SHUTTER

SCRN REG N/Y

WIND• 1

OPTION

RAW SCR

To sub menu (Refer to “ 2.” for details).

To sub menu (Refer to respective sections for details).

119

4

Page 130

Chapter 4

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

■ Pattern Parameter WIND• 1

MENU (Search menu)

Setting WIND1* to 4

Description Window No.

PATT* Select the search method. EDGE

Function Change the window No. to set several windows. Use the pattern search method for position detection. Use the edge detection method for position detection.

CAM1 CAM2

Select the camera image for screen registration.

When two cameras are connected.

Set the colors to be extracted.

Extract colors for detection.

PW

Set the size and position of the pattern window.

Set a target to be searched (detected).

SW

Set the size and position of the search window.

Set a range to be searched (detected).

Set the speed or resolution of the search. FAST: By 1 pixel NORMAL: By 1 pixel SUB PIX: By 0.1 pixel

Change the speed or resolution of the search.

Set the sensitivity of the search.

When the search is unstable.

SEL SCRN

CAM1|2 CAM1/2

4

COLOR

Refer to sub menu 3 "Color Menu" (page 123) for detailes.

FAST SRCH SPD

NORMAL* SUB PIX GRAVITY1 GRAVITY2

SRCH SEN

AUTO FINE1 FINE2

ANG ADJ

±0, ±5, ±10, ±20, ±30, ±45, ±90, ±180

Set the range for the angle To use the angle detection adjustment. or angle adjustment.

DATA

Measured value display

Check the measured value.

ANG

Measured angle display.

Check the measured value.

FIT

Measured correlation ratio Check the measured display. value. COORD (Coordinate)

Use the absolute coordinates on the screen as the numerical value output.

DEV (Deviation)

Use the deviation from the registered screen as the numerical value output.

TOL

X=0000 =0000 COORD Y=0000 =0000

120

Set the tolerance for the distance of the X coordinate.

Set the tolerance for the X coordinate.

Set the tolerance for the distance of the Y coordinate.

Set the tolerance for the Y coordinate.