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

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

Pages 201 to 210 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 201

Chapter 8

RS-232C Interface

Example When WO1 and WO2 are used in “INS+POS” mode: (1) When AREA is set to WO1, and OUTER is set to WO2, and the X and Y coordinates are selected for PATT output in position adjustment. If the output data is selected as [1][1][1][1][1][0][0] (output of the judgment result, number of pixels, INS, and X and Y coordinates), and one camera is connected:

0 ,0 0 2 3 4 5 , 1 , + 0 0 5 1 . 0 0 0, No. of WO1:OK (Acceptable) pixels in WO1

WO2:NG (Unacceptable)

OUTER of WO2

+ 0 0 1 0 2 . 0 0 0 , . 0 0 2 0 1 . 0 0 0 Y coordinate of position adjustment

X coordinate of position adjustment

(2) Output conditions are the same as that for (1). Two cameras are connected. WO1: CAM1, WO2: CAM2

0 ,0 0 2 3 4 5,1 , + 0 0 5 1 . 0 0 0 , WO1: OK (Acceptable)

No. of pixels in WO1

WO2: NG (Unacceptable)

OUTER of WO2

+ 0 0 1 0 2 . 0 0 0, + 0 0 2 0 1 . 0 0 0, X coordinate of position adjustment for CAM1

Y coordinate of position adjustment for CAM1

+ 0 0 3 0 5 . 0 0 0, 0 0 2 8 . 0 0 0, X coordinate of position adjustment for CAM2

Y coordinate of position adjustment for CAM2

8

191

Page 202

Chapter 8

RS-232C Interface Example When AUTO SEQUENCE is activated: If; Two AREA windows are set to Program No. 0 One OUTER window is set to Program No. 1 X and Y coordinates of the ABS.POS window are set to Program No. 2 The output data is selected as [0][1][1][1][1][0][0] (Output of No. of pixels, INS, and X and Y coordinates):

0 0 1 0 0 3 ,

0 0 2 5 0 0 cr

The measured value of Program No. 0

+0 0 0 9 0 . 0 0 0 cr

The measured value of Program No. 1

+0 0 1 5 0 . 5 0 0 , +2 1 0 . 3 0 0 cr

The measured value of Program No. 2

When the AUTO SEQUENCE function is activated, the data is output sequentially with [cr] output for each program No.

8

192

Page 203

Chapter 8

8.3.5

RS-232C Interface

Command list

Commands in PROGRAM mode Function

Command

Description

Read program No.

P R cr

Program No. is sent back to the PC.

Write program No.

NUM P W , NUM 1 2 cr

Program No. is changed.

Read output setting.

A R cr

The current output data selection is sent back to the PC.

Write output setting.

NUM ... NUM A W , NUM 0 1 6 cr

The output data is selected.

Read settings.

S R cr

Setting is sent back to the PC.

Write settings.

DATA ... DATA CheckS W , DATA 0 1 1239 sum cr CV.

Read environmental setting.

S A cr

Write environmental setting.

DATA ... DATA CheckS B , DATA 0 75 sum cr is written to the CV. 1

Read registered screen.

NUM NUM B R , Cn , NUM 1 2 3 cr registered screen is

Write registered screen.

NUM NUM B W , Cn , NUM , 1 2 3 DATA ... DATA Check0 511 sum cr

Read input screen.

NUM NUM B I , Cn , NUM 1 2 3 cr

Read saved screen.

NUM NUM B N , NUM , NUM 0 1 2 3 cr

Read window No.

U R cr

Window No. is sent back to the PC.

Write window No.

U W , NUM 1 cr

Window No. is changed.

Setting is written to the Environmental setting is sent back to the PC. Environmental setting

The image data for the sent back to the PC.

NUM

The registered screen is written to the CV. The image in the CV memory is sent back to the PC. The image data for the saved screen is sent back to the PC.

8

Register screen.

D cr

A screen is registered.

Save settings.

S S cr

Settings are saved in the nonvolatile memory.

RUN

R 0 cr

The CV is set to RUN mode.

1

193

Page 204

Chapter 8

RS-232C Interface

Commands for CompactFlash memory Function

Command

Read setting data and registered screen.

NUM NUM C S , NUM 1 2 3 cr

Read environmental setting.

NUM NUM C C , NUM 1 2 3 cr

Read settings for one program.

Write saved screen.

NUM NUM C 1 , NUM , 1 2 3 a1 a2 , b1 b2 cr

Description Setting data and registered screen are read from the CompactFlash memory. Environmental settings are read from the CompactFlash memory. Settings for one program are read from the CompactFlash memory. The data for saved screen is saved in the CompactFlash memory.

C N cr

Commands in RUN mode Function

8.3.6

Command

Description

Trigger

T 1 cr

A trigger signal is input.

Re-output data

M 0 cr

The latest data is output again.

Stop

O 0 cr

The operation is stopped.

