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

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

Pages 181 to 190 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 181

Chapter 7 CompactFlash Memory This section describes how to use the CompactFlash memory with the CV701(P)/751(P). 7.1

Mounting and Dismounting the CompactFlash Memory ............................................................................... 172

7.1.1 Mounting the CompactFlash memory .................................. 172 7.1.2 Dismounting the CompactFlash memory ............................. 172 7.2

Reading of Data to a Personal Computer ........................ 173

7.3

How to Use CompactFlash Memory ................................. 174

7.3.1 Parameter descriptions ........................................................ 174 7.3.2 Saving the setting in CompactFlash memory ...................... 175

Page 182

Chapter 7

CompactFlash Memory

7.1 Mounting and Dismounting the CompactFlash Memory CompactFlash memory can be used with the CV-701(P)/751(P). This section describes how to use the CompactFlash memory.

7.1.1

Mounting the CompactFlash memory Insert a CompactFlash memory as illustrated. Position the CompactFlash memory observing the correct orientation.

3

2

1

7.1.2

Dismounting the CompactFlash memory Press the EJECT button to remove the CompactFlash memory from the CV701(P)/751(P). 2 1

7

CAUTION

EJECT button

Do not remove the CompactFlash memory while accessing it. Otherwise, the data and/or CompactFlash memory may be damaged. Note: Use KEYENCE optional NR-M32 CompactFlash memory.

172

Page 183

Chapter 7

CompactFlash Memory

7.2 Reading of Data to a Personal Computer The data saved on a 32-MB CompactFlash memory (option: NR-M32) can be recorded on other media such as hard disks and CompactFlash memory, etc. 1. Mount a 32-MB CompactFlash memory (option: NR-M32) to a PCMCIA adapter (option: C-A1), and then insert into a PC-card slot of a notebook personal computer. *

When the CompactFlash memory is not recognized by the system, refer to the following procedures.

PCMCIA adapter

2 1

■ Recognition of a CompactFlash memory A simple setup procedure is required when a CompactFlash memory is used for the first time. Follow the procedure shown below for the setup. (The display screen may vary slightly with the PC models and different versions of Windows.)

Procedures 1. When inserting a CompactFlash memory to the PC-card slot of a personal computer for the first time the display screen below will automatically appear. A driver file for CompactFlash memory comes standard with Windows. Additional devices such as FD are not required. 2. Click [Finish]. The setup for the CompactFlash memory driver is complete.

2. Open My Computer from the desktop and double-click on the icon named as “Nr_m32_8” for the CompactFlash memory drive. The saved data will be displayed. 3. When saving the data to different media, drag and drop the data to the desired media to copy them. Tips

Files with the extension “.bmp” can be opened with image processing software (Windows Accessory, Paint, etc.).

173

7

Page 184

Chapter 7

CompactFlash Memory

7.3 How to Use CompactFlash Memory The following three types of data can be stored in CompactFlash memory. • • •

BASE SET: Environmental setting data WINDOW SET: Setting data SCREEN: Saved screen

Up to 16 setting data and registered screens and 8 [SVD SCRN] screens can be saved on the internal memory of the CV-701(P)/751(P). Use CompactFlash memory to save more settings and screens. Tips

7.3.1

The settings, registered screens and saved screens can be saved in a PC by using an RS232C communication interface.

Parameter descriptions

FILE TYPE Select a file type from the following three types. Select the desired file type to be set. • • •

BASE SET: Environmental setting data (1 KB) WINDOW SET: Setting data, registered screen (16 settings: approx. 4.2 MB) NG SCREEN: Saved screen

ACTION Select the desired action to be executed from the following six items. Select an item in [ACTION] and choose [EXECUTE]. SAVE

: Save the selection of setting data, registered screens and save screens in CompactFlash memory. LOAD : Read the selection of setting data, registered screens and save screens from CompactFlash memory. DELETE : Delete the selected files from CompactFlash memory. SAVE BMP : Save the saved screen in CompactFlash memory in bitmap format. DELETE BMP : Delete saved screens in bitmap format from CompactFlash memory. UPDATE LIST: Update the list of files saved in CompactFlash memory.

