Table of Contents

Advertisement

Quick Links

Code Reader Setting Guide
-CF26-SR
-CF26-LR
-CF37-SR
-CF37-LR
This product is designed and manufactured by Cognex Corporation.
*Note that the warranty and general specifications of this product
differ from that of programmable controller products.

Advertisement

Table of Contents
loading

Summary of Contents for Mitsubishi Electric Melsensor CF37-SR

  • Page 1 Code Reader Setting Guide -CF26-SR -CF26-LR -CF37-SR -CF37-LR This product is designed and manufactured by Cognex Corporation. *Note that the warranty and general specifications of this product differ from that of programmable controller products.
  • Page 3: Safety Precautions

    SAFETY PRECAUTIONS (Read these precautions before using this product.) Before using this product, please read this manual and the relevant manuals carefully and pay full attention to safety to handle the product correctly. The precautions given in this manual are concerned with this product only. For the safety precautions for other modules, refer to their respective user's manuals.
  • Page 4: Precautions For Use

    [Wiring Precautions] CAUTION ● Use only 24 VDC and observe the indicated polarity. Otherwise, fire or damage may result. [Startup and Maintenance Precautions] CAUTION ● Do not clean the code reader with highly irritating or corrosive solvent such as caustic alkali solution, methyl ethyl ketone (MEK), and gasoline.
  • Page 5: Conditions Of Use For The Product

    Notwithstanding the above restrictions, Mitsubishi Electric may in its sole discretion, authorize use of the code reader in one or more of the Prohibited Applications, provided that the usage of the code reader is limited only for the specific applications agreed to by Mitsubishi Electric and provided further that no special quality assurance or fail-safe, redundant or other safety features which exceed the general specifications of the code readers are required.
  • Page 6: Introduction

    INTRODUCTION Thank you for purchasing the Mitsubishi Electric FA sensor, MELSENSOR. This manual describes the basic operations of DataMan Setup Tool for MELSENSOR. For detailed description, use [Q & A] or [Help] on the menu of DataMan Setup Tool for MELSENSOR.
  • Page 7: Table Of Contents

    CONTENTS SAFETY PRECAUTIONS ..............1 PRECAUTIONS FOR USE .
  • Page 8 Trigger settings ................50 Exposure .
  • Page 9: Relevant Manuals

    CC-Link IE Field Network Basic connection, an SLMP connection, an RS-232 connection or an I/O connection e-Manual refers to the Mitsubishi Electric FA electronic book manuals that can be browsed using a dedicated tool.
  • Page 10: Chapter 1 Overview

    OVERVIEW Overview of DataMan Setup Tool for MELSENSOR DataMan Setup Tool for MELSENSOR (hereafter referred to as SetupTool) sets the operation of MELSENSOR Code Reader CF Series. Each process for connecting, adjusting, and testing MELSENSOR Code Reader CF Series can be set easily in accordance with application steps.
  • Page 11 MEMO 1 OVERVIEW 1.1 Overview of DataMan Setup Tool for MELSENSOR...
  • Page 12: Chapter 2 Setuptool Installation

    Ethernet 100 Mbps (1 Gbps recommended) Installation procedure Download the installer of SetupTool from the Mitsubishi Electric FA website. www.MitsubishiElectric.co.jp/fa Close all running applications. Run the obtained installer. Select or enter the necessary information according to the instructions shown in the screen.
  • Page 13 MEMO 2 SetupTool INSTALLATION 2.1 Installation...
  • Page 14: Chapter 3 Code Reader Setup Flow Chart

    CODE READER SETUP FLOW CHART Setup Flow Chart Wiring Wire a code reader by referring to 'Chapter 4 Section 4.1 Configuration and Wiring (1)Wiring of CF26/CF37 Series.' When communicating and controlling the code reader with industrial protocols such as SLMP, only power lines need to be wired. Connection Connect to a personal computer by referring to 'Chapter 5 CONNECTING with (2)Connection...
  • Page 15 MEMO 3 CODE READER SETUP FLOW CHART 3.1 Setup Flow Chart...
  • Page 16: Chapter 4 Configurations

    CONFIGURATIONS Configuration and Wiring of CF26/CF37 Series Configuration Personal computer Switching hub Ethernet cable (COGNEX products) Code Reader CF26-SR (CCB-84901-2001-**) Ethernet cable (CCB-84901-2002-**) Breakout cable (COGNEX products) 24 VDC CF26-LR (CCB-PWRIO-**) power supply black CF37-SR CF37-LR 24 VDC (CCB-M12X12FS-05) power supply brown blue For details on the Ethernet cables (COGNEX products) and breakout cables (COGNEX products), refer to the user's manual...
  • Page 17 MEMO 4 CONFIGURATIONS 4.1 Configuration and Wiring of CF26/CF37 Series...
  • Page 18: Chapter 5 Connecting With Setuptool

    CONNECTING with SetupTool Set an IP address for a personal computer and the code reader that matches each other to connect the code reader and SetupTool. An IP address is an ID number assigned to a device to be communicated with Ethernet. To establish communication with devices, an IP address that matches with the IP address of each device needs to be set.
  • Page 19: How To Check And Set Personal Computer Ip Address

    How to Check and Set Personal Computer IP Address This section shows the method for checking and setting a personal computer IP address (Windows 7/Windows 10). Ò Ó  Open [Control Panel] and change the setting of "View by" to "Small icons." ...
  • Page 20 Õ  Right-click an adapter to be connected to a code reader (Ethernet 3 in this example), and select [Properties] from the shortcut menu. Ö  Select "Internet Protocol Version 4 (TCP/IPv4)."  Click the [Properties] button. 5 CONNECTING with SetupTool 5.1 How to Check and Set Personal Computer IP Address...
  • Page 21  The setting of the IP address and the subnet mask can be checked or set as necessary.  Click the [OK] button. 5 CONNECTING with SetupTool 5.1 How to Check and Set Personal Computer IP Address...
  • Page 22: Starting Setuptool

    Starting SetupTool Start SetupTool. The [Connect] in the [Home] tab is displayed immediately after starting SetupTool. When SetupTool recognizes a code reader, "Name," "Address," "Firmware Version," and "Status" of the code reader are displayed under the "Network" section and the information can be checked. Whether the IP address matches with the one set in the connected personal computer can be checked in "Status."...
  • Page 23 ■ When a warning message appears A warning message may appear, which indicates that a function of DataMan Setup Tool is blocked by the Windows firewall. Select the checkboxes of "Private networks" and "Public networks," click the [Allow access] button, then continue the operation.
  • Page 24  Click the [Change settings] button. Check if "DataMan Setup Tool" is displayed in the list. If it is displayed, the operations in step  and  are not necessary.  Click the [Allow another app] button.  Click the [Browse] button in the "Add an app" screen, select "SetupTool.exe" in the folder where SetupTool is installed, then click the [Add] button.
  • Page 25  Select the checkboxes of "Name," "Domain," "Private," and "Public" for "DataMan Setup Tool" in the list, and click the [OK] button. 5 CONNECTING with SetupTool 5.2 Starting SetupTool...
  • Page 26: How To Check And Set Code Reader Ip Address

    How to Check and Set Code Reader IP Address Setting a static IP address to a code reader Ó Ò  Click [Repair & Support] on the left side of the SetupTool screen and select a code reader icon displayed under the "Network"...
  • Page 27 Õ  When the IP address is changed, click [Connect] on the left side of the SetupTool screen. Select the code reader icon to be connected, and click the [Connect] button on the lower right of the screen or double-click the icon. Copying the static IP address of a personal computer ...
  • Page 28 Õ Ö  The IP address whose the fourth value of the selected Ethernet port is set to "0" is configured. Set the forth value "0" to the different value from other devices (102 is entered in this example).  Click the [Apply] button. Wait for the code reader to be restarted and the IP address to be changed. (Time required: 30 sec) Perform the procedure of ...
  • Page 29: Chapter 6 Setuptool Screen

    SetupTool SCREEN Screen Configuration The following shows the screen configuration when the code reader is connected. The details of each screen are explained in Section 6.2 or later. Operation Icons Menu Tabs Image Display Area Shortcut Operation Icon Linked with the selected menu tab Setting Area Application Steps •...
  • Page 30 • "Result History" and "Code Quality" can be displayed. 6 SetupTool SCREEN 6.1 Screen Configuration...
  • Page 31: Shortcut Operation Icon

    Shortcut Operation Icon The following shows the operation icons which are always displayed on the upper left of the SetupTool screen. Trigger Save Settings (F4) Live Reset Configuration • Trigger: To read codes using the code reader. • Live: To switch a display mode between a motion video (Live) and a still image. It is switched to a still image during the operation.
  • Page 32: Application Steps

    Application Steps A setting flow is always displayed on the left side of the screen. The code reader can be set in order from the top. Not all the items need to be set. Application Type To select a reading condition from the pull-down menu. By doing so, the assistant functions in [Application Details] are enabled.
  • Page 33: Menu Tabs And Operation Icons

    Menu Tabs and Operation Icons Basic settings can be configured according to 'Application Steps.' However, when executing the specific operation such as "Update Firmware" and "Read saved data" individually, the target operation icon needs to be selected from the menu tabs ([Home], [Actions], [Settings], [System] and [View]).
  • Page 34: Image Panel

    Image Panel Image Panel displays an image when reading operation is completed. (1) When a code is read successfully, the code is enclosed with a green frame. (2) The read data and cell size of the code in units of PPM are displayed in the screen. (3) Operation and settings for the displayed image can be performed by using operation icons on the upper and lower part of the Image Panel.
  • Page 35 (11) (12) (10) (13) (14) (4) Magnifying glass icons To zoom in and out the displaying image. (5) Autofit Mode To restore the zoomed-in or zoomed-out image to the normal size. (6) Pixel to Pixel Mode To display pixel grids emphatically when a zoomed image is used. (7) Reset ROI To restore the entire image to the standard size when a reading region (a blue frame within the image) is adjusted.
  • Page 36: Result History

    Result History Result History displays reading result information such as read codes and reading time. For the display of Result History, refer to 'View' in 'Section 6.4 Menu Tabs and Operation Icons.' (2) (3) (4) (5) (1)  Clear: To clear result histories. (2) Pause ...
  • Page 37: Screen Layout Customization (1)

    Screen Layout Customization (1) The screen layout can be customized. Hiding operation icons Operation icons are hidden by clicking [], and are displayed by clicking [] on the upper right of the screen. Adjusting the area size When moving a cursor which is close to a boundary between areas, the cursor is displayed as the mark shown below. The area size can be adjusted by moving the mark vertically or horizontally with holding a mouse being clicked.
  • Page 38: Screen Layout Customization (2)

    Screen Layout Customization (2) Displaying 'Image Panel' and 'Result History' side by side Click the [View] tab on the screen and check that 'Image Panel' and 'Result History' are turned ON. 'Result History' is displayed on the right-most side of the screen at the first startup. When it is not displayed on the screen, click the [View] tab and turn ON 'Result History.' Ò...
  • Page 39: Screen Layout Customization (3)

    Screen Layout Customization (3) Displaying 'Image Panel' and 'Code Quality' side by side Click the [View] tab on the screen and check that 'Image Panel' and 'Result History' are turned ON. Ò  When holding a mouse being clicked on the [Code Quality] tab under the 'Image Panel,' a cross cursor appears. Arrange the tab to a desired position by following the same procedure as Section 6.8 Displaying 'Image Panel' and 'Result History' side by side.
  • Page 40 'Pin mark' and '' on 'Image Panel,' 'Result History,' and 'Code Quality' Ó Ò  The collapsed part is displayed by selecting the part at the right-most side of the screen ('Result History' in the example above).  By clicking the 'pin mark' to switch the direction of the mark from horizontal to vertical, the window is fixed and always displayed without collapsing to the side.
  • Page 41: Chapter 7 Setting Code Reader

    SETTING CODE READER Installing a Code Reader Points for installation Distance When the distance between a code reader and a work is close, the imaging range gets narrower and the target is captured in the larger size. When the distance is far, the imaging range gets wider and the target is captured in the smaller size. If the distance is set too far, codes may not be read.
  • Page 42: Settings In Tune

    Settings in Tune Tune is a function to optimize focus, brightness (exposure and gain), and lightning patterns. The code reader can be configured easily by using tuning function. The following shows the procedure for setting parameters using Tune. Preparation for tuning •...
  • Page 43 By enabling "Enable Beeper on Good Read" in [Inputs/Outputs] of [Application Steps], a beep sound is generated when a code is recognized during tuning. Reading test By clicking the [Test] button, an image is decoded according to the parameters set by tuning results. The decoding status of the following items can be checked at a reading test.
  • Page 44: Parameter Setting Using A Configuration File

    Parameter Setting Using a Configuration File Past parameter settings can be reflected to the code reader by using a configuration file which is saved previously. The following shows the procedure of setting parameter using a configuration file. Open Configuration Ò Ó...
  • Page 45 Õ  After specifying the file, a message whether to restore network settings appears. Select [Yes] or [No] as necessary. 7 SETTING CODE READER 7.3 Parameter Setting Using a Configuration File...
  • Page 46: Chapter 8 Application Steps

    Application Steps Optimize Image Mainly, settings for reading operation are configured. This is the area where 'Tune' is configured as the main setting of the code reader. Optimize Image consists of three buttons: [Live], [Tune], and [Test]. Each button has a drop-down window to set additional options.
  • Page 47 Test This function can actually test for reading codes by using created settings. Additionally, the number of trigger input can be set by using "Trigger On" and "Trigger Off" in the drop-down window of the [Test] button. Trigger On Trigger Off Trigger occurrence frequency 20 ms 1980 ms...
  • Page 48 Code reading time can be checked on a graph. Click the [Clear] button to reset the graph. 8 Application Steps 8.1 Optimize Image...
  • Page 49: Code Details

    Code Details Code types (symbols) to be read by using the code reader are specified. By selecting the checkbox of each symbol, the symbol is specified as the reading target code. The unselected symbols cannot be read. The selected symbols are displayed with the orange background.
  • Page 50 Automatic Symbology Detection This button is clicked when the code symbols to be read are uncertain. Perform the Live display in advance for a focus adjustment to acquire an image which is focused on a code. Ò  Click [Automatic Symbology Detection]. Ó...
  • Page 51 How many codes do you need to read for each trigger? The number of codes to be read is specified (1 is set as a default). It can be set if a captured image contains multiple codes.  Set the number of codes to be read in "Number of Codes." ...
  • Page 52: Application Details

    Application Details Settings such as trigger type, delay type, timeout, interval, burst length, exposure, and gain can be configured by using assistant functions that can help for configuring these settings. Trigger settings Trigger Assistant By selecting an application type, trigger options suitable for the application type can be checked and set using the trigger assistant function.
  • Page 53 Trigger Type • Single (external) Exposure and image acquisition are performed once per trigger. Additionally, this trigger mode supports for a timeout setting. • Continuous (external) Images are acquired at the specified image acquisition interval as long as the trigger signal remains active. The code reader stops receiving the trigger signal once a code is read.
  • Page 54 • Burst (external) Multiple images are acquired per trigger and the first symbol detected among the images is decoded. The number of image to be acquired and the interval between each image acquisition can be set. Additionally, this trigger mode supports a timeout setting. A timeout setting value is set to read for each acquired image, not for the whole burst.
  • Page 55 • Presentation (internal) Images are acquired and codes are read without external trigger inputs. Unlike the trigger type of "Self" which acquires images at equal intervals, the image acquisition interval varies depending on each code. This trigger mode does not support a timeout setting.
  • Page 56 Interval Assistant When "Self (internal)" or "Continuous (external)" is selected for a trigger type, the image acquisition interval can be calculated by using Interval Assistant. Select one of the application details to be input such as the field of view size, distance to code and code element size, and set the required values to calculate the interval.
  • Page 57: Exposure

    Exposure Exposure Assistant When an application type other than "Indexed, Stationary" is selected, the optimized exposure time can be set by using Exposure Assistant. Select one of the application details to be input such as the field of view size, distance to code, and code element size, and set the required values to calculate the exposure time.
  • Page 58 Maximum Exposure Configure the maximum exposure time that can be set when executing [Optimize Brightness] in the [Action] tab. By clicking the [Optimize Brightness] icon, the appropriate exposure setting with the value below the 'Maximum Exposure' value can be obtained. Gain Factor The sensitivity of an image sensor.
  • Page 59: Decode Settings

    Decode Settings For trigger types whose codes are read by external trigger inputs, triggers can be input at the required timing. For example, when a code reader reads a code from a target object flowing on a conveyor, the code can be read by inputting triggers at the appropriate timing.
  • Page 60 Delay Mode After First Read: A delay occurs after the first code is read; therefore, a timer is not reset. This means, in a trigger mode which handles multiple images by reading codes continuously, a code is read repeatedly when the code is kept in front of the code reader for an interval longer than 'Re-read delay.' ♦...
  • Page 61: Format Data

    Format Data The format of output character strings and output contents for each reading code are set. No Read Output String Character strings to be output when code read has failed can be set. If this item is not set, no character strings will be output when a code cannot be read.
  • Page 62 Basic Formatting The type of a format which is used when outputting codes read by the code reader can be set. Output contents can be configured for each code separately, or common output settings can be configured under the [Universal] tab. Configuring either one of the settings is recommended.
  • Page 63: Inputs/Outputs

    Inputs/Outputs The operation of the [TRIG] button and the [TUNE] button, inputs, and outputs can be set. TRIG Button By pressing the [TRIG] button for three seconds, all the selected operations can be performed. Optimize Brightness Exposure time is optimized. Optimize Focus A focus is optimized.
  • Page 64 Set Match String When executing 'Match String Validation' of Data Validation, set the read data to "Match String." Test Mode This mode can be used when "Single," "Burst," or "Self" is set for trigger type. Additionally, it can be selected by unselecting all the other checkboxes in the [TRIG Button] tab. A reading test is performed by inputting triggers at the trigger interval specified in the test mode.
  • Page 65: Tune Button

    TUNE Button Tuning is executed by pressing the [TUNE] button for three seconds. Disable Reader Button The [TUNE] button is disabled. 8 Application Steps 8.5 Inputs/Outputs...
  • Page 66: Inputs

    Inputs The operation of the code reader can be set in the "Inputs" tab. The code reader performs the set functions by receiving signals externally. Trigger On Codes are read by input signals. Trigger Off Reading operation ends by input signals. An operation example is shown as below when the following settings are configured.
  • Page 67 Train Code, Optimize Brightness, and Train Match String Refer to 'TRIG Button' in 'Section 8.5 Inputs/Outputs.' Optimize Focus and Read Configuration Code Refer to 'TRIG Button' in 'Section 8.5 Inputs/Outputs.' Tune Refer to 'TUNE Button' in 'Section 8.5 Inputs/Outputs.' Allow Buffered No Read Images This function can be used only when "Continuous"...
  • Page 68: Outputs

    Outputs Output signals are set. Strobe When using external lights, this function can provide strobe signals to the lights. Read/No Read This function can output signals respectively when a code is read or not read. Validation Failure A signal is output when validation is failed. Trigger Overrun/Buffer Overflow A signal is output when each error occurs.
  • Page 69: Output Delay

    Output Delay This function can delay signal outputs. It can be used when "Manual," "Single," "Burst," or "Continuous" is selected for a trigger type. 8 Application Steps 8.5 Inputs/Outputs...
  • Page 70: Communications

    Communications The settings for connecting the code reader with the connected devices via serial or Ethernet (SLMP, CC-Link IE Field Network Basic, EtherNet/IP , and MODBUS/TCP ) communication are configured. *1 Only the CF37 series supports it. Serial Configure serial port settings. For a setting example when communicating the code reader with a programmable controller via serial communication, refer to the following: Code Reader Connection Guide...
  • Page 71: Save Settings

    Save Settings 'Save Settings' is rather a required work item than a work step. It saves current settings to the persistent memory of the code reader so that the same settings can be applied when restarting the code reader. SetupTool also saves a backup file to a default backup folder in the personal computer in use.
  • Page 72: Chapter 9 Home Tab Functions

    HOME TAB FUNCTIONS Backup This is a function to create a code reader backup file. Even when multiple code readers are selected, the backup files can be created at once. Precautions In the following cases, the [Backup] button is grayed out and the button cannot be clicked. •...
  • Page 73 Ö  The backup status is displayed in the "Mass Device Backup" dialog. Check that "Completed" is displayed and click the [Close] button. 9 HOME TAB FUNCTIONS 9.1 Backup...
  • Page 74: Restore

    Restore This is a function to restore a code reader using a backup file. Precautions In the following cases, the [Restore] button is grayed out and the button cannot be clicked. • A matched IP address is not set. • The code reader is connected with SetupTool. •...
  • Page 75 Ö The following four options are available as a configuration source. • Configuration File To restore with a specified backup file. • Device To select a code reader which exists on a current network, and restore with the setting information of the selected code reader.
  • Page 76 When restoring communication settings, click the [Restore with network settings] button from the submenu of the [Restore] button.  The restoring status is displayed in the "Restoring Devices" dialog. Check that "Completed" is displayed and click the [Close] button. 9 HOME TAB FUNCTIONS 9.2 Restore...
  • Page 77: Update Firmware

    Update Firmware This is a function to update a code reader firmware. The procedure for updating a firmware is shown as below. Ò Õ Ó Ô  Select the [Home] tab.  Click [Update Firmware].  Select a code reader to update the firmware. ...
  • Page 78  Check that the selected firmware file is correct according to the displayed file name, and click the [Upload Firmware] button. 9 HOME TAB FUNCTIONS 9.3 Update Firmware...
  • Page 79: Language Settings

    Language Settings SetupTool can switch a language between Japanese and English. The procedure for switching a language in SetupTool is shown as below. Ò Ó  Select the [Home] tab.  Click [Options]. 9 HOME TAB FUNCTIONS 9.4 Language Settings...
  • Page 80 Ô Õ Ö  Select "Language" in the Options screen to be displayed.  Click the [OK] button in the information dialog to be displayed.  Click the [OK] button in the Options screen.  Restart SetupTool. 9 HOME TAB FUNCTIONS 9.4 Language Settings...
  • Page 81: Appendix

    APPENDIX Appendix 1 Read Setups A code reader can have up to 16 different settings. This means a code can be read by using up to 16 settings. If the code is failed to read by the first setting, the second setting is used, and if the reading is failed, the third setting is used and so on. When the code is read successfully during the process, the reading ends at that time and no further reading is performed.
  • Page 82 Ô  By selecting [Add Setup], the "Add Setup" dialog is displayed. Select "Use defaults" or "Copy values from setup" and click the [OK] button to add the setting. Use defaults Add new settings from default values. Copy values from setup Copy values from existing settings and add new settings.
  • Page 83  Set the execution order of created read setups. Last Successful Decode When two settings, Setup 0 and Setup 1, are present and the last code is read using Setup 1, the next code reading will be started using Setup1 at first. Setup 0 A code is always read by determined settings.
  • Page 84: Appendix 2 Code Quality

    Appendix 2 Code Quality CF Series can verify whether or not the acquired image satisfies a quality guideline which is defined by the code quality standard. For further information on the specific code quality standard and metrics, refer to 'DataMan Communications and Programming Guide.' Ò...
  • Page 85 Ó  Select the metric of a reading target code. (AIM-DPM is selected for Data Matrix in this example.) Ô  By clicking the [Trigger] button to acquire an image and read the code, the result is displayed in the "Code Quality" screen. The reading result can be output with the whole grades or the grade of each item being added.
  • Page 86: Appendix 3 External Transfer Of Images And Reading Results Using Ftp

    Appendix 3 External Transfer of Images and Reading Results Using FTP CF Series can transfer and save images (from successful reads, unsuccessful reads, or both) as well as read results to an external location using FTP. The following describes the method of saving images which cannot be read and saving code reading information.
  • Page 87 Saving an image which cannot be read Ó  Configure the following settings. "What Results to Buffer": No Read "What Images to Buffer for a Result": Auto "No Read Image Mode": No Read Image Period "Size": Full "Format": Bitmap (Set "Full" and "Bitmap" to save the image for reproducing the phenomenon.) APPX Appendix 3 External Transfer of Images and Reading Results Using FTP...
  • Page 88 Ô  Configure the following settings in the [Image FTP Transfer] tab. Set information according to the FTP server to be used (Server Address, FTP port (normally 21), Username, and Password) "File Name": Set a file name to be used as an image (default) file name. Additionally, when storing the file in a different place from the root directory, set a path name together.
  • Page 89 Saving code reading information Õ  Configure the following settings in the [Result FTP Transfer] tab. Set information according to the FTP server to be used (Server Address, FTP port (normally 21), Username, and Password) "File Name": Set a file name to be used as a result.txt (default) file name. Additionally, when storing the file in a different place from the root directory, set a path name together.
  • Page 90: Appendix 4 Supplemental Remarks For Tuning (1)

    Appendix 4 Supplemental Remarks for Tuning (1) Adjusting a reading region Focus adjustment in Tune may be failed if a work is a 3D object. Additionally, a specific code may not be tuned when multiple codes are present within the reading range. The corrective action for these cases can be taken by adjusting the reading region.
  • Page 91: Appendix 5 Supplemental Remarks For Tuning (2)

    Appendix 5 Supplemental Remarks for Tuning (2) Tuning condition setting Conditions for executing tuning can be set by clicking [] on the right side of [Tune]. Tune Light Banks: To execute tuning for optimizing a lightening pattern. Force Exhaustive Tuning: To execute tuning by attempting all the lightening patterns. Enable Filter Tuning: To execute tuning by using image filters.
  • Page 92 MEMO APPX Appendix 5 Supplemental Remarks for Tuning (2)
  • Page 93: Appendix 6 Tuning After Optimizing Maximum Exposure Time

    Appendix 6 Tuning After Optimizing Maximum Exposure Time Exposure time indicates the time for acquiring an image. The longer the exposure time, the brighter the image becomes. However, if a target code moves (including vibration), the image blur is likely to be occurred. Additionally, the exposure time is added to the reading time;...
  • Page 94 Ó  Enter a value of each required parameter and click [Save and Close]. APPX Appendix 6 Tuning After Optimizing Maximum Exposure Time...
  • Page 95: Appendix 7 Exposure Time, Gain Factor, And Image Filtering

    Appendix 7 Exposure Time, Gain Factor, and Image Filtering Adjusting exposure time and gain factor The larger the values of 'Exposure' and 'Gain Factor,' the brighter the acquiring image becomes. Increase the "Gain Factor" value when the 'Exposure' value cannot be increased. 'Gain' indicates the sensitivity of an image sensor. Increasing the value can make an image brighter but the image quality becomes lower.
  • Page 96 Ó  Click the [Add] button and select a filter type to use from "Filter Properties" to set the filter parameters. Ô Õ  Set an image to use for reading codes. Original: Read an acquired image. Filtered: Read a filtered image. (In this example, the set filtered image is used for reading DataMatrix codes.) ...
  • Page 97: Appendix 8 Customizing Output Data

    Appendix 8 Customizing Output Data Adding the number of a read setup whose reading is succeeded to output data For details of the read setups settings, refer to 'Appendix 1 Read Setups.' The following describes the setting method when the target code is Data Matrix. Ò...
  • Page 98 The following shows the output image with or without setting <Use Read Setup>. <Full string>: <Full string><SP><Used Read Setup>: Adding code quality results (grades) It is assumed that the setting for executing Code Quality has already been set. When other settings are required, add the settings to "Universal" as this setting is added to "Universal" of [Format Data]. Ò...
  • Page 99: Appendix 9 Setting An Ip Address To A Code Reader (Dhcp)

    Appendix 9 Setting an IP Address to a Code Reader (DHCP) In the default setting of a code reader, the IP address is automatically set using DHCP server. This section explains the procedure for changing the setting of the code reader in which a static IP address has already been set to the setting whose the IP address is automatically set using DHCP.
  • Page 100: Appendix 10Virtual Device

    Appendix 10 Virtual Device A virtual device can be created based on a configuration file or a default setting device. The created virtual device can be connected from SetupTool in the same way as a regular device. However, all settings are read-only and therefore the settings cannot be changed and operated.
  • Page 101 When "Create device from configuration file" is selected When "Create a device with factory defaults" is selected Ô Ô Ô Ô After selecting a configuration file, select a model and click the [Finish] Set "Device Name," "Device Type," "Firmware Version," and "Model" button.
  • Page 102: Appendix 11 Outputting Any Characters From A Decoded Character String

    Appendix 11 Outputting any characters from a decoded character string A character string read with a code reader can be output by setting a range. The output range can be set either on a code reader or programmable controller side. This section shows a procedure to specify a range using a string of 10 characters (1234567890).
  • Page 103 Enter an output range in "Sub-string range," and click the [OK] button. Examples of an output range which can be specified are as follows: Output range Sub-string range From the 1st to 3rd characters From the 2nd to 5th characters From the 8th to last characters Output range: from the 1st to 3rd characters Enter "-3."...
  • Page 104 Input a trigger, and a character string of the set range is output in the screen and "Result." Output range: from the 1st to 3rd characters Output range: from the 2nd to 5th characters APPX Appendix 11 Outputting any characters from a decoded character string...
  • Page 105 Output range: from the 8th to last characters To add CR/LF at the end of an output data, select the checkbox of "CR/LF" for "Terminating Text." APPX Appendix 11 Outputting any characters from a decoded character string...
  • Page 106: On A Programmable Controller Side

    On a programmable controller side When specifying an output range of a character string on a programmable controller side, the range can be specified by creating a program using the MIDR instruction. The specifications and operation examples when using the MIDR instruction in MELSEC iQ-R series CPU modules are shown bellow.
  • Page 107 Processing details • These instructions extract the data by the number of characters specify by (s2)+1 from the location specified by (s2) in the character string data stored in the device number specified by (s1) and later, and store the extracted data in the device number specified by (d) and later.
  • Page 108 Operation examples Check the operation with an engineering tool. The following table shows operation conditions. Device Description Location of the first extracted character D6(D5+1) Number of extracted characters (However, '-1' means the number of characters from the first extracted character to last one.) D1015 Storage location of read result (1234567890 has set)
  • Page 109: Revisions

    Japanese manual number: BCN-P5999-1257-C This manual confers no industrial property rights or any rights of any other kind, nor does it confer any patent licenses. Mitsubishi Electric Corporation cannot be held responsible for any problems involving industrial property rights which may occur as a result of using the contents noted in this manual.
  • Page 110: Trademarks

    TRADEMARKS Microsoft and Windows are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries. Adobe, Acrobat, and Reader are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States and/or other countries. Cognex and DataMan are registered trademarks of Cognex Corporation.
  • Page 112 Cognex Corporation www.cognex.com BCN-P5999-1258-C(2105) HEAD OFFICE : TOKYO BUILDING, 2-7-3 MARUNOUCHI, CHIYODA-KU, TOKYO 100-8310, JAPAN NAGOYA WORKS : 1-14 , YADA-MINAMI 5-CHOME , HIGASHI-KU, NAGOYA , JAPAN When exported from Japan, this manual does not require application to the Ministry of Economy, Trade and Industry for service transaction permission. Specifications subject to change without notice.

This manual is also suitable for:

Melsensor cf37-lrMelsensor cf26-srMelsensor cf26-lr

Table of Contents