Applications of RS-232C communication setting This section describes the basic flow of the communication setting.

Communication settings with RS-232C PC

8

Send O0 cr

CV Measurement mode : RUN operation is stopped.

Waiting for response

Send back O0 cr

AW******* cr

Waiting for response : Set the output data.

Waiting for response

Send back AW cr

Send SS cr

Waiting for response : Save the changed data.

Waiting for response

Send back SS cr

Send RO cr

Waiting for response : Set the CV to RUN mode.

Waiting for response

Send back RO cr

: Agreed

: Agreed

: Agreed

: Agreed

Measurement mode

When a trigger signal is input, the measured results will be output with the RS232C communication.

Output setting with the CV-701(P)/751(P) ➮ Refer to page 149 to select the output data in the environmental setting menu.

When a trigger signal is input, the measured results will be output with the RS232C communication.

194

Page 205

Chapter 8

RS-232C Interface

Example When WO1 and WO2 are used in “INS+POS” mode: (1) When AREA is set to WO1, and OUTER is set to WO2, and the X and Y coordinates are selected for PATT output in position adjustment. If the output data is selected as [1][1][1][1][1][0][0] (output of the judgment result, number of pixels, INS, and X and Y coordinates), and one camera is connected:

0 ,0 0 2 3 4 5 , 1 , + 0 0 5 1 . 0 0 0, No. of WO1:OK (Acceptable) pixels in WO1

WO2:NG (Unacceptable)

OUTER of WO2

+ 0 0 1 0 2 . 0 0 0 , . 0 0 2 0 1 . 0 0 0 Y coordinate of position adjustment

X coordinate of position adjustment

(2) Output conditions are the same as that for (1). Two cameras are connected. WO1: CAM1, WO2: CAM2

0 ,0 0 2 3 4 5,1 , + 0 0 5 1 . 0 0 0 , WO1: OK (Acceptable)

No. of pixels in WO1

WO2: NG (Unacceptable)

OUTER of WO2

+ 0 0 1 0 2 . 0 0 0, + 0 0 2 0 1 . 0 0 0, X coordinate of position adjustment for CAM1

Y coordinate of position adjustment for CAM1

+ 0 0 3 0 5 . 0 0 0, 0 0 2 8 . 0 0 0, X coordinate of position adjustment for CAM2

Y coordinate of position adjustment for CAM2

8

191

Page 206

Chapter 8

RS-232C Interface Example When AUTO SEQUENCE is activated: If; Two AREA windows are set to Program No. 0 One OUTER window is set to Program No. 1 X and Y coordinates of the ABS.POS window are set to Program No. 2 The output data is selected as [0][1][1][1][1][0][0] (Output of No. of pixels, INS, and X and Y coordinates):

0 0 1 0 0 3 ,

0 0 2 5 0 0 cr

The measured value of Program No. 0

+0 0 0 9 0 . 0 0 0 cr

The measured value of Program No. 1

+0 0 1 5 0 . 5 0 0 , +2 1 0 . 3 0 0 cr

The measured value of Program No. 2

When the AUTO SEQUENCE function is activated, the data is output sequentially with [cr] output for each program No.

8

192

Page 207

Chapter 8

8.3.5

RS-232C Interface

Command list

Commands in PROGRAM mode Function

Command

Description

Read program No.

P R cr

Program No. is sent back to the PC.

Write program No.

NUM P W , NUM 1 2 cr

Program No. is changed.

Read output setting.

A R cr

The current output data selection is sent back to the PC.

Write output setting.

NUM ... NUM A W , NUM 0 1 6 cr

The output data is selected.

Read settings.

S R cr

Setting is sent back to the PC.

Write settings.

DATA ... DATA CheckS W , DATA 0 1 1239 sum cr CV.

Read environmental setting.

S A cr

Write environmental setting.

DATA ... DATA CheckS B , DATA 0 75 sum cr is written to the CV. 1

Read registered screen.

NUM NUM B R , Cn , NUM 1 2 3 cr registered screen is

Write registered screen.

NUM NUM B W , Cn , NUM , 1 2 3 DATA ... DATA Check0 511 sum cr

Read input screen.

NUM NUM B I , Cn , NUM 1 2 3 cr

Read saved screen.

NUM NUM B N , NUM , NUM 0 1 2 3 cr

Read window No.

U R cr

Window No. is sent back to the PC.

Write window No.

U W , NUM 1 cr

Window No. is changed.

Setting is written to the Environmental setting is sent back to the PC. Environmental setting

The image data for the sent back to the PC.

NUM

The registered screen is written to the CV. The image in the CV memory is sent back to the PC. The image data for the saved screen is sent back to the PC.

8

Register screen.

D cr

A screen is registered.

Save settings.

S S cr

Settings are saved in the nonvolatile memory.

RUN

R 0 cr

The CV is set to RUN mode.

1

193

Page 208

Chapter 8