7

Note 1: The CV processes the set of registered screens and setting data for 16 programs as a single unit. The program numbers are not processed individually in SAVE and LOAD operation. Note 2: Save data in RAW format before saving files in bitmap format.

SELECT Select the saved screen. The display is shown only when [NG SCREEN] is selected in [FILE TYPE].

174

Page 185

Chapter 7

CompactFlash Memory

FILE NAME The name of the file. The format of a file name is as follows. (File type) BS

(Number). (Extension) 000 DAT

The numerical values can be changed from 0 to 999. The file type and extension are defined automatically. “●” is shown next to the file name when the saved screen file in stored in bitmap form. BS 000 .DAT : Environmental setting data WS 000 .CV7 : Setting data, registered screen data NG 000 .RAW : Saved screen data NG 000 .BMP : Saved screen data in bitmap format

LABEL The characters are set to the file as an identification label. Up to ten characters can be designated.

EXECUTE Press the [ENT] key to execute the actions set in the [ACTION] menu.

7.3.2

Saving the setting in CompactFlash memory This section describes the procedure to save the settings in CompactFlash memory. The procedure can be applied to the saving of other data. 1. Display the environmental setting menu. ➮

Refer to page 144 to display the environmental setting menu. MEMORY CARD WHITE BALANCE SETUP MENU

7

CHANGE OUT MODE RS232C BPS RS232C OUT

CONSOLE N.O. 38400 0000000

LANGUAGE OUTPUT SYMBOL AUTO OFF TRIGGER SAVE SCR

JAPANESE COLOR OFF EXTERNAL OFF

COPY NO. AUTO SEQUENCE

No.00 OFF

CLOCK

00/03/30 06:46:46

TO No.00 NUM 4

2. Place the cursor on [MEMORY CARD] and press the [ENT] key. 3. The CompactFlash memory menu is displayed. FILE TYPE ACTION

WINDOW SET. UPDATE LIST

FILE NAME LABEL EXECUTE

WS000

.CV7

FILENAME

DATE o : WITH BMP TIME LABEL

4. Change the file type settings. Place the cursor on [FILE TYPE] and press the [ENT] key. The cursor moves to the right column automatically. You can change the setting.

175

Page 186

Chapter 7

CompactFlash Memory 5. Change the file type. Select [WINDOW SET]. FILE TYPE ACTION

WINDOW SET. UPDATE LIST

FILE NAME LABEL EXECUTE

BS000

.DAT

• With the panel keys Press the [▲]/[▼] cursor keys. • With the remote control console Press the [ENT] key up or down. 6. Press the [ENT] key to confirm the setting. 7. Set the [ACTION]. Refer to steps 4 to 6 to select and confirm the [SAVE]. 8. Select the [FILE NAME]. Place the cursor on [FILE NAME] and press the [ENT] key. The cursor goes to the first digit of the [FILE NAME] automatically. You can change the numerical value. FILE NAME LABEL EXECUTE

WS000

.CV7

9. The numerical value of [WS000.CV7] for [FILE NAME] can be changed. 10. Move the cursor to the left or right to select the desired digit to be changed. 11. Change the numerical value. • With the panel keys Press the [▲]/[▼] cursor keys repeatedly.

7

• With the remote control console Press the [ENT] key up or down repeatedly. The value increments by one from 0 every time the [▲] cursor is pressed. After 9, the value returns to 0. When [▼] cursor is pressed or the [ENT] key is move down repeatedly, the value decrements by one to 0. After 0, the value returns to 9. 12. Press the [ENT] key to confirm the [FILE NAME]. Tips

176

When files are already stored in the CompactFlash memory, place the cursor on the file name in the list and press the [ENT] key to confirm the selection.

Page 187

Chapter 7

