96095E Communication Software with Simulator for Use with CV-5001 Series Controller CV-H5N User's Manual Read this manual before using the software in order to achieve maximum performance. Keep this manual in a safe place for future reference.
Introduction This manual describes the installation, use, procedures and cautions for the "CV-H5N Communication Software with Simulator for Use with CV-5001 Series Controller." To get the most out of the CV-H5N Communication Software be sure to read this manual. Always keep this manual in a safe place for future reference whenever needed. ■ Related manuals Be sure to refer to the following manuals when using the CV-H5N.
General Cautions • Be sure that the CV-5001 Series machine vision system is operating correctly before using the CV-H5N Communication Software. • Before starting work or before starting the system, confirm that all the functions of the system are working properly. • Be sure to configure the safety circuit without involving the machine vision system device in the circuit so that the entire system ensures safety even when the machine vision system device malfunctions.
Terms of Software License NOTICE TO USER: PLEASE READ THIS SOFTWARE LICENSE AGREEMENT (“THIS AGREEMENT”) CAREFULLY. BY USING ALL OR ANY PORTION OF THE CV-H5N (“THIS SOFTWARE”), YOU ARE AGREEING TO BE BOUND BY ALL THE TERMS AND CONDITONS OF THIS AGREEMENT. IF YOU DO NOT AGREE TO THE TERMS OF THIS AGREEMENT, DO NOT USE THIS SOFTWARE.
6. Termination. 6.1 Under this Agreement the User’s license will automatically terminate if this Software and any associated copies of this Software are destroyed or voluntarily returned to KEYENCE. 6.2 Under this Agreement the User’s license will terminate immediately and automatically without any notice from KEYENCE if there is any failure to comply with any of the terms and conditions of this Agreement.
Package Confirmation The following items are included in this package. Confirm that all of these items are included before use. While all items should be included and functional, if an item is missing or broken, please contact your nearest KEYENCE sales office. CV-H5N communication software for use with CV-5001 series (CD-ROM) ............................................................1 This CD-ROM includes installer, PDF manual and software for the communication software.
How this Manual is Organized Chapter 1 Installation Chapter Examples of Software Use 2 Chapter 3 Chapter 4 Appendix 1 This chapter provides a list of package contents, an overview of the software and an explanation of the conditions necessary for the operation of this device. 2 This chapter gives examples of functions of this software and their use.
Table of contents Introduction General Cautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Request . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Cautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Connecting to a CV-5001 Series Controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-6 Before Connecting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-6 Settings for a 1-to-1 Ethernet Connection. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-7 Settings for a LAN Ethernet Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Loading “Trigger” Image Data into the Simulator. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-44 Reading and Writing Program Data from a CV-5001 Series Controller . . . . . . . . . . . . . . . . . . . . . . 4-50 Exporting Program Configurations to Excel . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-60 Window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Chapter Installation This chapter provides an overview of the software and an explanation of the conditions necessary for the operation of this device. Software Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2 Application System Configuration . . . . . . . . . . . . . . . . . . . . . . . . 1-3 Operating Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-4 Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Software Overview The CV-H5N communication software is for use with the CV-5001 Series machine vision system. ■ Overview 1 This software allows the user to acquire and store data from a CV-5001 Series controller to a computer via an Ethernet, USB or RS-232 connection. Data can be displayed on the computer screen in real time and can be output to an Excel file. Setting and image files from the CV-5001 can be backed up on the computer and loaded into another CV-5001 unit.
Application System Configuration This example portrays a system with two cameras connected.
Operating Configuration The following conditions must be met before using this software. Computer specifications 1 Part IBM PC or PC/AT compatible (DOS/V) Compatible OS Microsoft Windows 7 Home Premium/Professional/Ultimate/Enterprise Microsoft Windows Vista Ultimate/Business/Premium/Basic/Enterprise Microsoft Windows XP Professional/Home Edition Microsoft Windows 2000 Professional SP 4 or later • Supports the 64-bit version of Microsoft Windows 7 only.
Installation The files on the CD-ROM or the files that have been downloaded will be decompressed and installed as specified on the screen. Installing from CD-ROM Files 1 1 Insert the CD-ROM into the CD-ROM drive on the computer. The installer will start, and the “Welcome” screen of the install wizard will appear. Note • If the installer does not start, run [setup.exe] from the CD-ROM to begin installation.
1 5 4 Enter customer information (User Name, Company Name). Then specify the user. 5 Click the [Next] button. 6 Click the [Next] button. 7 Click the [Next] button. The [Choose Destination Location] menu appears. When installing to any location other than the default folder, click the [Browse...] button and select a folder in the [Choose Folder] menu. 4 The [Start Copying Files] menu appears. 6 Installation begins.
8 1 When installation is complete, the [InstallShield Wizard Complete] screen will appear. Click [Finish] to end installation. Shortcuts for "CV-5000 Series Network Communication Software" will appear on the desktop and under the Windows [Start] menu in the [Network Communication Software] section of the [CV-5000 Series] subfolder of the [KEYENCE Applications] folder. 8 Installing from Downloaded Files Note Use decompression software to decompress the files.
1 2 Click the [Next] button. 3 Click the [Yes] button. 4 Enter the user information (User Name, Company name). Then specify the user. 5 Click the [Next] button. 6 Click the [Next] button. The [License Agreement] screen appears. 2 The [Customer Information] dialog appears. 3 5 The [Choose Destination Location] screen appears. To install to a folder other than the default folder, click the [Browse] button and select a folder from the [Select Directory] dialog.
7 1 Click the [Next] button. Installation begins. Note Installation may take several minutes. 7 8 When installation is complete, the [InstallShield Wizard Complete] screen will appear. Click [Finish] to end installation. A “CV-5000 Series Network Communication Software” shortcut will appear on the desktop. A similar shortcut will appear under [Network Communication Software] in the [CV-5000 Series] submenu of [KEYENCE Applications] on the Windows [Start] menu.
Uninstallation To uninstall this software under Windows, go to [Control Panel] from the [Start] menu and select [Add or Remove Programs]. 1 1 Select [Control Panel] from the [Start] menu. 2 Double-click the [Add or Remove Programs] icon. 3 Select [CV-5000 Series Network Communication Software], then select [Change/Remove] The [Control Panel] window appears. The [Add or Remove Programs] window appears. [Confirm Uninstall] message appears. 3 4 Click the [OK] button. The software will be removed.
Cautions when using with Windows Vista or later version of OS 1. When starting the software for the first time 1 The following error may occur when [Start simulation] from the [Simulator] menu is clicked. The software will need to be run in an account with administrator rights for the operation to be successful. If this is not done, the following error will result.
Obtaining a Serial Key for the Simulator A serial key from Keyence is required to run the simulator functions. The procedure for obtaining a serial key is as follows. 1 1 Start the software. 2 Select [Start simulation] from the [Simulator] menu. Refer to "Starting the Software" (page 3-2) for information on starting the software. The [CV5000 simulator registry] menu appears. Note The screens shown are only examples.
Example of the [CV5000 simulator registry] menu 5 Enter the serial key obtained from the preceding procedure in the [Serial Key] text box of the [CV5000 simulator registry] menu, then click [OK]. 1 Note The screens shown are only examples. The simulator screen appears. Note If the hardware configuration is changed, you will need to reinstall the software and obtain a new serial key or return the computer to the original hardware configuration.
1 1-14 CV-H5N-M-WW-NO1-E
Chapter Examples of Software Use This chapter describes the representative functions of this software and their use. Example 1: Using the Simulator. . . . . . . . . . . . . . . . . . . . . . . . . . 2-2 Example 2: Creating a Log File and Displaying it with Excel . . 2-28 Example 3: Displaying Output Data . . . . . . . . . . . . . . . . . . . . . 2-33 Example 4: Saving and Displaying OK or NG Images . . . . . . .
Example 1: Using the Simulator This section uses a sample file to explain the simulator. Using the Simulator with a Sample File 1. Starting the simulator 2 1 1 Select [Start simulation] from the [Simulator] menu. The simulator screen appears. The settings for the sample program (Virtual CV: sample) are selected. Start the simulator. Note • Enter the serial key when the [CV5000 simulator registry] menu appears.
2. Using the simulator Table 1 Console menu and keyboard shortcuts Console Keyboard Enter Enter Up n Down p Right o Left m Escape E or Esc FNC F TRG T Screen S View V Menu M Prog / Run P/R 1 2 Operation of the simulator through the keyboard is the same as through the CV remote console. The relationship between console buttons and keyboard keys is shown in Table 1. Note There is no keyboard key that corresponds to the button on the under side of the remote (No.
Example of gamepad button layout 1 2 2 ■Game pads certified by Keyence Logitech Precision Gamepad Note Use of gamepads not certified by Keyence may result in abnormal operation.
3. Differences Between the Simulator and the Actual CV-5001 Series This section introduces the unique and convenient functions of the simulator that differentiate it from the CV-5001 device. 2 1. Name input via keyboard function This function allows the computer keyboard to be used to enter names when the software keyboard is displayed (including window names, calculation names and custom screen character input). This reduces the time required to create multiple windows or calculations.
There are 8 differences between the simulator and the physical device. 1. Measurement time / trigger delay The hardware architecture of the computer and the device are different, so the same process may take a different amount of time on one than on the other. 2 2. External input/output General evaluations, terminal output, PLC- EIP - RS-232C, Ethernet, USB, and image output (except the memory card) are not functional. Output to SD2 acts as output to the Virtual CV D drive. 3.
4. The Virtual CV The simulator operating environment must be created before the simulator can be run. This environment is called the “Virtual CV” and creates a virtual CV-5001 series on the computer. Settings, including camera settings [Image folder and Image data] and drive path [select virtual C/D drive] can be set so that the simulator operates on the PC as outlined below.
5. Loading image data (from a digital camera or other digital imaging device) 1 2 Convert the image data into data that can be managed by the ‘Sample’ simulator. Use commercial image editing software to convert the image to a 512 x 480 pixel, 24 bit color image. The simulator can use the following types of image data. The ‘Sample’ program can use [Color (VGA)] images.
4 Select all of the image data to be loaded, then click the [Open] button. The data to be loaded will be displayed under [Filename [before Import]] from the [Import Test Images] menu. Also, data that has been converted into a format that is accessible by the simulator will be displayed under [Filename [after Import]]. 2 Refer to "Loading “Trigger” Image Data into the Simulator" (page 4-44) for more information on [Folder name] and [File name].
Simulation Using Programs and Image Data on an SD Card 1. Read from the simulator with the SD card (SD2) as the virtual D drive 2 The procedure for inserting the SD card (SD2) from the CV-5001 series device into the computer and using the saved data is outlined below. SD card root folder CV Setting 000 001 005 The setting file “cvset.dat” and the image file “ref 1.000bmp” are found here. Each folder has a setting folder, which is associated with one setting file.
This does not specify the setting file name, but rather specifies the drive on which the file is stored. (In this example, D) This D drive is the “SD card root folder” from step 1 and locations prefixed with "D:" are located on the D drive. The CV-5001 physical device and the simulator each have levels below the drive level known as “cv”, “setting” and “Program No. folder”. 2 Note The simulator will not use these setting files (for example, folder 000) even if they are specified.
2. Load a program file into the simulator The procedure for reading programs on the SD card to the virtual drive of the simulator is as follows: 1 2 Select [Transfer programs] from the [Simulator] menu. The [Transfer Programs] menu appears. Note This function is not available while collecting data. Suspend data collection before proceeding with the simulator. A Information about [File type] is displayed. • Read From Select [File] (program data in the drive folder within the computer).
3 Select [File Location]. Select a program data folder within the computer or in the external removable media. 2 Reference The program number 005 saved on a memory card in the E drive connected to the computer is selected in the example shown on the left. 4 Select [Save to]. • Drive C of Virtual CV Select this to write the program number data in the drive C of virtual CV. • Drive D of Virtual CV Select this to write the program number data in the drive D of virtual CV.
7 Click the [OK] button to return to the main window. Reference Using load target and global data 2 When global data is loaded from a CV-5001 Series controller, the program no. currently being used on the simulator will be changed to the number on the controller. To set the physical controller to the same program number as the simulator, first load only the global data. Then close the [Transfer Programs] menu and load the program data and saved images. 3.
Prefix characters (Virtual CV editing) Camera number (1 through 4) _ Serial number (Specifies length: up to ten digits) 2 Example: LineA 1_00001 (Prefix: “LineA” Camera number 1 Serial number digits “5”) • The prefix can be changed freely and is shared by all cameras. • Camera number is controlled via “Connected camera settings”. • Measurements start with the initial serial value. File access will take a long time if there are too many images in a folder.
4 Click the [Browse] button, select an SD card drive, and then select an image to be read. After selecting an image, click the [Open] button. 2 5 Change name The name of the selected image files are displayed in [Filename[before import]] with serial numbers specified in the camera image file name setting. When reading the image data of multiple cameras, change the camera number and repeat reading. 6 Press the [Execute] button to read the image data.
4. Edit the program file loaded into the simulator Table 1 Console menu and keyboard controls Console Keyboard ENTER Enter Up n Down p Right o Left m ESCAPE E/ESC FNC F TRG T SCREEN S VIEW V MENU M PROG/RUN P/R 1 Use the keyboard in the same manner as the CV-5001 series console. 2 The relationship between the console buttons and the keyboard is shown in table 1. Refer to the “CV-5001 Series User’s Manual” for information on CV-5001 series controls.
2 Click the [Write to cv] tab. A The [Write from] information is displayed. A • Virtual CV 2 This displays the name of the selected Virtual CV. • Read location / Read location Program No. Specify the Program No. to be read. (Refer to steps 3 and 4) B The [Write to] information is displayed. B • Target device Select [File (Program in computer drive folder)]. [Connected CV] is grayed out when no CV-5001 series devices are connected.
6 Select the option for [File Location]. Select a program data folder within the computer or on an external removable media. 2 Reference Program number 005 on the memory card in the E drive is selected in the example shown on the left. 7 Click the [Execute] button. 8 Click the [Yes] button. A confirmation message appears. An [End] message appears. Click the [OK] button to return to the main window.
Using the Simulator when Communicating with a CV-5001 Series 1. Read the program from the connected CV-5001 series 2 1 Set the type of device that the Virtual CV will connect to. Select [Create/Manage Virtual CVs] from the [Simulator] menu. When adding a new Virtual CV Select from the confirmed connections and specify a device to connect to. Refer to the CV-5001 user’s manual for other methods of making settings.
3 Press the execute button to read the specified program data and recorded images in that order. 4 Start the simulator. 2 Select [Start simulation] from the [Simulator] menu. Once the simulator has started, changing the target Program no. to the read target selected in step 2 allows you to confirm the program contents. 2. Write the program from the connected CV-5001 series Change the program set in step 1 with the simulator, then write it to the device. 1 Close the simulator.
Editing a CV-5001 Series Controller Program File on the Computer ■ Reading program data from the drive folder within the computer 2 Read program data that is stored in the C drive of the computer or external removable media. 1 Select [Transfer programs] from the [Simulator] menu. The [Transfer Programs] menu appears. 1 Note 1 2 3 This function is not available while collecting data. Suspend data collection before proceeding with the simulator. 2 4 5 6 1 Information about [File type] is displayed.
2 3 Select [File] for [Read From]. • File Select this to this to read/write the program data from/to the drive folder within the computer. • Connected CV Select this to read/write the program data from/to the CV5001 Series controller connected to the computer. 2 Select [File Location]. Select a program data folder within the computer or an external removable media. Reference Program number 005 saved on a memory card connected to the E drive is selected in the example shown on the left.
6 Click the [Execute] button. A confirmation message appears. Note 7 2 All the target data to read is deleted on execution. Before executing, make sure that the CV-5001 Series controller is set to [Run] mode. 7 Click the [Yes] button. 8 Click the [OK] button to return to the main window. A message will appear indicating that the data has been successfully loaded. Reference Using load target and global data When global data is loaded from a CV-5001 Series controller, the program no.
■ Writing the program data from the drive folder in the computer 1 Select [Transfer programs] from the [Simulator] menu. 2 Note 1 This function is not available while collecting data. Suspend data collection before proceeding with the simulator. 2 1 3 4 5 6 2 Click the [Write to cv] tab. 2 7 1 Information about [Write from] is displayed. • Virtual CV The name of the selected Virtual CV is displayed. • Write from/Program no. Specify the program number from which to read the data.
3 Select [Write from]. 4 Select the [Program no.]. 5 Select [File] for [Program destination]. 6 Select the option for [File Location]. 2 • Drive C of Virtual CV Select this to write a program located in drive C of the virtual CV. • Drive D of Virtual CV Select this to write a program located in drive D of the virtual CV. The default setting is the program number currently being used by the simulator. • File Select this to write the program data into a folder within the computer.
8 Click the [Yes] button. An [End] message appears. 2 8 9 Click the [OK] button to return to the main window.
Example 2: Creating a Log File and Displaying it with Excel This section describes how to create a log file for output data, save that log file and then open it as an Excel file. Creating a Log File and Displaying it with Excel 1. Selecting a connection point 2 [Edit Connection Setting] menu 1 Select [New] or a [Connection name] from the [Connections] menu. To set a new connection point, first set the detailed settings in the [Edit Connection Setting] menu.
3. Log file creation 1 1 Select [Create a data log file] under the selected connection from the [Connection] menu, then select the [General] tab in the [Create a data log file] dialog to set the folder to save data to. 2 This example sets the save-to location to “F:\Keyence\log”. Refer to "Creating a Log File" (page 4-11). Example: “Create a data log file” dialog “General” settings 1 2 Select the [Options] tab, then set the acquisition conditions and the save file name.
4. Connecting a CV-5001 Series controller 1 2 1 Select [Connect] under the specified connection from the [Connections] menu to connect your computer to a CV-5001 Series controller. Refer to "Connecting to a Selected Connection Point" (page 4-9). Reference This can also be done using toolbar icons. ( Refer to page 3-20.) Note To set image output for a CV-5001 Series controller, connect the device while data collection is stopped. 5.
7. Displaying a log file The log file will be saved in the folder specified in step 3 as a CSV file. 2 Reference A new log file will be created each time [Data Collection] and [End] are clicked. Example of the folder a log file is saved to Example file name: ConnectA20081011_134855_00000.csv 1 Open the log file in Excel or Notepad. The log file will appear, as shown to the left.
Log file record example 2 (Example of a CSV log file opened in Excel) 2 Date No. of measurements Angle Y Coordinate X Coordinates [Total insp.
Example 3: Displaying Output Data This section describes how to display output data. Displaying Output Data 1. Specifying a connection point 2 [Edit Connection Setting] menu 1 Select [New connection] or a [(connection name)] from the [Connections] menu. To set a new connection point, first set the detailed settings in the [Edit Connection Setting] menu. Refer to "Connecting to a Selected Connection Point" (page 4-9) and "Specifying a New Connection Point" (page 4-6). 2.
3. Editing the output data display 1 2 Select [Create Data Display] under [(connection name)] from the [Connections] menu. The Edit Data Display Settings menu appears. Refer to "Create Output Data Display" (page 4-16). 1 4. Configuring the contents and the layout of the output data display 1 Select the [Display settings] tab from the [Edit Data Display Settings] menu, then set [Data Display setting] ([Identifying name] [Output value] and [Output type]).
5. Selecting output data to display Example of [Data Display setting] 1 Select the [Display settings] tab from the [Edit Data Display settings] menu, then click the [New] button to set the items under [Edit Data Display Settings]. 2 Refer to "Create Output Data Display" (page 4-16). The following data is used as an example here. • Output Setting: Total status • Output Type: No.
6. Selecting the color and font of displayed characters [Font/Color] setting example 1 2 Select the [Font/Color] tab from the [Edit Data Display Settings] menu, then set [Font], [Font Size] and [Color]. Refer to "Create Output Data Display" (page 4-16). In this example, [Font] is set to Microsoft Sans Serif, [Font Size] is set to 16 point, [OK display] is set to black and [NG display] is set to red. The settings screen appears as to the left.
Example 4: Saving and Displaying OK or NG Images This section describes how to save OK and NG images in separate folders and display them on the computer. Saving and Displaying OK or NG Images 1. Specifying a connection point 2 [Edit Connection Settings] menu 1 Select [New connection] or a [(connection name)] from the [Connections] menu. To set a new connection point, first set the detailed settings in the [Edit Connection Settings] menu.
3. Setting a location to save image files to 1 2 Select [Save collected Images] under [(connection name)] from the [Connections] menu. The [Image File Settings] menu appears. 1 Refer to "Saving Images" (page 4-14). 2 Select the [General] tab from the [Image File Settings] menu, then set the save folders for [Save OK] and [Save NG].
4. Setting file names and compression ratios for image data 1 Select the [Options] tab from the [Image File Settings] menu, then set [Image Filename]. 2 Refer to "File names of saved images" (page 4-15). Image file names can be set as follows. [Filename] + [Camera no.] + [14 alphanumeric characters for date and time] (when [Date/time] is on, "_" is inserted between date and time) + [5-digit serial No. or No.
5. Displaying saved images 1 2 Select [Collected image display settings] under [(connection name)] from the [Connections] menu. The [Select images to display] menu appears. Refer to "Creating an Image Display" (page 4-19). 1 2 2 Specify the title name and image type in the [Collected image display settings] menu. This section uses [OK image] as an example. 3 To display multiple images values, repeat steps 1 and 2.
Chapter Basic Operation Starting Up and Shutting Down . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2 Names and Functions of Screen Elements . . . . . . . . . . . . . . . . . 3-3 Connecting to a CV-5001 Series Controller . . . . . . . . . . . . . . . . . 3-6 Menu Bar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-16 Toolbars . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Starting Up and Shutting Down This section explains how to start up and shut down the software. Starting the Software 1 3 From the start menu, select [Programs] from the Start menu, then select [KEYENCE Applications], then [CV-5000 Series], then [Network Communication Software] and finally [CV-5000 Series Network Communication Software]. Or, from the Desktop, double click the shortcut for [CV-5000 Series Network Communication Software]. Initial window The initial window appears.
Names and Functions of Screen Elements This section explains the names and functions of the various screen elements. Basic screen 10 11 9 1 2 3 4 5 6 3 7 8 1 Menu bar This displays the menus, which contain all of the various commands. 6 Output data window Displays output data values Clicking a menu will cause a submenu to appear. Clicking on a submenu will cause commands to appear.
■ Displaying OK and NG image folders The list of OK image files and NG image files output by the CV-5001 Series controller is as shown below. 2 1 3 3 2 1 2 3 2 1 OK image list/ NG image list Displays the number of saved OK and NG images as well as the number of the first item in the list shown in screen 3 above. Note The latest 1000 OK images and 1000 NG images can be displayed.
■ The simulator screen The screen that appears when the simulator is started is as shown below. Simulator screen 3 2 3 1 1 CV-5001 simulator screen Refer to "Programming Interface" (p. 3-4) of the "CV-5001 Series User’s Manual" for more information on the CV-5001 simulator screen. 2 Close button Click this button to shut down the simulator. 3 Minimize button Click this button to minimize the simulator.
Connecting to a CV-5001 Series Controller After connecting the CV-5001 Series controller to the computer on which this software is installed, start up the software and then set the connection points. Before Connecting Confirm the following settings for the CV-5001 Series controller and the computer. ■ Network settings Set the information needed for an Ethernet connection in network settings. These settings include IP address, subnet mask and port number.
Settings for a 1-to-1 Ethernet Connection The CV-5001 Series controller can be connected directly to a computer via the Ethernet connection using an Ethernet cross cable (Keyence part number OP-66843). Note Refer to the CV-5001 Series controller manual for more information on CV-5001 Series controller network connection settings. 3 ■ Computer settings before connection (example) This example uses Windows XP. 1 2 Select [Network Connections] from the [Control Panel].
■ Connecting a CV-5001 Series controller 3 1 Connect the CV-5001 Series controller Ethernet port to the Ethernet cable (cross cable: OP-66843). 2 Connect the computer Ethernet port to the Ethernet cable (cross cable: OP-66843). ■ Specifying a connection point Set the connection point so that the CV-5001 device can be recognized by the software. 1 Select [New connection] from the [Connections] menu. 2 Set the network information of the CV-5001 Series controller to be connected on the [General] tab.
3 Click the [OK] button when settings are finished. The connection point is added. Note First set the CV-5001 Series controller to [Run] mode. A proper connection cannot be made in [Prog.] mode. ■ Obtaining CV-5001 Series controller output configuration data 3 Obtain the output settings from the CV-5001 Series controller so that the software can recognize those settings. Refer to "Obtaining CV-5001 Series Controller Output Configuration Data from a Computer" (page 3-15) for more information.
■ Specifying a connection point Set the connection point so that the CV-5001 Series controller can be recognized by this software. Use the settings from the "New Connection" window, as before. Note • Talk with your network administrator before assigning an IP address to a connection point. • On Windows Vista/7, the connection point cannot be set if the Ethernet cable is disconnected.
3 Click "Finish" after the USB driver finishes copying. Note • If the CV-H3N communication software for the CV-3001 series has already been installed, the USB driver must be deleted and reinstalled. Delete the “USB Com Port Driver” located in the Device Manager found in Hardware under Properties in My Computer. 3 • One CV-5001 series can be connected to a computer via USB. • When using Windows 7, the wizard screen does not appear.
■ Specifying a connection point Set the connection point so that the CV-5001 Series controller can be recognized by this software. 3 1 Select [New connection] from the [Connections] menu. 2 Click the [General] tab, then set the USB parameters of the CV-5001 Series controller to be connected. The [Edit Connection Setting] window appears. [Edit Connection Setting] window 2 Turn [COM] and [USB] on, then set the connection point name and port number. The following settings are used as an example here.
Settings for an RS-232C Connection The CV-5001 Series controller can be connected to the computer with a RS-232C cable. Note • When connecting with an RS-232C cable, the RS-232C cable must first be connected to the computer’s serial port. Refer to the Windows help files for more information on connecting an RS-232C cable to your computer. Refer to the CV-5001 Series controller manual for more information on connecting an RS-232C cable to your CV-5001 Series controller.
■ Specifying a connection point Set the connection point so that the CV-5001 controller can be recognized by this software. 1 3 1 Select [New connection] from the [Connections] menu. 2 Click the [General] tab, then set the RS-232 parameters of the CV-5001 Series controller to be connected. The [Edit Connection Setting] window appears. [Edit Connection Setting] window 2 Turn [COM] and [RS-232C] on, then set the connection name and RS-232C communication protocol.
Obtaining CV-5001 Series Controller Output Configuration Data from a Computer This software allows you to load information from a CV-5001 Series controller to a computer via an Ethernet (1-to-1 or LAN), USB or RS-232 connection. 1 1 Select [Acquire output setup data] under [(connection name)] from the [Connections] menu. 3 The [Acquire output setup data] confirmation message will appear and the output configuration data will be loaded from the CV-5001 Series controller.
Menu Bar This section explains the names and functions of each menu command. ■ File menu: Create, load and save connection program files 3 3-16 Command Function Page New Creates a new connection program file for this software. Page 4-2 Open Opens a previously saved connection program file. Page 4-3 Save Saves the current settings in an existing file. Page 4-4 Save as Saves the current settings in a new file. Page 4-4 Exit Shuts down the software.
■ Connections menu: Configure data logging and display options. 3 Command Function Page New connection Sets a new connection point. Page 4-6 Connect Connects to the selected connection point. Page 4-9 Disconnect Disconnects from the selected connection point. Page 4-9 Acquire output setup data Obtains CV-5001 Series controller setting output data. Page 4-9 Verify output data Checks CV-5001 Series controller output data. Page 4-10 Create a data log file Edits log file save conditions.
■ Data Collection: Starts/Stops output data transfer. 3 Command Function Page Connect all Connects to all selected connection points. Page 4-26 Disconnect all Disconnects from all selected connection points. Page 4-26 Batch-verify output data Verifies the output data settings on all connected CV-5001 Series controllers. Page 4-27 Start collection Begins transfer of data. Page 4-28 End collection Stops transfer of data.
■ Tools: Program file management and password controls. Command Function Page Manage program data Reads/Writes program data, registered images, global settings, and library data to/from a connected CV-5001 series controller. Page 4-50 Export setting data to files Creates a CSV file of program or global settings for a selected program. Can also save a registered image with measurement windows included.
Toolbars The most frequently used software functions and settings can be accessed by clicking an icon in the toolbar. Toolbars Icon 3 3-20 Name Function Page New Creates a new program file for the software. Page 4-2 Open Opens a previously saved program file. Page 4-3 Save Saves current Program file overwriting previous settings. Page 4-4 Batch connection Connects to all connection points. Page 4-26 Batch disconnection Disconnects from all connection points.
Chapter Detailed Software Operation This section explains the detailed operation and settings of the menus, including the Connections, Data Collection and Tools menus. File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-2 Connections. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-6 Data Collection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-26 Simulator . . . . . . . . . . . . . . . . . .
File The section explains the usage of the [File] menu. Creating a New Program File Perform the following steps or create a new Program file. 1 1 Select [New] from the [File] menu or click the [New] icon in the toolbar. A [Save changes?] message appears. 4 2 2 Select [Yes] to display the [Save As] window. Enter the name of the saved file. A new Program file for this software with all settings initialized is created.
Opening a Program File Perform the following steps to open a previously saved Program file. 1 1 Select [Open] from the [File] menu or click the [Open] icon in the toolbar. The [Open] window appears. Reference If the currently open file has been changed, a [Save changes?] 4 message will be displayed. Click [YES] to save, or click [No] to proceed without saving. [Open] window 2 2 Select a Program file, then click the [Open] button. The selected file is opened.
Saving a Program File The following step will save and overwrite the current Program file. 1 1 Select [Save] from the [File] menu or click the [Save] icon in the toolbar. The setting file that is currently open is overwritten with any new changes. Reference 4 The [Save As] window will be displayed when you first attempt to save the file. Saving a Program File Perform the following steps to save the current Program file to a new file. 1 1 Select [Save As] from the [File] menu.
Shutting Down the Software The following step will shut down the software. 1 Select [Exit] from the [File] menu. The software shuts down. 1 4 Opening the Most Recent Program File 1 1 Select [File name] from the [File] menu. The selected file is opened. Reference When the software is started from the desktop or the [Start] menu, the most recently saved Program file will be loaded.
Connections The section explains the usage of the [Connections] menu. Specifying a New Connection Point 1 1 Select [New connection] from the [Connections] menu. The [Edit Connection Setting] menu appears. [Edit Connection Setting]: General 4 2 Note Machines using Windows Vista/7 cannot set a connection if the Ethernet cable is removed.
2 Click the [General] tab, then change the settings to match the configuration of the CV-5001 Series controller and computer. Connection point settings Category Item Contents Setting Range Sensor Connection Point Name Sets the name of the connection point. Up to 32 characters (default: 192.168.0.10) CV model Selects the CV-5001 Series controller to be connected. CV5000 (Fixed) LAN Used when the CV-5001 Series controller and the computer are connected via Ethernet.
3 Click the [Options] tab, then set the option information (timestamp generator) of the CV-5001 Series controller to be connected. Select [PC] to use the time set on the computer or [CV5000] to use the time on the CV-5001 Series controller. A timestamp for 3:28:56 pm, November 18, 2008 would appear as follows. Timestamp example: 20081118_152856 Note 4 The target here is the timestamp that is saved as a log file name. The timestamp that is output to Excel is fixed depending on the computer.
Connecting to a Selected Connection Point 1 1 Select [Connect] under [(connection name)] from the [Connections] menu. The software connects to the selected connection point. When the connection has been made, the connection point icon in the setting list area will turn blue. 4 Disconnecting from a Selected Connection Point 1 1 Select [Disconnect] under [(connection name)] from the [Connections] menu. Disconnects from the selected connection point.
Verify Output Data After making connection with the CV-5001 Series controller, the output data settings of the controller need to be verified by the software. If these settings have already been obtained, they need to be confirmed. If there is any variation between obtained data and the output data settings on the CV-5001 Series controller, the data acquisition will not operate properly. 1 1 4 Select [Acquire output setup data] under [(connection name)] from the [Connections] menu.
Creating a Log File Data created on a CV-5001 Series controller can be loaded onto a computer and saved in a log file. ■ Setting a location to save log files to 1 1 Select [Create a data log file] under [(connection name)] from the [Connections] menu. The [Log File Settings] menu appears. 4 [Log File Settings] menu: General 2 3, 4 5 2 3 Click the [General] tab. Turn [Create log file ON] on, then click [Browse...]. The [Browse For Folder] menu appears.
■ Setting log file collection conditions 1 2 Click the [Options] tab in the [Log File Settings] menu. Set the following conditions, then click the [OK] button to finish settings. [Log File Settings] menu: Options 1 4 2 The next function sets the log file collection conditions. Log file start conditions Function Settings for Each Function Specify by number of data Turn [specify by number of data] on, then enter a value in the [Start point] text box, either directly or with the [▲] and [▼] buttons.
Data reduction A separate data reduction value (number of data pieces) is set for each set of data taken. Function Settings for Each Function Raw Data Every nth piece of data, where n is the value set in the [Collection Interval], is saved. Example: Statistical Data Collection Interval = 50: The first piece of data is saved in the log, but the 2nd through 50th pieces of data are not saved. The next pieces of data to be saved are the 51st, 101st and every 50th piece after that.
Saving Images This function assigns files to the "Save OK" or [Save NG] folders based on their output data judgment results. Images may be saved as either BMP files or PNG files. 1 1 Select [Save collected Images] under [(Connection1)] from the [Connections] menu. The [Save collected Images] menu appears.
■ File names of saved images 1 Click the [Options] tab in the [Save collected Images] menu, then set [Image Filename], [Image format] and [Compression rate]. [Save collected Images]: Options 1 4 Function Settings for Each Function Name Enter the desired filename. (Default: connection point name) Camera number The camera number is sent from the CV-5001 Series controller. Add date and time Adds date and time. Maximum serial number Sets maximum serial number.
Create Output Data Display ■ Selecting output data display items 1 Select [Create Data Display] under [(connection name)] from the [Connections] menu. The [Edit Data Display Settings] menu appears. 1 4 [Edit Data Display Settings] menu: Display settings 2 2 2 When the window is first opened, click the [Display settings] tab and select the uppermost row in [Left side:] or [Right side:] , then click the [New] button to display the [Edit Data Display Settings] menu.
[Data Display setting] menu 1 Output Settings Select from [Total Status], [Pos.X], [Pos. Y], [Angle] or [Match%]. 1 2 3 4 Note If Chinese (Traditional or Simplified) is selected for Language in the Global setting, use the compatible Windows OS (See the table on page 2-5). Characters will not be displayed correctly if another Windows OS is used. 2 Output Types This selects the output type.
■ Edit output data display 1 Select the [Font/Color] tab from the [Edit Data Display Settings] menu, then set the font name, style, size and display color. [Edit Data Display Settings] menu: Display method 1 1 3 2 4 4 1 Font This function displays the font name. The default setting is MS Gothic. 2 Font size This function displays the font size. The default setting is 16. 3 [Font] button This button is clicked to display the [Font ] menu. Select a [Font name], [Style], [Size], and [Effects].
Creating an Image Display This function sets the display of images that are output by the CV-5001 Series controller and saved on the computer. 1 Select [Collected image display settings] under [(connection name)] from the [Connections] menu. The [Collected image display settings] menu appears. [Collected image display settings] menu 4 1 2 1 Title Enter the title applied to the image when displayed. 2 Display update settings Select the image you want to display.
Image update cancelled [Image display] window 2 3 4 5 1 4 1 Image display The selected image appears. 2 Begin image update Press the [Start refresh] button to start updating the display. 3 Edit settings The [Collected image display settings] menu appears. 4 [+], [–] These buttons control the zoom. Choose from among 12.5%, 25%, 50%, 100%, 200%, 400% and 800%.
Exporting Measurement Results to an Excel File Output data received from a CV-5001 Series controller can be exported to an Excel file. 1 Select [Output measurement result to excel file] under [(connection name)] from the [Connections] menu. The [Output measurement result to excel file] menu appears. 1 2 4 Enter the name of the connection point and the Excel file. [Output measurement result to excel file] menu 1 2 3 4 5 6 1 Select CV Displays the name of the connection point.
4 Initial output cell (Sheet name: cell identifier) Displays the coordinates of the first cell to receive output. Reference When specifying the [Initial output] cell, click the [Open Excel] button to open the Excel file. After selecting the cell and sheet to receive the output, click the [Assign Cell] button to display the coordinates of that cell. 5 Output format setting: Column update Turn this on to move down one cell when reading in data.
■ Saving the Excel file 1 The [End collection] icon Click the [End collection] icon in the toolbar to stop collecting data. Ending Data Collection" (page 4-28) Note Stop collecting data before saving the Excel file. 2 Select the Excel file window in which the data has been written and specify a name that is different from the original one by using [Save as]. 4 Note • Do not save the file by overwriting the original with [Save].
Editing Connection Settings Edits the settings of a current connection point. 1 Select [Edit connection settings] under [(connection name)] from the [Connections] menu. The [Edit Connection Setting] menu appears. 4 1 [Edit Connection Setting] menu 2 Set the desired items on each tab. Reference Refer to Specifying a New Connection Point" (page 4-6)" for details on the various settings. Note If the "Delimiter" field is changed after communication has begun, the software will need to be restarted.
Deleting Connection Settings Deletes the settings for the selected connection point. 1 Select [Delete this connection setting] under [(connection name)] from the [Connections ] menu. Deletes the settings for the selected connection point.
Data Collection The section explains the usage of the [Data Connection] menu. Global Connect Connects to all connection points. 1 1 Select [Connect all] from the [Data Collection] menu or click the [Connect all] icon in the toolbar. Connects to all connection points. Reference Currently connected connection points are maintained. 4 Note • Before connecting, make sure that the CV-5001 Series controller is set to [Run]. • To set image output, connect the device while data transfer is stopped.
Verifying CV-5001 Series Controller Output Data Verifies all output data configurations from the CV-5001 Series controller with all current data on the CV-5001 Series controller. If the two data sets do not match, data transfer will not operate properly. 1 1 Select [Batch-verify output data] from the [Data Collection] menu or click the [Batch-verify output data] icon in the toolbar. The [Verify Output Data] window is displayed. A message reading "(Connection point): Verifying output data" appears.
Enabling Data Collection 1 1 Select [Start collection] from the [Data Collection] menu or click the [Start collection] icon in the toolbar. Data collection begins. Reference When collection starts, the [End collection] icon will appear in the toolbar (red) and the [Collection status] icon on the status bar will 4 appear green. Note Data collection will not begin if the CV-5001 Series controller is not connected.
Simulator The section explains the usage of the [Simulator] menu. Selecting a Virtual CV This feature changes the Virtual CV that is displayed in the simulator environment. Note To the Chinese Windows OS (Traditional or Simplified) users: Use only single-byte alphanumeric characters for the following places. The software does not supports other characters.
Starting the Simulator 1 1 Select [Start simulation] from the [Simulator] menu. Note • Enter the serial key when the [CV5000 simulator registry] appears. Refer to Obtaining a Serial Key for the Simulator" (page 1-12) for more information. • It may take several minutes for the simulator to start. 4 • Stop data collection before using communication functions. A simulator screen like the one on the left appears. The user interface associated with the selected simulator settings appears.
Reference The setting file normally created by the simulator is compatible with the CV-5001 Series Second Edition and thus cannot be loaded onto the CV-5001 Series First Edition or the CV-3001 Series Second Edition III/Second Edition II. When a new program file is required for the CV-5001 Series First Edition or the CV-3001 Series, use the following procedure to create the proper file format. Press the [SCR(S)] or [FNC(F)] key and the [ENTER(E)] key while selecting [Execute] under [Add new].
Reference Automatic update of the setting file that the ShapeTrax mode is included When “ShapeTrax” is included for the measurement method of the setting file that is edited on the simulator, “ShapeTrax” will be updated to “ShapeTrax2” when the setting file is loaded. 4 When saving the setting file, the dialog to confirm whether to save the setting file before updating as a backup file appears. When the [OK] button is clicked, the following confirmation dialog appears.
2 2 Click the button to shut down the simulator to return to the main window. For more information on operating a CV-5001 Series controller, please refer to the "CV-5001 Series User’s Manual," which is packaged with any CV-5001 Series controller or can be downloaded from the CV-5001 Series User Support Page. Note The following functions differ from that found on a physical CV-5001 Series controller.
Importing the Simulator of the CV-5001 Series First Edition To edit the setting file of the CV-5001 Series First Edition, import the simulator of the CV-5001 Series First Edition. Note Simulator import is not supported in a Windows 7 64-bit environment. 1 4 1 Select [Simulator Import] in the [Simulator] menu. 2 Click the [Browse] button of [Import Wizard 1/2], select the folder where the simulator of the CV-5001 Series First Edition exists.
Managing Virtual CVs (Adding, Editing, Copying, Deleting) ■ Adding a Virtual CV 1 1 2 3 4 5 Select [Create/manage virtual CVs] from the [Simulator] menu. A list of Virtual CVs appears in the [Create/manage virtual CVs] menu. 2 Click the [Add] button. 3 Select a connection point from the [Connected CV] pulldown menu. 4 Note All connection points created from [New] on the [Connections] menu are displayed. 8 This is basically the number of CV-5001 Series controllers connected to the computer.
6 Use the Virtual CV editor to alter the simulation environment Refer to Managing Virtual CVs (Adding, Editing, Copying, Deleting)" (page 4-35) for more information on Virtual CV editing. 4 7 Click the [OK] button when editing is finished. 8 Click the [Close] button to finish and return to the main window. 1 Select [Create/manage Virtual CVs] from the [Simulator] menu. The Virtual CV is added and the program returns to the [Create/manage Virtual CVs].
Connected camera settings This allows the settings for virtual connected cameras in the simulator to be changed. Each camera can process a different range of images. The cameras that can be connected are as follows.
The following naming convention is used for data that can be read by the simulator. [Prefix] + [Camera number] + [ _(underscore)] + [serial number(up to ten digits)] + [extension: .bmp or .jpg] Example of image : LineA 1_00001.bmp file name Prefix Serial number Camera number Note Change [Connect to] under [Name/Connected CV] from the [Virtual CV Settings] menu to change the prefix. Connection point settings" (page 4-7) are automatically appended to connection point names of applicable connection points.
7 7 Click the [Configure Console] tab. Change the key assignments when using a commercial USB gamepad. Note The directional pad keys cannot be reassigned. 4 The console keys on the CV-5001 Series controller will be displayed as follows. Extension keys can be changed. 1. Keyboard Button assignments 2.
Example of gamepad button layout 1 2 Game pads certified by Keyence Logitech Precision Gamepad 3 Use of gamepads not certified by Keyence may result in abnormal operation. Note 4 4 5 6 7 8 8 1 2 1 8 Click the [Name/Connected CV] tab. Virtual CV name [Virtual CV name] can be changed. 2 Connect to Connection points can be selected and changed from the [Connect to] list. Reference All connection points created from [New] from the [Connections] menu are displayed.
9 9 Click the [Simulator] tab. Select the version of the simulator according to the program file to be edited. CV-5000/5500 Second Edition (Default): This allows you to edit setting files other than those of the CV-H500C/M camera connection of the CV-5000 Series Second Edition. CV-5700 Second Edition: This allows you to edit setting files of the all CV-5000 Series Second Edition. 4 CV-5000/5500 First Edition: This allows you to edit setting files of the CV-5000 Series First Edition.
■ Copying a Virtual CV setting 1 4 1 A list of the Virtual CVs appears. 2 2 Select [Create/manage Virtual CV] from the [Simulator] menu. Select the Virtual CV you wish to copy from the list, then click the [Copy] button. The [Copy a Virtual CV] appears. 3 Enter a name in the [New Virtual CV name] text box, then click the [Execute] button. The copied Virtual CV is added to the Virtual CV list the Virtual CV. 3 4 Click the [Close] button to finish and return to the main window.
■ Deleting a Virtual CV 1 1 Select [Create/manage virtual CVs] from the [Simulator] menu. A list of Virtual CVs appears in the [Create/Manage Virtual CVs]. 2 Select the Virtual CV you wish to delete from the list, then click the [Delete] button. 4 The [Delete a Virtual CV] menu appears. 2 3 Click the [Execute] button. 4 Click the [OK] button. A confirmation message appears. 3 4 The deleted Virtual CV is removed from the Virtual CV list.
Loading “Trigger” Image Data into the Simulator This section explains how to load “Trigger” image data into the simulator from a computer drive folder (including removable media) or a CV-5001 Series controller. ■ Reading data into the simulator from the computer. 1 Select [Import test images] from the [Simulator] menu. The [Import Test Images] menu appears. 1 4 Note This function is not available while collecting data. Suspend data collection before proceeding with the simulator.
2 Click the [Import from PC] tab. 3 Click the [Browse] button. The [Open] menu appears. Select an image to load from the computer drive or from a removable media device connected to the computer. Reference Up to 200 images can be selected at once. 4 4 4 Click the [Open] button to open the selected image. Enter the file name specified in step 4 in Filename [before Import].
5 Connected camera name Readable image data CV-H500C 2432 x 2050 pixels / 24-bit color BMP and JPEG CV-H500M 2432 x 2050 pixels / 8-bit grayscale BMP and JPEG Click the [Execute] button to transfer in the image data. A completion message appears. Loading files in a specified order 1. Move the mouse pointer to the right side of the first image. 4 2. Drag the cursor to cover all of the data.
3. Click the [Open] button to finish. Note When multiple images have been selected for loading in step 4, use the [Ctrl] and [Shift] keys on the keyboard to put the last image selected at the front of Filename [before Import]. To read files in a specified order, select them as explained above. 6 6 CV-H5N-M-WW-NO4-E 4 Click the [OK] button to end the process.
■ Loading “Trigger” image data from a connected CV-5001 Series controller 1 Select [Import Test Images] from the [Simulator] menu. Refer to page 4-44 for more details on loading image data. Note • Camera numbers cannot be specified. Image data from all CV5001 Series controller cameras will be loaded. • Select either [Import from PC] or [Import from CV] to change the initial serial number. • This function is not available while collecting data.
4 Click the [Execute] button to start the transfer. A message will appear indicating that the data has been loaded. Note • Depending on the specifications of CV-5001 Series controller, a message saying "The BR command returned an error" may be displayed even when data has been loaded properly. No error has occurred. • Regardless of the number of cameras connected, image data from all cameras will be loaded.
Reading and Writing Program Data from a CV-5001 Series Controller ■ Loading program data from a connected CV-5001 Series controller 1 Select [Transfer programs] from the [Simulator] menu. The [Transfer Programs] menu appears. 1 4 Note 1 This function is not available while collecting data. Suspend data collection before proceeding with the simulator. 2 3 Select the [Read from cv] tab. 2 4 5 6 1 Information about [File type] is displayed.
2 Select [Connected CV] for [Read From]. • Connected CV Select this to read the program data from a CV-5001 Series controller connected to the computer. • File Select this to read the program data from a folder within the computer. 3 Select [Read from]. 4 • CV internal memory Select this to load a program from the internal memory of the connected CV-5001 controller. • CompactFlash card in the CV Select this to load a program from the CompactFlash card currently in the CV-5001 controller.
7 Click the [Execute] button. A confirmation message appears. Note 7 All the read target data is overwritten on execution. Before connecting, make sure that the CV-5001 Series controller is set to [Run] mode. 8 Click the [Yes] button. 9 Click the [OK] button to return to the main window. 4 A message will appear indicating that the data has been successfully loaded. Reference Using load target and global data When global data is loaded from a CV-5001 Series controller, the program no.
■ Reading program data from a folder within the computer Read program data that is stored in the C drive of the computer or external removable media. 1 1 Select [Transfer programs] from the [Simulator] menu. The [Transfer Programs] menu appears. Note This function is not available while collecting data. Suspend data collection before proceeding with the simulator. 4 1 Information about [File type] is displayed.
2 Select [File] for [Read From]. • File Select this to read the program data from a folder within the computer, and when you write the program data to the drive folder within the computer. • Connected CV Select this to read/write the program data from/to the CV-5001 Series controller connected to the computer. 4 3 Select [File Location]. Select the program data folder within the computer or in an external removal media.
6 Click the [Execute] button. A confirmation message appears. Note 7 All the read target data is overwritten on execution. Before connecting, make sure that the CV-5001 Series controller is set to [Run] mode. 7 Click the [Yes] button. 8 Click the [OK] button to return to the main window. A message will appear indicating that the data has been successfully loaded. 4 Reference Using load target and global data When global data is loaded from a CV-5001 Series controller, the program no.
■ Writing the program data into a CV-5001 Series controller connected to the computer 1 Select [Transfer programs] from the [Simulator] menu. The [Transfer Programs] menu appears. 1 Note This function is not available while collecting data. Suspend data collection before proceeding with the simulator. 2 4 1 Click the [Write to cv] tab. Information about [Write from] is displayed. • Virtual CV The name of the selected Virtual CV is displayed. • Program no.
4 Select the [Program no.]. 5 Select [Connected CV] for [Program destination]. The default value is the program number that is currently used in the CV. • Connected CV Select this to write the program data into the CV-5001 Series controller connected to the computer. • File Select this to write the program data into the drive 4 folder within the computer. 6 Select the option for [File Location].
■ Writing the program data into the drive folder within the computer 1 1 Select [Transfer programs] from the [Simulator] menu. The [Transfer Programs] menu appears. Note This function is not available while collecting data. Suspend data collection before proceeding with the simulator. 2 4 1 Click the [Write to cv] tab. Information about [Write from] is displayed. • Virtual CV The name of the selected Virtual CV is displayed. • Program no. This specifies the program number that will be transferred.
4 Select the [Program no.]. 5 Select [File] for [Program destination]. The default value is the program number that is currently used in the CV. • File Select this to write the program data into a folder within the computer. • Connected CV Select this to write the program data into a CV-5001 4 Series controller connected to the computer. 6 Select the option for [File Location]. Select the program data folder within the computer or in an external removable media.
Exporting Program Configurations to Excel This section explains how to export program configurations to Excel and how to store registered images with associated measurement window locations. ■ Recording specified measurement windows on registered simulator images 1 4 Select [Export setting data to files] from the [Simulator] menu. Note 1 This function is not available while collecting data. Suspend data collection before proceeding with the simulator.
4 Save Folder Select the save folder for images with measurement windows drawn on them. Click the [Browse] button to select a folder from the [Browse for Folder] menu. 5 File name Enter the saved file name. 6 File type Select either BMP or PNG format. 3 4 Click the [Execute] button when settings are finished. The image with the measurement windows drawn on it is saved. An [End] message appears when the image is saved.
■ Exporting the contents of the simulator program data to a CSV file 1 1 Select [Export setting data to files] from the [Simulator] menu. Note This function is not available while collecting data. Suspend data collection before proceeding with the simulator. [Export Setting Data to Files] menu: 4 Program Data 2 1 2 3 4 5 2 Click the [Program Data] tab from the [Export Setting Data to Files] menu, then set [Virtual CV], [Read from], [Program no.], [Save Folder], and [File name].
3 Click the [Execute] button when settings are finished. 4 Click the [Close] button to finish. The program data will be saved as a CSV file. A completion message appears when the image is saved. 4 4 [Example of output to an Excel file] Note If Chinese (Traditional or Simplified) is selected for Language in the Global setting, use the compatible Windows OS (See the table on page 2-5). Characters will not be displayed correctly if another Windows OS is used.
■ Exporting the contents of simulator global data as a CSV file 1 1 Select [Export setting data to files] from the [Simulator] menu. Note This function is not available while collecting data. Suspend data collection before proceeding with the simulator. 4 3 2 1 2 Click the [Global settings] tab from the [Execute Setting Data to Files] menu, then set [Save Folder] and [File name]. 3 1 Save folder name Select the folder in which to save global data as a CSV file.
[Example of output to an Excel file] 4 Note If Chinese (Traditional or Simplified) is selected for Language in the Global setting, use the compatible Windows OS (See the table on page 2-5). Characters will not be displayed correctly if another Windows OS is used.
Window The section explains the usage of the [Window] menu. Selecting a Window Select a window displayed in the window area to enable display, settings and operation of that window. 1 1 Select [(Window name)] from the [Window] menu. The selected window will now be available for operation, settings and display.
Tools The section explains the usage of the Tools menu. Managing CV-5001 Series Controller Program Data This section explains how to read and write CV-5001 Series controller program data. Loading program data (from a CV-5001 Series controller to a computer) 1 1 Select [Manage program data] under [Manage setting files] from the Tools menu. The [Manage Program Data] menu appears. 2 4 Click the [Read from CV] tab and set each item, then click the [Execute] button.
[Manage Program Data] menu: Read from CV 2 1 2 3 4 4 5 1 Select CV 4 Select a connection point to load the program file. With registered images When this is on, registered images are loaded at the same time. This is turned on automatically when the loaded file location is 2 Read from [Compact Flash card in the CV]. Select a read location from the connection point selected. Refer to the CV-5001 Series controller “User’s Manual” for more details about a specific item.
Writing program data (from a computer to a CV-5001 Series controller) 1 1 Select [Manage program data] from the [Tools] menu. 2 Click the [Write to cv] tab, set each item and click the [Execute] button. The [Transfer Programs] dialog box appears. The file containing program data is written to the CV-5001 Series controller. 4 [Manage Program Data] menu: Write to cv 2 1 2 3 4 5 1 File Location Enter the location of the target program file.
Note If image files with the same name but a different format exist in the program number folder, the one with a later creation date will be valid. 3 A confirmation dialog appears on the screen. Click the [Yes] button. 3 4 4 4-70 After writing the data that has been specified for the writing object, a dialog as shown in the left is displayed indicating that the process is completed.
Exporting Program Configurations to Excel This section explains how to export program configurations to excel and how to store registered images with associated measurement window locations. Recording specified measurement windows on registered images 1 1 Select [Export setting data to files] under [Manage setting files] from the Tools menu. The [Export Setting Data to Files] menu appears.
4 Save Folder Select the save folder for images with measurement windows drawn on them. Click the [Browse] button to select a folder from the [Browse for Folder] menu. 5 File name Enter the saved file name. 6 File type Select either BMP or PNG format. 3 4 Click the [Save] button when settings are finished. The image with the measurement windows drawn on it is saved. A [completion] message appears when the image is saved.
Exporting Program data contents to a file 1 1 Select [Export setting data to files] under [Manage setting files] from the Tools menu. The [Export Setting Data to Files] menu appears. 2 Click the [Program data] tab from the [Export Setting Data to Files] menu, then click the [Browse] button for [File Location] and select [File Location] in the [Browse for Folder].
5 Click the [Close] button to finish. 5 4 [Example of output to an Excel file] Note If Chinese (Traditional or Simplified) is selected for Language in the Global setting, use the compatible Windows OS (See the table on page 2-5). Characters will not be displayed correctly if another Windows OS is used.
Exporting global data contents to a file 1 1 Select [Export setting data to files] under [Manage setting files] from the Tools menu. The [Export Setting Data to Files] menu appears. 2 Click the [Global settings] tab from the [Export Setting Data to Files] menu, then click the [Browse] button for [File Location] and select [File Location] from the [Browse for Folder] menu.
5 Click the [Close] button to finish. 5 4 [Example of output to an Excel file] Note If Chinese (Traditional or Simplified) is selected for Language in the Global setting, use the compatible Windows OS (See the table on page 2-5). Characters will not be displayed correctly if another Windows OS is used.
Communication Command Monitor This section explains how to send and receive individual communication commands from a connected CV-5001 controller. 1 1 Select [Communication terminal] from the Tools menu. The [Communication terminal] menu appears. Set each item, then confirm the communication state. Note If receiving image data over a T1, the monitor will display "output data, image data, reception confirmation message".
Capturing the Display Screen This section explains how to capture, display and save the display screen of the controller. 1 4 1 Select [Captured screens] from the Tools menu. 2 Click the [Capture] button. 3 Click the [Save image] button. The [Captured screens] menu appears. Set the saved image file name and the file format. The captured image appears in [Captured image display area]. The image is saved in the specified format.
Prohibiting Transmission Limits communication for selected connection points. 1 1 Select [Prohibit/permit communication] from the Tools menu. The[Prohibit/permit communication] menu appears. 4 [Prohibit/permit communication] 1 2 3 4 1 5 Select CV Select a connection point to change communication permissions from the connection point list. 2 Communication method Select the communication protocol. 3 CV Password Input the password set on the CV-5001 Series controller.
Setting a Password ■ Creating a new password 1 Select [Create password] under [Password options] from the Tools menu. The [Create password] appears. 1 4 [Create password] menu 2 3 2 Input an eight-character password in [Password] from the [Create password] menu. The password will be displayed as "****" on the screen. 3 Enter the same password again in [Re-enter new password] to confirm that the input was correct. The password will be displayed as "****" on the screen.
[Enter password] menu 2 4 2 Enter the current password, then click the [OK] button. 3 The [Change password] menu appears. 4 Enter the new password in [Password], then confirm it in [Re-enter new password]. Then click the [OK] button. 4 An [End] message saying "A password has been set." appears. 5 5 Click the [OK] button to finish. 1 Select [Enable/disable password] under [Password options] from the Tools menu. ■ Password settings The [Enter password] menu appears.
[Enable/disable passwords] menu 1 2 1 Management of Program Files When this is on, a password is required to manage the CV-5001 Series controller program files. 4 2 Export setting data to files When this is on, a password is required to view the CV-5001 Series controller program files in Excel. Note • If the password is lost or forgotten, uninstall the CV-H5N software and then reinstall to reset the password settings. • The password does not apply to the simulator.
Help The section explains the usage of the [Help] menu. Displaying the Help File 1 1 Select [Contents] from the [Help] menu or click the [Help] icon in the toolbar. The help file (a PDF format manual) that contains instructions on the software will be displayed. Note Adobe Acrobat Reader must be installed on your computer to read the help file. 4 Displaying Version Information 1 CV-H5N-M-WW-NO4-E 1 Select [About] from the [Help] menu. Displays the version information for the software.
4 4-84 CV-H5N-M-WW-NO4-E
Appendix App Error Message List. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-2 Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Error Message List This section explains error messages. A A-2 Item Message Detailed contents (***) Cause Resolution Connection point settings The IP address is incorrect. – Appears when the specified IP address is incorrect Confirm and reenter the IP address. The IP address is being used by another connection point. – This IP address is being used by another connection point. Confirm and reenter the IP address.
Item Message Detailed contents (***) Cause Resolution When software is in use An error has occurred. Reinstallation of the software is required. – The installation has not been successfully completed. The necessary software has been removed. Reinstall the software. Simulator Loading image data Unable to load image data. – The controller is not in the "RUN" state. The Ethernet, RS-232C or USB cable is not connected correctly. Set the controller to the "RUN" state.
Index Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-6 A Connections menu . . . . . . . . . . . . . . . . . . . . . 3-17 About . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-83 Connector cable part numbers . . . . . . . . . . . . 1-3 Acquire output setup data . . . . . . . . . . .2-28, 4-10 [Create a data log file] menu . . . . . . . . . . . . . 2-29 Adds, edits, copies or deletes a virtual cv . . 3-18 Create Data Display . . . . . . . . . . . . . . . . . . . .
[Enable/disable password] menu . . . . .4-81, 4-82 Import test images . . . . . . . . . . . . . . . . . . . . . . 2-8 Enabling Data Collection . . . . . . . . . . . . . . . . 4-28 Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-5 End collection . . . . . . . . . . . . . . . . . . . . . . . . 2-30 Internet Protocol (TCP/IP) Properties . . . . . . . . 3-7 [Enter password] menu . . . . . . . . . . . . . . . . . 4-81 IP address . . . . . . . . . . . . . . . . . . . . . . . . . . .
Opening a Program File . . . . . . . . . . . . . . . . . 4-3 Settings for a LAN Ethernet Connection . . . . . 3-9 Operating Configuration . . . . . . . . . . . . . . . . . 1-4 Shutting down . . . . . . . . . . . . . . . . . . . . . . . . . 3-2 Output data window . . . . . . . . . . . . . . . . . . . . 3-3 Shutting Down the Software . . . . . . . . . . . . . . . 4-5 Output measurement result to excel file . . . . 4-21 Simulator . . . . . . . . . . . .1-2, 1-12, 2-2, 3-18, 4-29 Output Settings . . . .
W Window . . . . . . . . . . . . . . . . . . . . . . . . .3-18, 4-66 [Window] Menu . . . . . . . . . . . . . . . . . . . . . . . 4-66 Writing program data . . . . . . . . . . . . . . . . . .
Revision History Date of printing Version January 2009 Official release March 2009 2nd edition June 2011 3rd edition Revision contents Updated for the CV-5001 Series Ver 2.
WARRANTIES AND DISCLAIMERS (1) KEYENCE warrants the Products to be free of defects in materials and workmanship for a period of one (1) year from the date of shipment. If any models or samples were shown to Buyer, such models or samples were used merely to illustrate the general type and quality of the Products and not to represent that the Products would necessarily conform to said models or samples.
Copyright (c) 2009 KEYENCE CORPORATION. All rights reserved.