Omron F150-3 - MANUAL 2 Operation Manual
Omron F150-3 - MANUAL 2 Operation Manual

Omron F150-3 - MANUAL 2 Operation Manual

Vision sensor expert menu
Table of Contents

Advertisement

Quick Links

Cat. No. Z142-E1-02B
F150-3
Vision Sensor
Manual 2:
EXPERT MENU
OPERATION MANUAL

Advertisement

Table of Contents
loading

Summary of Contents for Omron F150-3 - MANUAL 2

  • Page 1 Cat. No. Z142-E1-02B F150-3 Vision Sensor Manual 2: EXPERT MENU OPERATION MANUAL...
  • Page 2 F150-3 Vision Sensor Expert Menu Operation Manual Revised August 2004...
  • Page 3 WARRANTY OMRON’s exclusive warranty is that the products are free from defects in materials and workmanship for a period of one year (or other period if specified) from date of sale by OMRON. OMRON MAKES NO WARRANTY OR REPRESENTATION, EXPRESS OR IMPLIED, REGARDING NON-INFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR PARTICULAR PURPOSE OF THE PRODUCTS.
  • Page 4 The following are some examples of applications for which particular attention must be given. This is not intended to be an exhaustive list of all possible uses of the products, nor is it intended to imply that the uses listed may be suitable for the products: •...
  • Page 5 Product specifications and accessories may be changed at any time based on improvements and other reasons. It is our practice to change model numbers when published ratings or features are changed, or when significant construction changes are made. However, some specifications of the product may be changed without any notice. When in doubt, special model numbers may be assigned to fix or establish key specifications for your application on your request.
  • Page 6 Inc.  OMRON, 2000 All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form, or by any means, mechanical, electronic, photocopying, recording, or otherwise, without the prior written permission of OMRON.
  • Page 7 viii...
  • Page 8: Table Of Contents

    Drawing Measurement Regions and Setting Evaluation Criteria ........
  • Page 9 Communications Settings..... . I/O Formats ....... .
  • Page 10 10-1 Communications Settings..... . 10-2 Input Format ....... .
  • Page 12 This manual describes the operation of the F150 Vision Sensor using the Expert Menu and includes the sections described below. This is one of two manuals used to operate the F150. Refer to the following table for the contents of each manual.
  • Page 14: Precautions

    F150 Vision Sensor. Safety Precautions ......
  • Page 15: Safety Precautions

    Safety Precautions Safety Precautions !Caution Do not touch fluorescent or halogen lights while the power is ON or immedi- ately after the power is turned OFF. These lights generate heat and can cause burns. !Caution Do not use the F150 in environments with flammable or explosive gases.
  • Page 16: General Precautions

    OMRON representa- tive. Make sure that the ratings and performance characteristics of the product are sufficient for the systems, machines, and equipment, and be sure to provide the systems, machines, and equipment with double safety mechanisms.
  • Page 18: The Expert Menu Mode

    The Expert Menu mode enables use of all the capabilities of the F150. Features ........
  • Page 19: Features

    Position Displacement Compensation Page 62 Position displacement compensation can be used to correct the position of the measurement object using gray search, binary center of gravity and area, binary center of gravity and axis angle or gray edge position. → Changing Scenes Page 132 Up to 16 different sets of measurement conditions can be set.
  • Page 20 Computer → Page 29 Two-camera Unit Two Cameras can be connected to the F150 via the Two-camera Unit. Two-camera Unit Camera 1 Camera 0...
  • Page 21: Measurement Methods

    Measurement region Number of white pixels = area Note If the number of white pixels is the same as an acceptable product, the product will be accepted even if the shape is different. To discriminate objects by shape, use either gray...
  • Page 22: Binary Center Of Gravity And Axis Angle

    Gravity els as a sheet of thick paper of uniform thickness. The center of gravity is the point at which the sheet of paper would bal- ance when placed on a sharp point. For example, the center of gravity for a circular object would be the center of the circle.
  • Page 23: Gray Search And Precise Search

    Measurement Methods Section 1-2 Axis Angle The axis angle is the angle of the major axis of an ellipse that is diagrammatically equivalent to the area occupied by the white pixels. Measurement region The coordinates for the center of gravity and the axis angle are obtained.
  • Page 24: Gray Edge Position

    Measurement Methods Section 1-2 2 The part of the input image that most corresponds to the model is found. The extent of conformity with the model is expressed as a correlation value. A correlation value be- tween 0 and 100 is displayed. The higher the correlation value, the more similar the input image is to the model.
  • Page 25: Edge Pitch

    Y direction. 1-2-5 Edge Pitch Use edge pitch to find the number of objects. This method is useful when monitoring different models mixed together such as ICs and connectors, and for distinguishing different types of model.
  • Page 26: Surface Defect

    2 The difference in density between an element above and an element to the left in the same row is calculated for each element. The larger of these intervals is the defect for the element.
  • Page 27: Density Averaging

    When inspecting an area containing a design or mark, use a gray search or a precise search. The image will be compared with the model, and the level of similarity (the correlation) will be obtained.
  • Page 28 Section 1-2 Example: Checking the Position of a Label The relative search function can be used to confirm the posi- tion of a label by checking the relative positions of the label and one corner of the measurement object. Correct position...
  • Page 29: Menu Tree

    Error method Page 174 → Version Page 175 → Tool Page 178 → Save Page 181 Note When the Two-camera Unit is used, the menu configura- tion for Set mode will be different. Refer to the following pages for details.
  • Page 30: With Two-Camera Unit

    Defect (...) Page 105 → Density AVG Page 108 → Relative search Page 112 Note The shutter speed 01 setting under Adjust 0 applies to both Camera 0 and Camera 1. Camera 1 → Page 48 Adjust 1 Filtering 1 →...
  • Page 31 Section 1-3 Both Cameras → Page 122 Expression Judge → Data Page 123 Vertical Composition Mode, Horizontal Composition Modes 1 and 2 Camera 0 → Shutter speed 01 (see note 1) Page 47 Adjust 0 → Page 48 Filtering 01 →...
  • Page 32 Menu Tree Section 1-3 Note The shutter speed 01, filtering 01, and BGS levels 01 set- tings under adjust 0, and the adjust 01 setting under posi- tion compensation 0 are common to Camera 0 and Camera 1. Camera 0 Mode, Camera 1 Mode →...
  • Page 33: Overview Of F150 Installation And Operation

    Overview of F150 Installation and Operation Section 1-4 Overview of F150 Installation and Operation The following table shows the basic steps that must be per- formed to use the F150. Step Manual Setup Manual Unit Connections and Wiring Video Programmable Controller...
  • Page 34: Input And Output

    Input and Output Section 1-5 Input and Output The kind of communications supported varies according to the model as shown below. Item F150-C10E-3, F150-C15E-3 F150-C10E-3-DRT External Connector for RS-232C Connector for RS-232C communications connections connections Terminal block Terminal block Connector for CompoBus/D...
  • Page 36: Basic Operations

    2-1-1 Starting ........
  • Page 37: Starting And Quitting

    Quitting Save all settings to flash memory before turning OFF the power. The data in flash memory is loaded each time the F150 is started. Any changes made will be lost unless they are saved to the flash memory. The measurement images and sample images in memory are...
  • Page 38 Starting and Quitting Section 2-1 not be saved to flash memory, but they can be backed up on a computer if required. → Page 181 !Caution Do not turn OFF the power or input a RESET signal while a message is being displayed in any save or load opera- tion.
  • Page 39: Menu Operations

    Menu Operations Section 2-2 When saving is completed, the screen from step 1 will be returned. 5 Turn OFF the power to the F150. Menu Operations 2-2-1 Input Devices The menu operations are performed from either the Console or the RS-232C.
  • Page 40: Screen Displays

    ENT: Enter Key Executes a function or sets a value. Up and Down Keys Used to move the cursor up and down to select items. Also used to set values. The Up Key will increase a value by 1 and the Down Key will decrease a value by 1.
  • Page 41 Menu Operations Section 2-2 Scene The current scene number is given. There are 16 scenes that Number can be created. Mode The current operating mode is displayed. Display Meaning Sets the measurement conditions. Checks whether measurement is being performed (Monitor) correctly under the set measurement conditions.
  • Page 42: Menu Tree

    F150 menus are hierarchical. The cursor is moved to the required functions to set measurement conditions. Use the fol- lowing procedure to move around the menu tree. 1 Move the cursor to the desired function, using the Up, Down, Left, and Right Cursor Keys. 2 Press the ENT Key.
  • Page 43: Inputting Values

    This procedure is mainly used for setting judgement condi- tions and system conditions. 1 Move the cursor to the item for which a value is to be changed and press the ENT Key. The cursor size will change to a cursor the size of a single digit.
  • Page 44 Intelligent lighting 0 Out of use Out of use ▼ F150-A20 Intelligent lighting 1 Out of use ▼ 3 Move the cursor to the desired selection using the Up and Down Keys. Camera unit ▼ Out of use Intelligent lighting 0 Out of use Out of use ▼...
  • Page 45: Drawing A Region

    Polygon Specify up to 10 neighboring vertices. At the last point, press the ENT Key twice and the last point will be joined to the first point and the figure will be drawn. The type and number of regions that can be drawn, depend on the measurement method.
  • Page 46: Two-Camera Unit

    Two-camera Unit Section 2-3 OR mode and then draw figure 2 in NOT mode. Measurement will only be performed for the outer band. Figure 1 (draw with OR) Figure 2 (draw with NOT) Two-camera Unit Using the Two-camera Unit, two Cameras can be connected...
  • Page 47 If the Camera with Intelligent Light Source (F150-SLC20/ SLC50) or the Camera with Light Source (F150-SL20A/ SL50A) is used, there is a slight difference in the time at which the light sources for the respective Cameras come ON (first Camera 0 then Camera 1). Therefore, there is no mutual light...
  • Page 48 Two-camera Unit Section 2-3 Measuring Large Objects with One Controller Positioning Using two Cameras, the field of vision can be split in two and the coordinates of positioning markings can be obtained. Two-camera Unit Camera Camera F150 Positioning data output...
  • Page 49: Two-Camera Unit Menus

    Measurement processing can be performed on images obtained by joining Camera 0 images and Camera 1 images. This means that the image required can be obtained in the time it usually takes to obtain one normal image. (In Horizon- tal Composition mode 1, however, an extra 8.3 ms is required.)
  • Page 50 Two-camera Unit Section 2-3 Procedure 1 Display the Basic Screen, move the cursor to MON, and press the ENT Key. Scn 0 ▼ ▼ ---- --- ms Freeze 2 Select SYS. Scn 0 ▼ ▼ ---- --- ms TOOL SAVE...
  • Page 51: Camera Modes

    Device settings Display Set key operation Switch menu Startup mode Error method Version 4 Move the cursor to Camera unit and press the ENT Key. The selections will be displayed. Camera unit Camera unit ▼ ▼ Out of use Out of use...
  • Page 52 Two-camera Unit Section 2-3 Procedure 1 Move the cursor to MON and press the ENT key. Scn 0 ▼ ▼ ---- --- ms TOOL SAVE Cam 0 Freeze ↑ ↓: Camera 2 Select SET. The screen for selecting the camera mode will be dis- played.
  • Page 53 Menu Configuration for Two-camera Operation If a two-camera operation mode (Two-camera Switching mode, Vertical Composition mode, or Horizontal Composition mode 1 or 2) is selected, the following screen will be dis- played. Scn 0 = SET = Adjust 0...
  • Page 54 Two-camera Unit Section 2-3 Camera 0 Mode, Camera 1 Mode If Camera 0 mode or Camera 1 mode is selected, the follow- ing screen will be displayed. Scn 0 = SET = Adjust Position compensation Measurement region Expression S+ENT: Camera mode...
  • Page 55 Even though two Cameras are used, the time taken to obtain the Camera 1 joined image is the same as for one Camera and so processing time is reduced. Horizontal The central parts of hori- Camera 0...
  • Page 56 (See note.) Note The camera mode can be specified as part of scene data. For example, Camera 0 mode can be specified as the camera mode for scene 0 and Camera 1 mode can be specified as the camera mode for scene 1.
  • Page 57 Two-camera Unit Section 2-3 Changing Press the SHIFT + ENT Keys in Set mode to display the Camera screen for changing the camera mode. Mode Scn 0 = SET = Adjust 0 Position compensation 0 Measurement region 0 Adjust 1...
  • Page 58: Intelligent Light Source

    Intelligent Light Source In order to adjust the light level when using an Intelligent Light Source, it is necessary to specify the Intelligent Light Source model connected. This setting is performed in SYS/Device settings.
  • Page 59 Out of use B Out of use ▼ F150-LTC20 F150-LTC50 Select the model of the Intelligent Light Source connected using the Up and Down Keys, and press the ENT key to enter the setting. The model number of the Intelligent Light Source...
  • Page 60 Note There are DIP switches on the Intelligent Light Sources for setting the unit number. Set the unit number for the Intelli- gent Light Source connected to Camera 0 to 0 and set the unit number for the Intelligent Light Source connected to Camera 1 to 1.
  • Page 62: Setting Measurement Conditions

    3-2-1 Shutter Speed ....... . . 3-2-2 Filtering ........
  • Page 63: Entering Set Mode

    Entering Set Mode Section 3-1 Entering Set Mode To set the measurement conditions, it is first necessary to enter Set mode. Note When a Two-camera Unit or an Intelligent Light Source are connected, make the required settings in SYS/Device settings before entering Set mode. → Page 32, Page 41...
  • Page 64: Adjusting Images

    Adjusting Images Section 3-2 Adjusting Images Two-camera If two Cameras are used, Adjust 0 for Camera 0 and Adjust 1 for Camera 1 will be displayed. → Page 36 Operation 3-2-1 Shutter Speed Change the shutter speed when the object is moving quickly, causing the image to be blurred.
  • Page 65: Filtering

    Edge enhancement displays an image with enhanced edges between bright and dark regions to compensate for blurred images. The cursor can be moved on the image to see the effects of fil- tering. Filtering method Function No filtering.
  • Page 66: Background Suppression

    0, and image areas with densities above the upper limit to 255. Image areas with densities between the lower and upper limits are graded from 0 to 255 so that only images with densi- ties between the lower and upper limits are measured.
  • Page 67: Output Calibration

    Move the cursor to the upper-limit value and use the Left and Right Keys to decrease or increase the value. Press the Right Key to increase the smallest digit by 1 (use with SHIFT Key to increase by 10). Press the Left Key to decrease the smallest digit by 1 (use with SHIFT Key to de- crease by 10).
  • Page 68 Two-camera Calibration can be set separately for each Camera. The set- Operation ting for Camera 0 is in Adjust 0/Calibration 0 and the setting for Camera 1 is in Adjust 1/Calibration 1. Sampling Register a model, and perform a sample measurement. Enter the physical coordinates of the position of the model.
  • Page 69 Adjusting Images Section 3-2 • When the magnifications in the X and Y directions are dif- ferent, perform sampling measurement in 3 places. Procedure Go to Adjust/Calibration. Shutter speed Filtering BGS levels Calibration Light control Select Model registration.
  • Page 70 Model registration Sampling Parameter input Reference parameters Draw the sampling region. Press the SHIFT + ENT Keys to display the screen for changing the size and position of the region. Change sampling region 1 time (s) 391,363 TRG: Sampling SFT+ENT: Region...
  • Page 71 Note If Image Not Found If the brightness varies with the position, the correlation with the model will be low. In this case, it may not be pos- sible to find the image for sampling. Adjust the lighting so that the image is illuminated evenly. Take particular care when the direction of illumination has been changed using an Intelligent Light Source.
  • Page 72 Adjusting Images Section 3-2 Select Execute. Parameter Input Use the following procedure to directly input parameters to be used for calibration. • Origin Specify the physical coordinates for the position of the origin as desired. Upper-left corner of screen Center of screen...
  • Page 73 Choose a unit from µm, mm, or cm. F150 screen Camera 200 pixels 20 mm The magnification is 20(mm)÷P200(pixels)=0.1(mm/pix). In other words, 1 pixel in camera coordinates will corre- spond to 0.1 mm in physical units. In the menu, pixel is represented by “pix.”...
  • Page 74 Shutter speed Filtering BGS levels Calibration Light control Select Parameter input. Model registration Sampling Parameter input Reference parameters Set the items. Refer to the following page for details on inputting values: → Page 26 Select End to enter the settings.
  • Page 75 Reference Parameters This screen is used to check data settings. The symbol, σ, represents the error standard deviation. It is the standard deviation value of the difference between the physical coordinates input for calibration settings and the coordinates after conversion based on the calculated conversion values A to F. It is calculated according to the following formula: σ...
  • Page 76: Adjusting Light Level

    The light level for Intelligent Light Sources can be set sepa- Operation rately for Camera 0 and Camera 1. Make the settings for Cam- era 0 and Camera 1 in Adjust 0/Light control 0 and Adjust 1/Light control 1 respectively.
  • Page 77 Section 3-2 F150-LTC20 (Field of Vision: 20 mm) The light level can be adjusted in 5 sections. The light level is indicated on the screen by a 5-digit number. Each digit repre- sents the light level of one of the 5 sections.
  • Page 78 SFT+ : Sample Through : Segment : Light volume For fine adjustment of light levels, move to the desired digit using the Right and Left Keys. The background for the digit corresponding Light control (F150-LTC20) to the section being Lighting pattern 1: 50000 adjusted is reversed.
  • Page 79: Position Displacement Compensation

    Position Displacement Compensation Section 3-3 Change the light level using the Up and Down Keys. Light level for section D Light control (F150-LTC20) changed to 5. Lighting pattern : 50050 SFT+ : Sample Through : Segment : Light volume Press the ENT Key to enter the setting.
  • Page 80 Position Displacement Compensation Section 3-3 Reference Position The measurement region and measurement object are in the correct positions. Measurement region Measurement object Measurement Object Displaced Without compensation, mea- surement is performed with “A” outside the measurement region.
  • Page 81: Adjusting The Image For Easier Position Displacement Compensation

    In either case, measurement is performed with “A” in the measurement region. Two-camera If two Cameras are used, Position compensation 0 for Cam- Operation era 0 and Position compensation 1 for Camera 1 are dis- played. 3-3-1 Adjusting the Image for Easier Position Displacement Compensation...
  • Page 82: Setting Position Displacement Compensation Regions

    Select Region. The screen for selecting the region number will be dis- played. Press the SHIFT + ESC Keys to reverse (dark ↔ clear) the background. Press the SHIFT Key together with the Up/ → Page 166 Down Key to switch display images.
  • Page 83 Binary Center of Gravity and Area, Binary Center of Gravity and Axis Angle Images taken by the Camera are made up of 256 gradations. Binary processing is the process whereby these images are divided into black pixels (0) and white pixels (1). The F150 performs measurements on the areas occupied by white pix- els.
  • Page 84 Position Displacement Compensation Section 3-3 Binary Center of Gravity and Area The center of gravity of the areas occupied by the white pixels is calculated and the displacement between this and the refer- ence center of gravity is calculated. Reference center of gravity...
  • Page 85 The F150 performs measurement for the white areas. Therefore, make the settings so that the areas for which the center of gravity or the axis angle are desired are white. The procedure is the same as for ordinary measurement.
  • Page 86 It is necessary to set evaluation criteria for position displace- ment compensation in order to evaluate whether the measure- ment object is contained within the field of view at the time of measurement. The procedure is the same as for ordinary measurement.
  • Page 87 If the area is too small, position displacement compensation will not be performed. The judgement will be NG. • X Center of Gravity, Y Center of Gravity Movement range for an OK judgement. Position displacement compensation performed. If the center of gravity is outside the range, position displacement com- pensation will not be performed.
  • Page 88 OK, set to “−10.000: 10.000.” Gray Edge Position Edges are identified by changes in the density within the region. The search direction and color change for edge detec- tion can be set for each region. When calculating the displacement in the X direction.
  • Page 89 Drawing the Region Draw the position displacement compensation region so as to include the edge. Draw one box for each region. When draw- ing of the regions has been completed, the edge positions will be measured. These positions will be taken as the reference positions.
  • Page 90 The judgement will be NG. Gray Search Register an image pattern (the “model”) in advance. The part of an input image that is most similar to the model is found, and the displacement of its position from that of the reference position is obtained.
  • Page 91 Position Displacement Compensation Section 3-3 Register the model. Set the range in which a search is to be made for the mod- Set the evaluation criteria. Change pixel-skipping parameter. (This step is optional.) Registering the Model A characteristic part of the measurement image, such as a mark or corner, is registered as a model.
  • Page 92 Section 3-3 Setting the Search Region Set the region for which the model is to be searched for. It is possible to perform a search for the entire input image but pro- cessing time can be reduced and accuracy can be increased by setting limits on the search range.
  • Page 93 The pixel-skipping parameter is determined according to the speed setting in the evaluation conditions menu. However, from this screen it is also possible to change the pixel-skipping parameter directly. By making the value larger, the processing time can be reduced.
  • Page 94: Selecting The Direction For Position Displacement Compensation

    (relative angle) of the line joining 2 regions. The relative angle is expressed in the range 0 to 360° with the X axis taking a value of 0° and the direction from the X axis to the Y axis as positive.
  • Page 95 Y: position com- pensation region 0 θ: none Position compensa- tion region 0 (gray search) X: midpoint of 2 regions Y: midpoint of 2 regions θ: Relative angle of 2 regions Position compensation region 1 (gray search) X: position compensation...
  • Page 96: Changing Settings Or Clearing

    Changing Settings or Clearing The set data can be changed or cleared. Procedure Move the cursor to the number of the region to be changed or cleared and press the ENT Key. The selection Change settings/Clear will be displayed. Scn 0 = SET = Region (position) 0.
  • Page 97: Drawing Measurement Regions And Setting Evaluation Criteria

    The measurement method can be set separately for each region. Two-camera If two Cameras are used, there are 8 regions (0 to 7) for Mea- Operation surement region 0 and 8 regions (8 to 15) for Measurement region 1.
  • Page 98 Procedure Select Measurement region. The screen for selecting the region number will be dis- played. Press the SHIFT + ESC Keys to reverse (dark ↔ clear) the background. Scn 0 = SET = Meas region ↑ ↓ Freeze Press the SHIFT Key together with the Up/ →...
  • Page 99: Binary Center Of Gravity And Area And Axis Angle

    F150 performs measurements on the areas occupied by white pixels. Binary Center of Gravity and Area The area and the center of gravity of the area occupied by the white pixels is obtained. Measurement region Center of gravity for parts occu-...
  • Page 100 The processing time will be longer than the processing time to obtain the binary center of gravity and area by the time taken to obtain the axis angle. Measurement region Axis angle for the parts occupied...
  • Page 101 If Auto is selected, the F150 will automatically determine a binary level. Note It is also possible to set the binary level so that measure- ment is performed only for an intermediate density range. However, it is not possible to reverse this range and per- form measurement for densities excluding this range.
  • Page 102 Drawing Measurement Regions and Setting Evaluation Criteria Section 3-4 Drawing the Measurement Region Regions can be created by combining up to 3 different figures. Procedure Select Region. Select New. Select the shape of the desired figure. Refer to the following page for details on drawing regions: →...
  • Page 103 375, 341 If additional figures are to be drawn, select Add. Repeat steps 3 to 5 as necessary to create the desired shape. Once 3 figures have been drawn, Add will no longer be dis- played. Draw figure ENT: Edit...
  • Page 104 Figure 0 Figure 1 Figure 2 Correcting or Clearing Figures In the screen for step 6 above, select the figure to be changed or cleared using the Up and Down Keys and press the ENT Key. Figure number Draw figure...
  • Page 105 If Clear is selected, the selected figure will be cleared. Setting the Evaluation Criteria Make settings for the area, center of gravity, and axis angle. Binary Center of Gravity and Area Scn 0 = SET = 0. Gravity and area Binary Area range for an OK judgement.
  • Page 106 Drawing Measurement Regions and Setting Evaluation Criteria Section 3-4 Binary Center of Gravity and Axis Angle Scn 0 = SET = 0. Gravity and axis Area range for OK judgement. Binary (0 to 9,999,999.999) Area 2035 2000: 2300] Conditions Gravity X :...
  • Page 107 −10.000 angle: 10.000 If this range is to be judged OK, set to “−10.000: 10.000.” Procedure Select Conditions. Set the items. Refer to the following page for details on inputting values: → Page 26 Select End to enter the settings.
  • Page 108: Gray Edge Position

    X direc- tion. If the edge is not in the measurement region, edge detection will not be possible. Make a region of a size and position that allows for movement of the range of the measurement object. Procedure Go to Measurement region/<Region Number>/Gray...
  • Page 109 Drawing Measurement Regions and Setting Evaluation Criteria Section 3-4 Draw a box-shaped measurement region. When the coordinates of the lower right corner are speci- fied, the region will be registered and the screen for step 2 will be returned.
  • Page 110 Drawing Measurement Regions and Setting Evaluation Criteria Section 3-4 Setting Edge Detection Conditions and Evaluation Criteria Set the conditions necessary for finding an edge, and the evaluation criteria.
  • Page 111 The maximum and minimum densities for the measurement region are obtained, and if this difference is less than the noise level, then there are deemed to be no edges. The default setting of 20 will be appropriate in most cases. If edges are erroneously detected for this noise level, however, set the noise level to a higher value.
  • Page 112: Edge Pitch

    Drawing Measurement Regions and Setting Evaluation Criteria Section 3-4 Procedure Select Conditions. Set the items. Refer to the following page for details on inputting values: → Page 26 Scn 0 = SET = 1. Edge position Region Conditions Direction :→▼...
  • Page 113 Drawing Measurement Regions and Setting Evaluation Criteria Section 3-4 Set the edge detection conditions and the evaluation crite- ria. Drawing the Measurement Region Draw the measurement region so as to include all of the mea- surement objects. (Example 1) (Example 2)
  • Page 114 Threshold value for finding an edge (0 to 100). If the measured number of objects is less than the actual number of objects, set the edge level (or the minimum level) to a smaller value. If the measured number of objects is greater than the actual number of objects, set the edge level (or the minimum level) to a larger value.
  • Page 115: Gray Search And Precise Search

    (smaller than a pixel) units. The processing time is longer than that for gray search. Operational Flow Register the model Set the range in which a search is to be made for the mod- Set the evaluation criteria. Change pixel-skipping parameter. (This step is optional.)
  • Page 116 Drawing Measurement Regions and Setting Evaluation Criteria Section 3-4 Registering the Model The area of the image to be inspected is registered as a model. The model can be of any size. Procedure Go to Measurement region/<Region number>/Gray search (or Precise search).
  • Page 117 Drawing Measurement Regions and Setting Evaluation Criteria Section 3-4 Once 3 figures have been drawn, Add will no longer be dis- played. Draw figure ENT: Edit ESC: End : Switch If the drawing for the region is finished, press the ESC Key while in the screen for step 7.
  • Page 118 Drawing Measurement Regions and Setting Evaluation Criteria Section 3-4 Correcting or Clearing Figures In the screen for step 7 above, select the figure to be changed or cleared using the Up and Down Keys and press the ENT Key. Figure number...
  • Page 119 Drawing Measurement Regions and Setting Evaluation Criteria Section 3-4 Setting the Search Region Set the region for which the model is to be searched for. It is possible to perform a search for the entire input image but pro- cessing time can be reduced and accuracy can be increased by setting limits on the search range.
  • Page 120 Drawing Measurement Regions and Setting Evaluation Criteria Section 3-4 fied, the region will be registered, and the screen for step 1 will be returned. Search region Specify the coordinates of the upper left corner. Specify the coordinates of the lower right corner.
  • Page 121 The pixel-skipping parameter is determined according to the speed setting in the evaluation criteria menu. However, from this screen it is also possible to change the pixel-skipping parameter directly. (Note that if the pixel-skip- ping parameter is changed, the speed will be changed auto- matically.)
  • Page 122: Surface Defect

    Drawing Measurement Regions and Setting Evaluation Criteria Section 3-4 Procedure Press the SHIFT + ESC Keys with the screen in this state. The screen for setting the pixel-skipping parameter will be displayed. Scn 0 = SET = 0. Relative search...
  • Page 123 Start point End point Center Note Do not include areas with marks and designs in the mea- surement region. It will not be possible to distinguish them from surface detects, and measurement will not be per- formed properly. The following kinds of arcs cannot be drawn.
  • Page 124 A. Compared with element in same row The defect is calculated for all of the elements. If the largest defect is larger than the evaluation criteria, the measurement region is judged to contain a defect. When deciding the evaluation criteria, perform measurements of several sam- ples and base the evaluation criteria on the defects for those samples.
  • Page 125: Density Averaging

    OK. (0 to 255) Measurement results for the displayed image. Use these values as a reference for setting upper and lower limits. Procedure Select Conditions. Set the items. Refer to the following page for details on inputting values: →...
  • Page 126 30 measurement region: 200 Operational Flow Draw the Measurement Region. Set the evaluation criteria. Drawing the Measurement Region Regions can be created by combining up to 3 different figures. Procedure Go to Measurement region/<Region number>/Density averaging. Select Region. Region Conditions Select New.
  • Page 127 375, 341 If additional figures are to be drawn, select Add. Repeat steps 4 to 6 as necessary to create the desired shape. Once 3 figures are drawn, Add will no longer be dis- played. Draw figure ENT: Edit...
  • Page 128 Figure 0 Figure 1 Figure 2 Correcting or Clearing Figures In the screen for step 7 above, select the figure to be changed or cleared using the Up and Down Keys and press the ENT Key. Figure number Draw figure...
  • Page 129: Relative Search

    Clear If Clear is selected, the selected figure will be cleared. Setting the Evaluation Criteria Set the range of the average density for an OK judgement. Scn 0 = SET = 0. Density avg Region Conditions Density avg: [0.000: 255.000]...
  • Page 130 Incorrect position Model 1 Model 0 Operational Flow Register the model. Set the range in which a search is to be made for the mod- Set the evaluation criteria. Change pixel-skipping parameter. (This step is optional.) Registering the Model Register 2 models (models 0 and 1) in the places to be used as reference for measurement.
  • Page 131 Once 3 figures are drawn, Add will no longer be displayed. Draw figure ENT: Edit ESC: End : Switch If the drawing for the region is finished, press the ESC Key while in the screen for step 7. The arrow cursor will be displayed.
  • Page 132 Drawing Measurement Regions and Setting Evaluation Criteria Section 3-4 Move the arrow cursor to the point whose coordinates are to be output as the search position, and press the ENT Key. The region is set and the screen for step 2 is returned.
  • Page 133 Drawing Measurement Regions and Setting Evaluation Criteria Section 3-4 Setting the Search Region Set the region for which the model is to be searched for. It is possible to perform a search for the entire input image but pro- cessing time can be reduced and accuracy can be increased by setting limits on the search range.
  • Page 134 Drawing Measurement Regions and Setting Evaluation Criteria Section 3-4 fied, the region will be registered, and the screen for step 1 will be returned. Draw figure 272, 254 Specify the coordinates of the upper left corner. Specify the coordinates of the lower right corner.
  • Page 135 82 [80: 100] judgement for model 1 (0 to 100) Search Width X (1-0) : 85.351 Range of difference in X direction (model 1 − model 0) [ 0.000: 511.000] Condition for an OK judgement (−9999.999 to 9999.999) Width Y (1-0) : 69.239...
  • Page 136 Set how many pixels to skip Y pixel-skipping parameter when searching. Procedure Press the SHIFT + ESC Keys with the screen in this state. The screen for setting the pixel-skipping parameter will be displayed. Scn 0 = SET = 0. Relative search...
  • Page 137: Changing Settings Or Clearing

    Monitor mode or Run mode. Select OK to enter the settings and to exit this screen. 3-4-9 Changing Settings or Clearing The set data can be changed or cleared.
  • Page 138 Drawing Measurement Regions and Setting Evaluation Criteria Section 3-4 For details on the actual settings, refer to the explanation for the desired measurement method. To clear all the settings select Clear. A confirmation message will be displayed. Select Execute to clear all the settings and to exit this screen.
  • Page 139: Output Expressions

    Run mode. No output is made to external devices when measurements are executed in Monitor mode. Even without setting output expressions, the judgement of the drawn region will be output to the OR terminal of the terminal blocks or OR control output of CompoBus/D. Judgement •...
  • Page 140 SYS/Output. → Page 157 Possible Settings Region numbers. (R0 to R15: measurement regions, P0 to P1: position com- pensation regions) The sub-menu displayed next will depend on the measurement item. Calculations can be performed using values Functions from other expressions.
  • Page 141 Output Expressions Section 3-5 Sub-menus Displayed when R0 to 15, P0 to 1 are Selected Center of Gravity and Area, Center of Gravity and Axis Angle Item Explanation Judge JG Judgement result Gravity X X coordinate of measured center of gravity...
  • Page 142 Search Y Measured Y coordinate Reference RX Reference X coordinate Reference RY Reference Y coordinate Displacement DX Measured X coordinate – reference X coor- dinate Displacement DY Measured Y coordinate – reference Y coor- dinate Correlation CR Correlation with model...
  • Page 143 Gives the larger of two arguments. MAX(argument 1, argument 2) Gives the smaller of two arguments. MIN(argument 1, argument 2) SQRT Calculates the square root. If the argument is negative, the cal- culation result will be 0 and the judgement will be NG. SQRT(argument)
  • Page 144 ANGL Calculates the angle between a straight line joining two points, such as the center of gravity or the center of a model, and a hori- zontal line. The result will be in the range − 180 to 180°. Horizontal line...
  • Page 145 0.000 or –1.000), based on the upper and lower limits in the screen for the output. If “JG” is set as a data output expression, only the judgement described in 1 above will be performed. The result of this judgement (OK: 0.000, NG: –1.000) will be directly output to the external device.
  • Page 146 These values are displayed as “PR.0” to “PR.15” for Judge 0 to 15, and as “RS.0” to “RS.7” for Data 0 to 7. Example 1: To obtain the length of the straight line joining 2 points and add 120.25...
  • Page 147 Judge 1 [DIST(R0.X,R0.Y,R1.X,R1.Y) Example 2: To output the number of measurements In this case a value is to be output so use a data output expression. Data 0 [RS.0+1 Each time the Set mode is entered or the power is turned OFF, the value of RS.0 will return to 0 along with the number...
  • Page 148 Output Expressions Section 3-5 Select the output number for which the expression is to be set. 0. R0. JG Expressions are displayed next 1. R1. JG to the numbers for which expres- 2. R0.X+R1.X sions have already been set. Move the cursor into the space between the parentheses for the expression and press the ENT Key.
  • Page 149: Scenes

    RS-232C. Note It may not be possible to use all 16 scenes if there is a lack of available memory. In this case, a warning message will be displayed on the screen. Make regions and models as small as possible and delete any regions and models that are not required, before continuing operation.
  • Page 150 Scenes Section 3-6 Use the Down Key to scroll down and display the rest of the list, from scene 9 to scene 15. ▼ MON ▼ Scn 0 ---- --- ms Scn 0 Scn 1 Scn 2 Scn 3 Scn 4...
  • Page 151: Copying Scene Data

    Scn 6 Scn 7 Scn 8 Freeze Move the cursor to the scene number to which data is to be copied, and press the SHIFT + ESC Keys. The Copy/Clear selection menu will be displayed. Select Copy. Enter the number of the scene from which data is to be copied (Original scene), and select Execute.
  • Page 152: Initializing Measurement Conditions (Clearing Scenes)

    Initializing Measurement Conditions (Clearing Scenes) Use the following procedure to clear measurement conditions set in Set mode, and to return scenes to their default settings. This procedure is performed separately for each scene. Procedure Move the cursor to Scn @ and press the ENT Key.
  • Page 154: Monitor Mode And Run Mode

    4-1-3 Displaying Measurement Results and Changing Evaluation Criteria ........
  • Page 155: Confirming Correct Operation

    If they are not, adapt the procedure accordingly. → Page 169 Procedure Entering Monitor Mode from Set Mode In Set mode, press the ESC Key to leave Set mode and enter Monitor mode. Scn 0 = SET = Adjust...
  • Page 156: Test Measurement

    Test Measurement Use the following procedure to execute measurement accord- ing to the conditions set for the scene currently displayed. The measurement results are not output via the terminal blocks or RS-232C and so this procedure only tests operation for the F150 itself.
  • Page 157 Freeze Press the SHIFT Key together with the Up/Down → Page 164 Keys to switch display image. Two-camera If the camera mode is Two-camera Switching mode, switch Operation between Camera 0 images and Camera 1 images by pressing the...
  • Page 158 Confirming Correct Operation Section 4-1 SHIFT + Up/Down Keys. The camera number is displayed in the lower right corner of the screen. Scn 0 ▼ ▼ Camera 0 image ---- --- ms Cam 0 Freeze : Camera Camera 1 image Scn 0 ▼...
  • Page 159: Displaying Measurement Results And Changing Evaluation Criteria

    Measurement can also be repeated for freeze images without re-inputting the image using the SHIFT + TRIG Keys. This feature can be used after evalu- ation criteria have been changed to check that the new cri- teria are appropriate.
  • Page 160 Confirming Correct Operation Section 4-1 All Results of Regions Judgement results for all the regions are displayed in one list. Scn 0 ▼ ▼ 67 ms All results of regions P0, P1, P10, P11: Position compensation regions P0. OK P10. OK (P10 and P11 are for Camera 1 P1.
  • Page 161 There are screens for displaying the results for each position compensation region and a screen for display- ing the displacement distance. Use the Up and Down Keys to switch between the screens. The image displayed is the image after filtering and background suppression for position displacement compensation.
  • Page 162 Confirming Correct Operation Section 4-1 Two-camera If the camera mode is Two-camera Switching mode, use the Operation Up/Down Keys to switch screens in the way shown below. Results for region 0 Results for region 1 Camera 0 images Distance Results for region 10...
  • Page 163 The measurement values for each region are displayed sepa- rately. Use the Up/Down Keys to switch to screens for differ- ent regions. If the SHIFT + ENT Keys are pressed from this screen, the screen for changing conditions will be displayed, and the evaluation criteria can be changed while monitoring the measurement values.
  • Page 164 However, even if a trigger or a STEP signal is input, measurement will not be per- formed while this screen is displayed. Scn 0▼MON▼...
  • Page 165 Camera 1 images Judge 1 I/O Monitor The contents of input made from external devices to the F150 and the contents of output made from the F150 to external devices can be displayed. (The contents of output are only possible in Run mode.) Only I/O transferred via the terminal blocks and RS-232C in Normal communications mode can be displayed.
  • Page 166 Region, Judge, Data, and All are sets of several display items that can each be displayed cyclically using the Up/ Down Keys. By using this function, it is not necessary to press the SHIFT + ESC Keys and change the settings in Display settings.
  • Page 167 Confirming Correct Operation Section 4-1 [Region] [All] All results of regions All results of regions All positions of regions All positions of regions Position compensation (region 0) Position compensation (region 0) Position compensation (region 1) Position compensation (region 1) Position compensation (Distance)
  • Page 168: Run Mode

    Run Mode Section 4-2 Two-camera If the camera mode is Two-camera Switching mode, the Operation screens for Camera 0 and Camera 1 are displayed in order. Example: [Judge] All judges Camera 0 All judges Camera 1 Individual judge (Judge 0)
  • Page 169: Performing Measurement

    Use the following procedure to execute measurement accord- ing to the conditions set for the scene currently displayed. Procedure Press the TRIG Key on the Console or input the measurement command from an external device. Measurement will be executed and the measurement results will...
  • Page 170 Via CompoBus/D → Page 301 Note Storing Measured Images to Memory Up to 23 screens can be stored to memory. Once 23 screens have been stored, the existing screens will be overwritten in order starting with the oldest. To store measured images to memory, go to Display set- tings by pressing the SHIFT + ESC Keys, and make the appropriate settings for Image storage.
  • Page 171 Measurement can also be repeated for freeze images without re-inputting the image using the SHIFT + TRIG Keys. This feature can be used after evalu- ation criteria have been changed to check that the new cri- teria are appropriate.
  • Page 172: System Settings

    This section explains how to set conditions related to the system environment. Entering System Mode ....... .
  • Page 173: Entering System Mode

    Entering System Mode Section 5-1 Entering System Mode To set conditions related to the system environment it is nec- essary to enter System mode. Procedure Display the Basic Screen for Monitor mode or Run mode. Move the cursor to MON and press the ENT Key.
  • Page 174: Measurement Result Output Destinations

    Output Output destination item F150-C10E-3-DRT F150-C10E-3, F150-C15E-3 Judgement CompoBus/D (fixed) Terminal block (fixed) Data CompoBus/D* or RS- RS-232C* or terminal 232C block Default settings are indicated with an asterisk. Note Set the contents for the outputs in Expression. → Page...
  • Page 175: Two-Camera Unit And Intelligent Light Source

    Version Select the output destinations. F150-C10E-3-DRT F150-C10E-3, F150-C15E-3 Select End to enter the settings and to exit this screen. Two-camera Unit and Intelligent Light Source If a Two-camera Unit or an Intelligent Light Source are used, make the settings shown below to change the menu configu- ration for System mode.
  • Page 176 There are DIP switches on the Intelligent Light Sources for setting the unit number. Set the unit number for the Intelli- gent Light Source connected to Camera 0 to 0 and set the unit number for the Intelligent Light Source connected to Camera 1 to 1.
  • Page 177: Measurement Screen Settings

    Monitor mode and Run mode. Display result Select the data displayed for measurement results. For details refer to the section on Monitor mode. → Page 142 Image storage Select the conditions for storage of measured images. None (default set- Nothing stored.
  • Page 178 Measurement Screen Settings Section 5-4 Item Details Coordinate Select the coordinates for output. calculation Example: Measured image (before position Image after position compensation) compensation Reference position The coordinates of the In the above example, center of gravity of this the image is displaced Part of screen outside mark are obtained.
  • Page 179: Storing Measured Images

    NG judgements, or to store all images regardless of the measurement result. 5-5-1 Image Storage Function Measured images that correspond to the set conditions are stored in the order “last 1,” “last 2” and so on. Once 23 screens...
  • Page 180 Storing Measured Images Section 5-5 have been stored, the existing screens will be overwritten in order starting with the oldest. Production line 3 objects before 2 objects before 1 object before Object just inspected OK product NG product NG product...
  • Page 181: Memory Storage Conditions

    Storing Measured Images Section 5-5 5-5-2 Memory Storage Conditions Procedure Enter System mode and select Display. System settings Communications Output Device settings Display Set key operation Switch menu Startup mode Error method Version Set Image storage as desired. Display settings Freeze ▼...
  • Page 182 Coordinate calc Before scroll ▼ Two-camera If the camera mode is Two-camera Switching mode, the Operation images for both Camera 0 and Camera 1 are stored with each measurement. Last2 0 (Mem3) Last2 1 (Mem4) Image for Camera 0 Image for Camera 1...
  • Page 183: Displaying Stored Images

    Display Details Freeze The image that has just been measured is displayed. Whether this image is a freeze image or a through image depends on the Through settings in SYS/Display. _(Mem @) A previously stored image is displayed. Up to 24 (Mem 0 to 23) images are stored in accordance with the conditions for storage of measured images (only NG or All).
  • Page 184 Second most recently stored NG image. Memory number for the currently displayed image. Switching Method In Monitor mode, Run mode, or from SET/Position compen- sation or SET/Measurement region, press the SHIFT + Up/ Down Keys to switch between images. Last * (Mem @)
  • Page 185 If the following conditions hold, the number of stored imag- es will not exceed 22. Image memory: Set to only NG Last measurement was OK. Two-camera If the Two-camera Unit is used and the camera mode is Two- Operation camera Switching mode, in Monitor mode or Run mode the...
  • Page 186: Changing Console Key Allocations

    Last 1 (Mem 4) SHIFT Freeze or through image for Camera 1 Changing Console Key Allocations It is possible to change the allocations for Console Key opera- tions. The set allocations are only enabled in Monitor mode or Run mode.
  • Page 187 Changes the brightness of the background (dark ↔ clear) Change background for screens displaying lists of results (Can only be used for All results of regions, All judges, All data, and I/O monitor.) Judge conditions Displays the screen for setting evaluation criteria...
  • Page 188 Changing Console Key Allocations Section 5-6 Save Save settings by making a backup copy of data to flash memory before turning power OFF. Setting data will be saved. Execute Cancel The default settings are shown below. None ▼ Judge conditions ▼...
  • Page 189: Setting Startup Conditions

    Use the following procedure to set the startup scene and mode that will be used when the power is turned ON. If the F150 is set to start in Run mode for the scene where the desired measurement conditions are registered, measure- ment of objects can be started by simply turning the power The default setting is for scene 0 and Monitor mode.
  • Page 190 Go to SYS/Startup mode. System settings Communications Output Device settings Display Set key operation Switch menu Startup mode Error method Version Select the startup scene number and the startup mode. Select End to enter the settings and to exit this screen.
  • Page 191: Selecting Output Method For Error Terminal

    During processing (i.e.: while BUSY terminal is ON), even if the STEP terminal is turned ON, the F150 will not perform measurement. It is possible to set the ERR terminal so that it turns ON to indicate to an external device that input to the STEP terminal could not be received.
  • Page 192: Checking The Software Version

    Checking the Software Version Section 5-9 Select the desired setting. Select End to enter the setting and to exit this screen. Checking the Software Version Use the following procedure to check the Vision Sensor model and the software system version.
  • Page 193 Checking the Software Version Section 5-9 Select OK to exit this screen. Model number is displayed. F150-C10E-3 Ver.3.00 XXXX/XX/XX XX:XX Software version and date of creation are displayed.
  • Page 194: Backing Up Data

    Saving/Loading System and Scene Data ....Saving to Flash Memory.......
  • Page 195: Saving/Loading System And Scene Data

    The same data can also be loaded from a computer to the F150. Saving and loading data enables using the same data on other F150 Controllers. It is recommended that data is backed up in case data is lost or the F150 malfunctions. Data...
  • Page 196: Image Data

    Saving/Loading System and Scene Data Section 6-1 Move the cursor to MON or RUN and press the ENT Key. Scn 0 ▼ ▼ --- ms TOOL SAVE Freeze Select TOOL. Select the kind of data along with the operation (load or save).
  • Page 197: Caution

    As an example, this section explains how to perform data transfers using HyperTerminal on Windows 95/98 or Windows NT 4.0. It is assumed that an RS-232C cable is connected to COM1 on the personal computer. If the COM number is differ- ent, adapt the procedure accordingly.
  • Page 198: Saving To Flash Memory

    Saving to Flash Memory Section 6-2 Select Transfer/Receive File from the HyperTerminal menu. Specify where the file is to be saved and set the protocol to Xmodem. Select Receive. The data will be transferred from the F150 to the computer.
  • Page 199: Procedure

    Saving to Flash Memory Section 6-2 Procedure Display the Basic Screen for Monitor mode or Run mode. Move the cursor to MON or RUN and press the ENT Key. TOOL SAVE Select SAVE. A confirmation message will be displayed. Select Execute.
  • Page 200: Terminal Block

    7-2-2 Outputs ........
  • Page 201: Communications Settings

    The following communications settings are required. Item Description ON state Select whether to turn ON the OR and DO 0 to DO 15 terminals for OK or NG. The default is ON for NG. Handshaking Used to output the measurement result without syn- (F150-C10E-3, chronizing with the external device.
  • Page 202 Display the Basic Screen for Monitor mode or Run mode. ▼MON ▼ Scn 0 ---- --- ms Freeze Move the cursor to MON or RUN and press the ENT key. Scn 0 ▼ ▼ --- ms TOOL SAVE Freeze Select SYS.
  • Page 203 Communications Output RS-232C Device settings Normal Display Host link Set key operation Terminal block Switch menu Startup mode Error method Version Set the items. Refer to the following page for details on inputting values: → Page 26 F150-C10E-3, F150-C15E-3 F150-C10E-3-DRT...
  • Page 204: I/O Formats

    DI0 to DI7 Terminals (F150-C10E-3, F150-C15E-3) The following commands can be input. To use these inputs, turn ON DI7 for 1 ms or more after setting the status of the DI0 to DI6 inputs. The F150-C10E-3-DRT does not have any DI inputs and therefore does not support the following commands.
  • Page 205 Whenever a measurement is performed, the judgement is out- put. The data is only output in Run mode. There is no output to the terminals in Monitor mode. The F150 can be set to turn ON terminals for either OK or NG results.
  • Page 206: Terminal Signal Operation And Timing

    Terminal Signal Operation and Timing Section 7-3 Refer to the following page for details on how to select the out- put destination: → Page 157 STEP input Measurement Data 0 Data 1 Judgement Block output of results for expressions set in Expressions/Data .
  • Page 207 Terminal Signal Operation and Timing Section 7-3 Using the STEP Terminal as a Measurement Trigger Judgement and Data Output Destinations Both Set to Terminal Block Enter Run mode Leave Run mode STEP input Measurement Overall judgement Data 0 Data 1...
  • Page 208 Outputs the overall judgements. (Can be set to turn ON for either OK or NG judgement.) The overall result will be NG if there is one or more NG judgements for the measurement regions or output expressions. Outputs the results of the expressions set in Expression/Judge and Expression/Data and the judgement results for the output expressions.
  • Page 209 DI5 to DI6 Execution trigger. Leave at least 1 ms after setting DI 0 to 6 before turning DI 7 ON. During command execution, the BUSY terminal will turn ON. During execution of continuous measurement, the BUSY terminal will stay ON.
  • Page 210 ON within the set time after turns ON. GATE turns OFF. Note: Only the results of expressions set in Expression/Data and Expression/Judge are output. The function of all terminals except the DSA terminal is the same as for communications without handshaking. The DSA...
  • Page 211 OFF. Use the BUSY signal to time reading mea- surement results. Note If a STEP signal is input while the BUSY terminal is ON, the ERR terminal will come ON. → Page 174 Scene Changing and Model Registration (F150-C10E-3,...
  • Page 212 DI 0 to DI 3 Set the scene number (0 to 15). Execution trigger. Leave at least 1 ms after setting DI 0 to 6 before turning DI 7 ON. During command execution, the BUSY terminal will turn ON. After confirming that...
  • Page 214: Rs-232C Normal Settings

    Command List ........
  • Page 215: Communications Settings

    Command inputs can be received, but measurement results Mode are not output to external devices. Only the execution result itself (i.e.: OK or ER) is output. If a command to read a set value is input, that value will be output. Run Mode Both command input and measurement result output are sup- ported.
  • Page 216 Output result Receive result Note When RC/CS or Xon/off flow control is selected, if a response is not received from the computer within a set time, the F150 will conclude that there is a disconnection or that the computer is not operating normally, and will generate a timeout error.
  • Page 217: Communications Settings

    Output result Receive result Note When RC/CS or Xon/off flow control is selected, if a response is not received from the computer within a set time, the F150 will conclude that there is a disconnection or that the computer is not operating normally, and will generate a timeout error.
  • Page 218: Display The Basic Screen For Monitor Mode Or Run Mode

    CR*, LF, CR+LF Mode Normal*, Host Link, Menu. Select Normal. Note The default settings are marked with asterisks.* Save and Load Commands Make the following settings when using commands for save or load operations. Item Setting Data length 8 bits...
  • Page 219 Communications Settings Section 8-1 Move the cursor to MON or RUN and press the ENT Key. Scn 0 ▼ ▼ --- ms TOOL SAVE Freeze Select SYS. Select Communications. System settings Communications Output Device settings Display Set key operation Switch menu...
  • Page 220 Flow control allows communications to be performed while checking the status of the external device. Timeout errors can be set to occur when there is no response from the external device after a set number of seconds. An error message will appear on the screen if a timeout error...
  • Page 221 Data is transferred according to the Xon/ off codes from the external device. Timeout Set the number of seconds (1 to 120 s) before a tim- eout error occurs. The default is 5 s. Note The default settings are marked with asterisks.* Procedure Select Normal.
  • Page 222: Command List

    Command List Section 8-2 Select End to enter the settings and to exit this screen. Command List The following commands can be input from a computer or other host device connected to the RS-232C port. Commands are input in ASCII.
  • Page 223 Command List Section 8-2 Commands that Read Measurement Results The following commands read the results of the most recent measurement. Command Function Page POSIDATA Reads the position compensation result (PD) or the displacement value. MEASDATA Reads the measurement result. (MD) Reads the calculation result for output expressions.
  • Page 224: Input Format

    Input DATASAVE Output Data correctly saved: Data not correctly saved: Note Do not turn OFF the power until a response has been received. 8-4-2 DISPIMG: Display Image DISPIMG is used to read or change the memory number of the currently displayed image.
  • Page 225: Exp: Expression

    Changing Currently Displayed Image Input DISPIMG <Memory_number> • Specify a memory number in the range –1 to 23. If –1 is specified, the display will change to a through or freeze image, depending on the display settings. → Page 160 Output...
  • Page 226: Exppara (Ep): Expression Parameter

    Input Commands Section 8-4 The measurement result of the output expression for data 0 is read. Output: 28.195 The measurement value is 28.195. 8-4-4 EXPPARA (EP): Expression Parameter EXPPARA can be used to read or set evaluation criteria for judgement output expressions.
  • Page 227: Imgload: Image Load

    IMGLOAD is used to load image data from an external device. Input IMGLOAD <Memory_image_number> • Specify a memory image number in the range 0 to 23. The image data is loaded with Xmodem (-CRC or -SUM) protocol. • When preparations to receive the data are completed, the F150 will send a READY signal to the external device.
  • Page 228: Litpara: Light Parameter

    The data in memory image 2 is saved to the external de- vice. Output: 8-4-7 LITPARA: Light Parameter LITPARA is used to read or change the light level of the Intelli- gent Light Source. Reading Light Level of Intelligent Light Source Input LITPARA <Camera_number>...
  • Page 229 Input LITPARA <Camera_number> <Light_level> • Specify either 0 or 1 as the Camera number. If the 2- Camera Unit is not used, specify 0. • Depending on the model used, set either a 5 or 8-digit fig- ure as the light level. Refer to the graphics given in Read- ing Light Level of Intelligent Light Source for details of the correspondence between digits and sections.
  • Page 230: Measdata (Md): Measure Data

    Input Commands Section 8-4 The light level for the Intelligent Light Source (F150- LTC20) connected to Camera 0 will be set in the way shown below. Output: 8-4-8 MEASDATA (MD): Measure Data MEASDATA is used to read measurement results. Input MEASDATA <Region_number>...
  • Page 231 Input Commands Section 8-4 Lists of Parameters (Common to MEASDATA/POSIDATA) Binary Center of Gravity and Area, Binary Center of Gravity and Axis Angle Parameter Meaning Judgement result (0: OK, –1: NG, –2: no measure- ment) X coordinate of measured center of gravity...
  • Page 232 Input Commands Section 8-4 Gray Search, Precise Search Parameter Meaning Judgement result (0: OK, –1: NG, –2: no measure- ment) Measured X coordinate Measured Y coordinate Reference X coordinate Reference Y coordinate Displacement in X direction (measured X coordinate –...
  • Page 233: Measpara (Mp): Measure Parameter

    Difference in distances (measured distance – refer- ence distance) Correlation with model 0 Correlation with model 1 8-4-9 MEASPARA (MP): Measure Parameter MEASPARA can be used to read or set parameters for mea- surement regions. Reading Measurement Region Parameters Input MEASPARA <Region_number> <Parameter>...
  • Page 234 MEASPARA <Region_number> <Parameter> <Value> <Region_number> <Parameter> <Value> • Specify a region number in the range 0 to 15. • The meaning of the parameter and the possible values will vary according to the measurement method set for the region number specified. Refer to the parameter lists following.
  • Page 235 Lower-right X coordinate of region (0 to 511) Lower-right Y coordinate of region (0 to 483) Edge search direction ( ↑ : 0, ↓ : 1, → : 2, ← : 3) Edge color (Light → Dark: 0, Dark → Light: 1)
  • Page 236 Lower-right Y coordinate of search region (0 to 483) X coordinate of reference position (0 to 511) Y coordinate of reference position (0 to 483) Search speed (0: LOW → 1 → 2 → 3 → 4: HIGH) Edge Pitch (MEASPARA Command Only) Parameter...
  • Page 237 Lower limit of density value (0 to 255) Element size (4 to 80) Compare pitch (1 to 6) 5 to 10 See note Note The meaning of parameters 5 to 10 varies according to the shape of the region. Param- Line Circumference...
  • Page 238: Measure: Measure

    X coordinate of reference position for model 1 (0 to 511) Y coordinate of reference position for model 1 (0 to 483) Search speed (0: LOW → 1 → 2 → 3 → 4: HIGH) 8-4-10 MEASURE: Measure MEASURE is used to perform measurements one at a time or...
  • Page 239 Performing One Measurement Input MEASURE Output Measurement correctly performed: <Measurement_results> → Page 230 Measurement not correctly performed: ER Executing One Measurement on Currently Displayed Image MEASURE /I M /I Output Measurement correctly performed: <Measurement_results> → Page 230 Measurement not correctly performed:ER...
  • Page 240: Menukey

    MODELSET is used to re-register the model based on the currently displayed image. Input MODELSET <Region_number> • Specify a region number in the range 0 to 15. This com- mand is only valid for regions where the measurement method is gray search or precise search. Output Model correctly registered:...
  • Page 241: Posidata (Pd): Position Data

    <Parameter> • Specify a position compensation region number of 0 or 1. Two-camera If two Cameras are used, specify 0 or 1 (for Position com- Operation pensation 0), or 10 or 11 (for Position compensation 1). • The meaning of the parameter will vary according to the position compensation method for the specified region.
  • Page 242: Posipara (Pp): Position Parameter

    <Parameter> • Select a position compensation region number of 0 or 1. Two-camera If two Cameras are used, specify 0 or 1 (for Position com- Operation pensation 0), or 10 or 11 (for Position compensation 1). • The meaning of the parameter will vary according to the position compensation method for the specified region.
  • Page 243: Reset: Reset

    <Parameter> <Value> • Select a position compensation region number of 0 or 1. Two-camera If two Cameras are used, specify 0 or 1 (for Position com- Operation pensation 0), or 10 or 11 (for Position compensation 1). • The meaning of the parameter will vary according to the position compensation method for the specified region.
  • Page 244: Scene: Scene

    Input SCNLOAD <Scene_number> • Specify a scene number in the range 0 to 15. The scene data is transferred with Xmodem (-CRC or -SUM) proto- col. • When preparations to receive the data are completed, the F150 will send a READY signal to the external device. Send...
  • Page 245: Scnsave: Scene Save

    Input SCNSAVE <Scene_number> • Specify a scene number in the range 0 to 15. The scene data is transferred with Xmodem (-CRC or -SUM) proto- col. • When preparations to send the data are completed, the F150 will send the character string "READY" to the exter- nal device.
  • Page 246: Syssave: System Save

    SYSLOAD System data is loaded from an external device. Output: 8-4-20 SYSSAVE: System Save SYSSAVE is used to save system data to a computer or other external device. Input SYSSAVE • When preparations to send the data are completed, the F150 will send the character string "READY"...
  • Page 247: Measurement Results Output Format

    –9,999,999.999 will be output. If the measurement value is greater than 9,999,999.999, then 9,999,999.999 will be output. • When a judgement is set, either 0 (OK) or –1 (NG) will be output. Note The output of data after measurement is performed in Run mode will continue until all of the data has been output, even if the mode is changed.
  • Page 248: Rs-232C Host Link Settings

    Output Format........
  • Page 249: Communications Settings

    Monitor Command inputs can be received, but measurement results Mode are not output to external devices. If a command to read a set value is input, that value will be output. Run Mode Both command input and measurement result output are sup- ported.
  • Page 250 Communications Settings Section 9-1 I/O via RS232C Port Commands for the F150 are written to the Read Area in the Programmable Controller. The F150 will automatically read these commands, execute them, and write any results to the Write Area. Programmable Controller F150 Unit No.: 00 (fixed)
  • Page 251 Returns write completed response. *A timeout error will occur if there is no response within 5 s. An error message will appear on the screen and the error terminal will turn ON. Input the next STEP signal after all data output has been com-...
  • Page 252 Writes data to Write Area. Returns write completed response. *A timeout error will occur if there is no response within 5 s. An error message will appear on the screen and the error terminal will turn ON.
  • Page 253: Communications Settings

    9-1-2 Communications Settings Baud Rate and Communications Mode The following explains how to set the baud rate, data length, and other communications specifications. The same communications settings must be used on both the F150 and the external device (Programmable Controller).
  • Page 254 Communications Settings Section 9-1 Move the cursor to MON or RUN and press the ENT Key. Scn 0 ▼ ▼ --- ms TOOL SAVE Freeze Select SYS. Select Communications. System settings Communications Output Device settings Display Set key operation Switch menu...
  • Page 255 Communications Settings Section 9-1 Select RS-232C. System settings Communications Output RS-232C Device settings Normal Display Host link Set key operation Terminal block Switch menu Startup mode Error method Version Set the items. Select End to enter the settings.
  • Page 256 Setting the Read and Write Areas in the Programmable Controller This section explains how to set the Read Area from which the F150 reads commands and the Write Area to which the F150 outputs results. Both of these areas are in the memory of the Programmable Controller.
  • Page 257 Device settings Normal Display Host link Set key operation Terminal block Switch menu Startup mode Error method Version Set the items. Refer to the following page for details on inputting values: → Page 26 Select End to enter the settings.
  • Page 258: Command Tables

    Command Tables The following commands can be input from the host device to the F150. Set the command to be executed in the Read Area of the Pro- grammable Controller. Commands that Control F150 Operation The following commands control F150 operation.
  • Page 259: Input Format

    Input Format This section explains the command formats in order of the command codes. Commands are input in BCD. Set the com- mands starting from the begin read word of the Read Area. 9-3-1 0010: ONE MEASUREMENT Executes one measurement.
  • Page 260: 0011: Continuous Measurement

    Scene No. (00 to 15) Set all bits in words +1 to +4 to 0. 9-3-5 0021: INCREMENT SCENE Increments the current scene number. If the current scene number is 15, switches to scene 0. Input Begin Bits Setting read word...
  • Page 261: 0022: Decrement Scene

    1’s digit Scene No. (00 to 15) Write Flag: Changes between 0000 and 1111 each time data is output. Monitor the flag to check if the data has been written. 9-3-8 0040: MODEL REGISTER Re-registers the model based on the currently displayed image.
  • Page 262: 0066: Save Data

    0000 1st decimal 2nd deci- 3rd deci- Decimal portion Write Flag: Changes between 0000 and 1111 each time data is output. Monitor the flag to check if the data has been written. Sign: Positive: 0000, Negative: 1111...
  • Page 263 Data Types The data types that can be read will vary according to the measurement method for the specified region. Binary Center of Gravity and Area, Binary Center of Gravity and Axis Angle Parameter Meaning Judgement result (0: OK, –1: NG, –2: no measurement)
  • Page 264 Input Format Section 9-3 Surface Defect Parameter Meaning Judgement result (0: OK, –1: NG, –2: no measure- ment) Measured defect Maximum density value Minimum density value Density Averaging Parameter Meaning Judgement result (0: OK, –1: NG, –2: no measure- ment)
  • Page 265: 1060: Set Parameter

    Input Format Section 9-3 Relative Search Parameter Meaning Judgement result (0: OK, –1: NG, –2: no measure- ment) Measured X width Measured Y width Measured distance Reference X width Reference Y width Reference distance Difference in X widths (measured width – reference width) Difference in Y widths (measured width –...
  • Page 266 Lower-right X coordinate of region (0 to 511) Lower-right Y coordinate of region (0 to 483) Edge search direction ( ↑ : 0, ↓ : 1, → : 2, ← : 3) Edge color (Light → Dark: 0, Dark → Light: 1)
  • Page 267 Lower-right Y coordinate of search region (0 to 483) X coordinate of reference position (0 to 511) Y coordinate of reference position (0 to 483) Search speed (0: LOW → 1 → 2 → 3 → 4: HIGH) Edge Pitch Parameter...
  • Page 268 Section 9-3 Density Averaging Parameter Meaning Upper limit of average density (0.000 to 255.000) Lower limit of average density (0.000 to 255.000) Upper-left X coordinate of region (0 to 511) Upper-left Y coordinate of region (0 to 483) Lower-right X coordinate of region (0 to 511)
  • Page 269 Y coordinate of reference position for model 0 (0 to 483) X coordinate of reference position for model 1 (0 to 511) Y coordinate of reference position for model 1 (0 to 483) Search speed (0: LOW → 1 → 2 → 3 → 4: HIGH)
  • Page 270: 1070: Read Parameter

    Lower limit of density value (0 to 255) Element size (4 to 80) Compare pitch (1 to 6) 05 to 10 See note Note The meanings of parameters 5 to 10 vary according to the shape of the region. Parameter Line Circumference...
  • Page 271: 1100: Set Judgement Output Expression

    1st decimal 2nd deci- 3rd deci- Decimal portion Write Flag: Changes between 0000 and 1111 each time data is output. Monitor the flag to check if the data has been written. Sign: Positive: 0000, Negative: 1111 9-3-14 1100: SET JUDGEMENT OUTPUT EXPRESSION CRITERIA Sets evaluation criteria for judgement output expressions.
  • Page 272: 1110: Read Judgement Output Expression Criteria

    0000 1st decimal 2nd deci- 3rd deci- Decimal portion Write Flag: Changes between 0000 and 1111 each time data is output. Monitor the flag to check if the data has been written. Sign: Positive: 0000, Negative: 1111...
  • Page 273: 1120: Set Light Level

    F150-LTC50 F to H always set to 0 9-3-17 1130: READ LIGHT LEVEL Reads the light level for the Intelligent Light Source. For details of the positions of the sections, refer to 1120: SET LIGHT LEVEL. Input Begin Bits Setting...
  • Page 274: 1210: Read Position

    F section G section H Write Flag: Changes between 0000 and 1111 each time data is output. Monitor the flag to check if the data has been written. 9-3-18 1210: READ POSITION Reads measurement values related to position displacement compensation for most recent measurement.
  • Page 275 Input Format Section 9-3 Data Types The data types that can be read will vary according to the measurement method for the specified region. Gray Edge Position Parameter Meaning Judgement result (0: OK, –1: NG, –2: no measure- ment) Measured edge coordinate Reference edge coordinate Displacement (measured coordinate –...
  • Page 276 Input Format Section 9-3 Binary Center of Gravity and Area, Binary Center of Gravity and Axis Angle Parameter Meaning Judgement result (0: OK, –1: NG, –2: no measure- ment) X coordinate of measured center of gravity Y coordinate of measured center of gravity...
  • Page 277: 1220: Read Judgement Output Expression Result

    0000 1st decimal 2nd deci- 3rd deci- Decimal portion Write Flag: Changes between 0000 and 1111 each time data is output. Monitor the flag to check if the data has been written. Sign: Positive: 0000, Negative: 1111...
  • Page 278: 1221: Read Data Output Expression Result

    0000 1st decimal 2nd deci- 3rd deci- Decimal portion Write Flag: Changes between 0000 and 1111 each time data is output. Monitor the flag to check if the data has been written. Sign: Positive: 0000, Negative: 1111...
  • Page 279: Output Format

    Measurements from −9,999,999.999 to 9,999,999.999 can be output. Measurements less than −9,999,999.999 are output as “−9,999,999.999.” Measurement greater than 9,999,999.999 are output as “9,999,999.999.” When the output is set to a judgment, the output will be one of the following: OK: 0 NG: −1...
  • Page 280 Rightmost 4 digits of inte- gral portion 1111 0000 0000 0000 Leftmost 2 digits of inte- gral portion and sign 0000 0010 1001 1000 Decimal portion Output numbers for which settings have not been made are not output (as data output 1 above).
  • Page 281 Output Format Section 9-4 Example 2: If expressions are set for all data outputs (0 to 7), the mea- surement results will be output in two groups. Group 1: Calculation results for data outputs 0 to 6. Group 2: Calculation result for data output 7.
  • Page 282: Sample Ladder Program

    This section provides a sample ladder program for the OMRON C200H/C200HS Programmable Controller. In this program, the Run command is input from the Program- mable Controller to the F150, and the judgement results are output back to the Programmable Controller from the F150.
  • Page 283 DM 0104 DM 0105 Results Storage Area for data out- put 0 DM 0106 Host Link Communications Initial value of #f000 is stored in Area DM 0107 DM 0105 (Write Flag) DM 0108 DM 0109 Results Storage Area for data out-...
  • Page 284 DM0105 01015 DIFU(13) Change in Overwrite Flag for data output 0 is detected. 00200 DIFD(14) 00201 00200 00215 00201 00215 ANDW(34) DM0106 #0001 If the 1’s digit of data output 0 is 1, 00300 comes ON (=NG). DM0200 25506 00300...
  • Page 285 Sample Ladder Program Section 9-5 00215 ANDW(34) DM0110 #0001 If the 1’s digit of data output 1 is DM0201 1, 00301 comes ON (=NG). 25506 00301 00300 00100 The OR result of NG's for data 00315 0 and data 1 is output to 00315.
  • Page 286: Compobus/D Settings

    Output Format........
  • Page 287: Communications Settings

    Command inputs cannot be received. Monitor Command inputs can be received, but measurement results Mode (judgement output and data output) are not output to external devices. Control output and F150 status output are supported, however. Run Mode Both command input and output of measurement results are...
  • Page 288 Communications Settings Section 10-1 Programmable Controller (Master) Remote I/O Communications See the diagrams on the next two pages for details on the output and input areas. F150-C10E-3-DRT F150-C10E-3-DRT F150-C10E-3-DRT...
  • Page 289 Communications Settings Section 10-1 Output Area Set operational commands to be sent to the F150 here. Select the input mode (Basic/Expand) in the communications specifi- cations settings menu. Basic Only a small number of allocated areas Word +0 Basic command (2 bytes) are required.
  • Page 290: Communications Settings

    Basic (default Use this mode for measurement commands and setting) scene changing. The number of allocated areas required in the Master in this mode is less than that required in Expand mode (2 bytes). Expand In addition to measurement commands, commands for reading and setting parameters are also available.
  • Page 291 Communications Errors When a network error occurs, the status of data input from the Programmable Controller to the F150 via the network may change. Therefore, select the way the status of data input from the Programmable Controller to the F150 is to be defined when an error occurs.
  • Page 292 Procedure Display the Basic Screen for Monitor mode or Run mode. Scn 0 ▼ ▼ ---- --- ms Freeze Move the cursor to MON or RUN and press the ENT Key. Scn 0 ▼ ▼ --- ms TOOL SAVE Freeze...
  • Page 293 Switch menu Startup mode Error method Version Select CompoBus/D set. System settings Communications Output RS-232C Device settings Normal Display Host link Set key operation Terminal block Switch menu CompoBus/D set Startup mode CompoBus/D ref Error method Version Set the required items.
  • Page 294: Confirming Compobus/D Communications Settings

    A confirmation message will be displayed. Select OK. Note In order to register these settings it is necessary to save the settings to flash memory and restart the F150. Also, the number of I/O bytes will change in accordance with the new settings.
  • Page 295: Input Format

    10-2-1 Basic Mode The word numbers given here are the offset values from the first word in the allocated area of the Master. The “-” indicates that either 0 or 1 can be set without affecting the setting. ONE MEASUREMENT...
  • Page 296 0000 –000 1001 ---- Bit 4: Start continuous measurement Bit 7: Command Enable Bit After the command has been input, set bit 7 to 0 to start mea- surement. STOP MEASUREMENT Stops continuous measurement. Word Bits Setting 15 to 12...
  • Page 297 When “any output” has been selected for GATE terminal con- trol in the communications specifications setting menu, bit 11 will control the GATE terminal. If the GATE terminal is used for measurement output, the status of bit 11 will be ignored.
  • Page 298: Expand Mode

    +0, bit 11 of the input area (TERMSTAT). Therefore, the status of the GATE terminal can be obtained by monitoring this bit. There will be a time lag before changes in bit 11 of the output area are reflected in the GATE terminal due to DeviceNet communications delays and the status of the F150.
  • Page 299 Master. “-” indicates that either 0 or 1 can be entered without affecting the setting. Commands are set in words +0 to +4. Word +0, bit 15 is a command trigger. Commands are executed when the status of this bit changes (0 ↔...
  • Page 300 Input Format Section 10-2 response that is output in words +3 to +7 will be the same as for the commands in +0 to +4. Example: for measurement (0010) commands. Word Bits Setting 15 to 12 11 to 8 7 to 4...
  • Page 301 Scene No. (00 to 15) Set all bits in words +2 to +4 to 0. 0021: INCREMENT SCENE Increments the current scene number. If the current scene number is 15, switches to scene 0. Word Bits Setting 15 to 12...
  • Page 302 (With through display, re-registers the model based on the measurement image input immediately before.) Only valid when the measurement method for the specified region is gray search or precise search. If any other regions are speci- fied the command will be ignored. Word...
  • Page 303 Decimal portion Sign: Positive: 0000, Negative: 1111 Data Types The data types that can be read will vary according to the measurement method for the specified region. Binary Center of Gravity and Area, Binary Center of Gravity and Axis Angle...
  • Page 304 Input Format Section 10-2 Note Parameters 11 to 13 are only used when measurement method is binary center of gravity and axis angle. Gray Edge Position Parameter Meaning Judgement result (0: OK, –1: NG, –2: no measure- ment) Measured edge coordinate Reference edge coordinate Displacement (measured coordinate –...
  • Page 305 Input Format Section 10-2 Edge Pitch Parameter Meaning Judgement result (0: OK, –1: NG, –2: no measure- ment) Number of detected objects Average pitch Maximum pitch Minimum pitch Average width Maximum width Minimum width Relative Search Parameter Meaning Judgement result (0: OK, –1: NG, –2: no measure-...
  • Page 306 Decimal portion of set- ting data. Data Types The data types that can be set will vary according to the mea- surement method for the specified region. Binary Center of Gravity and Area, Binary Center of Gravity and Axis Angle...
  • Page 307 Lower-right X coordinate of region (0 to 511) Lower-right Y coordinate of region (0 to 483) Edge search direction ( ↑ : 0, ↓ : 1, → : 2, ← : 3) Edge color (Light → Dark: 0, Dark → Light: 1)
  • Page 308 Section 10-2 Edge Pitch Parameter Meaning Upper limit of number of objects (0 to 255) Lower limit of number of objects (0 to 255) Upper limit of pitch (0 to 9,999.999) Lower limit of pitch (0 to 9,999.999) Upper limit of width (0 to 9,999.999) Lower limit of width (0 to 9,999.999)
  • Page 309 Y coordinate of reference position for model 0 (0 to 483) X coordinate of reference position for model 1 (0 to 511) Y coordinate of reference position for model 1 (0 to 483) Search speed (0: LOW → 1 → 2 → 3 → 4: HIGH)
  • Page 310 Lower limit of density value (0 to 255) Element size (4 to 80) Compare pitch (1 to 6) 05 to 10 See note Note The meanings of parameters 5 to 10 vary according to the shape of the region. Param- Line Circumference...
  • Page 311 0001 0000 Command code 0000 Type 10’s digit of 1’s digit of Judgement number judgement judgement (00 to 15) and type number number Type: Upper limit: 0000, Lower limit: 0001 Set all bits in words +2 to +4 to 0.
  • Page 312 F150-LTC20 F150-LTC50 F to H always set to 0 1130: READ LIGHT LEVEL Reads the light level for the Intelligent Light Source. For details of the positions of the sections, refer to 1120: SET LIGHT LEVEL.
  • Page 313 Data type (00 to 13) Set all bits in words +2 to +4 to 0. Two-camera If two cameras are used, specify 0 or 1 (for Position compen- Operation sation 0), or 10 or 11 (for Position compensation 1) for the region number.
  • Page 314 3rd deci- Decimal portion Sign: Positive: 0000, Negative: 1111 Data Types The data types that can be read will vary according to the measurement method for the specified region. Gray Edge Position Parameter Meaning Judgement result (0: OK, –1: NG, –2: no measure-...
  • Page 315 X coordinate of reference center of gravity Y coordinate of reference center of gravity Displacement in X direction (measured X coordinate of center of gravity – reference X coordinate of center of gravity) Displacement in Y direction (measured Y coordinate of center of gravity –...
  • Page 316 0000 Command code 0000 0000 10’s digit 1’s digit Judgement number (00 to 15) Set all bits in words +2 to +4 to 0. Response Word Bits Setting 15 to 12 11 to 8 7 to 4 3 to 0...
  • Page 317 +0, bit 11 of the input area (TERMSTAT). Therefore, the status of the GATE terminal can be monitored with this bit. There will be a time lag before changes in bit 11 of the output area due to DeviceNet communications delays and the status...
  • Page 318: Output Format

    Output Format Section 10-3 1301: READ GATE TERMINAL STATUS Reads the status of the user terminal (GATE terminal). This setting is only valid if GATE terminal control has been set to user output in the communications specifications setting menu. Word...
  • Page 319 Output Format Section 10-3 Data Output: OFF; Response Output: ON Word Bits Bytes 15 to 12 11 to 8 7 to 4 3 to 0 Control output 16 bytes Judgement output F150 status output Expand command response output Data Output: BCD/Binary; Response Output: OFF...
  • Page 320: Control Output (Word +0)

    NG. Select whether to turn ON this output for OK or NG in the output polarity setting in SYS/Communica- tions/Terminal block. (The default setting is ON for NG.) →...
  • Page 321: Judgement Output (+1)

    When measurement commands are executed, the judge- ments and calculation results set in Expression/Judge are output. Select whether a bit is turned ON by an OK or an NG judgement, in the output polarity setting in SYS/Communica- tions/Terminal block. (The default setting is for the bit to turn ON for an NG judgement.) →...
  • Page 322: F150 Status Output (+2)

    13 to 15 Empty (always 0) Note Bits 8 to 12 above are only valid when the input mode is Basic mode. When a command has been executed, the corresponding flag will turn ON. Wait for the flag to turn ON, and turn OFF the command.
  • Page 323: Data Output In Bcd Or Binary (+3 To 26 Or +8 To 31)

    –9,999,999.999 to 9,999,999.999 (after cali- bration). If expand command response output is OFF, the results are output to words +3 to +26, and if it is ON, the results are out- put to words +8 to +31.
  • Page 324 7 (decimal) and sign 0000 1st deci- 2nd deci- 3rd deci- Decimal portion of data 7 (decimal) Sign: Positive: 0000, Negative: 1111 Values for output numbers which are not set will be 0.
  • Page 325 Section 10-3 Binary Code The binary 2’s complement of the calculation results after mul- tiplication by a factor of 1,000 are output. The output values are restricted to the range of values whose 2’s complement can be expressed in 6 bytes.
  • Page 326: Timing Charts

    Timing Charts Section 10-4 10-4 Timing Charts The meanings of the arrows and dotted lines used in this sec- tion are as follows: The F150 is controlled automatically according to the status of the bit at the base of the arrow.
  • Page 327 Word +0, bit 9 Note There is no expand command response output and the words allocated for this output will always be 0. The set- ting for response output in the Communications Specifica- tions Screen should be turned OFF before inputting a...
  • Page 328 Timing Charts Section 10-4 Switching Scenes Word +0, bit 0 to 3 Scene number Word +0, bit 5 Output area Switch Scene Word +0, bit 7 Command Enable Bit Command Word +2, bit 10 executed Switch Scene Completed Flag Input area...
  • Page 329: Expand Mode

    Word +0, bit 9 Note Word +2 of Input Area (F150 Status Output) The first 4 bits of this word are used to output the number of the currently displayed scene. All other bits are for responses in Basic mode, and therefore will always be...
  • Page 330 Word +0, bit 9 Note Word +2 of Input Area (F150 Status Output) The first 4 bits of this word are used to output the number of the currently displayed scene. All other bits are for responses in Basic mode, and therefore will always be...
  • Page 331 Word +0, bit 2 Note Word +2 of Input Area (F150 Status Output) The first 4 bits of this word are used to output the number of the currently displayed scene. All other bits are for responses in Basic mode, and therefore will always be...
  • Page 332: Allocation Charts

    Word +0, bit 2 Note Word +2 of Input Area (F150 Status Output) The first 4 bits of this word are used to output the number of the currently displayed scene. All other bits are for responses in Basic mode, and therefore will always be output as 0.
  • Page 333 Allocation Charts Section 10-5 Output Area For details refer to Input Format. → Page 278 Basic Mode Bits Word +0 Scene number/region number Continuous Measurement Scene Switch Model Register Enable Bit One Measurement Reset Empty GATE Terminal Empty Expand Mode...
  • Page 334 Empty Note These bits are only valid if the input mode is Expand mode. (If the input mode is Basic mode these bits will al- ways be 0.) These flags are only valid if the input mode is Basic mode.
  • Page 335: Sample Ladder Program

    This section gives a sample ladder program for the OMRON CVM1 Programmable Controller. In this program, the scene is switched to scene 15 at power ON and one measurement is performed. The judgement for this measurement is then output back to the Programmable Controller.
  • Page 336: Timing Charts

    Sample Ladder Program Section 10-6 10-6-3 Timing Charts Scene Switching Word 1902, bit 0 to 3 Scene number (15) Word 1902, bit 5 Switch Scene command Word 1902, bit 7 Command Enable Bit Command executed Word 2004, bit 10 Switch Scene...
  • Page 337 Sample Ladder Program Section 10-6 One Measurement Word 1902, bit 8 One Measurement Command Command executed Word 2004, bit 12 One Measurement Completed Flag Word 2002, bit 2 BUSY Word 2003 Judgement...
  • Page 338: Ladder Program

    Sample Ladder Program Section 10-6 10-6-4 Ladder Program Switch 000000 DIFU(13) 000001 000001 MOV(030) Command to switch scene to scene 15 #00AF Switch Scene 1902 Completed Flag 200410 Command cleared MOV(030) #0000 Switch Scene 1902 Completed Flag 200410 001001 001000...
  • Page 340: Rs-232C Menu Operation Settings

    RS-232C Menu Operation Settings This section describes the communications settings for the RS-232C port when communications are in Menu operation mode. Menu operation mode allows F150 menus to be manipulated from a computer or other external device via the RS-232C port.
  • Page 341 Note The default settings are marked with asterisks.* RS-232C Inputs Corresponding to Console Keys The key codes shown in the right column in the following table can be input from an external device to perform the same functions as the Console keys shown on the left.
  • Page 342 Procedure Display the Basic Screen for Monitor mode or Run mode. Scn 0 ▼ ▼ ---- --- ms Freeze Move the cursor to MON or RUN and press the ENT Key. Scn 0 ▼ ▼ --- ms TOOL SAVE Freeze...
  • Page 343 Switch menu Startup mode Error method Version Select RS-232C. System settings Communications Output RS-232C Device settings Normal Display Host link Set key operation Terminal block Switch menu Startup mode Error method Version Set the items. Select End to enter the settings.
  • Page 344: Troubleshooting

    SECTION 12 Troubleshooting This section lists the errors that may occur during F150 operation, along with their probable causes and remedies.
  • Page 345 • There are the same number of right and left parentheses. • There is not more than one operator in a row without a vari- able in between them. • There is not more than one function in a row without a vari- able in between them.
  • Page 346 • Either set midpoint of 2 regions for X and Y, or change the θ setting. If position compensation region 0 or 1 is set for θ , then X and Select same region num- ber for θ , X and Y.
  • Page 347 Section 12 Message Probable Cause and Countermeasure This region is not drawn. A region that has not been drawn is selected as a displace- ment direction setting. • Either draw the region, or select a region that has been drawn.
  • Page 348: Version Information

    → Page 10, 108, 112 Noise Level Added to Edge Detection Conditions It is now possible to set a noise level that determines the existence of edges and so erroneous edge detection is reduced. → Page 93...
  • Page 349 The following 5 items have been added to Display result under SYS/Display settings, enabling measurement results to be confirmed and judgement condi- tions to be adjusted with greater ease. In addition, the results of position compen- sation can be viewed in All results of regions. → Page 142...
  • Page 350 A new mode, Tool mode, has been added. Select this menu to immediately dis- play a menu showing the different kinds of data that can be saved. In addition, when saving image data, select the images to be be saved from memory num- bers displayed.
  • Page 352: Index

    CompoBus/D position compensation commands Continuous Measurement binary center of gravity and axis angle object measurement Decrement Scene output expressions Increment Scene overview Model Register parameter lists One Measurement position compensation...
  • Page 353 Read Parameter output expressions overview Read Position parameter lists Read Scene Number Reset DIP switch settings Save Data Intelligent Light Source Set Judgement Output Expression Criteria direction Set Light Level position compensation Set Parameter DIST Stop Measurement drawing mode Switch Scene...
  • Page 354 GATE terminal See also CompoBus/D commands gray edge position See also RS-232C (host link) com- mands object measurement See also RS-232C (normal) com- output expressions mands overview parameter lists devices overview...
  • Page 355 Intelligent Light Source monitoring light level modes loading camera modes See also data loading overview Monitor mode monitoring I/O monitor measurement regions and results continuous command timing numeric values enhancement...
  • Page 356 See also terminal blocks Decrement Scene position compensation Increment Scene direction Model Register displaying results One Measurement midpoint Read Data Output Expression Re- parameter lists sult parameters Read Judgement Output Expression reading measurement values Criteria Read Judgement Output Expression relative angle...
  • Page 357 Version Get See also filtering measurement results software version operation SQRT save/load settings starting Run mode startup scene and mode entering STEP signal performing measurement with handshaking without handshaking STEP terminal sampling RS-232C (host link) RS-232C (normal) saving surface defect...
  • Page 358 System mode TXD instructions terminal blocks values commands See also input terminal blocks commands version terminals See also software version See also input terminals See also output terminals Vertical Composition mode signal operation and timing test measurement timing wiring Tool mode...
  • Page 359 Index...
  • Page 360: Revision History

    Revision History A manual revision code appears as a suffix to the catalog number on the front cover of the manual. Cat. No. Z142-E1-02B Revision code The following table outlines the changes made to the manual during each revi- sion. Page numbers refer to the previous version.
  • Page 361 OMRON EUROPE B.V. Sensor Business Unit, Carl-Benz-Str. 4, D-71154 Nufringen, Germany Tel: (49)7032-811-0/Fax: (49)7032-811-199 OMRON ELECTRONICS LLC 1 East Commerce Drive, Schaumburg, IL 60173 U.S.A. Tel: (1)847-843-7900/Fax: (1)847-843-8568 OMRON ASIA PACIFIC PTE. LTD. 83 Clemenceau Avenue, #11-01, UE Square, 239920 Singapore Tel: (65)6835-3011/Fax: (65)6835-2711 OMRON CHINA CO., LTD.
  • Page 362 Authorized Distributor: Cat. No. Z142-E1-02B Note: Specifications subject to change without notice. Printed in Japan 0804-2M (A)

This manual is also suitable for:

F150-3

Table of Contents