Omron F150 Operation Manual
Omron F150 Operation Manual

Omron F150 Operation Manual

Visual inspection system
Hide thumbs Also See for F150:
Table of Contents

Advertisement

Quick Links

Cat.No. Z126-E1-1A
F150
Visual Inspection System
Manual 3:
EXPERT MENU
OPERATION MANUAL

Advertisement

Table of Contents
loading

Summary of Contents for Omron F150

  • Page 1 Cat.No. Z126-E1-1A F150 Visual Inspection System Manual 3: EXPERT MENU OPERATION MANUAL...
  • Page 2 F150 Visual Inspection System Expert Menu Operation Manual Revised October 2000...
  • Page 3 No patent liability is assumed with respect to the use of the information contained herein. Moreover, because OMRON is constantly striving to improve its high-quality products, the information contained in this manual is subject to change without notice. Every precaution has been taken in the preparation of this manual. Never- theless, OMRON assumes no responsibility for errors or omissions.
  • Page 4: Table Of Contents

    ......Position Compensation ......Overview of F150 Installation and Operation ..Terminology .
  • Page 5 TABLE OF CONTENTS SECTION 5 RS-232C Normal Settings ... . . Communications Settings ..... . Command List .
  • Page 6 This manual describes the operation of the F150 Visual Inspection System using the Ex- pert Menu and includes the sections described below. This is one of three manuals used to operate the F150. Refer to the following table for the contents of each manual. Manual Contents Cat.
  • Page 7: Precautions

    The information contained in this section is important for the safe and reliable ap- plication of the F150 Visual Inspection System. You must read this section and under- stand the information contained before attempting to set up or operate a F150 Visual Inspection System.
  • Page 8: Safety Precautions

    ON or immediately after the power is turned OFF. These lights generate heat and can cause burns. Caution Do not use the F150 in environments with flam- mable or explosive gases. Caution Install the F150 away from high-voltage equip- ment or motors to ensure safety during operation and maintenance.
  • Page 9: General Precautions

    Do not turn OFF the power while a message is be- ing displayed indicating that processing is being performed. Data in memory will be destroyed, and the F150 may not operate correctly the next time it is started. General Precautions The user must operate the product according to the performance specifications described in the operation manuals.
  • Page 10: The Expert Menu Mode

    This section outlines the features of the Expert Menu mode and will tell you what can be achieved using it. The Expert Menu mode enables using all the capabilities of the F150. This section also describes the overall flow of F150 application and basic operations, and the conventions used in this manual.
  • Page 11: Features

    Section Features Features The F150 features supported by the Expert Menu mode are de- scribed below. → Three Measurement Methods Any of the following measurement methods can be used. Density Searches The position of the measurement object is determined and the image is compared with registered measurement conditions to determine if the object is acceptable or unacceptable.
  • Page 12 → Terminal Block pp 85, 133 The F150 can communicate with PLCs and other external de- vices via the terminal block. Calculations can be performed on measurement results, or math functions can be used to calculate the distance between two regions or the maximum measure- ment results.
  • Page 13: Measurement Methods

    These images, however, can be backed up to a computer. Measurement Methods The F150 provides three measurement methods: Density searches, the binary center of gravity and area, and the binary axis angle. The measurement method can be set separately for each of the 16 measurement regions.
  • Page 14 Section Measurement Methods The part of the input image that most corresponds to the model is found. Model Search The extent of conformity with the model is shown as the correla- tion value. The OK/NG judgement is determined by comparing the correlation value and the position with an evaluation criteria.
  • Page 15: Binary Center Of Gravity And Area

    Density images with 256 gradations are read by the Camera. Binary processing involves separating these density images into black pixels (picture elements) (0) and white pixels (1). The F150 uses the white pixels to measure the object. • The size (i.e., area) of the measurement object can be calcu- lated by counting the number of white pixels.
  • Page 16: Binary Axis Angle

    Section Measurement Methods The measurement results are compared to evaluation criteria, and the object is judged as OK or NG. OK if the center of gravity is within the specified range. OK if the area is within the specified range. →...
  • Page 17 Section Measurement Methods The area, center of gravity, and axis angle are calculated for the white pixels in the measurement region. Axis angle Center of gravity Measurement region The measurement results are compared to evaluation criteria, and the object is evaluated as OK or NG. OK if the axis angle is within the specified range.
  • Page 18: Position Compensation

    Section Position Compensation Position Compensation If the measurement object is inclined or displaced, the positional relationship between the image read by the camera and the measurement region can be corrected by using the position dis- placement compensation function. This function is useful when the position and orientation of the measurement object are not fixed.
  • Page 19: Binary Center Of Gravity And Area

    Section Position Compensation 1-3-2 Binary Center of Gravity and Area The center of gravity is calculated for the white pixels, and the deviation from the reference position is calculated. Reference position Input image → Application Methods. p 51 1-3-3 Binary Axis Angle The center of gravity and the axis angle are calculated, and the deviation from the reference position is calculated.
  • Page 20: Rotational Position Compensation

    Section Position Compensation 1-3-4 Rotational Position Compensation In addition to binary axis angle, the angle between two models is used for rotational position compensation. The angle where two lines joining two models meet is used. This angle has a range of 360°, with the X axis at 0°, and the Y axis in positive direction from the X axis.
  • Page 21: Overview Of F150 Installation And Operation

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

    Section Documentation Conventions Terminology The following terms are used in describing F150 processing and operation. Measurement Conditions All of the settings that are input to perform measurements, in- cluding registered models, filtering, position compensation set- tings, measurement regions, and criteria.
  • Page 23: Basic Operations

    SECTION 2 Basic Operations This section describes the overall flow of F150 application and basic operations. Starting and Quitting ......
  • Page 24: Starting And Quitting

    Starting and Quitting Starting and Quitting 2-1-1 Starting Use the following procedure to Be sure that the basic F150 components have been con- → nected correctly. Setup Manual Turn ON the power supply to the monitor. Turn ON the power supply to the F150.
  • Page 25 Section Starting and Quitting Press the ESC Key to display the following screen and then press the ENT Key. Press the Up Key to move the cursor to Scn 0 and then press the ENT Key. ENT: Switch scene/system settings...
  • Page 26 Section Starting and Quitting Press the Down Key to scroll the scene number until the cursor is on 16. System, as shown below, and then press the ENT Key. The following screen will be displayed. Press the SHIFT + ENT Keys. The screen for switching menus will be dis- played.
  • Page 27 Section Starting and Quitting Move the cursor to Auto Menu and press the ENT Key. A list of options will be displayed. Move the cursor to Expert Menu and press the ENT Key. Move the cursor to OK and press the ENT Key. The Expert menu mode will be started.
  • Page 28: Operating Modes

    Starting and Quitting Note The startup scene and startup mode that appear when power is turned ON can be set. Use these settings to make daily operation more efficient once the F150 is ready for actual operation. → p 129...
  • Page 29 A confirmation message will appear. Press OK to save the measurement conditions to flash memory. The F150 will automatically enter Monitor mode. Check the set measurement conditions. Results are displayed on the video monitor and are not output externally. The conditions can be altered in Monitor mode.
  • Page 30 Section Starting and Quitting The F150 will enter the Run mode. Adjustments to mea- surement conditions can also be made in Run mode. Re- sults are also output externally. The following screen will be displayed if you try to change to Set mode after entering Monitor or Run modes.
  • Page 31: Quitting

    2-1-4 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.
  • Page 32 Select OK to save the changes. The following screen will be displayed once the data has been saved. Turn OFF the power to the F150. Quitting from Monitor or Run Mode Any data changes will be cleared if the power is turned OFF in Monitor or Run modes.
  • Page 33: Menu Operations

    Press the ESC Key to return to the previous menu level. If any changes have been made to the settings data a con- firmation message will appear. Select OK to save the changes. 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 34: Menu Operations

    Section Menu Operations Console The Console is used to perform menu operations. Be sure to fa- miliarize yourself with Console operations before actually using the menus. TRIG (trigger) Key ESC (escape) Key ENT (enter) Key Up, Down, Left, and Right Keys SHIFT Key Function ESC: Escape Key...
  • Page 35: Screen Displays

    Settings for Menu Operation to perform menu operations from → the RS-232C. p 209 2-2-2 Screen Displays The F150 is operated by selecting functions displayed on the screen. Familiarize yourself with each function before operating the F150. Scene number Mode Menu location...
  • Page 36: Menu Tree

    Vacancyj No image in memory. (Nothing will be displayed.) A number between 0 and 22 will appear for j. The F150 can store up to Note 23 images, and each is allocated a number between 0 and 22.
  • Page 37: Inputting Values

    Section Menu Operations Press the ENT Key. In this example, the cursor will move to the Adjust menu. Repeat this step to move to lower levels. Press the ESC Key. The display will move to the previous menu level (here, the screen shown in step (1)). 2-2-4 Inputting Values This section explains how to input numeric values when setting...
  • Page 38: Using Auto Menu Data

    Measurement conditions can be automatically set in the Auto Menu mode by registering sample images of acceptable and un- acceptable products. The F150 can then be switched to Expert Menu mode so that these conditions can be checked and ad- justed.
  • Page 39: Operating Procedures

    SECTION 3 Operating Procedures This section describes operating the F150 using the Expert Menu mode. Menu Tree ........
  • Page 40: Menu Tree

    Section Menu Tree Menu Tree Mode → Shutter speed p 33 Image adjustment Filtering p 34 → Background suppression p 35 → Calibration p 37 → Image registration p 42 → Filtering p 44 Position Image → Background suppression p 45 compensation adjustment Settings...
  • Page 41: Adjusting Images

    Section Adjusting Images Scene B Scene 0 → p 116 Scene 15 → System Commu- RS-232C pp 143, 167, 209 nications → Terminal block p 133 settings → Normal p 143 → Host Link p167 → System data p 124 Backup →...
  • Page 42: Adjusting Images

    Section Adjusting Images Move the cursor to Adjust/Shutter speed and press the ENT Key. The following screen will be displayed. Object movement Image Slow Brighter 1/100 1/500 1/2000 (*) 1/10000 Fast Darker * Default setting Use the Up and Down Keys to scroll to the appropriate shut- ter speed and press the ENT Key.
  • Page 43: Background Suppression

    Section Adjusting Images The cursor can be moved on the image to see the effects of filter- ing. Filtering method Function No filtering. Smoothing Displays a smooth image with reduced noise. Select either weak or strong smoothing. Enhance edges Displays an image with enhanced edges between bright and dark regions.
  • Page 44 Section Adjusting Images are graded from 0 to 255 so that only images with densities be- tween the lower and upper limits are measured. Look at the image and set the upper and lower limits of the densi- ty to eliminate the background. Note The BGS levels set here are used for object measurement.
  • Page 45: Output Calibration

    Section Adjusting Images 3-2-4 Output Calibration Calibration can be set to output the measurement results in physical units, such as mm. Set the relationship between the physical coordinates and the camera coordinates to convert the measurement results from pixels to physical units, such as µm, mm, or cm. If calibration data is not set, the default settings will remain, and measurements using the camera coordinates will be output.
  • Page 46 Section Adjusting Images Setting the Origin Specify the origin of the physical coordinates. The intersection of the X axis and the Y axis is the origin. Adjust the origin if it is specified outside the image while referring to the coordinate values displayed at the upper right of the screen.
  • Page 47 Section Adjusting Images Setting the Coordinate System There are two coordinate systems: left-handed and right-hand- ed. Select the system you are going to use for calibration. Note The positive direction for angles will change depending on which coordinate system you use. Left-handed system Right-handed system (default)
  • Page 48 Section Adjusting Images Using the Up and Down Keys, select a system and press the ENT Key. The coordinate system will be set. Setting the Magnification and Unit The magnification is the actual distance that corresponds to 1 pixel. For example, if a length of 10 mm is displayed on the screen as 100 pixels, the magnification would be 10 mm/100 pix- el = 0.1 mm/pixel.
  • Page 49: Registering And Clearing Images

    Move the cursor to Set and press the ENT Key. The magnifi- cation and the unit will be set. Registering and Clearing Images The following images are stored in memory during F150 opera- tion. • Acceptable and unacceptable sample images used for setting measurement conditions •...
  • Page 50: Registering Sample Images

    Section Registering and Clearing Images A total of 23 images can be stored in memory. The same memory space is used for both sample and measurement images. The number of measurement images that can be stored thus de- pends on the number of sample images registered for setting measurement conditions.
  • Page 51: Using The Step Signal

    Section Registering and Clearing Images Select Read image from the menu and press the ENT Key. The following screen will appear. Using the Up and Down Keys, move the cursor to the image number where the sample image is to be registered. Confirm that the sample image is correctly displayed on the screen and then press the ENT Key.
  • Page 52: Position Compensation

    Section Position Compensation Using the Up and Down Keys, move the cursor to the num- ber of the image to be cleared and then press the ENT Key. A confirmation message will be displayed. Using the Left and Right Keys, move the cursor to OK and then press the ENT Key.
  • Page 53: Background Suppression

    Section Position Compensation The cursor can be moved on the image to see the effects of filter- ing. Filtering method Function No filtering. Smoothing Displays a smooth image with reduced noise. Select either weak or strong smoothing. Enhance edges Displays an image with enhanced edges between bright and dark regions.
  • Page 54 Section Position Compensation Image areas with densities between the lower and upper limits are graded from 0 to 255 so that only images with densities be- tween the lower and upper limits are measured. Look at the image and set the upper and lower limits of the densi- ty to eliminate the background.
  • Page 55: Density Searches

    Section Position Compensation 3-4-3 Density Searches This section explains position displacement compensation using density searches. The following steps must be performed. Register a characteristic part of the measurement image as a model that will be used to search for the measurement re- gion.
  • Page 56 Section Position Compensation If the measurement object must also be rotated to compensate for rotation displacement, set models in both region 0 and region 1 and then set rotational position displacement compensation → using the angle between the models in the two regions. p 64 Region 0 Reference position...
  • Page 57 Section Position Compensation Using the Cursor Keys, move the cursor to the upper-left corner of the region to be registered as the model. Press the ENT Key. The upper-left corner will be set. Using the Cursor Keys, move the cursor to the lower-right corner of the region to be registered as the model.
  • Page 58 Section Position Compensation • A correlation from 0 to 100 can be set. • If the model is found according to the evaluation criteria, posi- tion compensation will be performed followed by object mea- surement. • If the model is not found according to the evaluation criteria, object measurement will be performed without position com- pensation and the judgement will be output to the terminals and the RS-232C port.
  • Page 59: Binary Center Of Gravity And Area

    Setting the Binary Level Density images with 256 gradations are read by the Camera. Binary processing involves separating these density images into black pixels (picture elements) (0) and white pixels (1). The F150 uses the white pixels to measure the object.
  • Page 60 Section Position Compensation Adjust the binary level so that the area for which the center of gravity and axis angle are to be calculated is white. OK: The measurement object is shown in white pixels. Wrong If the measurement object must also be rotated to compensate for rotation displacement, set models in both region 0 and region 1 and then set rotational position displacement compensation →...
  • Page 61 Section Position Compensation Using the Up and Down Keys, move the cursor to Binary 1 and press the ENT Key. The following screen will be dis- played. Move the cursor to Reverse and press the ENT Key to reverse the black and white pixels. Move the cursor to the upper limit.
  • Page 62 Section Position Compensation This following screen will be displayed immediately after the binary level is set, or when Region has been selected in the Edit Screen. The following two figures can be drawn to create the region. Figure Drawing method Specify two diagonally opposing corners.
  • Page 63 Section Position Compensation If additional figures are to be drawn, move the cursor to Additional drawing and press the ENT Key. Repeat steps (1) to (3) for each figure. If the drawing for the region is finished, move the cursor to End and press the ENT Key.
  • Page 64 Section Position Compensation The following Edit Screen will be displayed immediately after the region is drawn or when the region number is selected for a re- gion that has already been registered. The measurement results for the displayed image will be displayed and can be used as a reference in setting the upper and lower limits for area.
  • Page 65: Binary Axis Angle

    Section Position Compensation Clearing Settings This section explains how to clear the settings for the selected region. When the settings are cleared, the region will be deleted and the binary level, upper limit, and lower limit will be returned to the default settings.
  • Page 66 Density images with 256 gradations are read by the Camera. Binary processing involves separating these density images into black pixels (picture elements) (0) and white pixels (1). The F150 uses the white pixels to measure the object. Adjust the binary level so that the area for which the center of gravity and axis angle are to be calculated is white.
  • Page 67 Section Position Compensation Using the Up and Down Keys, move the cursor to Binary 2 and press the ENT Key. The following screen will be dis- played. Move the cursor to Reverse and press the ENT Key to reverse the black and white pixels. Move the cursor to the upper limit.
  • Page 68 Section Position Compensation This following screen will be displayed immediately after the binary level is set, or when Region has been selected in the Edit Screen. The following two figures can be drawn to create the region. Figure Drawing method Specify two diagonally opposing corners.
  • Page 69 Section Position Compensation If additional figures are to be drawn, move the cursor to Additional drawing and press the ENT Key. Repeat steps (1) to (3) for each figure. If the drawing for the region is finished, move the cursor to End and press the ENT Key.
  • Page 70 Section Position Compensation The following Edit Screen will be displayed immediately after the region is drawn or when the region number is selected for a re- gion that has already been registered. The measurement results for the displayed image will be displayed and can be used as a reference in setting the upper and lower limits for area.
  • Page 71: Checking Settings

    Section Position Compensation Clearing Settings This section explains how to clear the settings for the selected region. When the settings are cleared, the region will be deleted and the binary level, upper limit, and lower limit will be returned to the default settings.
  • Page 72: Rotational Position Compensation

    Section Position Compensation Move the cursor to Position compensation/Region/Dis- play all and press the ENT Key. The data will be displayed. Density Searches: The registered model will be shown on the display and a cross will appear at the center of the mod- el.
  • Page 73 Section Position Compensation • For the density search method, the lines joins the center of the two models. • For the binary center of gravity and area method, the line joins the center of gravity of the white pixels of each region. The relative angle can even be calculated by a density search in region 0 and the binary center of gravity and area in region 1.
  • Page 74 Section Position Compensation Note Axis angle rotational position compensation can be selected only when binary axis angle position compensation is being used. Axis angle (θ) Procedure Enter Set mode. Move the cursor to Position compensation/Rotation and press the ENT Key. The following screen will be displayed.
  • Page 75: Measurement Region Functions

    ENT Key. The method will be set. Measurement Region Functions Three measurement methods can be used with the F150: Densi- ty search, binary center of gravity and area, and binary axis angle. There are 16 measurement regions, and a different mea- surement method can be set for each region.
  • Page 76 Section Measurement Region Functions Using the Up and Down Keys, move the cursor to Search and press the ENT Key. The following screen will be dis- played. 106, 269 Using the Cursor Keys, move the cursor to the upper-left corner of the model. Press the ENT Key.
  • Page 77 Section Measurement Region Functions Setting the Search Region The following screen will be displayed immediately after the model has been registered, or when Search region has been selected from the Edit Screen. The center of the model is found by the search. 218, 395 Using the Cursor Keys, move the cursor to the upper-left corner of the search region.
  • Page 78 Section Measurement Region Functions The following Edit Screen is displayed immediately after the search region is drawn, or when a region where a model is regis- tered is selected Judgement for displayed image See note 1. Measurements for displayed image (See note 2.) Note 1.
  • Page 79 Section Measurement Region Functions OK and NG Criteria The following diagram shows the OK or NG judgements made for various images and criteria settings. X, Y Coordinates: Range of movement for an OK result. Correlation: When the correlation criteria is set to 70 to 100. Image Image Image...
  • Page 80: Binary Center Of Gravity And Area

    Setting Binary Levels Density images with 256 gradations are read by the Camera. Binary processing involves separating these density images into black pixels (picture elements) (0) and white pixels (1). The F150 uses the white pixels to measure the object.
  • Page 81 Section Measurement Region Functions Adjust the binary level so that the area for which the center of gravity and axis angle are to be calculated is white. OK: The measurement object Wrong is shown in white pixels. Enter Set mode. Move the cursor to Measurement region/Setting and press the ENT Key.
  • Page 82 Section Measurement Region Functions Use the Left and Right Keys to decrement and increment the upper limit. or Press the ENT Key. A one-digit cursor will appear. Using the Left and Right Keys, move the cursor to the digit to be changed.
  • Page 83 Section Measurement Region Functions The following two drawing modes can be used to combine the figures that are drawn. Drawing mode Function Draw (OR) Draws a region as the measurement region. Mask (NOT) Masks part of the measurement region. Using the Up and Down Keys, move the cursor to select the figure to draw and press the ENT Key.
  • Page 84 Section Measurement Region Functions The following Edit Screen is displayed immediately after the search region is drawn, or when a region where a model is regis- tered is selected. Judgement for displayed image See note 1. Measurements for displayed image (See note 2.) Note 1.
  • Page 85 Section Measurement Region Functions The following diagram shows the OK or NG judgements made for the position of the center of gravity. Range of movement for OK result. The center of gravity is outside the acceptable range Procedure Move the cursor to the upper or lower limit to be changed. The cursor can be moved to items in brackets: [ ].
  • Page 86: Binary Axis Angle

    Section Measurement Region Functions Clearing Settings This section explains how to clear the settings for the selected region. When the settings are cleared, the region will be deleted and the binary level, upper limit, and lower limit will be returned to the default settings.
  • Page 87 Density images with 256 gradations are read by the Camera. Binary processing involves separating these density images into black pixels (picture elements) (0) and white pixels (1). The F150 uses the white pixels to measure the object. Adjust the binary level so that the area for which the center of gravity and axis angle are to be calculated is white.
  • Page 88 Section Measurement Region Functions Using the Up and Down Keys, move the cursor to Binary 2, and then press the ENT Key. The following screen will be displayed. Move the cursor to Reverse and press the ENT Key to reverse the black and white pixels. Move the cursor to the upper limit.
  • Page 89 Section Measurement Region Functions Drawing the Measurement Region The screen to draw the measurement region will be displayed immediately after the binary level is set, or when Region has been selected from the Edit Screen. The following two figures can be drawn to create the region. Figure Drawing method Specify two diagonally opposing...
  • Page 90 Section Measurement Region Functions If additional figures are to be drawn, move the cursor to Additional drawing and press the ENT Key. Repeat steps (1) to (3) for each figure. If the drawing for that region is finished, move the cursor to End and press the ENT Key.
  • Page 91 Section Measurement Region Functions 2. The calibrated values (X, Y) are displayed. Here, X and Y are the coordinates before position displacement com- pensation is performed. If the measurement for the center of gravity is less that –999.99, the display will show “–999.99, NG.”...
  • Page 92: Checking Measurement Conditions

    Section Measurement Region Functions Use the Up and Down Keys to change the value. Press the ENT Key. The value will be set. Repeat steps (1) to (5) to change other items. Select Binary level or Region to change the settings. Select Clear to clear all settings.
  • Page 93: Settings Outputs

    Section Settings Outputs Enter Set mode. Move the cursor to Measurement region/Display all and press the ENT Key. The measurement conditions will be displayed. Density Searches: The registered model will be shown on the display and a cross will appear at the center of the mod- Binary Center of Gravity and Area: The drawn region will be displayed.
  • Page 94 Section Settings Outputs Allocation Explanation Equation result Calculations are performed on measurement results for the regions to create a OK or NG output. Evaluation criteria can be set for the results of the calculations. Region judgement The judgement from a region is output (using the measurement conditions set for that region).
  • Page 95 Section Settings Outputs in the following tables. The basic procedure for setting an equa- tion is given later in this section. Region Regions The regions are displayed as shown in the following table. Item Display Region 0 Search, Binary 1, Search, Binary 1, or Binary 2 will be Region 1...
  • Page 96 Section Settings Outputs Measurement Items The following items can be used in equations. Item Display Explanation Search Search Measured position X X coordinate of found model Measured position Y Y coordinate of found model Reference position X X coordinate of registered model Reference position Y Y coordinate of registered model Difference in X...
  • Page 97 Section Settings Outputs Functions The following functions can be used in equations. Function Meaning Argu- ments DIST Calculates the distance between two points, such as the center of gravity or the center of the model. DIST(X coordinate of first point, Y coordinate of first point, X coordinate of second point,Y coordinate of second point) •...
  • Page 98 Section Settings Outputs Function Meaning Argu- ments Gives the absolute value. ABS(argument) ATN2 Calculates the arc tangent for the Y component/X component. The result is given as a radian of –π to π. ATN2(Y component, X component) • Example: Set the following to calculate the angle between a straight line joining the center of gravity for region 0 and the center of grav- ity for region 1 and a horizontal line.
  • Page 99 Section Settings Outputs Be sure that the cursor is within the brackets [ ] and press the ENT Key. The following screen will be displayed. Move the cursor to the item to be set and press the ENT Key. Example R1.X The selected item will be set in the equation.
  • Page 100 Section Settings Outputs Setting Evaluation Criteria for the Calculation Result Criteria are set to evaluate the calculation result as either OK or NG. Set the minimum and maximum values for the OK range as the criteria. The values can be set between –999,999.999 and 999,999.999.
  • Page 101 Section Settings Outputs Press the ESC Key to return to the screen where the termi- nal number can be selected. Note Several acceptable and unacceptable product images can be registered as samples, and the evaluation criteria can be set us- ing the measurements from those samples.
  • Page 102 Section Settings Outputs Enter Set mode. Move the cursor to Output settings/D0 and press the ENT Key. Move the cursor to the terminal number to be set and press the ENT Key. The screen for selecting either an equation or a region judgement will be displayed.
  • Page 103 Section Settings Outputs Using the Up and Down Keys, move the cursor to the region for which the judgement is to be output and press the ENT Key. The terminal number selected in step (3) will be set. Clearing Settings Use the Down Key to scroll down the region numbers.
  • Page 104: Rs-232C Outputs

    Section Settings Outputs 3-6-2 RS-232C Outputs This section explains how to set the output of measurement re- sults via the RS-232C port. The set measurement results will be output each time a mea- surement is performed. Output Number (0 to 7) Up to 8 equations can be set.
  • Page 105 Section Settings Outputs Possible Settings The items set in the equations are selected using the following menu. The settings possible for each item on this menu are given in the following tables. The basic procedure for setting an equa- tion is given later in this section. Region Regions The regions are displayed as shown in the following table.
  • Page 106 Section Settings Outputs Measurement Items The following items can be used in equations. Item Display Explanation Search Search Measured position X X coordinate of found model Measured position Y Y coordinate of found model Reference position X X coordinate of registered model Reference position Y Y coordinate of registered model Difference in X...
  • Page 107 Section Settings Outputs Functions The following functions can be used in equations. Function Meaning Argu- ments DIST Calculates the distance between two points, such as the center of gravity or the center of the model. DIST(X coordinate of first point, Y coordinate of first point, X coordinate of second point,Y coordinate of second point) •...
  • Page 108 Section Settings Outputs Function Meaning Argu- ments Gives the absolute value. ABS(argument) ATN2 Calculates the arc tangent for the Y component/X component. The result is given as a radian of –π to π. ATN2(Y component, X component) • Example: Set the following to calculate the angle between a straight line joining the center of gravity for region 0 and the center of grav- ity for region 1 and a horizontal line.
  • Page 109 Section Settings Outputs Check the cursor is within the brackets [ ] and press the ENT Key. The following screen will be displayed. Set the upper and lower limits only in Host Link mode. These limits will be ignored in Normal mode. Move the cursor to the item to be set and press the ENT Key.
  • Page 110: Monitor Mode

    Section Monitor Mode Once all the items have been set in the equations, press the ESC Key. The equation will be set. Example: Press the ESC Key to return to the screen for selecting the output order. → Note 1. Setting the Evaluation Criteria in Host Link Mode. p 92 →...
  • Page 111 ON (both Monitor and Run modes; 1 to 4,294,967,295) Move the cursor to MON and press the ENT Key. The F150 will now be in Monitor mode. Monitor mode will automatically be entered when Set mode is exited.
  • Page 112: Adjusting Criteria For Measurement Regions

    Section Monitor Mode 3-7-2 Adjusting Criteria for Measurement Regions The evaluation criteria can be adjusted while referring to mea- surement results in Monitor mode. Check that Monitor mode is selected and press the ENT Key. A screen to select Measurement region or Output settings will be displayed.
  • Page 113: Adjusting Criteria For Output Expressions

    Section Monitor Mode Binary Center of Gravity and Area Regions: The evaluation criteria for the binary level, X, Y, and area can be changed. Binary Axis Angle Regions: The evaluation criteria for the binary level, X, Y, area and the axis angle can be changed. Note 1.
  • Page 114 Section Monitor Mode Note Measurements can be performed even while the evaluation cri- teria are being set by inputting the STEP signal or pressing the TRIG Key. This is useful for adjusting the evaluation criteria with- out stopping assembly line operation. Check that Monitor mode is selected and press the ENT Key.
  • Page 115: Changing Search Intervals And Levels

    When a model is registered, the F150 automatically determines and sets the most appropriate search interval and level. The set- tings may differ even for similar images due to differences in the registered position or quality of the images.
  • Page 116 Section Monitor Mode After changing the settings, perform actual measurements and check that the mark can be found dependably. Procedure Check that Monitor mode is selected and press the ENT Key. The screen to select either Measurement region or Output settings will be displayed.
  • Page 117: Run Mode

    Section Run Mode Press the SHIFT + ESC Keys. A list of regions will be dis- played. Only density search regions can be selected. Search level Estimated times (ms) The estimated time are guides Y search interval only. Actual times are displayed in upper-right corner of display X search interval when actual measurement is...
  • Page 118 Run modes; 1 to 4,294,967,295) Procedure Move the cursor to Run and press the ENT Key. The F150 will be in Monitor mode. Press the TRIG Key on the Console or input the STEP sig- nal. The measurements will be performed and the measure- ment results will be output to an external device.
  • Page 119: Adjusting Criteria For Measurement Regions

    Section Run Mode → Via the RS-232C Port, Normal Communications p 165 → Via the RS-232C Port, Host Link Communications p 206 → Note Checking Measurements for Each Region p 111 → Checking Measurements for Each Output Expressions p 112 Caution The lighting will become progressively darker if used for long pe- riods.
  • Page 120: Adjusting Criteria For Output Expressions

    Section Run Mode Adjust the settings. The measurement results and judgements can be checked for each region if the STEP signal is input or the TRIG Key pressed while this screen is displayed. Density Search Regions: The evaluation criteria for X and Y correlations can be changed.
  • Page 121 Section Run Mode Note Measurements can be performed even while the evaluation cri- teria are being set by inputting the STEP signal or pressing the TRIG Key. This is useful for adjusting the evaluation criteria with- out stopping assembly line operation. Check that Run mode is selected and press the ENT Key.
  • Page 122: Changing Search Intervals And Levels

    When a model is registered, the F150 automatically determines and sets the most appropriate search interval and level. The set- tings may differ even for similar images due to differences in the registered position or quality of the images.
  • Page 123 Section Run Mode After changing the settings, perform actual measurements and check that the mark can be found dependably. Procedure Check that Monitor mode is selected and press the ENT Key. The screen to select either Measurement region or Output settings will be displayed.
  • Page 124: Changing Scenes

    Section Changing Scenes Press the SHIFT + ESC Keys. A list of regions will be dis- played. Only density search regions can be selected. Search level Estimated times (ms) The estimated time are guides Y search interval only. Actual times are displayed in upper-right corner of display X search interval when actual measurement is...
  • Page 125 Section Changing Scenes Note 1. The mode will remain the same after the scene is changed. 2. The scene can be changed by inputting a command from → the terminal block. p 134 3. To clear scenes, select OK on the confirmation message that appears when you enter Set mode.
  • Page 126: Displaying Memory Images

    Section 3-10 Displaying Memory Images If the settings have been changed, a confirmation message will be displayed. Save any required settings to flash memory before moving to the Basic Screen. Move the cursor to Scene 0B and press the ENT Key. A list of scenes, from scene 0 to scene 7, will be displayed.
  • Page 127 No image in memory. (Nothing will be displayed.) Vacancyj A number between 0 and 22 will appear for j. The F150 can store up to Note 23 images, and each is allocated a number between 0 and 22.
  • Page 128: System Menu

    Section 3-11 System Menu 3-11 System Menu The System Menu is used to set system parameters and to back up images on a computer. The top-level menu is shown in the fol- lowing diagram. Communications settings Backs up settings to a computer. Backup utilities Backs up images to a computer.
  • Page 129: Saving/Loading System And Scene Data

    3-11-2 Saving/Loading System and Scene Data The system and scene data can be backed up on a computer. 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.
  • Page 130 Section 3-11 System Menu Note Data is saved from the F150 to a computer, and loaded from a computer to the F150. Saving Data to the Computer Connect the COM 1 port on the computer and the F150 us- ing an RS-232C cable.
  • Page 131 Execute one of the procedures on the following pages to load data from the computer to the F150. The F150 will generate a timeout error if no response is from the external device for 30 seconds. An error message will be...
  • Page 132 End message will appear when the transfer is finished. Move the cursor to OK and press the ENT Key. Note Data is saved from the F150 to a computer, and loaded from a computer to the F150. Caution Do not turn OFF the power while a message is being displayed in any save or load operations.
  • Page 133 End message will appear when the transfer is finished. Move the cursor to OK and press the ENT Key. Note Data is saved from the F150 to a computer, and loaded from a computer to the F150. Caution Do not turn OFF the power while a message is being displayed in any save or load operations.
  • Page 134: Saving/Loading Image Data

    End message will appear when the transfer is finished. Move the cursor to OK and press the ENT Key. Note Data is saved from the F150 to a computer, and loaded from a computer to the F150. Caution Do not turn OFF the power while a message is being displayed in any save or load operations.
  • Page 135 Do not turn OFF the power while a message is being displayed in any save or load operation. Data in memory will be destroyed, and the F150 may not operate correctly the next time it is started. Move the cursor to System/ Load/Save image and press the ENT Key.
  • Page 136: Image Storage

    End message will appear when the transfer is finished. Move the cursor to OK and press the ENT Key. Note Data is saved from the F150 to a computer, and loaded from a computer to the F150. Caution Do not turn OFF the power while a message is being displayed in any save or load operations.
  • Page 137: Startup Scene And Mode

    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, measurement of objects can be started by simply turning the power ON and press the TRIG Key or input the STEP signal.
  • Page 138: Checking The Software Version

    The following example illustrates operation when the startup scene is set to 1 and the startup mode to Run. The next time the power is turned ON, the F150 will start at scene 1 and in Run mode. 3-11-6 Checking the Software Version Use the following procedure to check the software system ver- sion.
  • Page 139 Section 3-11 System Menu Move the cursor to System/Version. The following screen will be displayed. The version and date will be displayed. Move the cursor to OK and press the ENT Key.
  • Page 140: Terminal Blocks

    SECTION 4 Terminal Blocks This section describes the communications settings and I/O formats for communications with external devices via the terminal blocks. I/O Formats ....... . . 4-1-1 Inputs .
  • Page 141: I/O Formats

    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. The default is for output to be ON for NG results.
  • Page 142: Terminal Signal Operation And Timing

    Use the information provided in this section to determine the proper settings to be made in the next section. 4-2-1 No Handshaking The F150 outputs the measurement results without synchroniz- ing with the external device. Read the measurement results at the external device while the GATE terminal is ON.
  • Page 143 Function Turns ON during Run mode. BUSY Shows that the F150 is reading an image, changing a scene, etc. Do not input the next command while the BUSY signal is ON. Otherwise, commands may not be properly executed. Outputs the overall judgements. (Can be set to turn ON for either OK or NG judgement.)
  • Page 144 Section Terminal Signal Operation and Timing Input Terminals Terminal Function STEP Inputs a measurement trigger from a photoelectric sensor or other external device. One measurement will be taken on the rising edge of the STEP signal. Turn ON the STEP for at least 0.5 ms. Performing Continuous Measurements Enter Run mode Leave Run mode...
  • Page 145 Function Turns ON during Run mode. BUSY Shows that the F150 is reading an image, changing a scene, etc. Do not input the next command while the BUSY signal is ON. Otherwise, commands may not be properly executed. Outputs the overall judgements. (Can be set to turn ON for either OK or NG images.)
  • Page 146: Using Handshaking

    Function Turns ON during Run mode. BUSY Shows that the F150 is reading an image, changing a scene, etc. Do not input the next command while the BUSY signal is ON. Otherwise, commands may not be properly executed. Input Terminals...
  • Page 147 The F150 will not output data until this terminal is turned ON. Turn ON the DSA terminal when the external device is ready to receive data and the F150 has finished measurement. The BUSY terminal is ON during measurement, i.e., measurement will be completed when the BUSY terminal turns OFF.
  • Page 148: Communications Settings

    Section Communications Settings Communications Settings The communications specifications must be set when communi- cating with an external device. This section describes the operations required to make the fol- lowing communications settings. Operation based on these set- ting is described in the previous section. Item Description Output polarity...
  • Page 149 Section Communications Settings Move the cursor to System/Communications settings and press the ENT Key. Move the cursor to DI/DO. The following screen will be dis- played. Use the Up and Down Keys to move the cursor to items marked with a B and press the ENT Key. A list of options will be displayed.
  • Page 150 SECTION 5 RS-232C Normal Settings This section describes the communications settings for the RS-232C port when commu- nications are set for Normal mode. Communications Settings ..... . . 5-1-1 Flowcharts .
  • Page 151: Communications Settings

    If the Normal communications mode is selected, data can be out- put in non-procedural format to an external device via the RS-232C port. The F150 must be in Run mode to input commands and output measurement results. These operations cannot be performed in Set or Monitor modes.
  • Page 152 Section Communications Settings STEP Signal as Measurement Trigger F150 Computer STEP Perform measurement *The BUSY terminal is ON while a measurements are being performed. Output result Receive result Non-measurement Commands The following timing chart shows the basic flow of command execution.
  • Page 153 The RS-232C port can be used to save and load data, on an ex- ternal device. This section describes the setting used for the RS-232C port. The same communications settings must be used on both the F150 and the external device. Item Setting Use the...
  • Page 154 Section Communications Settings Move the cursor to RS-232C. The following screen will ap- pear. Use the Up and Down Keys to move the cursor to the item to be changed and press the ENT Key. A list of options will be displayed.
  • Page 155 RS/CS The hardware performs flow control. Use a cable that connects the RS and CS signals of the F150 and external device. Data is transferred when the CS signal from the external device is ON. Xon/off The software performs flow control.
  • Page 156: Command List

    The following commands can be input from the a computer or other host device connected to the RS-232C port. Commands are input in ASCII. Commands that Control Operation The following commands are used to control F150 operation. Command Function MEASURE or Performs one measurement.
  • Page 157: Input Format

    Section Input Format Commands that Read/Change Settings The following commands read or set measurement conditions. Command Setting SCENE Current scene number SRCHPARA SRCHPARA Density search Density search X criteria (upper and lower limits) Y criteria (upper and lower limits) Correlation criteria (upper and lower limits) AREAPARA Binary center of...
  • Page 158: Input Commands

    Section Input Commands b) Variables are indicated in italics in pointed brackets< >. Actual values must be input for the variables. c) Square brackets [ ] indicated optional arguments. Op- tional argument can be omitted. d) A delimiter is required at the end of the command. Note The delimiters have been omitted from the com- mands responses...
  • Page 159 Section Input Commands Output Output Meaning U=value Unit 0: µm, 1: mm, 2: cm X_HIGH=value Upper limit of X criteria for center of gravity X_LOW=value Lower limit of X criteria for center of gravity Y_HIGH=value Upper limit of Y criteria for center of gravity Y_LOW=value Lower limit of Y criteria for center of gravity S_HIGH=value...
  • Page 160: Axispara: Axis Parameter

    Section Input Commands Option Meaning U:value Unit 0: µm, 1: mm, 2: cm XH:value Upper limit of X criteria for center of gravity (–999.99 to 999.99) XL:value Lower limit of X criteria for center of gravity (–999.99 to 999.99) YH:value Upper limit of Y criteria for center of gravity (–999.99 to 999.99) YL:value...
  • Page 161 Section Input Commands Option Meaning Unit Upper limit of X criteria for center of gravity Lower limit of X criteria for center of gravity Upper limit of Y criteria for center of gravity Lower limit of Y criteria for center of gravity Upper limit of axis angle criteria Lower limit of axis angle criteria Upper limit of area criteria...
  • Page 162 Section Input Commands Setting Measurement Conditions Input AXISPARA /A<Region_number> [/U:<Unit>] [/XH:<Upper_limit_of_X_criteria>] [/XL:<Lower_limit_of_X_criteria>] [/YH:<Upper_limit_of_Y_criteria>] [/YL:<Lower_limit_of_Y_criteria>] [/TH:<Upper_limit_of_axis_angle_criteria>] [/TL:<Lower_limit_of_axis_angle_criteria>] [/SH:<Upper_limit_of_area_criteria>] [/SL:<Lower_limit_of_area_criteria>] [/BA:<Upper_limit_of_binary_level>] [/BI:<Lower_limit_of_binary_level>] [/BR:<Reversal_of_binary_level>] • Set a value between 0 and 15 for the region number. • The options are given in the following table. Any measurement condition that is not specified will not be changed.
  • Page 163: Datasave: Data Save

    Data not correctly saved: Note Do not turn OFF the power until a response has been received. 5-4-4 EXP: Expression EXP is used to read the results of output expressions for images in F150 memory. Input EXP /I<Image_number> [/P<Terminal_block_output_number>] [/S<RS-232C_output_number>] •...
  • Page 164: Exppara: Export Parameter

    Section Input Commands Example Input: EXP /I10 The results for image 10 will be read. Output: The results are output in order, according to the output expres- sion numbers. Para=15.612,22.563 Two output expressions are set for the terminal block: The result for DO 0 (output 0) is 15.612, and the result for DO 1 (output 1) is 22.563.
  • Page 165: Measdata: Measure Data

    Section Input Commands E_LOW=80.000,E_HIGH=100.000 Output: The lower limit is 80.000, and the upper limit is 100.000. Setting Evaluation Criteria Input EXPPARA {/P<Terminal_block_output_number>| /S<RS-232C_output_number>} [/EH:<Upper_limit>][/EL:<Lower_limit>] • Set the value between 0 and 15 for the terminal output number. • Specify an RS-232C output number between 0 and 7. •...
  • Page 166: Measure: Measure

    Section Input Commands • The options are given in the following table. If all options are omitted, all measurement conditions will be output. Option Meaning Judgement X coordinate Y coordinate Axis angle Area (for binary center of gravity and area or binary axis angle regions) Correlation (for density search regions) Output...
  • Page 167: Posidata: Position Data

    Section Input Commands Performing One Measurement Input MEASURE Output Measurement correctly performed: → OK delimiter Measurement_results p 165 Measurement not correctly performed: ER Starting Continuous Measurements Input MEASURE /C Output Measurement correctly performed: OK delimiter Continuous_measurement_results → p 165 Measurement not correctly performed: ER Stopping Continuous Measurements Input MEASURE /E...
  • Page 168 Section Input Commands Output Output Meaning X=value Displacement in the X direction Y= value Displacement in the Y direction T= value Rotational displacement (θ) The output values are not calibrated. “ER” will be output if the input command is incorrect.
  • Page 169: Reset: Reset

    X=95.65,Y=459.25 Output: The X displacement is 95.65, and the Y displacement is 459.25. 5-4-9 RESET: Reset RESET is used to reset the F150. Input RESET Output Nothing is output for this command. 5-4-10 SCENE: Scene SCENE is used to read or set the scene number.
  • Page 170: Scnload: Scene Load

    SCNLOAD <Scene_number> • Specify a scene number between 0 and 15. • The F150 will begin preparations when the SCNLOAD com- mand is input. Once the preparations have been completed, the READY signal will be turned ON. Wait until the external de- vice receives the READY signal before starting to send data.
  • Page 171 Section Input Commands Output Output Meaning U=value Unit 0: mm, 1: mm, 2: cm XH=value Upper limit of X criteria XL=value Lower limit of X criteria YH=value Upper limit of Y criteria YL=value Lower limit of Y criteria RH=value Upper limit of correlation criteria RL=value Lower limit of correlation criteria “ER”...
  • Page 172: Measurement Results Output Format

    Section Measurement Results Output Format Output Settings correctly made: Settings not correctly made: ER Example Input: SRCHPARA /A1 YL:250.00 YH:350.00 The lower limit of the Y criteria will be set to 250.00, and the upper limit will be set to 350.00 for the region 1. Output: Measurement Results Output Format Measurement results are output in ASCII in order from the small-...
  • Page 173: Rs-232C Host Link Settings

    SECTION 6 RS-232C Host Link Settings This section describes the communications settings for the RS-232C port when commu- nications are in Host Link mode. Communications Settings ......6-1-1 Flow Chart .
  • Page 174: Communications Settings

    Set or Monitor modes. PLC Programming Precautions The F150 will send a command to the PLC to change the PLC to MONITOR mode if the F150 in Host Link mode enters Run mode when it is connected to a PLC via the RS-232C port. If the PLC was originally in PROGRAM mode, entering MONITOR mode will cause the program in the PLC to be executed.
  • Page 175 Section Communications Settings RS-232C Communications Alone Commands for the F150 are written to the Read Area in the PLC. The F150 will automatically read these commands, execute them, and write any results to the Write Area. F150 Unit No.: 00 (fixed) Run mode entered.
  • Page 176 Communications Settings Using the STEP Signal Measurements are performed when the STEP signal is received and measurement results are written to the Write Area. F150 Unit No.: 00 (fixed) Run mode entered. *Command automatically sent to change PLC operating mode.
  • Page 177: Setting Methods

    Section Communications Settings Using TXD Instructions Commands are sent from the PLC to the F150 using TXD instructions in the PLC’s ladder program instead of the Read Area. If TXD instructions are to be used to send commands, set the Read Area to “None.”...
  • Page 178 Section Communications Settings Item Setting Use the Baud rate 2,400/4,800/9,600/19,200/ 38,400* (bps) same settings on Data length 7, 8* (bits) the PLC. Parity None, even, odd Stop bit 1*, 2 (bits) Delimiter CR*, LF, CR+LF Operating mode Select Host Link from Normal*, Host Link, and Menu operation.
  • Page 179 Setting the Read and Write Areas in the PLC 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 PLC.
  • Page 180 Section Communications Settings Check that the cursor is on Host Link and press the ENT Key. The following screen will be displayed. 2 to 4 6 to 9 Using the Up and Down Keys, move the cursor to Read Area and press the ENT Key. A list of areas will be dis- played.
  • Page 181: Sample Programming

    0104 Sample Program following sample program OMRON C200H/C200HS PLC. The MEASUREMENT command is input from the PLC, and the F150 outputs the results to the PLC. Suitable output methods would need to be set for RS-232C outputs 0 and 1.
  • Page 182 Section Sample Programming Data Area Allocations Input Command Area DM 0100 (Read Area from F150) DM 0101 Initial value of #0000 is stored DM 0102 in DM 0100 DM 0103 DM 0104 Results Storage Area for Output 0 (Write Area from F150)
  • Page 183 Section Sample Programming PLC Ladder Diagram 00001 (1) When CIO 00001 turns ON, the first word CMP(20) (begin read word) in the Input Command Area DM 0100 is checked to see if it has been cleared to #0000. #0000 25506 (2) If the first word is #0000, the MEASUREMENT MOV(21) command is moved to the Input Command...
  • Page 184: Command Tables

    The following commands can be input from the PLC or other ex- ternal device to the F150. In the PLC, set the command to be executed starting at the begin read word. Commands that Control F150 Operation The following commands control F150 operation. Command code Function 0010 Executes one measurement.
  • Page 185 Section Command Tables Commands that Read Measurement Conditions The following commands read measurement conditions. The measurement conditions are written to the Write Area. Command code Function 0023 Current scene number Density Density 1010 X criteria (upper and lower limits) search 1011 Y criteria (upper and lower limits) 1012...
  • Page 186 Section Command Tables Commands that Change F150 Settings The following commands change measurement conditions. Command code Function Density search 1000 X criteria (upper and measurement lower limits) 1001 Y criteria (upper and lower limits) 1002 Correlation criteria (upper and lower...
  • Page 187: Host Link Commands

    Section Host Link Commands Host Link Commands This section explains the command formats in order of the com- mand codes. Commands are input in BCD. Set the commands starting from the begin read word of the Read Area. 6-4-1 0010: MEASUREMENT Executes one measurement of the camera image.
  • Page 188: 0022: Decrement Scene

    15 to 12 11 to 8 7 to 4 3 to 0 0000 0000 0110 0110 Command code 6-4-9 0092: RESET Resets the F150. Input Bits Begin read Begin read Setting Setting word 15 to 12 11 to 8 7 to 4...
  • Page 189: 1000: Set X Criteria For Density

    Section Host Link Commands 6-4-10 1000: SET X CRITERIA FOR DENSITY Sets the X coordinate criteria for density search measurement to between –999.99 and 999.99. Input Bits Begin read Begin read Setting Setting word 15 to 12 11 to 8 7 to 4 3 to 0 0001...
  • Page 190: 1002: Set Correlation For Density

    Section Host Link Commands 6-4-12 1002: SET CORRELATION FOR DENSITY Sets the correlation criteria for density search measurement to between 0 and 100. Input Bits Begin read Begin read Setting Setting word 15 to 12 11 to 8 7 to 4 3 to 0 0001 0000...
  • Page 191: 1011: Read Y Criteria For Density

    Section Host Link Commands 6-4-14 1011: READ Y CRITERIA FOR DENSITY Reads the Y coordinate criteria for density search measurement. Input Bits Begin read Begin read Setting Setting word 15 to 12 11 to 8 7 to 4 3 to 0 0001 0000 0001...
  • Page 192: 1020: Set X Criteria For Gravity

    Section Host Link Commands 6-4-16 1020: SET X CRITERIA FOR GRAVITY Sets the X coordinate criteria for binary center of gravity and area measurement to between –999.99 and 999.99. Bits Begin read Begin read Setting Setting word 15 to 12 11 to 8 7 to 4 3 to 0...
  • Page 193: 1022: Set Area Criteria For Gravity

    Section Host Link Commands 6-4-18 1022: SET AREA CRITERIA FOR GRAVITY Sets area criteria for binary center of gravity and area measure- ment to between 0 and 999,999. Input Bits Begin read Begin read Setting Setting word 15 to 12 11 to 8 7 to 4 3 to 0...
  • Page 194: 1031: Read Y Criteria For Gravity

    Section Host Link Commands Output Bits Begin Begin Setting Setting write word 15 to 12 11 to 8 7 to 4 3 to 0 Write Flag 0000 0000 00** Unit 0000 100’s digit 10’s digit 1’s digit Integer of upper limit Sign 0000 0000...
  • Page 195: 1032: Read Area Criteria For Gravity

    Section Host Link Commands 6-4-22 1032: READ AREA CRITERIA FOR GRAVITY Reads the area criteria for binary center of gravity and area mea- surement. Input Bits Begin read Begin read Setting Setting word 15 to 12 11 to 8 7 to 4 3 to 0 0001 0000...
  • Page 196: 1033: Read Binary Level For Gravity

    Section Host Link Commands 6-4-23 1033: READ BINARY LEVEL FOR GRAVITY Reads the binary level for binary center of gravity and area mea- surement. Input Bits Begin read Begin read Setting Setting word 15 to 12 11 to 8 7 to 4 3 to 0 0001 0000...
  • Page 197: 1041: Set Y Criteria For Angle

    Section Host Link Commands 6-4-25 1041: SET Y CRITERIA FOR ANGLE Sets Y coordinate criteria for binary axis angle measurement to between –999.99 and 999.99. Input Bits Begin read Setting Begin read Setting word 15 to 12 11 to 8 7 to 4 3 to 0 0001...
  • Page 198: 1043: Set Area Criteria For Angle

    Section Host Link Commands 6-4-27 1043: SET AREA CRITERIA FOR ANGLE Sets the area criteria for binary axis angle measurement to be- tween 0 and 999,999. Input Bits Begin read Begin read Setting Setting word 15 to 12 11 to 8 7 to 4 3 to 0 0001...
  • Page 199: 1051: Read Y Criteria For Angle

    Section Host Link Commands Output Bits Begin Begin Setting Setting write word 15 to 12 11 to 8 7 to 4 3 to 0 Write Flag 0000 0000 00** Unit 0000 100’s digit 10’s digit 1’s digit Integer of upper limit Sign 0000 0000...
  • Page 200: 1052: Read Angle Criteria For Angle

    Section Host Link Commands 6-4-31 1052: READ ANGLE CRITERIA FOR ANGLE Reads axis angle criteria for binary axis angle measurement. Input Bits Begin read Begin read Setting Setting word 15 to 12 11 to 8 7 to 4 3 to 0 0001 0000 0101...
  • Page 201: 1054: Read Binary Level For Angle

    Section Host Link Commands Output Bits Begin Begin Setting Setting write word 15 to 12 11 to 8 7 to 4 3 to 0 Write Flag 0000 0000 0000 Write verification flag 1,000’s 100’s digit 10’s digit 1’s digit Last 4 digits of Integer digit of upper limit Sign...
  • Page 202: 1100: Set Terminal Expression Criteria

    Section Host Link Commands 6-4-34 1100: SET TERMINAL EXPRESSION CRITERIA Sets correlation criteria for the output expression for a terminal block output to between–999,999.999 and 999,999.999. Input Bits Begin read Begin read Setting Setting word 15 to 12 11 to 8 7 to 4 3 to 0 0001...
  • Page 203: 1110: Read Terminal Expression Criteria

    Section Host Link Commands 6-4-36 1110: READ TERMINAL EXPRESSION CRITERIA Reads the correlation criteria for the output expression for a ter- minal block output. Input Bits Begin read Begin read Setting Setting word 15 to 12 11 to 8 7 to 4 3 to 0 0001 0001...
  • Page 204: 1200: Read Stored Image Judgement

    Section Host Link Commands Output Bits Begin Begin Setting Setting write word 15 to 12 11 to 8 7 to 4 3 to 0 Write Flag 0000 0000 0000 Write verification flag 1,000’s 100’s digit 10’s digit 1’s digit Last 4 digits of Integer digit of upper limit Sign...
  • Page 205: 1201: Read X For Stored Image

    Section Host Link Commands 6-4-39 1201: READ X FOR STORED IMAGE Reads the X coordinate for a stored image. The X coordinate of the center of the model is obtained for density search measure- ment regions, and the X coordinate of the center of gravity is ob- tained for binary center of gravity and area and binary axis angle regions.
  • Page 206: 1202: Read Y For Stored Image

    Section Host Link Commands 6-4-40 1202: READ Y FOR STORED IMAGE Reads the Y coordinate for a stored image. The Y coordinate of the center of the model is obtained for density search measure- ment regions, and theY coordinate of the center of gravity is ob- tained for binary center of gravity and area and binary axis angle regions.
  • Page 207: 1203: Read Angle For Stored Image

    Section Host Link Commands 6-4-41 1203: READ ANGLE FOR STORED IMAGE Reads the axis angle on the real coordinate system for a stored image. The axis angle coordinates can be read using this com- mand only for binary axis angle measurement regions. Input Bits Begin read...
  • Page 208: 1210: Read X Displacement

    Section Host Link Commands Output Bits Begin Begin Setting Setting write word 15 to 12 11 to 8 7 to 4 3 to 0 Write Flag 0000 0000 0000 Write verification flag 1,000’s 100’s digit 10’s digit 1’s digit Last four digits of digit measurement Sign...
  • Page 209: 1211: Read Y Displacement

    Section Host Link Commands 6-4-44 1211: READ Y DISPLACEMENT Reads the Y displacement for a stored image. The output value is not calibrated. Input Bits Begin read Begin read Setting Setting word 15 to 12 11 to 8 7 to 4 3 to 0 0001 0010...
  • Page 210: 1220: Read Terminal Expression Result

    Section Host Link Commands 6-4-46 1220: READ TERMINAL EXPRESSION RESULT Reads the result of the output expression set for a terminal block output for a stored image. The calibrated value is output. Input Bits Begin read Begin read Setting Setting word 15 to 12 11 to 8...
  • Page 211: 1221: Read Rs-232C Expression Result

    Section Host Link Commands 6-4-47 1221: READ RS-232C EXPRESSION RESULT Reads the result of the output expression set for an RS-232C output for a stored image. The calibrated value is output. Input Bits Begin read Begin read Setting Setting word 15 to 12 11 to 8 7 to 4...
  • Page 212: Output Format

    Section Output Format Output Format When a measurement is executed, the results are output in BCD to the Write Area of the PLC. The output will be in order, starting with the smallest output number. Write Flag switches between 0000 and 1111 each time data is output. Monitor this flag to see when measurement results have been written.
  • Page 213 Section Output Format Example 2: If all outputs from 0 to 7 are set, the measurement results will be output in two groups. Group 1: Measurement results for outputs 0 to 6. Group 2: Measurement result for output 7. Bits Begin Begin Setting...
  • Page 214: Rs-232C Menu Operation Settings

    RS-232C Menu Operation Settings This section describes the communications settings for the RS-232C port when commu- nications are in Menu operation mode. Menu operation mode allows F150 menus to be ma- nipulated from a computer or other external device via the RS-232C port.
  • Page 215 Section RS-232C Menu Operation Settings Make the same communications settings for the F150 and the external device. Set the F150 to Menu operation mode. The measurement results will be output in Normal mode format → in Menu operation mode p 165...
  • Page 216 Section RS-232C Menu Operation Settings Move the cursor to RS-232C and press the ENT Key. The following screen will be displayed. Using the Up and Down Keys, move the cursor to the item to be changed and press the ENT Key. A list of options will be displayed.
  • Page 217: Troubleshooting

    SECTION 8 Troubleshooting This section lists the errors that may occur during F150 operation, along with their probable causes and remedies.
  • Page 218 Communications error. An error has occurred with the communications via the Please check RS-232 RS-232C port. communications settings. Check the external device and F150 communications (0300) settings. Data transmitted from the The Host Link command received via the RS-232C port is PLC is incorrect.
  • Page 219 If the error persists, the flash memory itself may be damaged. Contact your nearest OMRON representative. Maximum number of Up to 16 diagrams can be drawn for each region, and a graphics has already been total of 64 for each scene.
  • Page 220 Section Troubleshooting Message Probable Cause and Remedy There is nothing in the The white pixels in the region have an area of 0, making region. calculation of the center of gravity impossible. Place the measurement object correctly within the region. Timeout error.
  • Page 221: Index

    Index calibration, 3 Auto Menu, 30 commands axis angle, 65 host link. See host link commands See also binary axis angle input. See input commands reading for stored images, 201 list, 149, 178 measurement, 144 conditions, 179 results, 150, 178 non-measurement, 138, 145 operation, 149, 178 settings, 150, 180...
  • Page 222 Index density searches Measurement, 181 correlation, 184, 185 Read Angle Criteria for Angle, 194 object measurement, 67 Read Angle for Stored Image, 201 overview, 4, 9 Read Angular Displacement, 203 position compensation, 47 Read Area Criteria for Angle, 194 X criteria, 183, 184 Y criteria, 183, 185 Read Area Criteria for Gravity, 189 Read Binary Level for Angle, 195...
  • Page 223 134, 137, 161 area/correlation, 201 command, 181 axis angle, 201 single, 160 judgements, 198 command, 181 to F150 memory, 128 stop command, 181 X coordinate, 199 measurement conditions X displacement, 202 Auto Menu, 30 Y coordinate, 200 checking, 84, 102...
  • Page 224 Index models clearing settings, 51 evaluation criteria, 49 ports. See RS-232C; terminal blocks registering, 47, 67 position compensation, 2, 9, 44 modes. See operation; starting See also rotational position compensation regions clearing settings, 57 Monitor mode, 102 drawing, 53 See also operation settings checking, 63 numeric values.
  • Page 225 Index system data, 124 See also data menu, 120 scenes changing, 3, 116, 134, 181 data, 125, 162 See also data loading, 163 number terminal blocks, 3, 133 decrementing, 182 outputs, 85 incrementing, 181 reading, 182 terminals See also input terminals; output terminals screen, display, 27 signal operation and timing, 135 search intervals, 107, 114...
  • Page 226: 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. Z126-E1-1A Revision code The following table outlines the changes made to the manual during each revi- sion. Page numbers refer to the previous version. Revision Date Revised content...

Table of Contents