CompactFlash Memory

13. Set the [LABEL]. Place the cursor on [LABEL] and press the [ENT] key. The keyboard menu appears on the screen. FILE NAME LABEL EXECUTE

WS000

.CV7

012 3 4 5 6 7 8 9 ABC D E F G H I J K LMN O P Q R S T U VW X Y Z . / – : ✱# END 14. A green frame appears on the “0” in the keyboard menu. Move the frame to the desired character to be set.

•

With the remote control console Move the [ENT] key in the desired direction to move the frame in the respective direction.

▲

With the panel keys Press the [▲][▼][ ][ ] cursor keys to move the frame in the desired direction.

▲

•

T_

012 3 4 5 6 7 8 9 ABC D E F G H I J K LMN O P Q R S T U VW X Y Z . / – : ✱# END

15. Press the [ENT] key to input the character with the frame to [LABEL].

▲

▲

Up to ten characters can be designated for the [LABEL]. The digits of the current selection are shown underlined in green. To alter the digit to be changed, select the [ ]/[ ] on the lower- right corner of the screen and press the [ENT] key. The underline moves to the right or left. Press [CLEAR] key to delete underlined characters. TEST_

012 3 4 5 6 7 8 9 ABC D E F G H I J K LMN O P Q R S T U VW X Y Z . / – : ✱# END

7

16. After setting the [LABEL], move the frame to [END] on the lower-right corner of the keyboard menu and press the [ENT] key. 17. Check the defined settings and execute. Place the cursor on [EXECUTE] and press the [ENT] key. FILE NAME LABEL EXECUTE

WS000 TEST

.CV7

Note 1: Make sure that the CompactFlash memory is inserted before the execution. When the CompactFlash memory card is not inserted before the execution, the error message “PLEASE INSERT CF CARD.” appears on the screen. Press the [ESCAPE] key to dismiss the error message. Insert the CompactFlash memory card and try the execution again. Note 2: Do not insert/eject the CompactFlash memory during execution. 18. After the settings are confirmed, press the [ESCAPE] key to return to the environmental setting menu. Press the [ESCAPE] key again to return to the setting menu.

177

Page 188

Chapter 7

CompactFlash Memory

MEMO

7

178

Page 189

Chapter 8 RS-232C Interface This section describes the connection between the CV-701(P)/751(P) and a personal computer. 8.1

Overview ............................................................................. 180

8.1.1 Specifications ....................................................................... 180 8.2

Connection ......................................................................... 181

8.3

Commands and Data Formats .......................................... 182

8.3.1 8.3.2 8.3.3 8.3.4 8.3.5 8.3.6

Commands in PROGRAM mode ......................................... 182 Commands for CompactFlash memory ............................... 187 Commands in RUN mode .................................................... 188 Output data format ............................................................... 189 Command list ....................................................................... 193 Applications of RS-232C communication setting ................. 194

Page 190

Chapter 8

RS-232C Interface

8.1 Overview The CV-701(P)/751(P) features an RS-232C interface. This section describes the communication commands using RS-232C. The communication function enables the following controls and data outputs: • Select the operation mode (PROGRAM/RUN mode selection). • Read and write programs. • Register the screen. • Read and write the registered screen. • Read the input screen. • Read and write the set values. • Read the saved screen. • Input trigger signals. • Select the output data (judgment result, number of pixels, coordinates, correlation ratio, angle). • Read the output data selection. • Output data. • Re-output data. • Read and write the CompactFlash memory.

8.1.1

Specifications Same as a modem that conforms to the EIA (Electronic Industries Association) RS232C Duplex Synchronization

8

180

Full Start/stop

Data format

ASCII

Data length

8 bits

Stop bit length

1 bit

Parity check

None

Baud rate

9600/19200/38400 bps

Data delimiter

CR

X parameter

Only with binary data-responses

➮

Refer to page 143 for the baud rate adjustment.

➮

Refer to page 182 for the commands and data formats.