RS-232C Interface

Commands for CompactFlash memory Function

Command

Read setting data and registered screen.

NUM NUM C S , NUM 1 2 3 cr

Read environmental setting.

NUM NUM C C , NUM 1 2 3 cr

Read settings for one program.

Write saved screen.

NUM NUM C 1 , NUM , 1 2 3 a1 a2 , b1 b2 cr

Description Setting data and registered screen are read from the CompactFlash memory. Environmental settings are read from the CompactFlash memory. Settings for one program are read from the CompactFlash memory. The data for saved screen is saved in the CompactFlash memory.

C N cr

Commands in RUN mode Function

8.3.6

Command

Description

Trigger

T 1 cr

A trigger signal is input.

Re-output data

M 0 cr

The latest data is output again.

Stop

O 0 cr

The operation is stopped.

Applications of RS-232C communication setting This section describes the basic flow of the communication setting.

Communication settings with RS-232C PC

8

Send O0 cr

CV Measurement mode : RUN operation is stopped.

Waiting for response

Send back O0 cr

AW******* cr

Waiting for response : Set the output data.

Waiting for response

Send back AW cr

Send SS cr

Waiting for response : Save the changed data.

Waiting for response

Send back SS cr

Send RO cr

Waiting for response : Set the CV to RUN mode.

Waiting for response

Send back RO cr

: Agreed

: Agreed

: Agreed

: Agreed

Measurement mode When a trigger signal is input, the measured results will be output with the RS232C communication.

Output setting with the CV-701(P)/751(P) ➮ Refer to page 149 to select the output data in the environmental setting menu.

When a trigger signal is input, the measured results will be output with the RS232C communication.

194

Page 209 read from a scan by OCR; it may hold reading errors

Specifications

This section describes the specifications and dimensions.

9.1 = SpecificatioMs 0... cece ee eeeeeee ee eeeeeeeeeeeeeeeeeeeaees

9.2 DIMENSIONS 0....... cee ceecececeeecceecceeceeeceeeceuceeseeneeeneeeneeeneeeneeenes

Page 210

Chapter 9

Specifications

9.1 Specifications Controller Model No. of pixels Process cycle Binary level Program registration No. of registered screens Area sensor Absolute position detection Relative position detection Width measurement Pitch/gap measurement Mode Inspection Edge No. Count mode Stain detection Point sensor Functions Gravity measurement Position adjustment

Input

AdjustIllumination adjustment ment Advance processing (FILTER function) Data calculation Screen Save Setting Help Camera input External trigger input Program selection ConContinuous detection trol input Screen registration Window selection

LCD monitor

9

Panel Backlight

Memory card Video output RS-232C interface Control output

NPN PNP

Numerical value output Analog output Display language Power supply voltage Rating Current consumption A mbient temperature Environment Relative humidity Weight

196

CV-751(P) CV-701(P) 508 (H) x 480 (V): 240,000 pixels 30 c/s (Varies depending on the setting.) Color binary conversion processing by color extraction or color contrast processing 16 programs (8 programs when two cameras are used) Programs are externally selectable. 16 screens (1 screen/program or 2 screens/program) 8 max./program, Window shape: circle/square/free square 4/program, Window shape: square 4/program, Window shape: square 8/program, Window shape: square 8/program, Window shape: square 8/program, Window shape: square 8/program, Window shape: square/circle 8/program, Window shape: square/circle/circumference/arc 8/program, 8/window 8/program, Window shape: square/circle Color contrast search/line sensor/color binary gravity/principal axis angle, X-/Y-axis direction, rotation ±180˚ 1 illumination adjustment window/program (2/program when 2 cameras are used.) Expand/shrink/median/average/edge emphasis/edge extraction/shading/brightness up/tint up/invert Unit conversion (pixel, mm, inch) + Offset 8 screens Save parameter upon setting 2 1 (Non-voltage input) Data input (x4), 16 programs selectable (Non-voltage input) Detection is continued without an external trigger when the program No. is changed while CONT input is on. (Non-voltage input) 2. Screens are registered by a trigger signal while REC input is on. (Non-voltage input) Data input (x3), 8 windows selectable (Non-voltage input) TFT 5.5 inch, full color Not provided Cold cathode fluorescent tube Not provided (Life: 40,000 hrs) CompactFlash memory Conforming to NTSC system 1 ch, numerical value output and control input/output (Baud rate: 38,400 bps max. selectable) NPN open-collector (x9), 50 mA max. (30 V max.) PNP open-collector (x9), 50 mA max. (30 V max.) Binary 13 bits, 10 mA max. (30 V max.) 0 to 4 V output, output impedance: 100 Ω Japanese/English selectable 24 VDC ±10% 1.4 A 700 mA 0 to +40° C (32 to +104° F) 35 to 85%, No condensation Controller: Approx. 400 g, Remote Controller: Approx. 900 g control console: Approx. 160 g