Sharp IV-S20 User Manual
Sharp IV-S20 User Manual

Sharp IV-S20 User Manual

Compact image sensor camera
Table of Contents

Advertisement

Quick Links

Version 2.3
Produced in July. 2002
Compact image sensor camera
S
Model name
IV-S20
User's Manual
Applied for software version 2.09 (S2.09)

Advertisement

Table of Contents
loading

Summary of Contents for Sharp IV-S20

  • Page 1 Version 2.3 Produced in July. 2002 Compact image sensor camera Model name IV-S20 User's Manual Applied for software version 2.09 (S2.09)
  • Page 2 Thank you for purchasing the SHARP IV-S20 compact image sensor camera. Read this user's manual care- fully to thoroughly familiarize yourself with the functions and proper procedures for operation. Store this user's manual in a safe place. We are confident that the manual will be helpful whenever you encounter a problem.
  • Page 3: Safety Precautions

    Caution - Do not connect cameras, other than those specified (IV-S20C1/S30C1/S30C2), to the main housing of the IV-S20. Connecting any other camera may damage the IV-S20 or the camera. - Connect only to the specified power source. Connection to the wrong power source may cause a fire.
  • Page 4 - Don't disassemble or modify the camera. Fires, breakdowns or malfunctions may occur, if the camera is disassembled. Caution - Turn OFF the power source before connecting or disconnecting the IV-S20. If you don't, electric shocks, malfunctions or breakdowns may occur.
  • Page 5: Organization Of This Manual

    Organization of This Manual The following chart shows the sequence of the chapters to be read for details about each operation. (Operation) (Contents) (Chapters in this manual) 1 System - Review the system configuration (sys- Chapter 1. Overview tem equipment, measurement items, in- Chapter 2.
  • Page 7 Chapter 1: Overview Chapter 2: Precautions for Use Chapter 3: Operation Examples Chapter 4: System Configuration Chapter 5: Part Names and Functions Chapter 6: Installation Conditions and Method Chapter 7: Setting and Operating Outlines Chapter 8: Run Menu Conditions and Settings Chapter 9: Setting the Conditions for Each Object Type Chapter 10: PC Function Chapter 11: Setting the Input/Output Conditions...
  • Page 9: Table Of Contents

    [2] System configuration example for measurement triggered by the internal CCD sensor trigger 4-5 [3] System configuration example for measurement triggered by a command from a personal computer Chapter 5: Part Names and Functions ............... 5-1 to 5 5-1 IV-S20 main housing 5-1 5-2 Camera section 5-2 [1] Camera 5-2...
  • Page 10 6-1 Installation conditions 6-1 [1] Lighting equipment 6-1 [2] Illuminance and shutter speed 6-3 [3] Optimum lens and resolution 6-4 6-2 Connection, installation, and wiring of IV-S20 main housing 6-8 [1] Connection 6-8 [2] Installation 6-10 [3] Connecting a power supply 6-12...
  • Page 11 Chapter 9 : Setting the Conditions for Each Object Type ......9-1 to 117 9-1 Outline 9-1 9-2 Shared settings 9-3 [1] Window shape selection and settings 9-3 [2] Image settings 9-6 [3] Evaluation conditions 9-13 [4] Numerical calculations 9-14 [5] Position correction 9-20 [6] Comparative calculations between images 9-24 [7] Copying (editing) 9-28...
  • Page 12 [1] Number of blocks 14-5 [2] Contents of the measurement result block (for each measurement function) 14-5 14-4 Interface 14-16 [1] Setting items for the IV-S20 14-16 [2] Connection with a Sharp PC 14-17 [3] Connection with a Mitsubishi PC 14-23...
  • Page 13 Chapter 16: Specifications ................. 16-1 to 7 16-1 IV-S20 main housing 16-1 [1] Image processing specifications 16-1 [2] PC specifications 16-2 [3] Hardware specifications 16-2 16-2 Camera section 16-3 [1] Camera main body (IV-S20C1) 16-3 [2] Camera (IV-S30C1/C2) 16-4 [3] Camera lens (IV-S20L16) 16-5...
  • Page 14: Chapter 1: Overview

    (5) CCD trigger The IV-S20 samples a part of the CCD (which can be set to any position with according to item ), and it will starts shutter operation when value of the area being monitored exceeds 50%. With this function, there is no need for an additional photo sensor or proximaty sensor.
  • Page 15: Iv-S20 Features

    (11) Compact The IV-S20 can be connected to a maximum of two cameras. It is the smallest image processing system in the industry with the dark and light processing capabilities (as of August 1998).
  • Page 16: Measurement Program

    You can select operating condition parameters to suit your application of the IV-S20. [1] Positional deviation/absolute position measurement The gray scale search function makes it possible to measure positional deviation as well as the absolute position.
  • Page 17: Degree Of Match For Shape And Size

    2 Correct the position of the object being measured from the coordinates for the criterion image obtained in item 1 above. 3 If the matching level of the object image is low, the IV-S20 can determine that the label position is NG.
  • Page 18: Lead Inspection

    Overview [4] Lead inspection Pur- Based on positional information obtained from the gray scale search function, inspect the pose condition of IC leads and connector pins. (No. of detected lead pins: Max. 128 pieces) Appli- Inspect IC leads or connector pins cation [Inspect the layout of the IC leads or connector pins] Lead inspection...
  • Page 19: Counting Quantities By Binary Conversion

    Overview [6] Counting quantities by binary conversion Checks the number of objects (max. 3000 pcs.) when there is more than one object in an Pur- image. Measurement of the object’s position is optional. pose - When the specified pixel field has been converted to a binary image, the white areas are measured or identified as separate objects and counted.
  • Page 20: Existence Inspection By Point Measurement

    Overview [8] Existence inspection by point measurement The presence or absence of target objects is examined. · A simple black or white evaluation is made in the specified pixel area of binary Purpose images. · The light level in the specified pixel area is averaged, and a decision is made whether or not it is within the specified lightness range in gray scale images.
  • Page 21: Chapter 2: Precautions For Use

    [SYSTEM SETUP] menu by pressing the SET key. If you do not save the data, the data will disappear if you turn OFF the power to the IV-S20 main unit or if you change the item numbers to be processed.
  • Page 22: Chapter 3 : Operation Examples

    [Preparation for operation] (1) Connection Before turning ON the power, connect the IV-S20 main housing, the camera, monitor, remote key pad and power supply (24 VDC). Connect the camera to the camera 1 connector (CAMERA 1) on the main housing.
  • Page 23: Area Measurement By Binary Conversion

    Operation Examples (Area measurement by binary conversion) 3-1 Area measurement by binary conversion An example of area measurement is given using the following object. The area will be measured by counting the number of pixels after binary conversion. Object to be measured (white) (1) Operation on the MAIN OPS MENU (after initialize all conditions) MAIN OPS MENU (TYPE00)
  • Page 24 Operation Examples (Area measurement by binary conversion) Continued from the preceding page (3) Operation on the [OBJECT TYPE COND] menu F C1 H [OBJECT TYPE COND] 1OBJECT TYPE NO. 00(0~15) 2EDIT COPY( TYPE00) INITIALIZE 3TITLE REGISTRATION (TO NEXT SUB-MENU) 4MEAS.0, CAMERA1 NO (TO NEXT SUB-MENU) 5POS.
  • Page 25 Operation Examples (Area measurement by binary conversion) Continued from the preceding page (6) Image adjustment F C1 H Press the TRG/BRT key on the remote key pad, and the level Measurement window (brightness of the screen) will be switched between H and L. Indicates Camera 1.
  • Page 26 Operation Examples (Area measurement by binary conversion) Continued from the preceding page (8) Operation on the [BIN.AREA SET] menu screen (setting an image for binary conversion) 5THRESHOLD VALUE U.LM 255 L.LM 100(0~255) 1. Move the cursor to 5 THRESHOLD VALUE (threshold value) and press the SET key. 2.
  • Page 27 "SAVING" to "SAVING COMPLETE" Note: - If the ESC key is pressed, the settings you entered will not be saved in the IV-S20 flash memory. In this case, if the power to the IV-S20 main housing is turned OFF, or if the type No.
  • Page 28 Operation Examples (Area measurement by binary conversion) Continued from the preceding page (11) Measuring the area Press the TRG/BRT key, and the size of the object in the image in the window will be displayed as a pixel count. (TYPE00) F L C1ALLC2NO [Display of the measured result] VX.X...
  • Page 29: Position Measurement

    Operation Examples (Position measurement) 3-2 Position measurement An example of the operation for measuring the deviation (from an absolute position) of a positioning mark is shown below. Positioning mark (1) Operation on the MAIN OPS MENU (after initialize all condetions) MAIN OPS MENU (TYPE00) F L C1ALLC2NO...
  • Page 30 Operation Examples (Position measurement) Continued from the preceding page (3) Operation on the [OBJECT TYPE COND] menu [OBJECT TYPE COND] F C1 H 1OBJECT TYPE NO. 00(0~15) 2EDIT COPY( TYPE00) INITIALIZE 3TITLE REGISTRATION (TO NEXT SUB-MENU) 4MEAS.0, CAMERA1 NO (TO NEXT SUB-MENU) 5POS.
  • Page 31 Operation Examples (Position measurement) Continued from the preceding page (6) Image adjustment F C1 H Press the TRG/BRT key on the remote key pad, and the level (brightness of the screen) will be switched between H and L. Image window Indicates camera 1.
  • Page 32 Operation Examples (Position measurement) Continued from the preceding page 4. Press the ESC key, move the cursor to 3 SEARCH AREA (search window) and press the SET key. 5. Create a search window (dotted line) to be used as the search area. - The search area is the area within which the new image will be searched for a match with the image stored in step 3.
  • Page 33 Operation Examples (Position measurement) Continued from the preceding page (9) Setting the final evaluation output condition This setting is used to output the result of the final evaluation externally (see page 3-14). - The final evaluation result is always output to the auxiliary relay C112. When the final evaluation result is OK, C112 is ON, and when the result is NG, it is OFF.
  • Page 34 "SAVING" to "SAVING COMPLETE." Note: · If the ESC key is pressed, the settings you entered will not be saved in the IV-S20 flash memory. In this case, if the power to the IV-S20 main housing is turned OFF, or if the type No.
  • Page 35 Operation Examples (Position measurement) Continued from the preceding page (11) Measuring the positional deviation Press the TRG/BRT key, and the result of measuring the positional deviation (absolute position) from the stored positioning mark image will be displayed. (TYPE00) F H C1ALLC2NO [Display of measured result] VX.X Final evaluation result (*1)
  • Page 36: Degree Of Match Inspection For Shape And Size

    Operation Examples (Degree of match inspection) 3-3 Degree of match inspection for shape and size Below is an example of an operation to determine the degree of match of the images 0 and 1, and the coordinates of the detection points with respect to the following object. Image 0 Image 1 Detection point 0...
  • Page 37 Operation Examples (Degree of match inspection) Continued from the preceding page (3) Operation on the [OBJECT TYPE COND] (conditions of object type) menu [OBJECT TYPE COND] F C1 H 1OBJECT TYPE NO. 00(0~15) 2EDIT COPY( TYPE00) INITIALIZE 3TITLE REGISTRATION (TO NEXT SUB-MENU) 4MEAS.0, CAMERA1 NO (TO NEXT SUB-MENU) 5POS.
  • Page 38 Operation Examples (Degree of match inspection) Continued from the preceding page (5) Operation on the [MEASURING COND] (measurement condition) menu 1. Move the cursor to 1 REGST NO. (register number) and press the SET key. Move the cursor to YES and press the SET key. - Items 2 to 5 will be displayed.
  • Page 39 Operation Examples (Degree of match inspection) Continued from the preceding page (7) Operation for the gray scale search matching setting (setting the reference image 0) 1. Press the ESC key, and all menus to be used for setting the gray scale search conditions will be displayed.
  • Page 40 Operation Examples (Degree of match inspection) Continued from the preceding page 6. Move the cursor to 4 DTECT COORD with the up and down keys, and press the SET key. (If the crosshair cursor does not need to be moved, proceed to step 9.) - Move the cursor to "FREE"...
  • Page 41 "SAVING" to "SAVING COMPLETE" Note: · If the ESC key is pressed, the settings you entered will not be saved in the IV-S20 flash memory. In this case, if the power to the IV-S20 main husing is turned OFF, or if the type No.
  • Page 42 Operation Examples (Degree of match inspection) Continued from the preceding page (12) Degree of match inspection Press the TRG/BRT key, and the inspection result for image 0 (registration No. 00) will be displayed. (TYPE00) F L C1ALLC2NO [Display of inspection result] VX.X Final evaluation result (*2) MEAS.
  • Page 43: Distance Measurement

    Operation Examples (Distance measurement) 3-4 Distance measurement Below is an example of the operation for determining the length L of a target object. Object to be measured (rectangle) Length L (1) Operation on the MAIN OPS MENU (after initialize all conditions) MAIN OPS MENU (TYPE00) F L C1ALLC2NO...
  • Page 44 Operation Examples (Distance measurement) Continued from the preceding page (3) Operation on the [OBJECT TYPE COND] (conditions of object type) menu [OBJECT TYPE COND] F C1 H 1OBJECT TYPE NO. 00(0~15) 2EDIT COPY( TYPE00) INITIALIZE 3TITLE REGISTRATION (TO NEXT SUB-MENU) 4MEAS.0, CAMERA1 NO (TO NEXT SUB-MENU) 5POS.
  • Page 45 Operation Examples (Distance measurement) Continued from the preceding page (5) Operation on [MEASURING COND] menu 1. Move the cursor to 1 START POINT NO. (starting point number) with the up and down keys, and press the SET key. Enter the number "00," set the cursor to YES with the left and right keys, and press the SET key.
  • Page 46 Operation Examples (Distance measurement) Continued from the preceding page (7) Operation for the gray scale search matching setting (setting the starting point 00) 1. Press the ESC key, and all menus used for the gray scale searh matching setting) will be displayed.
  • Page 47 Operation Examples (Distance measurement) Continued from the preceding page 6. Move the cursor to 4 DETECTED COORD (position to detect) with the up and down keys, and press the SET key. (If the crosshair cursor does not need to be moved, proceed to step - Move the cursor to FREE with the left and right keys, and press the SET key.
  • Page 48 Operation Examples (Distance measurement) Continued from the preceding page (9) Operation on the DISTANCE SETTINGS (distance conditions) menu (setting the distance No.00) 1. On the [MEASURING COND] (measurement condition) menu, move the cursor to 5 DSTANCE COND (distance selection) with the up and down keys, and press the SET key. - The [DISTANCE SETTINGS] menu will be displayed.
  • Page 49 Operation Examples (Distance measurement) Continued from the preceding page 8. Move the cursor to 1 OBJECT with the up and down keys, and press the SET key. Move the cursor to DIST (display) with the left and right keys, and press the SET key. [EVALUATION COND] (TYPE00-MEAS1-DST&ANGL MEAS) 1OBJECT...
  • Page 50 "SAVING" to "SAVING COMPLETE." Note: · If the ESC key is pressed, the settings you entered will not be saved in the IV-S20 flash memory. In this case, if the power to the IV-S20 main housing is turned OFF, or if the type No.
  • Page 51 Operation Examples (Distance measurement) Continued from the preceding page (13) Measuring the distance Press the TRG/BRT key, and the distance between the specified detection point 0 (start point 00) and detection point 1 (start point 01) and the coordinates of these points will be displayed in pixel. (TYPE00) F L C1ALLC2NO [Display of measured result]...
  • Page 52: Lead Inspection

    Operation Examples (Lead inspection) 3-5 Lead inspection An example of the operations used to inspect IC lead pitches is given below. Lead pitch Lead length Lead Line to be inspected (1) Operation on the MAIN OPS MENU (after initialize all conditions) MAIN OPS MENU (TYPE00) F L C1ALLC2NO...
  • Page 53 Operation Examples (Lead inspection) Continued from the preceding page (3) Operation on the [OBJECT TYPE COND] (conditions of object type) menu [OBJECT TYPE COND] F C1 H 1OBJECT TYPE NO. 00(0~15) 2EDIT COPY( TYPE00) INITIALIZE 3TITLE REGISTRATION (TO NEXT SUB-MENU) 4MEAS.0, CAMERA1 NO (TO NEXT SUB-MENU) 5POS.
  • Page 54 Operation Examples (Lead inspection) Continued from the preceding page (6) Image adjustment F C1 H Press the TRG/BRT key on the remote key pad, and the level (brightness of the Image window screen) will be switched between H and L. Search window Indicates camera 1.
  • Page 55 Operation Examples (Lead inspection) Continued from the preceding page 5. Press the ESC key, move the cursor to 3 SEARCH AREA (search window) with the up and down keys, and press the SET key. 6. Create a search window (dotted line) to be used as the search area. - The search area is the area within which the new image will be searched for a match with the image stored in step 3.
  • Page 56 Operation Examples (Lead inspection) Continued from the preceding page (8) Operation for setting the object conditions 1. Press the ESC key, and all of the menus used for setting the edge detection condition will be displayed. 1DETECT MODE CNTR(BRT DRK) 2DETECT DIRECTION HORI ( ) VERT ( 3DETECT AREA...
  • Page 57 Operation Examples (Lead inspection) Continued from the preceding page (9) Operation on the [EVALUATION CONDITION] (evaluation condition) menu 1. Move the cursor to 7 EVALUATION CONDITION with the up and down keys, and press the SET key. - The [EVALUATION CONDITION] menu will be displayed. [EVALUATION CONDITION] (TYPE00-MEAS.1-INSPECT LEAD) 1REGST NO.
  • Page 58 "SAVING" to "SAVING COMPLETE." Note: · If the ESC key is pressed, the settings you entered will not be saved in the IV-S20 flash memory. In this case, if the power to the IV-S20 main housing is turned OFF, or if the type No.
  • Page 59: Existence Inspection By Point Measurement

    Operation Examples (Point measurement) 3-6 Existence inspection by point measurement Shown below is an example of an operation for checking the existence of an object by detecting whether the points are white or not. Point setting Decimal point (7-segment display) (1) Operation on the MAIN OPS MENU (after initialize all conditions) MAIN OPS MENU (TYPE00)
  • Page 60 Operation Examples (Point measurement) Continued from the preceding page (3) Operation on the [OBJECT TYPE COND] (conditions of object type) menu [OBJECT TYPE COND] F C1 H 1OBJECT TYPE NO. 00(0~15) 2EDIT COPY( TYPE00) INITIALIZE 3TITLE REGISTRATION (TO NEXT SUB-MENU) 4MEAS.0, CAMERA1 NO (TO NEXT SUB-MENU) 5POS.
  • Page 61 Operation Examples (Point measurement) Continued from the preceding page (5) Operation on the [MEASURING COND] menu (image adjustment) F C1 H [MEASURING COND] (TYPE00-MEAS1-POINT-MEAS) 1PROCESSING MODE BIN-CONV AV-LIGHT-LEVEL Press the TRG/BRT key on the 2BINARY CONV COND FIXED THRESHOLD-ADJ remote key pad, and the level (brightness of the screen) will be 3THRESHOLD VALUE U.LM 255 L.LM 100(0~255) switched between H and L.
  • Page 62 Operation Examples (Point measurement) Continued from the preceding page (6) Operation for point setting 1. Press the ESC key, and all of the menus to be used for point setting will be displayed. (Point No. registration) 1POINT SIZE Y-08 X-08(2~32) P000 2STO PNT POSITIONS 000(0~255) REG.NO YES 3START POINT POS...
  • Page 63 "SAVING" to "SAVING COMPLETE." Note: · If the ESC key is pressed, the settings you entered will not be saved in the IV-S20 flash memory. In this case, if the power to the IV-S20 main housing is turned OFF, or if the type No.
  • Page 64 Operation Examples (Point measurement) Continued from the preceding page (10) Existence inspection Press the TRG/BRT key, and "OK" or "NG" will be displayed to indicate the result of the evaluation of the color (white or black according to the setting in step (7)-2) at each point from P000 to P006. (TYPE00) F H C1ALLC2NO [Display of inspection result]...
  • Page 65: Position Correction (Example Of Point Measurement)

    Operation Examples (Position correction) 3-7 Position correction (example of point measurement) In the setting example shown in section 3-6 "Existence inspection by point measurement," points were set on the segment of number display (the object to be measured), and the each of the points was checked for the correct condition.
  • Page 66: Use Of Numeric Calculations (Example Of Shape And Size Inspection)

    Operation Examples (Numeric calculation) 3-8 Use of numeric calculations (example of shape and size inspection) Shown below is an example of the operation for evaluating and outputting the differences in the X-Y coordinates between the points in images 1 and 2, based on the result of numeric calculations. This example uses the example from section 3-3 "Degree of match inspection for shape and size."...
  • Page 67 Operation Examples (Numeric calculation) Continued from the preceding page 3. Move the cursor to 3 FORMULA with the up and down keys, and press the SET key. - Move the cursor to REG.00 (0 ~ 15) with the left and right keys, and enter "01" with the up and down keys.
  • Page 68 Operation Examples (Numeric calculation) Continued from the preceding page (3) Operation on the [OUTPUT CONDITIONS] menu 1. On the [TYPE00-MEAS1] menu, move the cursor to 9 OUTPUT CONDITIONS (output conditions) with the up and down keys, and press the SET key. - The [OUTPUT CONDITIONS] menu will be displayed.
  • Page 69 Operation Examples (Numeric calculation) Continued from the preceding page (4) Operation for item, r RESULTS OUTPUT (final output conditions), on the [OBJECT TYPE COND] menu 1. On the [OBJECT TYPE COND] menu, move the cursor to r RESULTS OUTPUT with the up and down keys, and press the SET key.
  • Page 70 OPERATIONS with the up and down keys, and press the SET key. Press the SET key once more. - The set data will be saved in the IV-S20 flash memory, and the screen will return to the MAIN OPS MENU.
  • Page 71 IV-S20C1 and IV-S20L16 are needed. - Up to two cameras can be connected to the IV-S20 main housing (camera 1 and camera 2). However, it is possible to connect only one camera. In this case, the camera must be connected in the camera 1 position.
  • Page 72 System Configuration Product configuration The product configurations of IV-S20, IV-S20N, IV-S20M etc., are listed below. (The numbers in circles correspond to the component numbers shown in the previous page.) · · · · · · · · · · ·...
  • Page 73 System Configuration · · l l a · · · g i l · · · · · · · · *1 An explanation of the monochrome monitor IV-09MT in detail is shown in page 16-6 of IV-09MT instruction manual. *2 An explanation of the LCD monitor IV-10MT/10MTV/10MTK in detail is shown in IV-10MT/10MTV/ 10MTK instruction manual.
  • Page 74: System Configuration Examples

    [1] System configuration example for measurement triggered by an external trigger, such as a photo sensor (1) When IV-S20 is used in a stand-alone mode - Purpose/application Measurement is started by an external trigger (a photo sensor or proximity sensor), and the measurement result is output externally (warning lamp).
  • Page 75: System Configuration Example For Measurement Triggered By The Internal Ccd Sensor Trigger

    [2] System configuration example for measurement triggered by the internal CCD sensor trigger The internal CCD trigger can be used with camera 1, but with camera 2. (1) When IV-S20 is used in a stand-alone mode - Purpose/application Measurement is started by a CCD trigger, and the measurement result is output externally (warning lamp etc.).
  • Page 76 The object type number is selected by the programmable controller. Camera 1 (image + CCD trigger) Camera 2 (image) Monitor Remote key pad Data (computer link) IV-S20 main housing Power supply (24 VDC) Programmable controller Start sampling input...
  • Page 77: System Configuration Example For Measurement Triggered By A Command From A Personal Computer

    Measurement is started by a trigger from a personal computer, and the measurement data is output to the personal computer. The object type number is selected by the personal computer. Camera 1 (image) Camera 2 (image) Personal computer Command, response Monitor Remote key pad IV-S20 main housing Power supply (24 VDC)
  • Page 78: Chapter 5: Part Names And Functions

    Part Names and Functions Chapter 5: Part Names and Functions This section describes the names and functions of the IV-S20 main housing, the camera (camera lens , camera body, and camera cable), and the remote key pad which comprise the IV-S20 system. See section 6-2 and 6-3 for details about the housing brackets, camera angle bracket, and conversion connector.
  • Page 79: Camera Section

    [1] Camera (1) Camera body (IV-S20C1) Lock screw (for securing the lens holder) Connector (connected to the CCD section IV-S20 main housing) Plug 2 Camera cable 1 Lens holder Front view (view A) of the CCD (3 m long) Name...
  • Page 80 Part Names and Functions (3) Micro camera (IV-S30C2) 2 Camera body 1 Camera head Head cable CCD section Cable length: 1 m Cable connector Lens mount section Camera head (M 15.5 x 0.5 mm) installation section l l a y l l a l i 1 ø...
  • Page 81: Camera Conversion Cable: Iv-S20Hc3

    1 Camera connector 2 Controller connector (Threaded type) (Quick-connect type) Cable length: 3 m Name Function Camera Connect to a connector of camera cable (IV-S30C1/C2/C3/C4). connector Controller Connect to camera 1 connector or camera 2 connector of the IV-S20 main body. connector...
  • Page 82: Remote Key Pad

    Part Names and Functions 5-3 Remote key pad Connector (connected to the IV-S20 main housing) Cable length 3 m 4 Image change key (SEL) 1 Direction keys (up, down, left and right) 5 Measurement start/brightness select key (TRG/BRT) 2 Set (select) key (SET)
  • Page 83: Lighting Equipment

    [Reflective lighting] A light shone on the front of an object with angle will be reflected, and the IV-S20 will pick up the reflected light. If too much light is reflected, such as from a metallic surface or similar materials, a proper image may not be obtained.
  • Page 84 Installation Conditions and Method Ë When using the IV-60LD This paragraph describes how to use Sharp IV-60LD LED lighting equipment. For details about the installation and wiring of the IV-60LD, see the instruction manual. The distance between the IV-60LD and an object (distance at which to install lighting equipment) should be approximately 150mm, and the lit area is approximately 50mm ×...
  • Page 85: Illuminance And Shutter Speed

    Installation Conditions and Method [2] Illuminance and shutter speed The illuminance provided by the lighting equipment and the shutter speed must be set within the proper range. - The following graph shows the relation between illuminance and shutter speed for the IV-S20L16 camera lens (focal length 16 mm) with an aperture setting of f = 1.6.
  • Page 86: Optimum Lens And Resolution

    Installation Conditions and Method [3] Optimum lens and resolution The optimum lens for your system can be selected, based on the camera installation distance and the field of view (workpiece size). Vertical direction Rounded surface of camera body View (mm) Horizontal direction Workpieces Camera installation...
  • Page 87 (f = 16 mm), you can use it. 1. The focus range of the IV-S20L16 camera lens (f = 16 mm) built into the IV-S20 is from 50 mm to infinity. Therefore, the camera installation distance of 500 mm is within the focal range, and the IV-S20L16 lens can be used.
  • Page 88 Installation Conditions and Method · Relation among the camera installation distance, the field of view, and the focal length Lens focal length f=4.2mm Lens focal length f=8mm Lens focal length f=16mm Lens focal length f=25mm View View View View (mm) (mm) (mm) (mm)
  • Page 89 Installation Conditions and Method Lens focal length f=35mm Lens focal length f=50mm Lens focal length f=75mm Focal Focal Focal View View View length length length (mm) (mm) (mm) (mm) (mm) Hori- Hori- Hori- (mm) (µm) (µm) (µm) Vertical Vertical Vertical zontal zontal zontal...
  • Page 90: Connection, Installation, And Wiring Of Iv-S20 Main Housing

    Installation Conditions and Method 6-2 Connection, installation, and wiring of IV-S20 main housing [1] Connection Connect the cameras (up to 2 cameras), remote key pad, and monitor to the IV-S20 main housing. IV-S20 main housing (plan view) Camera 2 connector (CAMERA2)
  • Page 91 Installation Conditions and Method 2 Plug the remote key pad connector into the connector (REMOTE) on the IV-S20 main housing. 3 Connect the monitor to the monitor connector (VIDEO: RCA jack) on the IV-S20 main housing using the monitor cable (supplied with the IV-S20, IV-S20N, and IV-S20M) and a conversion con- nector (supplied with IV-S20, IV-S20N, and IV-S20M).
  • Page 92: Installation

    Installation Conditions and Method [2] Installation To install the IV-S20 main housing, secure the bottom of the housing on the mounting surface with the two main housing brackets (supplied with the IV-S20, IV-S20N.) IV-S20 main housing Housing bracket Mounting surface Mounting procedure 1 Attach the two housing brackets on the bottom of the IV-S20 main housing.
  • Page 93 (for attaching the housing bracket) housing bracket) External dimensions of housing bracket (Unit: mm) 2 holes 3.2 mm in diameter (for attaching the bracket to the IV-S20) 10.5 10.5 Mounting position (2 places: for securing the bracket to the mounting surface) 6-11...
  • Page 94: Connecting A Power Supply

    Use a 24 VDC ± 10%, 350 mA or more constant-voltage power supply. - Use an individual power supply to supply power to the IV-S20 main housing. If the power supply is used to power other equipment, measurement errors may occur.
  • Page 95 SG or FG terminals, the short circuit shown below will be created. This circuit will let a large current flow through the SG line inside the IV-S20, and may destroy the circuit, or cause smoke or a fire.
  • Page 96: Connecting To The Input/Output Terminals (Parallel I/F)

    Installation Conditions and Method [4] Connecting to the input/output terminals (parallel I/F) 7 input terminals and 9 output terminals are available on the input/output terminal block on the IV-S20 main housing. The input terminal block has INPUT terminals X0 to X6 and C (+), and the output terminal block has OUTPUT terminals Y0 to Y7, BUSY and C (-).
  • Page 97 Y7 => See page 10-8 to 13. When "BUSY" is active, this terminal outputs an ON signal while the IV-S20 is executing the measurement and opening the all set menu. When "READY" is active, this terminal outputs an ON signal while the IV-S20 is BUSY waiting for a trigger.
  • Page 98: Connection For Communications With Personal Computer (General Purpose Serial I/F)

    Installation Conditions and Method [5] Connection for communications with personal computer (general purpose serial I/F) Connect a personal computer to the communication connector (RS232C/RS422) on the IV-S20 main housing. A 9-pin D-sub, male connector is included with the IV-S20, IV-S20N, and IV-S20M.
  • Page 99 (9-pin D-sub female) Communication Direc- Signal Pin No. Details standard name tion Transmitted data Output (IV-S20 - Personal computer) RS-422 Received data Input (Personal computer - IV-S20) Connector field Frame ground 1 4-wire system Shielded twisted-pair cable Personal IV-S20 (9-pin D-sub)
  • Page 100: Connecting A Programmable Controller Using The Computer Link Function

    - See Chapter 14 "Computer Link" for details about the procedure for connecting to specific manufacturers' controllers. (The pin arrangement of the communication connector on the IV-S20 main housing is shown on page 6-16 to 6-17.) - In the case of RS-232C, the maximum communication cable length depends on the c o m - munication speed.
  • Page 101: Connection And Installation Methods Of Camera (Iv-S20C1, Iv-S30C1/C2)

    6-3 Connection and installation methods of camera (IV-S20C1, IV-S30C1/ [1] Connecting and installation to the IV-S20C1 (1) Connection Connect the cameras (up to 2 cameras), remote key pad, and monitor to the IV-S20 main housing. Camera 2 connector Camera 1 connector...
  • Page 102 1 Attach the camera angle bracket to the tapped M3 hole on the camera body (20 mm mounting pitch: one of three holes). Two screws (M 3 x 6) are supplied with the IV-S20, IV-S20N and IV- S20C1 for attaching the angle.
  • Page 103 Installation Conditions and Method External dimensions of camera body (IV-S20C1) and camera lens (IV-S20L16) (Unit: mm) 28.5 34 2863 52.2 2 M3 tapped holes 2 M3 tapped holes 2 M3 tapped holes Attach the camera angle bracket to one of the tapped M3 holes 20 mm mounting pitch (3 places).
  • Page 104 Installation Conditions and Method External dimensions of extension camera cable (IV-S20EC2/4) (Unit: mm) 4000 (IV-S20EC4) 2000 (IV-S20EC2) 49.1 52.2 Note - When the camera cable and extension camera cable (IV-S20EC2/4), leading to the camera body (IV-S20C1), is bent, its bending radius should be longer than 40 mm. If the camera cable will be bent repeatedly during operation, design the cable layout so that the bending radius is 75 mm or more and use components that can be flexed up to 2 million times.
  • Page 105: Installing And Connecting The Iv-S30C1

    - To disconnect the connector, hold the plug of the connector, and pull it straight out. - A camera connected to the camera 1 connector (CAMERA1) is treated as camera 1 by IV-S20 system, and a camera connected to the camera 2 connector (CAMERA2) is treated as camera Note: You must have a camera connected to the camera 1 connector.
  • Page 106 Installation Conditions and Method (2) Installation Attach the IV-S30C1 camera on the mounting surface with the camera angle bracket (supplied with the camera). - Installation example 1 Camera front view Camera side view Camera angle bracket Camera lens IV-S30C1 (IV-S20L16 or similar) Mounting surface - Installation example 2...
  • Page 107 Installation Conditions and Method - External dimensions when the IV-S20L16 camera lens and IV-S30C1 camera are connected to the IV-S20HC3 camera conversion cable. (Unit: mm) 28.5 to 34 3000 52.2 2 M3 tapped holes 2 M3 tapped holes 2 M3 tapped holes * Attach the camera angle bracket to one of the tapped M3 holes 20 mm mounting pitch (3 places).
  • Page 108 Installation Conditions and Method Note - When the IV-S20HC3 camera conversion cable is bent, its bending radius should be larger than 40 mm. If the IV-S20HC3 camera conversion cable will be bent repeatedly during operation, design the cable layout so that the bending radius is 75 mm or more and use components that can be flexed up to 2 million times.
  • Page 109: Installing And Connectiong The Iv-S30C2

    Installation Conditions and Method [3] Installing and connecting the IV-S30C2 (1) Connections Up to two IV-S30C2 micro cameras can be connected to the IV-S20 main housing using the IV- S20HC3 camera conversion cables. Camera 2 connector: CAMERA 2 IV-S20 main housing...
  • Page 110 Installation Conditions and Method 3 Screw a commercially available lens into the camera head of the IV-S30C2. Lens Camera head (commercially available) 1. Screw the lens in until the camera image is focused. 2. Secure the lens using the lens locking ring on the camera head Lens locking ring •...
  • Page 111 Installation Conditions and Method (2) Installation of the camera head 1 Put the camera head through the bracket (supplied with the IV-S30C2) from the cable side and slide the camera head into position. Camera head bracket (accessory) Installed position of the camera head Camera head Lens...
  • Page 112 Installation Conditions and Method (3) Installation of the camera body 1 Attach the camera mounting bracket (comes with the IV-S30C2 to the three M3 tapped holes (spacing: 20 mm) on the camera body using the M3×6 installation screws that come with the IV- S30C2.
  • Page 113 Installation Conditions and Method - External dimensions of camera angle bracket 4 slotted holes wide (Unit: mm) (for securing on the camera body) 22.5 2 slotted holes 3.2 mm wide (for attachment to the mounting surface) 1/4-20 UNC threaded hole (for attachment to the mounting surface) Note - When the camera head cable is bent, its bending radius should be larger than 40 mm.
  • Page 114: Chapter 7 Setting And Operating Outlines

    · Installation of the IV-S20 main housing and camera body · Connection of a power supply, input/output terminals 6-3 Equipment connections and external devices 3 Turning ON the power supply (the IV-S20 main housing and monitor) 4 Environment settings Chapter 7 Setting and Operating Outlines ·...
  • Page 115: Screen Specifications

    7-2 Screen specifications [1] Operation (run) screen Supply power to the IV-S20 main housing, and the MAIN OPS MENU (startup screen) will be displayed on the monitor. - Before applying the power, make sure that the power cable, monitor cable, camera cables, and remote key pad have been connected to the IV-S20 main housing.
  • Page 116 (see page 8·4 and 8·5). Display the measured results for each mesurement program · The IV-S20 can store the setting conditions*. “Measured result screen” and “Image brightness: H/L” on the MAIN OPS MENU (operation screen) will be latched, even after reapplying the power.
  • Page 117: Menu Configuration

    Setting and Operating Outlines [2] Menu configuration On the MAIN OPS MENU, move the cursor to SET-SCRN item on the menu bar at the bottom of the screen with the right and left keys, and press the SET key. Then, the [SYSTEM SETUP] menu will be displayed.
  • Page 118 Setting and Operating Outlines · The numbers in parenthesis refer to the pages describing the operations in detail. *1 (from the preceding page) [MEASURING COND] (9·36) 1REGST NO. 2SELECT MODE 3GRAY-SCALE COND <Gray scale search matching conditions> (9·37) 4EDGE DETECT COND 5UPPER MENU <Edge detection conditions>...
  • Page 119 Setting and Operating Outlines · The numbers in parenthesis refer to the pages From the preceding page describing the operations in detail. Lead inspection [MEASURING COND] (9·74) 1REGST NO. 2SEARCH CRITERIA <Gray scale search 3OBJ NO. FOR MEAS matching condition> (9·75) 4LEAD LENGTH MEAS 5OBJ CONDFOR MEAS <Edge detection conditions>...
  • Page 120: Set Condition Configuration

    Setting and Operating Outlines [3] Set condition configuration The chapters to refer to are shown in square brackets. Monitor output, image capture, message display, pattern dis- Run screen play, binary image display, θ angle correction image display, [Chapter 8] conditions crosshair cursor display, object type manual set Title registration, position correction, calculation using two [Chapters 9...
  • Page 121: Image Display

    Setting and Operating Outlines [4] Image display (1) Image display modes There are two image display modes, i.e. through (moving images) and freeze (still image). Display Description mode · A single image taken by a camera is displayed. · This mode is used for adjusting the camera focus, adjusting an image, and moving Through a workpiece during testing.
  • Page 122: Remote Key Pad Specifications

    Setting and Operating Outlines 7-3 Remote key pad specifications 4 Image change key (SEL) 1 Direction keys 5 Measurement start/brightness select key (up, down, (TRG/BRT) left and right) Set (select) key (SET) 3 Cancel key (ESC) Key name Function Description Select an item with the up, down, left and right Selecting an item on a keys.
  • Page 123: Operation Flow

    Setting and Operating Outlines 7-4 Operation flow [1] Processing after power is turned ON and main loop processing (Power ON) Start up Initializing (CPU, gate array) Memory check · System program Transmitting from flash memory to RAM · Conditions other than the conditions for each object type Data setting...
  • Page 124 Setting and Operating Outlines From the preceding page Display of results. Message display When they have been set to “YES” Pattern display Crosshair cursor display (System) Display “YES” (Communication processing) Data received Communication processing Parallel/general-purpose serial/CCD Receiving a measurement trigger start input signal Measurement start Main loop...
  • Page 125: Operation Flow After A Measurement Start Input Signal Is Given

    Setting and Operating Outlines [2] Operation flow after a measurement start input signal is given Start (measurement start input ON) PC calculation Parallel output (Y0 to Y15), "BUSY" ON External interface inhibit (key, communications, parallel) Measurement timer start The range of the lines to be captured, Reading the object type No.
  • Page 126 Setting and Operating Outlines 2 (From the preceding page) 1 (From the preceding page) PC calculation Message display Message display Error display Displaying the measurement result (value, decision etc.) Pattern display Positional correction “yes” Pattern display after correction Pattern display during setting Determining the measuring time (timer stop) Parallel output (Y0 to Y15), “BUSY”...
  • Page 127: When Using The Iv-S30Sp

    Setting and Operating Outlines 7-5 When using the IV-S30SP The IV-S30SP is support software used to design the IV-S20/S30 system configuration. It will run on Windows 95,98, or NT 4.0 computers. You can easily set the various measuring conditions for the IV-S20 using your personal computer.
  • Page 128: Chapter 8: Run Menu Conditions And Settings

    Chapter 8: Run Menu Conditions and Settings [1] Output monitor When two cameras have been connected to IV-S20, you can switch back and forth between the image from the cameras on one monitor. Also, the monitor screen can be divided into two parts to display the two images simultaneously.
  • Page 129 Run Menu Conditions and Settings · Simultaneous display on a divided screen When CAM1 has been set to UP (When CAM1&2 has been specified in item 1 C1UP MONITOR OUTPUT.) When item 2 CAMERA1&2, has been set to CAM1=MD CAM2=MD When CAM1 has been set to LO C1MD C1LO...
  • Page 130: Image Capture

    (no image) · This mode only used to carry out measurements on an image transmitted from a personal computer to the IV-S20. [Operation procedure] 1. On the [RUN MENU SETTINGS] menu (shown above), move the cursor to item 3 CAPTURE AN IMAGE with the up and down keys, and press the SET key.
  • Page 131: Message Display

    Run Menu Conditions and Settings [3] Message display Select "YES" or "NO" to display messages on the MAIN OPS MENU. On the MAIN OPS MENU, move the cursor to SET-SCRN item, and press the SET key. - On the [SYSTEM SETUP] menu, move the cursor to item 1 OPS MENU SETTING and press the SET key.
  • Page 132: Pattern Display

    Run Menu Conditions and Settings [4] Pattern display Select MEAS-RESULT-OUT or NO, to determine whether to display (windows and other marking) over an image displayed on the MAIN OPS MENU. On the MAIN OPS MENU, move the cursor to SET-SCRN item, and press the SET key. - On the [SYSTEM SETUP] menu, move the cursor to item 1 OPS MENU SETTING and press the SET key.
  • Page 133: Binary Image Display

    Run Menu Conditions and Settings [5] Binary image display Select "YES" or "NO" to display a binary image on the MAIN OPS MENU. On the [MAIN OPS MENU,] move the cursor to SET-SCRN, and press the SET key. - On the [SYSTEM SETUP] menu, move the cursor to item 1 OPS MENU SETTING and press the SET key.
  • Page 134: Θ Angle Correction Image Display

    Run Menu Conditions and Settings [6] θ angle correction image display Select "YES" or "NO" to display a θ angle corrected image on the [MAIN OPS MENU.] On the [MAIN OPS MENU,] move the cursor to SET-SCRN item, and press the SET key. - On the [SYSTEM SETUP] menu item, move the cursor to item 1, OPS MENU SETTING and press the SET key.
  • Page 135: Crosshair Cursor Display

    Run Menu Conditions and Settings [7] Crosshair cursor display A crosshair cursor can be displayed at any point on the MAIN OPS MENU item and used to manually position a workpiece. On the MAIN OPS MENU, move the cursor to SET-SCRN item, and press the SET key. -On the [SYSTEM SETUP] menu, move the cursor to item 1 OPS MENU SETTING and press the SET key.
  • Page 136: Manually Setting The Object Type

    Run Menu Conditions and Settings 3. Select NO.0 CHG using the left and right keys - When NO.0 CHG is selected, you can move designated point 0. (When you select NO.1 CHG, you can move designated point 1. 4. Move designated point 0 using the up/down and left/right keys. When it reaches the desired position, press SEL to confirm the position.
  • Page 137: Image Display

    SETTINGS] menu. [Display procedure] Follow the procedure described below when turning ON the power to the IV-S20 main housing, and the [POWER ON SETTINGS] menu will be displayed on the monitor. 1. Turn ON the power to the IV-S20 main housing, while holding down the ESC key.
  • Page 138: Chapter 9 : Setting The Conditions For Each Object Type

    Setting The Criteria For Each Object Type Chapter 9 : Setting the Conditions for Each Object Type 9-1 Outline The measuring conditions for each object type are set on the [OBJECT TYPE COND ] (conditions for object type) menu. [Settings screen] On the MAIN OPS MENU, move the cursor to SET-SCRN item, and press the SET key - On the [SYSTEM SETUP] menu, move the cursor to item 2 OBJECT TYPE COND and press the SET key.
  • Page 139 “Chapter 10: The PC Function”) (2) Halting on an NG measurement All measurements can be halted if an NG measurement occurs whilst operating the IV-S20. This is done by selecting item y HALT MEAS ON NG on the [OBJECT TYPE COND] menu.
  • Page 140: Shared Settings

    Shared settings 9-2 Shared settings [1] Window shape selection and settings This section describes how to select and set the window shapes used for image processing (e.g. rectangular windows, horizontal or vertical line boundaries, round windows, and elliptical windows). This can be done using the up, down, left, and right setting keys on the remote key pad. (1) A rectangular window Line type Image processing used...
  • Page 141 Shared settings (2) Horizontal/vertical lines Line type Image processing used Measurement programs Gray scale search Positional deviation measurement (gray scale search), (reference image) degree of match inspection for shape and size, distance and angle measurement (gray scale search), lead inspection Solid lines (criteria search).
  • Page 142 Shared settings (3) Circle window Line type Image processing used Measurement programs Distance and angle measurement (center of gravity), area Window containing a Solid lines measurement by binary conversion, counting quantities by binary image binary conversion, identifying objects by binary conversion Distance and angle measurement (center of gravity), area Binary image window measurement by binary conversion, counting quantities by...
  • Page 143: Image Settings

    Shared settings [2] Image settings What follows is a description of how to use the image settings to control the measuring program. (1) Gray scale processing (pixel contraction and detection precision) [Settings menu screen] · Positional deviation measurement · Distance and angle measurement (gray (gray scale search) scale search) Degree of match inspection for shape...
  • Page 144 Shared settings (2) Threshold value setting The IV-S20 treats the "areas darker than the lower limit value" or "brighter than the upper limit value" as "black." It treats that the areas between the upper limit value and lower limit value as "white."...
  • Page 145 Counting quantities by binary conversion (page 9-93) Identifying object by binary conversion (page 9-101) (5) Binary processing (fixed/threshold value correction) By setting THESHLD. ADJ (threshold adjustment function), the IV-S20 can cope with variations in lighting. (threshold adjustment function), the monitor brightness functions must be selected to measure variations in lighting.
  • Page 146 And, by extracting or emphasizing certain image features, it is easier to evaluate or identify target objects by converting the images into standard patterns. In the IV-S20, you can select from "smoothing," "edge emphasis," and "edge extraction (whole, horizontal, vertical)" pre-processing techniques Item Contents ·...
  • Page 147 When isolated white noise is eliminated by contraction, the areas shrunk by contraction are returned to their original size by expanding them again. The IV-S20 has both "contraction _ expansion" and "expansion _ contraction" functions for eliminating binary noise. - Number of times of expansion and number of times of contraction can be set independenly.
  • Page 148 Shared settings (8) Edge detection The "edge" refers to the boundaries between the brighter (white) and darker (black) parts in an image. The "edge detection" function is used to detect this boundary by processing the image. [An example of detecting a point using the edge detection function and user specified criteria] ·...
  • Page 149 Shared settings (9) Artifact processing Artifact processing is a method of processing that eliminates the false detection of the edge of the target object when an artifact is in the line being scanned. This process can be used during edge detection. The real edge of the target object is detected by computing the average duration of the dark area in the scan line, which is much longer for a target object than for an artifact.
  • Page 150: Evaluation Conditions

    Shared settings [3] Evaluation conditions The setting details and procedures for setting the evaluation conditions are the same for all measurement programs. In this section we explain the use of the [EVALUATION COND] (evaluation conditions) menu when counting quantities by binary conversion. Evaluation conditions [EVALUATION COND] menu for counting quantities by binary conversion Using the up and down keys, you can set the output to NO (no output), Y0...
  • Page 151 Shared settings [4] Numerical calculations Numeric calculation fuction of the IV-S20 consisits of "numeric calculations," which is set individually for each measurement program, and "final numeric calculations," which are set according to object type. The N00 to N15 results of the calculations which are set individually for each measuring program may be used according to the 2 OBJECT TYPE and 3 FORMULA (style) settings of the final numerical calculation.
  • Page 152 Shared settings (1) The individual numerical calculations for each measuring program The setting details and procedures for numerical calculations are the same for all measurement programs with the exception of the point measurement program. In this section we explain the use of the numerical calculations menu [NUMERIC CALC] for out of position measurements.
  • Page 153 Shared settings [Setting procedure] Setting the headings on the [NUMERIC CALC] (numerical calculation) menu. Specify the output for the 1 CALC. RESULT results of the calculations 2 OBJECT TYPE (type) Select the data to be calculated Note: Make sure that a test 3 FORMURA Enter the number of styles is run using the...
  • Page 154 Shared settings [Types and number of styles of entered for each measurement program] Measurement functions Input types Positional deviation Degree of match inspection Distance and angle Lead inspection measurement for shape and size measurement Model 0 (positioning): Model 0: 0M0 to 7M0 Degree of match 0M0 to 15M0 [Starting point]...
  • Page 155: Numerical Calculations

    Shared settings (2) Final numerical calculations Final numerical calculations can be set at item e FINAL CALC RESULT on the conditions of object types menu [OBJECT TYPE COND]. The setting procedure, error output settings, calculation sequence and parallel output based on the output conditions are exactly the same as those used for item (1) individual numerical calculations for each measuring programs.
  • Page 156 Shared settings - Based on the settings at items 2 and 3, the number of styles may be entered as follows. 2OBJECT TYPE Number of styles 01N00 to 01N15 (Calculation result for measurement 0, camera 1: N00 to 15) INDV-MEAS-RSLT [N] 02N00 to 02N15 (Calculation result for measurement 0, camera 2: N00 to 15) (Results of the calculations...
  • Page 157: Position Correction

    Angular correction from measurement 0. (high precision) The high precision angular correction settings allows the IV-S20 to display a very precisely corrected image. But, this selection lowers rotation processing speed. [Example of a comparison between standard and high precision angular correction]...
  • Page 158 Shared settings (2) Operation setting details Setting takes place at camera (1/2) in items 5 and 6 on the [OBJECT TYPE COND] (conditions of object type) menu. On the MAIN OPS MENU, move the cursor to SET-SCRN item, and press the SET key. - On the [SYSTEM SETUP] menu, move the cursor to 2 OBJECT TYPE COND (conditions of object type) and press the SET key.
  • Page 159 Shared settings (3) Correction example [Example of correcting the first X and Y point] 1. Amount of correction (X2-X1, Y2-Y1) specified by measurement 0 (positional deviation measurement) Coordinates (X1, Y1) of object in the reference image (model 0) Target object coordinates (X2, Y2) [Measured results] ·...
  • Page 160 Shared settings [Example of angular correction] 1. Detection of the amount of angular deviation (using measurement 0, 2 point search (positional deviation measurement). · Reference image Reference image (model 0) Detected coordinates (model 0) Search area (model 0) Reference image (model 1) Detected coordinates (model 1)
  • Page 161: Comparative Calculations Between Images

    Shared settings [6] Comparative calculations between images It is possible to run calculations on the differences between the images taken by camera 1 and camera 2, as well as on the differences between the current image and the already stored reference image.
  • Page 162 Shared settings (2) Setting details On the MAIN OPS MENU, move the curson to SET-SCRN item, and press the SET key. - On the [SYSTEM SETUP] menu, move the cursor to 2 OBJECT TYPE CND (conditions of object type) and press the SET key. [OBJECT TYPE.
  • Page 163 Shared settings From the previous page After selecting item t SYSTEM-IN/OUT, on the [OBJECT TYPE COND] (conditions of object type) menu. When the selected camera is either CAM1 or CAM2 [OBJECT TYPE I/O] 1MONITOR LIGHT LVL CAM1(1~2) NO YES 3TRIGGER CCD START REG: NO YES(BIN AVG-LIT-LVL) 5COMPUTER LINK OUT BLOCK-00(MESR-0 CAM-1) &SERIAL OUTPUT 6SHUTTER SPEED...
  • Page 164 Shared settings From the previous page Select item 0 MEASUREMENT 1, q MEASUREMENT 2 or w MEASUREMENT 3, on the [OBJECT TYPE COND] (conditions of object type) menu. This indicates that the display is for object type [TYPE00-MEAS1] 00 and measurement 1. 1MEAS SELECTION NO CHECK-DEG-OF-MATCH DST&AGL MES.
  • Page 165: Copying (Editing)

    When there are many common parameters between measurement programs or object types, it is most efficient to access those existing sets of parameters in order to copy and then modify them. - There are two types of copy functions on the IV-S20: Copying between object types and copying between measurement programs.
  • Page 166 - This will return you to the [OBJECT TYPE COND] menu. Note - When processing item 2 COPY, by itself, the IV-S20 will not copy to the flash memory. To save the copied settings in flash memory go to item 9 SAVE IN FLASH MEM, or item 0 OPERATIONS, which are both found on the [SYSTEM SETUP] menu.
  • Page 167 - This will return you to the [OBJECT TYPE COND] (conditions of object type) menu. Note - When processing item 4 COPY, by itself, the IV-S20 will not copy to the flash memory. To save the copied settings in flash memory go to item 9 SAVE IN FLASH MEM, or item 0 OPERATIONS, which are both found on the [SYSTEM SETUP] menu.
  • Page 168: Editing After Initialization

    (1) Initialize measurement conditions for each measurememt program number The IV-S20 will always start up with the measuring program for an object type which has been specified and stored in the memory (RAM). If the measurement 0 program was specified, then a camera number will also have been specified.
  • Page 169 Note - Do not disconnect the power while IV-S20 is initializing. The set data other than currently initializing may be corrupted. Unless all of the data is initialized it will not be possible to restart the machine (i.e. partial initialization is not possible).
  • Page 170: Title Registration

    A B C D E F G H I J K L M N O P Q R type 00 is selected set. IV-S20 S T U V W X Y Z 0 1 2 3 4 5 6 7 8 9 = —...
  • Page 171: Positional Deviation And Absolute Position Measurement

    Positional deviation measurement 9-3 Positional deviation and absolute position measurement The gray scale search function makes it possible to measure positional deviation as Purpose well as the absolute position. · It is also possible to detect the position of sub-pixel units with great accuracy. Application Used to determine the position of machine parts and substrates.
  • Page 172 Positional deviation measurement [1] Setting sequence [MAIN OPS MENU] [SYSTEM SETUP] [OBJECT TYPE COND (conditions for SET-SCRN TYPE COND object types)] 4MEAS.0 CAMERA 1 (conditions for object types) (measurement 0, camera 1) 6MEAS.0 CAMERA 2 (measurement 0, camera 2) 2COPY, 1SELECT MEAS.
  • Page 173 Positional deviation measurement [2] Setting details An explanation of item 4 MEAS. PROG. COND (conditions for measurement programs) from the TYPE00-MEAS0 (object type - measurement 0) menu. On the MAIN OPS MENU item, move the cursor to SET-SCRN item, and press the SET key. -On the [SYSTEM SETUP] menu, move the cursor to 2 OBJECT TYPE COND and press the SET key.
  • Page 174 Positional deviation measurement Continued from the previous page Specify a 1P-SCH (1-point search), a 2P-SCH (2-point search), or a 1P-SCH+1P-EDGE (1-point search + 1- point edge) in item 2 SELECT MODE. Then select item 3 GRAY-SCALE COND (gray scale search 1MEAS WINDOW(MDL0) RECTANGLE X-LINE Y-LINE 2REF IMAGE(MODEL0)
  • Page 175 Positional deviation measurement Continued from the previous page Specify a 1P-SCH (1-point search), a 2P-SCH (2-point search), or a 1P-SCH+1P-EDGE (1-point search + 1-point edge) [The setting sequence for the gray scale search conditions] · This is the sequence of events when a 1-point search or a 1-point search + 1-point edge is selected. 1MEAS WINDOW (MDL0) 2REF IMAGE (MODEL0) 3SEARCH AREA (MDL0)
  • Page 176 Positional deviation measurement Continued from the previous page, or from page 9·36: When you specified a 1P-EDGE (1-point edge), 2P-EDGE (2-point edge) or 1P-SCH + 1P-EDGE (1-point search + 1-point edge) 1DETECT MODE(MDL0) CHANGE DRK BRT BRT DRK CNTR(BRT DRK) 2DETECT DIR.(MDL0) HORI ( ) VERT ( 3DETECT AREA(MDL0) MOVE UP.L(224,208) LO.R(287,271)
  • Page 177 Positional deviation measurement Continued from the previous page [Procedure for setting the conditions for edge detection] - When you specify a 1P-EDGE (1-point edge) or a 1P-SCH + 1P-EDGE (1-point search + 1- point edge). 1DETECT MODE (MDL0) 2DETECT DIR. (MDL0) 3DETECT AREA (MDL0) (area of detection) (detection mode)
  • Page 178 Positional deviation measurement From page 9·38: When you specify a 1P-SCH (1-point search) or a 2P-SCH (2-point search) From the previous page: When you specify a 1P-EDGE (1-point edge), 2P-EDGE (2-point edge) or a 1P-SCH + 1P-EDGE (1-point search + 1-point edge) for the MODE. Select item 5 EVALUATION COND (evaluation conditions),on the [TYPE00-MEAS0] menu.
  • Page 179 Positional deviation measurement Continued from the previous page [NUMERIC CALC] (TYPE00-MEAS.0-POS-DEVIATION) 1CALC.RESULT N00(0~15) 2OBJECT TYPE NO COORD[X Y] DEVIAT[x y] MATCH [M] ANGL-DEV[B] NUM-CALC[NC] CNST[C] 3FORMULA REG.0(0~7) MDL0(0~1) N00(0~15) + - ∗ DEL END 4UPPER&LOWER LIMIT +00000650.0~+00000700.0 5OUTPUT NO Y0(0~7) C000(0~107) 6TEST A RUN (SET KEY) 7UPPER MENU...
  • Page 180 Positional deviation measurement Continued from the previous page [OUTPUT CONDITIONS] (TYPE00-MEAS.0-POS-DEVIATION) 1PAGE NO. 0(0~4) REG.NO YES 2SET POSITION MOVE 3INPUT SIGNAL REGT.NO.00(0~ ) MATCH M0(0~1) CRD.X0(0~1) CRD.Y0(0~1) DEVIAT-x0(0~1) DEVIAT-y0(0~1) AGL-DV B CAL N00(0~15) AUXRLY C000(0~127) 4LOGIC SYMBOL DEL. 5OUTPUT SIGNAL AUX.RLYC000(0~127) DEL.
  • Page 181 Positional deviation measurement Continued from the previous page Pressing the TRG/BRT key will display the results of a positional deviation measurement for the new image that you have recorded. Shown below is the display when a 2 point search has been specified. [Display of the measured (TYPE00) F H C1ALLC2NO...
  • Page 182: Degree Of Match Inspection For Shape And Size

    Degree of match inspection 9-4 Degree of match inspection for shape and size The comparison requires the use of the gray scale search function for measuring the new image against the reference image. By identifying the differences between images, decisions can be made about the new image being tested. Purpose (The acceptance of the workpiece (in the image being tested) is based its level of similarity to the reference image.)
  • Page 183 Degree of match inspection [1] Setting sequence [MAIN OPS MENU] [SYSTEM SETUP] [OBJECT TYPE COND] SET-SCRN TYPE COND 0MEASUREMENT 1 (conditions for object type) qMEASUREMENT 2 wMEASUREMENT 3 4COPY, 1MEAS SELECTION 5INITIALIZATION Select CHECK-DEG-OF- (comparative calculations (initialization) (select a MATCH between images) (See page 9·2, camera...
  • Page 184 Degree of match inspection [2] Setting details An explanation of item 6 MEAS. PROG. COND (conditions for measurement programs) from the [TYPE00-MEAS1 to 3] (object type measurement). On the MAIN OPS MENU move the cursor to SET-SCRN item, and press SET key. -On the [SYSTEM SETUP] menu item, move the cursor to 2 OBJECT TYPE COND (condition of object type) and press the SET key.
  • Page 185 Degree of match inspection Continued from the previous page. Select item 5 EVALUATE CRITERIA (criteria conditions) This is how the display looks when the To see how the display looks when the BINRY- GRAY-IMG-PROC (gray scale processing) IMG-PROC (binary processing) mode is selected. mode is selected.
  • Page 186 Degree of match inspection Continued from the previous page: When the GRAY-IMG-PROC (gray scale processing mode) is selected. [The setting sequence for criteria condition] - This is the sequence to follow when model 0 (positioning) is set to NO-SEARCH (do not search) and model 1 (object to be measured) is set to NO 1MEAS WINDOW(MDL0) 2REF IMAGE(MODEL0)
  • Page 187 Degree of match inspection Continued from the previous page: When the GRAY-IMG-PROC (gray scale processing mode) is selected. [Example of recording] - This example shows a recorded image when model 0 (positioning) is set to SEARCH (search) and model 1 (object to be measured) is set to YES (SEARCH) (do not search) The reference image for model 0 (positioning) The detection coordinates for model 0 (positioning) The search area for model 0 (positioning)
  • Page 188 Degree of match inspection Continued from page 9·48: When the BINRY-IMG-PROC (binary processing mode) is selected. 1REFERENCE IMAGE MOVE UP.L(224,208) LO.R(287,271) REG. DISP 2DETECTED COORD CNTR FREE(255,240) 3THRESHOLD VALUE U.LM 255 L.LM 100(0~255) 4INVERT B/W NO YES 9BINARY PROCESS FIXED THRSHOLD-ADJ (VAR-DIFF VAR-RATE) 0IMAGE PRE-PROCESS OFF SMOOTH EDGE-EMPHASIS ALL-EDGE HORZ-EDGE VERT-EDGE qBINARY NOIS FILTR NO EXPD.
  • Page 189 Degree of match inspection Continued from the previous page: When the BINRY-IMG-PROC (binary processing mode) is selected. [Setting sequence for reference criteria] - This is the sequence to follow when model 1 (object to be measured) is set to NO 1REFERENCE 2DETECTED COORD 3THRESHOLD VALUE...
  • Page 190 Degree of match inspection Continued from page 9·50: When the GRAY-IMG-PROC (gray scale processing mode) is selected. Continued from the previous page: When the binary processing mode is selected. Select item 7 EVALUATION COND (evaluation conditions), from the [TYPE00-MEAS1 to 3] menu [EVALUATION COND] (TYPE00-MEAS.1-DEG OF MATCH) 1REGST NO.
  • Page 191 Degree of match inspection From the previous page [NUMERIC CALC] (TYPE00-MEAS.1-DEG OF MATCH) 1CALC. RESULT N00(0~15) 2OBJECT TYPE NO MATCH [M] CORD[X Y] LEVL[G] NUM-CALC[NC] CNST[C] 3FORMULA REG.00(0~15) MDL0(0~1) N00(0~15) + - ∗ DEL END 4UPPER&LOWER LIMIT 00000000.0~ +00000000.0 5OUTPUT NO Y0(0~7) C000(0~107) 6RUN A TEST (SET KEY)
  • Page 192 Degree of match inspection Continued from the previous page [OUTPUT CONDITIONS] (TYPE00-MEAS.1-DEG OF MATCH) 1PAGE NO. 0(0~4) REG.NO YES 2SET POSITION MOVE 3INPUT SIGNAL REGT.NO.00(0~15) MATCH.M0(0~1) CRD-X0(0~1) CRD-Y0(0~1) LVL G0(0~1) CAL N00(0~15) AUXRLYC000(0~127) 4LOGIAL SYMBOL DEL. 5OUTPUT SIGNAL AUX.RLYC000(0~127) DEL. 6UPPER MENU [PAGE0] INPUT0...
  • Page 193 Degree of match inspection Continued form the previous page Pressing the TRG/BRT key will run a check by starting a manual measurement. Shown below is an example of how the display will look when the gray scale search mode has been selected and both models 0 and 1 have been set to (Search YES).
  • Page 194: Distance And Angle Measurement

    Distance and angle measurement 9-5 Distance and angle measurement The distance and angle of the centers of detected points can be measured by the Purpose center detection function and the edge detection function in a gray scale search and the center of grevity detection function, which is a part of the labeling process. Applications Measurement for mounting electronic components [Measuring an IC package]...
  • Page 195 Distance and angle measurement [1] Setting sequence [MAIN OPS MENU] [SYSTEM SETUP] [OBJECT TYPE COND] 2OBJECT TYPE COND 0MEASUREMENT 1 SET-SCRN qMEASUREMENT 2 wMEASUREMENT 3 2COMPARE IMAGES 4COPY, 1MEAS SELECTION (comparative calculation 3SELECT CAMERA 5INITIALIZATION Select the GRAY&EDGE between images) (select a camera) (See page 9.2, or GRAV on the DST&AGL...
  • Page 196 Distance and angle measurement [2] Setting details An explanation of item 6 MEAS.PROG.COND (conditions for measurement programs) from the [TYPE00-MEAS1 to 3] menu. On the MAIN OPS MENU, move the cursor to SET-SCRN, and press SET key. -On the [SYSTEM SETUP], move the cursor to item 2 OBJECT TYPE COND and press SET key. -Select item 0 MEASUREMENT 1, qMEASUREMENT 2 or w MEASUREMENT 3 on the [OBJECT TYPE COND] (conditions for object types) menu.
  • Page 197 Distance and angle measurement From the previous page: When the GRAY-SEARCH (gray scale search) starting point mode is selected as the START POINT COND (starting point condition). 1MEAS WINDOW RECTANGLE X-LINE Y-LINE This is how the display looks 2REF IMAGE MOVE UP.L(224,208) LO.R(287,271) REG.
  • Page 198 Distance and angle measurement Continued from page 9·59: When the EDGE-DETECT (edge detection) starting point mode is selected as the START POINT COND (starting point conditions). 1DETECT MODE CHANGE DRK BRT BRT DRK CNTR(BRT DRK) 2DETECT DIRECTION HORI ( ) VERT ( 3DETECT AREA MOVE UP.L(224,208) LO.R(287,271) 4THRESHOLD VALUE GRYS.050(0 255) EDGE.W (1~8)
  • Page 199 Distance and angle measurement Continued from page 9·59: Setting the DST & AGL MES. (measurement of distance and angle) for GRAV. (center of gravity operations). [MEASURING COND] (TYPE00-MEAS.1-DST&ANGL MEAS) 1START POINT COND (TO NEXT SUB-MENU) 2AUX.CONDITIONS (TO NEXT SUB-MENU) 3DISTANCE CONDITIONS (TO NEXT SUB-MENU) 4ANGLE CONDITIONS (TO NEXT SUB-MENU) 5UPPER MENU...
  • Page 200 Distance and angle measurement Continued from the previous page: Setting the DST &AGL MES. (measurement of distance and angle) for GRAV.(center of gravity operations). Select a method for eliminating binary noise. qBINARY NOIS FILTR -See methods for eliminating noise from binary images, (eliminating binary noise) expansion/contraction and eliminating binary noise in shared settings on page 9·10.
  • Page 201 Distance and angle measurement Continued from pages 9-60, 9-61 and 9-63: GRAY & EDGE, GRAV. [AUX. CONDITIONS] (TYPE00-MEAS.1-DST&ANGL MEAS) 1AUX.NO. 00(0~15) 2AUX.TYPE NO MID-PNT PERIMETR C-GRAV LEG INTRSCT-PT Those settings already 3POINT NO.1 : ST-PNT00 AUX.NO established for auxiliary 4POINT NO.2 : ST-PNT00 AUX.NO points may also be used as...
  • Page 202 Distance and angle measurement Continued from the previous page: GRAY&EDGE, GRAV. [DISTANCE SETTINGS] (TYPE00-MEAS.1-DST&ANGL MEAS) 1DISTANCE NUMBER 00(0~15) 2DISTANCE TYPE NO DIST-BETW-2PT DIST-BETW-X DIST-BETW-Y 3POINT NO.1 : ST-PNT00 AUX.NO 4POINT NO.2 : ST-PNT00 AUX.NO 5UPPER MENU If auxiliary point settings have been made in the [AUX.CONDITIONS] (auxiliary condition) menu, then they may be used for the measurement conditions here.
  • Page 203 Distance and angle measurement Continued from the previous page: GRAY&EDGE, GRAV. If auxiliary point settings have been [ANGLE SETTINGS] (TYPE00-MEAS.1-DST&ANGL MEAS) made in the [AUX.CONDITIONS] 1ANGLE NO. 00(0~15) (auxiliary condition) menu, then they 2ANGLE TYPE NO 3PT-ANGL 2PT-ANGL(HORI VERT) may be used for the measurement 3POINT NO.1 : ST-PNT00 AUX.NO...
  • Page 204 Distance and angle measurement Continued from the previous page: GRAY&EDGE, GRAV. Alternatively, EDGE DETECT (tip [EVALUATION COND] (TYPE00-MEAS.1-DST&ANGL MEAS) of the edge) or GRAVITY (label 1OBJECT : ST-PNT AUX DIST [TEST RESULT] [OUT] center of gravity) may also be ANGLE displayed here.
  • Page 205 Distance and angle measurement Continued from the previous page: GRAY&EDGE, GRAV. [NUMERIC CALC] (TYPE00-MEAS.1-DST&ANGL MEAS) 1CALC.RESULT N00(0~15) 2OBJECT TYPE NO MATCH[M] CORD[X Y] AUX[HX HY] DIST[D] ANGL[B] NUM-CALC[NC] CNST[C] 3FORMULA REG.00(0~15) N00(0~15) + - ∗ DEL. END 4UPPER&LOWER LIMIT +00000000.0~ +00000000.0 5OUTPUT NO Y0(0~7) C000(0~107) 6RUN A TEST...
  • Page 206 Distance and angle measurement Continued from the previous page: GRAY&EDGE, GRAV. [OUTPUT CONDITIONS] (TYPE00-MEAS.0-DST&ANGL MEAS) 1PAGE NO. 0(0~4) REG.NO YES 2SET POSITION MOVE 3INPUT SIGNAL MATCH M00(0~15) AGL B00(0~15) ST-PT S00(0~15) AUX.H00(0~15) DST.D00(0~15) CAL.N00(0~15) AUXRLY C000(0~127) 4LOGICAL SYMBOL DEL. 5OUTPUT SIGNAL AUX.RLYC000(0~127) DEL.
  • Page 207 Distance and angle measurement Continued form the previous page Pressing the TRG/BRT key will run a measurement of distance and angle after manually measuring the starting point. Below is an example of the results display for a distance measurement. (TYPE00) F L C1ALLC2NO [Display of measured results] VX.X...
  • Page 208 Distance and angle measurement Example of the display of starting point results Starting point number [mode] ST-PNT00 [GRAY SEARCH] Coordinates for starting points (132.0, 298.0) and results of decision MATCH +09944 OK Match with the reference image (This is how the display looks ST-PNT01 [GRAY SEARCH] when the gray scale mode is (360.0, 298.0)
  • Page 209: Lead Inspection

    Lead inspection 9-6 Lead inspection Based on positional information obtained from the gray scale search function, inspect the Purpose condition of IC leads and connector pins. (No. of detected lead pins : Max. 128 pieces) Checks IC leads and packages for connectors. Application [Check the alignment of things like IC leads and packages for connectors.] [Lead inspection]...
  • Page 210 Lead inspection [1] Setting sequence [MAIN OPS MENU] [SYSTEM SETUP] [OBJECT TYPE COND] 0MEASUREMENT 1 SET-SCRN TYPE COND qMEASUREMENT 2 wMEASUREMENT 3 2COMPARE IMAGES 1MEAS SELECTION 4COPY, 3SELECT (comparative calculations 5INITIALIZATION (select INSPECT-LEAD CAMERA between images) lead inspection) (See section 9-2 [7], [8]) (See page 9-2 [6]) ·...
  • Page 211 Lead inspection [2] Setting details An explanation of item 6 MEAS.PROG.COND (condition for measurement programs) from the [TYPE-MEAS1 to 3] menu. On the MAIN OPS MENU, move the cursor to SET-SCRN, and press SET key. -On the [SYSTEM SETUP] menu, move the cursor to 2 OBJECT TYPE COND (conditions of objrct type) and press SET key.
  • Page 212 Lead inspection From the previous page: When gray scale search for line correction is enabled, then select the 2 SEARCH CRITERIA (conditions for criteria search). 1MEASURE WINDOW RECTANGLE X-LINE Y-LINE 2REFERENCE IMAGE MOVE UP.L(224,208) LO.R(287,271) REG. DISP 3SEARCH AREA This is how the display looks MOVE UP.L(216,200) LO.R(295,279) when the 1 4DETECTED COORD...
  • Page 213 Lead inspection Continued from the previous page Return to the [MEASURING COND] menu and select item 5 OBJ CONDFOR MEAS (conditions for objects to be measured) Continued from page 9·74: Select OBJ CONDFOR MEAS (conditions for objects to be measured). 1DETECT MODE CNTR(BRT DRK) 2DETECT DIRECTION HORI(...
  • Page 214 Lead inspection Continued from the previous page [Examples of settings] Example when 1 DETECT MODE (detection mode) is set to CNTR (BRT) (center bright) or and 2 DETECT DIRECTION (detection direction) is set to HORI (horizontal). Center point Line used in Edge detecting the object Edge...
  • Page 215 Lead inspection Continued from the previous page Select item 7 EVALUATION COND (evaluation conditions) on the [TYPE00-MEAS1 to 3] menu [EVALUATION COND] (TYPE00-MEAS.1-INSPECT LEAD) 1REGST NO. 0(0~3) [TEST RESULT] [OUT] 2X COORD 000.0 511.0 000.0 These displays can be set using 3Y COORD 000.0~479.0 000.0...
  • Page 216 Lead inspection Continued from the previous page [NUMERIC CALC] (TYPE00-MEAS.1-INSPECT LEAD) 1CALC. RESULT N00(0~15) 2OBJECT TYPE NO MATCH[M] CORD[X Y] QTY[K] MAX.DIST[MXD] MIN.DIST[MND] MAX-L.LENG[MXL] MIN-L.LENG[MNL] NUM-CALC[NC] CNST[C] 3FORMULA REG.0(0~3) MES-OBJ.0(0~7) N00(0~15) + - ∗ DEL. END 4UPPER&LOWER LIMIT +00000000.0~ +00000000.0 5OUTPUT NO Y0(0~7) C000(0~107) 6RUN A TEST...
  • Page 217 Lead inspection Continued from the previous page [OUTPUT CONDITIONS] (TYPE00-MEAS.1-INSPECT LEAD) 1PAGE NO. 0(0~4) REG.NO YES 2SET POSITION MOVE 3INPUT SIGNAL REGT.NO.0(0 3) MATCH.M CRD-X CRD-Y DST D0(0~7) QTY K0(0~7) L-LEN L0(0~7) CAL N00(0~15) AUXRLY C000(0~127) 4LOGICAL SYMBOL DEL. 5OUTPUT SIGNAL AUX.RLYC000(0~127) DEL.
  • Page 218 Lead inspection Continued from the previous page Pressing the TRG/BRT key will measure the distance and angle after manually measuring the starting point. Below is an example of the results displayed for a distance measurement. (TYPE00) F H C1ALLC2NO [Display of the inspection results] VX.X Final evaluation result Measuring time...
  • Page 219: Area Measurement By Binary Conversion

    Area measurement by binary conversion 9-7 Area measurement by binary conversion This function is used to determine the existence and or size of a workpiece when the workpiece is in one place or when it has a fixed measurement position. Purpose - This function measures the area of the white field after the image has been converted to binary values (i.e.
  • Page 220 Area measurement by binary conversion [1] Setting sequence [MAIN OPS MENU] [SYSTEM SETUP] [OBJECT TYPE COND] 2OBJECT TYPE COND 0MEASUREMENT 1 SET-SCRN qMEASUREMENT 2 wMEASUREMENT 3 3SELECT 1MEAS SELECTION 2COMPARE IMAGES 4COPY, (Select the MEASR-BIN-AREA (comparative calculations CAMERA 5INTIALIZATION (area measurement after between images (select a (See section 9-2 [7], [8])
  • Page 221 Area measurement by binary conversion [2] Setting details An explanation of item 6 MEAS.PROG.COND (conditions for measurement programs) in the [TYPE00-MEAS1 to 3] menu. -On the [SYSTEM SETUP menu] move the cursor to 2 OBJECT TYPE COND (conditions of object type and press the SET key. -Go to item 0 MEASUREMENT 1, item q MEASUREMENT 2 or, item w MEASUREMENT 3 on the [OBJECT TYPE COND] menu and press the SET key.
  • Page 222 Area measurement by binary conversion Continued from the previous page This is how the display looks 1MEAS WINDOW TYPE RECTANGLE CIRCLE ELLIPSE when item 1 MEAS WINDOW 2MEAS WINDOW POSIT MOVE UP.L(224,208) LO.R(287,271) TYPE (measuring window) is set to RECTANGLE. 3MASK WINDOW TYPE NO RECTANGLE CIRCLE ELLIPSE 4MASK WINDOW POSIT MOVE UP.L(224,208) LO.R(287,271) This is how the display looks...
  • Page 223 Area measurement by binary conversion Continued from the previous page Select item 7 EVALUATION COND (evaluation condition) on the [TYPE00-MEAS 1 to 3] menu. [EVALUATION COND] (TYPE00-MEAS.1-MEAS-BIN-AREA) These displays can be set using 1REGST NO. 00(0~15) [TEST RESULT] [OUT] the up and down keys. (The 2AREA 000000~245760 002000...
  • Page 224 Area measurement by binary conversion Continued from the previous page [NUMERIC CALC] (TYPE00-MEAS.1-MEAS-BIN-AREA) 1CALC.RESULT N00(0~15) 2OBJECT TYPE NO T-AREA[A] NUM-CALC[NC] CNST[C] 3FORMULA REG.00(0~15) N00(0~15) + - ∗ DEL. END 4UPPER&LOWER LIMIT +00000000.0~ +00000000.0 5OUTPUT NO Y0(0~7) C000(0~107) 6RUN A TEST (SET KEY) 7UPPER MENU +00009000.0~ 00010000.0...
  • Page 225 Area measurement by binary conversion Continued from the previous page [OUTPUT CONDITIONS] (TYPE00-MEAS.1-MEAS-BIN-AREA) 1PAGE NO. 0(0~4) REG.NO YES 2SET POSITION MOVE 3INPUT SIGNAL T-AREA A00(0~15) CAL N00(0~15) AUXRLY C000(0~127) 4LOGICAL SYMBOL DEL. 5OUTPUT SIGNAL AUX.RLYC000(0~127) DEL. 6UPPER MENU [PAGE0] INPUT0 LOGIC INPUT1 LOGIC...
  • Page 226 Area measurement by binary conversion Continued from the previous page Pressing the TRG/BRT key will display the size of the area inside the measurement window, in pixels. (TYPE00) F L C1ALLC2NO [Display of measured results] VX.X Final evaluation results Measuring time MEAS.
  • Page 227: Counting Quantities By Binary Conversion

    Counting quantities by binary convension 9-8 Counting quantities by binary conversion Checks the number of objects (max. 3000 pcs.) when there is more than one object in an image. Measurement of the object's position is optional. Purpose · When the specified pixel field has been converted to a binary image, the white areas are measured or identified as separate objects and counted.
  • Page 228 Counting quantities by binary convension [1] Setting sequence [MAIN OPS MENU] [SYSTEM SETUP] [OBJECT TYPE COND] 0MEASUREMT 1 SET-SCRN TYPE COND qMEASUREMT 2 wMEASUREMT 3 1MEAS SELECTION 4COPY, (Select the CNT-BIN-OBJ) comparative calculations 5INTIALIZATION (area measurement after between images) (select a (see section 9-2 [7], [8]) binary conversion)) (see section 9-2 [6])
  • Page 229 Counting quantities by binary convension [2] Setting details An explanation of 6 MEAS.PROG.COND (conditions for measurement programs) from the [TYPE00-MEAS1 to 3] (object type measurement) menu. On the MAIN OPS MENU, move the cursor to SET-SCRN, and press SET key. -On the [SYSTEM SETUP] menu, move the cursor to 2 OBJECT TYPE COND (conditions of object type) and press the SET key.
  • Page 230 Counting quantities by binary convension Continued from the previous page This is how the display looks when item 1 MEAS WINDOW 1MEAS WINDOW TYPE RECTANGLE CIRCLE ELLIPSE 2MEAS WINDOW POSIT MOVE UP.L(224,208) LO.R(287,271) TYPE (measurement window) is set to RECTANGLE. 3MASK WINDOW TYPE NO RECTANGLE CIRCLE ELLIPSE 4MASK WINDOW POSIT MOVE UP.L(224,208) LO.R(287,271) This is how the display looks...
  • Page 231 Counting quantities by binary convension Continued from the previous page [Information about the window settings] · In order to set a window it is necessary to freeze the frame. · First freeze the frame. Then operate the camera normally. Finally, freeze the frame again. The first frozen image that was taken will be converted to binary values and this will be the final binary image.
  • Page 232 Counting quantities by binary convension Continued from the previous page [NUMERIC CALC] (TYPE00-MEAS.1-CNT-BIN-OBJ) 1CALC.RESULT N00(0~15) 2OBJECT TYPE NO T-AREA[A] QTY[K] NUM-CALC[NC] CNST[C] 3FORMULA REG.00(0~15) N00(0~15) + - ∗ DEL. END 4UPPER&LOWER LIMIT +00000000.0~+00000000.0 5OUTPUT NO Y0(0~7) C000(0~107) 6RUN A TEST (SET KEY) 7UPPER MENU +00009000.0~ +00010000.0...
  • Page 233 Counting quantities by binary convension Continued from the previous page [OUTPUT CONDITIONS] (TYPE00-MEAS.1-CNT-BIN-OBJ) 1PAGE NO. 0(0~4) REG.NO YES 2SET POSITION MOVE 3INPUT SIGNAL REGT.NO.0(0~3) T-ARA A QTY K CAL N00(0~15) AUXRLY C000(0~127) 4LOGICAL SYMBOL DEL. 5OUTPUT SIGNAL AUX.RLYC000(0~127) DEL. 6UPPER MENU [PAGE0] INPUT0 LOGIC...
  • Page 234 Counting quantities by binary convension Continued from the previous page Pressing the TRG/BRT key will display the total area (in pixels) and the number of objects inside the measurement window. (TYPE00) F L C1ALLC2NO [Display of measured results] VX.X Final evaluation results Measuring time MEAS.
  • Page 235: Object Identification (Labeling) By Binary Conversion

    Object identification (labeling) by binary conversion 9-9 Object identification (labeling) by binary conversion When there are several objects and the measuring position is arbitrary, the presence or absence of objects and the size of the objects can be determined. Purpose ·...
  • Page 236 Object identification (labeling) by binary conversion [1] Setting sequence [MAIN OPS MENU] [SYSTEM SETUP] [OBJECT TYPE COND] 2 OBJECT TYPE COND 0 MEASUREMENT 1 SET-SCRN q MEASUREMENT 2 w MEASUREMENT 3 1 MEAS SELECTION 2 COMPARE 4 COPY, 3 SELECT IMAGES 5 INITIALIZATION (measurement selection)
  • Page 237 Object identification (labeling) by binary conversion [2] Setting details An explanation of the 6 MEAS.PROG.COND (conditions for measurement programs) from the [TYPE00-MEAS1 to 3] (object type measurement) menu. On the MAIN OPS MENU, move the cursor to SET-SCRN, and press SET key. - On the [SYSTEM SETUP] menu, move the cursor to 2 OBJECT TYPE COND (conditions of object type) and press the SET key.
  • Page 238 Object identification (labeling) by binary conversion Continued from the previous page This is how the display looks 1MEAS WINDOW TYPE RECTANGLE CIRCLE ELLIPSE when item 1 MEAS WINDOW 2MEAS WINDOW POSIT MOVE UP.L(224,208) LO.R(287,271) TYPE (measurement window) is 3MASK WINDOW TYPE NO RECTANGLE CIRCLE ELLIPSE set to RECTANGLE.
  • Page 239 Object identification (labeling) by binary conversion Continued from the previous page [Window settings] · In order to set a window it is necessary to freeze the image. · First freeze the image. Then operate the camera normally. Finally, freeze the image again. The first frozen image that was taken will be converted to binary values and this will be the final binary image.
  • Page 240 Object identification (labeling) by binary conversion Continued from the previous page Select item 7 EVALUATION COND (evaluation condition) on the [TYPE00-MEAS1 to 3] menu. [EVALUATION COND] (TYPE00-MEAS.1-LABEL-BIN-OBJ) 1REGST NO. 0(0~3) [TEST RESULT] [OUT] 2NUMBER These displays can be set using 000~128 the up and down keys.
  • Page 241 Object identification (labeling) by binary conversion Continued from the previous page [NUMERIC CALC] (TYPE00-MEAS.1-LABEL-BIN-OBJ) 1CALC.RESULT N00(0~15) 2OBJECT TYPE NO T-AREA[A] QTY[K] OBJ-AREA[R] OBJ-GRAVTY[GX GY] OBJ-ANGLE[B] OBJ-FILLET[FX FY] OBJ-PERIMETR[CR] NUM-CALC[NC] CNST[C] 3FORMULA REG.0(0~3) LABL000(0~127) N00(0~15) + - ∗ DEL. END 4UPPER&LOWER LIMIT 00000000.0 00000000.0 5OUTPUT NO Y0(0~7) C000(0~107)
  • Page 242 Object identification (labeling) by binary conversion Continued from the previous page [OUTPUT CONDITIONS] (TYPE00-MEAS.1-LABEL-BIN-OBJ) 1PAGE NO. 0(0~4) REG.NO YES 2SET POSITION MOVE 3INPUT SIGNAL REGT.NO.0(0~3) T-ARA A QTY K OBJ-AREA R000(0~127) CAL N00(0~15) AUXRLY C000(0~127) 4LOGICAL SYMBOL DEL. 5OUTPUT SIGNAL AUX.RLYC000(0~127) DEL.
  • Page 243 Object identification (labeling) by binary conversion Continued from the previous page When the TRG/BRT key is pressed, the labeling measurements are performed manually. (TYPE00) F L C1ALLC2NO [Display of measured results] VX.X Final evaluation results Measuring time MEAS. XXXXXXms Measurement number, camera number, MEAS1 CAM1 LABEL-BIN-OBJ measurement program name Registration number...
  • Page 244: Existence Inspection By Point Measurement

    Existence inspection by point measurement 9-10 Existence inspection by point measurement The presence or absence of target objects is examined. · A simple black or white evaluation is made in the specified pixel area of binary Purpose images. · The light level in the specified pixel area is averaged, and a decision is made whether or not it is within the specified lightness range in gray scale images.
  • Page 245 Existence inspection by point measurement [1] Setting sequence [MAIN OPS MENU] [SYSTEM SETUP] [OBJECT TYPE COND] 0MEASUREMENT 1 SET-SCRN TYPE COND qMEASUREMENT 2 wMEASUREMENT 3 1MEAS SELECTION 2COMPARE IMAGES 3SELECT 4COPY, (Select the POINT MEAS comparative calculations CAMERA 5INTIALIZATION (area measurement by between images) (select a (see section 9-2 [7], [8])
  • Page 246 Existence inspection by point measurement [2] Setting details An explanation of the 6 MEAS.PROG.COND (conditions for each measurement program), from the [TYPE00-MEAS1 to 3] menu. On the MAIN OPS MENU, move the cursor to SET-SCRN, and press SET key. -On the [SYSTEM SETUP] menu, move the cursor to 2 OBJECT TYPE COND (conditions of object type) ane press SET key.
  • Page 247 Existence inspection by point measurement Continued from the previous page 1 POINT SIZE : Y-08 X-08(2 to 32) 2 STO PNT POSITIONS 000(0 to 255 )REG.NO YES This value will be 127 when AV-LIGHT- 3 START POINT POS MOVE( , ) LEVEL (average light level) is selected 4 BLOCK LAYOUT 001 001...
  • Page 248 Existence inspection by point measurement Continued from the previous page (when BIN-CONV (binary conversion) was selected for the processing mode) OK/NG judgment White: Will be OK if a majority of the objects to be measured is seen as white. Black: Will be OK if a majority of the objects to be measured is seen as black.
  • Page 249 Existence inspection by point measurement From page 9-110: When AV-LIGHT-LEVEL (average light level) is selected for the processing mode. Average light level of the points [EVALUATION COND] (TYPE00-MEAS.1-POINT-MEAS) OK/NG judgment 1 CHG PAGE TEST RUN [TEST RESULT] [OUT] Æ OK when the average light level of a 2 P000 : 000~255 point is within the range set.
  • Page 250 Existence inspection by point measurement From page 9·111: When BIN-CONV (binary) was selected for the processing mode. Continued from the previous page: When AV-LIGHT-LEVEL (average light level) is selected for the processing mode. [OUTPUT CONDITIONS] (TYPE00-MEAS.1-POINT MEAS) 0(0~4) REG.NO YES 2 SET POSITION MOVE 3 INPUT SIGNAL...
  • Page 251 Existence inspection by point measurement Form the preceding page When the TRG/BRT key is pressed, manual measurement will start, and the points will be measured. The following is how the display of the results will look when BIN (binary) was selected for the processeing mode.
  • Page 252: System Settings

    System settings 9-11 System settings [1] Illuminance (light level) monitor (1) Purpose 1. Allows the system to monitor changes the lighting of the environment If the light level exceeds the preset lighting range, it will be regarded as a change in the environment and "Light level over range"...
  • Page 253 8. Select item 5 UPPER MENU, using the up and down keys, and press the SET key. - Press the SET key again to store the parameter settings in the IV-S20 flash memory. After the measurement monitoring function is turned ON and images have been captured, the lighting monitoring function set above will be active.
  • Page 254: Shutter Speed

    System settings [2] Shutter speed On the MAIN OPS MENU, move the cursor to SET-SCRN, and press the SET key. -On the [SYSTEM SETUP] menu, move the cursor to 2 OBJECT TYPE COND (conditions of object type) and press the SET key. -Move the cursor to item t SYSTEM-IN/OUT, on the [OBJECT TYPE COND] menu, and press the SET key.
  • Page 255: Power On Sequence

    IV-S20. Then it outputs the results of the calculations performed by the circuit. Use of the PC function enables the IV-S20 to output measurement results to an external equipment such as a lamp by itself, without the need for an external PC.
  • Page 256 PC Function [1] Power ON sequence The parallel output terminals (Y0 to Y7) are reset, and the data memories (input relays, output relays, auxiliary relays, timer and counter) are cleared. [2] PC scan cycle In the PC scan cycle, the following three operations (1) to (3) are repeated cyclically. (1) Input refresh The ON/OFF data from the parallel input terminals (X0 to X6) is written into the data memory (input relays).
  • Page 257: Ladder Circuit Program Creation

    PC Function 10-2 Ladder circuit program creation [1] Procedure for creating measurement output condition and a ladder circuit A separate ladder circuit can be created for positional deviation measurement, degree of match inspection, distance/angle measurement, lead inspection, area measurement by binary conversion, object counting by binary conversion, label measurement by binary conversion, and point measurement.
  • Page 258 PC Function From the preceding page (2) Ladder circuit creation 1 (setting input signals) [OUTPUT CONDITIONS] (TYPE00-MEAS.0 POS-DEVIATION) 1PAGE NO. 0(0~4) REG.NO YES 2SET POSITION MOVE 3INPUT SIGNAL REGT.NO.00(0~ ) MATCH M0(0~1) CRD.X0(0~1) CRD.Y0(0~1) DEVIAT-x0(0~1) DEVIAT-y0(0~1) AGL-DV B CAL N00(0~15) AUXRLY C000(0~127) 4LOGICAL SYMBOL DEL.
  • Page 259 C010 C001 C001 C011 C011 C001 (5) Storing the circuit in the IV-S20 memory (RAM) 4LOGICAL SYMBOL DEL. 5OUTPUT SIGNAL AUX.RLYC000(0~127) DEL. 6UPPER MENU 1. Move the cursor to item 6 UPPER MENU with the up and down keys, and press the SET key.
  • Page 260 PC Function [Kinds of input signals in each measurement program] Measurement function Distance Kind of input Positional deviation Matching inspection for Lead and angle inspection measurement shape and size measurement Degree of Model 0: 0M0 to 7M0 Model 0 (positioning): 00M0 to 15M0 [Start point] 0M to 3M match...
  • Page 261 PC Function [Auxiliary relay C000 to C127] The functions of the auxiliary relays (C000 to C127), which can be used for input and output signals, are explained below. Function Relay No. (relay name) Use for input signals Use for output signals C000 to C109 ·...
  • Page 262 PC Function [2] Procedure for creating the final output conditions in a ladder circuit A ladder circuit can be created for each object type (0 to 15) using the following procedure. (1) Operation to invoke the [FINAL OUTPUT COND.] menu On the MAIN OPS MENU, move the cursor to SET-SCRN item, and press the SET key.
  • Page 263 PC Function From the preceding page A ladder circuit can be created on each page from 0 to 7 consisting of 4 rows, each of which has 8 terminals and 1 output relay. Therefore, a ladder circuit can be created that consist of 32 rows in all (one row contains 8 terminals and 1 output relay).
  • Page 264 PC Function From the preceding page Kind of Data Function memory No. input signal External input The external input terminals X0 to X6 can be assigned. X0 to X6 terminals When any of the timer instructions TM0 to TM7 causes a time-out, Timer the corresponding terminal is turned ON.
  • Page 265 PC Function From the preceding page (3) Ladder circuit 2 (setting output signals) [RESULTS OUTPUT] (TYPE00) 1PAGE.NO. (0~7) REG.NO YES 2SET POSITION MOVE 3INPUT SIGNAL AUXRLY C112(0~127) EXT-INP X0(0~6) TMR TM0(0~7) CNT CN0(0~7) AN00(0~15) OUT Y00(0~15) 4LOGICAL SYMBOL DEL. 5OUTPUT SIGNAL OUT Y00(0~15) AUXRLY C000(0~127) TMR TM0(0~7) SET-VL000(000~999) CNT CN0(0~7) SET-VL000(000~999)
  • Page 266 PC Function From the preceding page Kind of Data output memory Function signal External Output to the parallel I/F, general purpose serial I/F and computer link Y0 to Y7 output Output to the general purpose serial I/F or computer link Y8 to Y15 instructions A timer terminal will be turned ON for a set amount of time (set value...
  • Page 267 Note: Output relays cannot be used in series on a ladder circuit. Change circuit a to circuit b. Circuit b Circuit a (5) Storing the circuit in the IV-S20 memory (RAM) 4LOGICAL SYMBOL DEL. 5OUTPUT SIGNAL OUT Y00(0~15) AUXRLY C000(0~127)
  • Page 268: Program Examples (Shape And Positional Deviation Inspection)

    PC Function 10-3 Program examples (shape and positional deviation inspection) Outline The positional deviation measurement (one point search) in measurement 0 allows the degree of match and coordinates to be measured, and the result, OK or NG, is output. Reference image (registration No.0) Object to be measured Reference image registration window...
  • Page 269: Examples Of A Final Output Conditions Ladder Circuit

    PC Function 10-4 Examples of a final output conditions ladder circuit (1) Circuit for keeping the external output ON until the next external trigger is received C119 C000 NG output Measurement termination External trigger input BUSY External output Y00) (2) Circuit for controlling the ON time of the external output using the timer C119 10ms 10 100ms 0010...
  • Page 270: Pc Monitor Screen

    PC Function 10-5 PC monitor screen On the MAIN OPS MENU, move the cursor to PC-MONTR item, on the menu bar at the bottom of the screen, and press the SET key. Then, the PC monitor screen will be displayed. (TYPE00) AREA1 F L C1ALLC2NO VX.X...
  • Page 271: Chapter 11: Setting The Input/Output Conditions

    Chapter 11: Setting the Input/Output Conditions 11-1 Outline This chapter explains the input/output settings on the IV-S20. The conditions are set on the [IN/OUT CND.] menu. On the [MAIN OPS MENU], move the cursor to SET-SCRN, and press the SET key.
  • Page 272 Setting the Input/Output Conditions Input/output condition Setting details 7 OUTPUT STATUS Select the IV-S20 output status => See page 6-15, 7-2, and 10-16. (Status output) Set the conditions on the next menu when item 1 MEAS TRIG INP I/F has 8 SERIAL CONDITIONS been set to SERIAL.
  • Page 273: Measurement Start Input And Result Output Settings

    Setting the Input/Output Conditions (2) Measurement number switching terminals X5 and X6 If item 4 CHG MEAS NO. X5, X6 on the [I/O SETTINGS] menu has been set to "YES," the measurement program numbers (in combination with measurement number 0) can be specified from the following 4 combinations by turning ON or OFF the input terminals (INPUT) X5 and X6.
  • Page 274 [I/O SETTINGS] PARALLEL SERIAL CCD-TRIG Camera 2 (image capturing) Monitor 3 SERIAL OUTPUT NO PC-LINK SERIAL Remote keypad (INPUT=PARALLEL) IV-S20 main housing Power supply (24 V DC) External trigger X0 Warning lamp (photo sensor or proximity sensor) External output Type selection switch...
  • Page 275 Computer link outputoutput output output * When a Sharp PC is used, a write enable command (EWR) is transmitted from the IV-S20 to the PC in the following cases. - When the power is applied to the IV-S20 - When a write mode nonconformity error (code 10...
  • Page 276 - The data in a block No., set in item 5 COMPUTER LINK OUT & SERIAL OUTPUT on the [OBJECT TYPE I/O] menu, will be output from the IV-S20 to the personal computer. (See page 11-20.) - Time chart...
  • Page 277 8 SERIAL CONDITIONS (TO NEXT SUB-MENU) Personal computer Command, response Monitor Remote key pad IV-S20 main housing Power supply (24 VDC) - See pages 13-6 and 13-7 for details about the measurement execution commands (codes 10, 11, 12 and 13 - Time chart...
  • Page 278 1 MEAS TRIG INP I/F PARALLEL SERIAL CCD-TRIG Camera 2 (image capturing) Monitor 2 START CCD SAMPLE AUTO(EDGE LEVL) PARALEL SERIAL (CCD SAMPLING Remote keypad Settings listed in Section 11-3 “CCD trigger” IV-S20 main housing Power supply Start sampling input (24 VDC) Warning lamp (photo sensor or...
  • Page 279 Monitor (CCD SAMPLING Data Remote keypad (Computer link) 8 SERIAL CONDITIONS (TO NEXT SUB-MENU) 9 COMPUTER LINK (TO NEXT SUB-MENU) IV-S20 main housing Settings listed in section 11-3 “CCD trigger” Power supply Programmable (24 VDC) controller Start sampling Object type change...
  • Page 280 Setting the Input/Output Conditions When a Sharp PC is used, a write enable command (EWR) is transmitted from the IV-S20 to the PC in the following cases. - When the power is applied to the IV-S20 - When a write mode nonconformity error (code 10...
  • Page 281 Setting the Input/Output Conditions - Time chart Measurement start input (X0) Start accd sampling by turning ON Start accd sampling measurement start input . by turning OFF measurement start CCD trigger input (X0). cycle Object type Specified object type number number input (X1 to X4) Result...
  • Page 282 Settings listed in section 11-3 “CCD trigger” Data Remote key pad IV-S20 main housing Power supply (24 VDC) - See pages 13-9 and 13-10 for details about the measurement execution commands (codes 18, 19, 1A and 1B...
  • Page 283 2 START CCD SAMPLE AUTO (EDGE LEVL) PARALEL SERIAL PARALLEL SERIAL Select one of (CCD SAMPLING AUTOMATIC) Remote key pad the following. Settings listed in section 11-3 “CCD trigger” IV-S20 main housing Power supply Start sampling input (24 VDC) (photo sensor or Warning lamp proximity sensor)
  • Page 284 Setting the Input/Output Conditions - Time chart (when auto mode (level) is selected for as the CCD sampling start) Restarts CCD sampling automatically after measurement is completed. CCD trigger cycle Object type number input Specified object type number (X1 to X4) CCD trigger Black White...
  • Page 285 Monitor Settings listed in section Remote key pad 11-3 “CCD trigger” IV-S20 main housing Power supply (24 VDC) Measurement is started when the CCD trigger level is ON. Measurement is started when a CCD trigger signal is received. Black White...
  • Page 286 Setting the Input/Output Conditions - Time chart (when auto mode (edge) is selected for as the CCD sampling start) Restarts CCD sampling automatically after measurement is completed. CCD trigger cycle When a trigger signal is input during sending object type change command, this command will be invalid.
  • Page 287: Ccd Trigger

    Setting the Input/Output Conditions 11-3 CCD trigger (1) Outline This function samples a specified part (trigger window) of an image captured by the CCD camera at a high rate, and starts the measurement when the sampled image changes. Therefore, moving objects can be measured without requiring an external trigger, such as a photo sensor.
  • Page 288: Setting For Serial Communications

    When "YES" is selected, the CCD trigger will trip when an image changes from white to black. 8. Move the cursor to item 5 UPPER MENU and press the SET key. - Press the SET key again to store the settings in the IV-S20 flash memory. 11-4 Setting for serial communications When “SERIAL”...
  • Page 289: Computer Link

    - See Chapter 14 "Computer Link" for applicable models made by these manufacturers. Note 1: Use an even address as the write start address. Note 2: When 512 bytes are used for a write register on a Sharp model, select a write start address from the following addresses.
  • Page 290: Output Block Assignment (Computer Link Output And General Purpose Serial Output)

    IF: * 1), in addition to other block 0, blocks can be specified whose measurement data will be output from the IV-S20 to a programmable controller or a personal computer. * 1 In the case of a communication interface (general purpose serial IF), output blocks can be specified only when the measurement is started by a CCD trigger or a parallel IF signal and the results are set by a general purpose serial IF signal.
  • Page 291: Setting (Operating) Procedure

    I/F signal When the IV-S20 responds, data in a specified block is output after the output data (block 0) from the measurement No. 0 to 3, in response to the measurement run command 2 (processing code...
  • Page 292: Gain/Offset Adjustment

    Generally, an image from the CCD camera can be optimized by adjusting the optical system, such as the lens iris. To make fine adjustments, the IV-S20 is equipped with functions to adjust the offset and gain of image signals from cameras 1 and 2 and the contrast on an external monitor screen.
  • Page 293: Chapter 12: Other Settings And Operations ([System Setup] Menu)

    Other Settings and Operations Chapter 12: Other Settings and Operations ([SYSTEM SET UP] menu) 12-1 Settings [1] Change the Japanese or English display mode The language used on the screen scan be set to Japanese or English. [Operating procedure] On the [MAIN OPS MENU], move the cursor to SET-SCRN, and press the SET key. 1.
  • Page 294: Download All Parameters

    Other Settings and Operations [2] Download all parameters The IV-S20 can download a complete set of parameters (system I/O data and data about all object types) from an identical IV-S20. IV-S20 IV-S20: Opposite side ([SYSTEM SETUP] menu) ([MAIN OPS MENU]) All parameters (system I/O data and data about all object types) are downloaded.
  • Page 295: Total Initialization

    Other Settings and Operations [3] Total initialization When you newly set conditions, it is recommended that you first initialize the settings. The following conditions should be initialized. - All conditions This section - Measurement conditions for each measurement program number See Item [8], "Initialization (edit),"...
  • Page 296: Saving To Flash Memory

    - If the ESC key is pressed, the set data entered will not be saved in the IV-S20 flash memory. In this case, if the power to the IV-S20 main housing is turned OFF, or if the object type No. is changed, the data will be deleted.
  • Page 297: Maintenance

    Other Settings and Operations 12-2 Maintenance [1] Camera position adjustment This function facilitates adjustment of the camera position and direction with respect to the object being measured and the lens aperture when a camera is replaced or when a camera is dislocated. By using this function, you will need not to adjust the settings for the measurement conditions, such as the window position, one by one.
  • Page 298 Other Settings and Operations (3) Operating procedure On the [ADJ. CAM POSITION] (camera position adjustment) menu, store the data needed for later adjustment (before a camera is replaced or dislocated), and then adjust the camera position (after the camera is replaced or dislocated). Storing the data needed for adjustment (before a camera is replaced or dislocated) On the [MAIN OPS MENU], move the cursor to SET-SCRN, and press the SET key.
  • Page 299 Other Settings and Operations From the preceding page Adjusting the camera position (after the camera is replaced or dislocated) Start Adjusting the camera position/direction Adjusting the lens aperture * Rough adjustment Exists. 8. Press the SET key on item 6 White area in the differential image DISP DEG OF MATCH None...
  • Page 300: Self-Diagnosis

    Other Settings and Operations [2] Self-diagnosis The IV-S20 can check all of its own hardware, to ensure that it is operating normally. (1) Diagnostic items and methods Item Object Method VRAM Memory Read after write SDRAM Measurement conditions Flash memory...
  • Page 301: Chapter 13: Communication (General Purpose Serial Interface)

    Communication Chapter 13: Communication (General Purpose Serial Interface) The IV-S20 can communicate with a personal computer that transmits commands and receives responses to measurement execution commands. 13-1 List of processing functions The following functions can be used for communication between the IV-S20 and a personal computer (using the general-purpose serial interface).
  • Page 302 However, with the measurement execution 2, If the measurement start input I/F has been set to CCD-TRIG (CCD trigger (camera 1)) or PARALLEL (parallel), the IV-S20 only processes responses. *2 Measurement execution functions 5 to 8 can be executed when the MEAS TRIG INP I/F (measurement start input I/F) has been set to the CCD-TRIG (CCD trigger (camera 1)) and is controlled by sampled start instructions.
  • Page 303: Data Flow

    Communication 13-2 Data flow The data flow between the IV-S20 and a personal computer is shown below. [1] When the measurement execution processing code is 10, 11, 12 or 13 (1) Data flow when the measurement is started and the output of the results are controlled by...
  • Page 304: Communication Format

    To improve the reliability of the transmitted data, in addition to a parity check, error detection by a checksum is used for error detection. When the IV-S20 does not need to complete a checksum for error detection, use an @ (at sign: ASCII code 40...
  • Page 305 Communication [Method for creating a checksum code] The ASCII code for each byte of data, from the processing code to the end of text (prior to the checksum code) is added together. The lower 1 byte of this sum is divided into the upper 4 bits and the low-order 4 bits.
  • Page 306: Processing Functions

    Communication 13-4 Processing functions [1] Measurement execution functions (1) Measurement execution function 1 (evaluation result): code 10 The measurement for a specified object type is executed, and the data obtained is compared with the criteria. Then the evaluation result (OK/NG) is output. Ë...
  • Page 307 Communication Response 1 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 Object type Output evaluation result Measurement number 0 (camera 2), no setting Setting for measurement Termination code for measurement numbers...
  • Page 308 Communication (5) Measurement execution functions 5, 6, 7 and 8: codes 18 , 19 , 1A and 1B The measurement execution functions 5 to 8 can be processed when the measurement is started by a CCD trigger (camera 1) and is controlled by start sampled instructions. The contents of the commands and responses are the same as those for the measurement run functions 1 to 4, except for the processing code.
  • Page 309: Measurement Execution Functions

    Communication 4. Measurement execution function 8 (evaluation result + logical result and calculation result): code 1B The measurement for a specified object type is executed, and the evaluation result from the measurement results, the logical results and the calculation results of each measurement are output.
  • Page 310 Communication (2) Measurement data reading function 2 (measurement numerical data): code 22 The data last output and block data from a specified measurement function are output. Ë Command Block : 2 2 Ë Response Output evaluation Object Specified result type : 2 2 block data - Measurement _ Number of the measurement whose numerical data will be output: 0 to 3...
  • Page 311 Communication (5) Corrected light level reading: code 29 The corrected light level measured by the illuminance monitor function, the evaluation result and preset reference light level are read. Ë Command - Camera No. _ 1: camera 1, 2: camera 2 : 2 9 Ë...
  • Page 312 Communication [3] Setting, initialization, self-diagnosis, and manual measurement coordinate of the operation screen Shown below are only the instructions and responses of these processing functions. Process Process function Communication format code Ë Command : 5 0 Read operation Ë Response screen lock 1_Lock operation screen : 5 0...
  • Page 313 Communication Process Process function Communication format code Ë Command : 6 0 Initialize all Ë Response parameters : 6 0 Ë Command Object type : 6 1 Initialize measurement Ë Response conditions Object type : 6 1 Ë Command : 6 2 Initialize reference Ë...
  • Page 314 Communication Process Process function Communication format code Command Response X coordinate (000 to 511) for detect point 0 Y coordinate (000 to 479) for detect point 0 X coordinate (000 to 511) for detect point 1 Manually Y coordinate (000 to 479) for detect point 1 measured Command points...
  • Page 315: Measurement Data Blocks

    Communication 13-5 Measurement data blocks [1] Number of blocks The measurement functions vary in the number of measurement data blocks they use. Measurement function Blocks Positional deviation/absolute 0, 1 position measurement Size and shape comparison 0, 1 Distance/angle measurement 0, 1, 2 0, 1 Lead inspection Area measurement by...
  • Page 316 Communication Data example Decimal Sign Block Item Hexa- Measure- point (digit) (+/-) digits decimal ment result 2-point Mode None None search Evaluation: Angular deviation None None 1st point None None Evaluation: Degree of match 2nd point None None 1st point None None Evaluation:...
  • Page 317 Communication (2) Degree of match inspection for shape and size No. of Decimal Sign (+/-) Block Item digits point (digit) Registration Degree of match (positioning) Provided None No. 0 Registration Registration No. 1 to 15 contain the same data as the registration No.
  • Page 318 Communication (3) Distance and angle measurement No. of Decimal Block Item Sign (+/-) digits point (digit) Size measurement: Distance None Registration No. 0 Size measurement: Angle Provided Registration Registration No. 1 to 15 contain the same data as the registration No.
  • Page 319 Communication (4) Lead inspection Block Item No. of digits Quantity at center point Line No. 0 Reference Line No. 0 Line No. 1 to 7 contain the same data as line No. 0. No. 1 to 7 Reference Reference No. 1 to 3 contain the same data as reference No. 0. No.
  • Page 320 Communication (5) Area measurement by binary conversion Block Item No. of digits Area Registration No. 0 Evaluation: Area Registration Nos. 1 to 15 contain the same data as the Registration registration No. 0. No. 1 to 15 (6) Counting quantities by binary conversion Block Item No.
  • Page 321 Communication Decimal No. of point Block Item digits (digit) None Label unit area Window label center of gravity Label 0 Window label main axis angle Registration No. 0 None Window label fillet diamete None Window label circumference Label 1 to 31 32 to 63 Labels 1 to 127 contain the same data as label 0.
  • Page 322 Communication No. of Decimal point Item Block digits (digit) Label 0 Main axis angle in registration No. 0 Label 127 Label 0 Main axis angle in registration No. 1 Label 127 Label 0 Main axis angle in registration No. 2 Label 127 Label 0 Main axis angle in registration No.
  • Page 323 Communication (8) Point measurement 1. In the binary mode Block Item No. of digits Evaluation: Point Point No. 0 to 7 White/black information Evaluation: Point Point No. 8 to 15 White/black information Evaluation: Point Point No. 16 to 23 White/black information ·...
  • Page 324 Communication (9) Final numeric calculation result ) - / ) t i a i l s t l s t l s t l s t l s t l s t l *Evaluation result values are expressed as 0 (NG), 1 (OK), or 2 (no evaluation).
  • Page 325 Communication Decimal No. of Item point Sign (+/-) Block digits (digit) Evaluation* None None Result Provided Provided Evaluation* None None Results of numerical Result Provided calculations Provided (measurement 0, camera 1) Evaluation* None None Result Provided Provided Results of numerical N00 to N15 contain the same data as those calculations in the item measurement 0, camera 1.
  • Page 326: Compatible Models

    Computer Link Chapter 14: Computer Link A programmable controller (hereafter referred to as a PC) can be connected to the IV-S20, so that the computer link can be used to have the IV-S20 execute measurements. 14-1 Compatible models The IV-S20 is applicable with the computer links for the following models of Sharp, Mitsubishi and OMRON.
  • Page 327: Data Flow

    3 Receive a completion response. (2), (3): Computer link The block of measurement data to be written from the IV-S20 to the PC, in step 2, can be specified on the [OBJECT TYPE I/O] menu. (See page 11-21.) [When a Sharp PC is connected] The IV-S20 sends write enable command (EWR) to the PC in the following cases.
  • Page 328: Register Setting

    Note 1: When a Sharp PC is used, specify an even address for the write start address. Note 2: When 512 bytes are used for the write register in a Sharp PC, use one of the following write start addresses.
  • Page 329 *6 Assigned block data When a measurement number (camera No.) or block number is specified, the IV-S20 will output its measurement data. - For details about how to specify measurement, see pages 11-19 to 11-20.
  • Page 330: Number Of Blocks

    Computer Link Ë Ë Ë Ë Ë Measurement data blocks [1] Number of blocks The measurement functions vary in the number of measurement data blocks they use. Measurement function Blocks Positional deviation/absolute 0, 1 position measurement Size and shape comparison 0, 1 Distance/angle measurement 0, 1, 2...
  • Page 331 Computer Link Data example Decimal Sign Block Item Hexa- Measure- point (digit) (+/-) digits decimal ment result 2-point Mode None None search Evaluation: Angular deviation None None 1st point None None Evaluation: Degree of match 2nd point None None 1st point None None Evaluation:...
  • Page 332 Computer Link (2) Degree of match inspection for shape and size No. of Decimal Sign (+/-) Block Item digits point (digit) Registration Degree of match (positioning) Provided None No. 0 Registration No. 1 to 15 contain the same data as the registration Registration No.
  • Page 333 Computer Link (3) Distance and angle measurement No. of Decimal Block Item Sign (+/-) digits point (digit) None Size measurement: Distance Registration No. 0 Provided Size measurement: Angle Registration Registration No. 1 to 15 contain the same data as the registration No.
  • Page 334 Computer Link (4) Lead inspection Block Item No. of digits Quantity at center point Line No. 0 Dummy data Reference No. 0 Line Line No.1 to 7 contain the same data as line No. 0. No. 1 to 7 Reference Reference No.
  • Page 335 Computer Link (5) Area measurement by binary conversion Block Item No. of digits Window area Registration No. 0 Evaluation: Area Dummy data Registration Nos. 1 to 15 contain the same data as the Registration registration No. 0. No. 1 to 15 (6) Counting quantities by binary conversion Block Item...
  • Page 336 Computer Link (7) Object identification by binary conversion Decimal No. of point Block Item digits (digit) No. of labels Dummy data Evaluation: No. of labels None Registration No. 0 Evaluation: Total area Total area Registration Registration No. 1 to 3 contain the same data as the registration No.
  • Page 337 Computer Link No. of Decimal point Item Block digits (digit) Label 0 Label unit area in registration No. 0 None Label 127 Label 0 to 127 Label unit area in registration No. 1 Each label contains Label 0 to 127 Label unit area in registration No.
  • Page 338 Computer Link (8) Point measurement 1. In the binary mode Block Item No. of digits Evaluation: Point Point No. 0 to 7 White/black information Evaluation: Point Point No. 8 to 15 White/black information Evaluation: Point Point No. 16 to 23 White/black information ·...
  • Page 339 Computer Link (9) Final numeric calculation result Decimal No. of Item point Block Sign (+/-) digits (digit) C000 C001 Auxiliary relay None None 00: OFF 01: ON C127 None Evaluation* None Dummy data None Result Provided Provided None Evaluation* None Dummy data None Results of numerical...
  • Page 340 Computer Link Decimal No. of Item point Sign (+/-) Block digits (digit) Evaluation* None None Dummy data None Result Provided Provided Evaluation* None None None Dummy data Results of numerical Provided Result Provided calculations (measurement 0, camera 1) Evaluation* None None Dummy data None...
  • Page 341: Interface

    Computer Link 14-4 Interface The interface between the IV-S20 and a programmable controller from each manufacturer is described below. Programmable IV-S20 controller Settings for the IV-S20 Sharp See item [1] below. Mitsubishi OMRON [1] Setting items for the IV-S20 Item...
  • Page 342: Connection With A Sharp Pc

    Computer Link [2] Connection with a Sharp PC [Applicable models] 1. Control module: JW-22CU (can be used with ROM version 2.2 or later) JW-70CUH/100CUH, JW-32CUH/H1/M1 JW-33CUH/H1/H2/H3 2. Basic module: JW-1324K/1342K/1424K/1442K/1624K/1642K 3. CPU board: Z-311J/312J 4. Link module: JW-21CM, JW-10CM 5. Communication board: Z-331J/332J...
  • Page 343 Computer Link 2. When communication port 2 (PG/COMM2 port) is used. Store the communication conditions in system memory addresses #222, #236 and #237. Either RS-232 or RS-422 cable can be connected to the PG/COMM2 port. #222 Communication method for the PG/COMM2 port Set to 00 #236 Set bits D...
  • Page 344 (2) Using memory To allow the memory to be used by the IV-S20, enter a result write start address in the following range. Memory Range (address) Register 09000 to 99776...
  • Page 345 Computer Link (3) Connections 1 When a JW-22CU or JW-70CUH/100CUH is used 1. Communication through the RS-232C port JW-22CU JW-70CUH/100CUH Communication connector on (Communication port) the IV-S20 (RS232C/RS422) Pin No. Signal name Pin No. Signal name Connector shield Short-circuit terminal...
  • Page 346 Computer Link 3 When a JW-1324K/1342K/1424K/1442K/1624K/1642K is used The IV-S20 can only be connected to the RS-422 port. When the communication port is used, provide a 2-wire RS-422 system. When the MMI port is used, provide a 4-wire RS-422 system.
  • Page 347 Computer Link 5 When a JW-21CM or JW-10CM is used * Communication through the RS-422 port (4-wire system) JW-21CM Communication connector on JW-10CM the IV-S20 (RS232C/RS422) Pin No. Signal name Signal name Connector SHIELD shield Ground Shielded, twisted-pair cable 1 km or less...
  • Page 348: Connection With A Mitsubishi Pc

    Computer Link [3] Connection with a Mitsubishi PC [Applicable models] A series computer link units 1. AJ71C24-Sx (AnA or AnN) In the case of the AnA, a computer link can be created if a CPU from the AnA series is used and the link module version is S6 or later.
  • Page 349 Mode: RS-422, Transmission speed: 19.2 K bytes/sec. Parity: Even, Stop bit: 2bits STATION No. ON OFF (2) Using memory To allow the memory to be used by the IV-S20, use a result write start address within the following range. Memory Range (address) D (data register) 0 to 999900 Note: To write data from the IV-S20 to a Mitsubishi PC, use the WW/QW write command.
  • Page 350 Shown below are the connections with a calculator link module. 1 Example of RS-232C connection Calculator link module Communication connector on In case of 25 In case of 9 the IV-S20 (RS232C/RS422) pins connector pins connector Shielded cable Signal Signal Pin No.
  • Page 351: Connection With An Omron Pc

    * Enter the unit number of the IV-S20, as a component of CV500-LK201 system. When communication port 1 is used, the unit number is fixed at 00, and when communication port 2 is used, any number (00 to 31) can be used.
  • Page 352 Computer Link (2) Using memory To allow the memory to be used by the IV-S20, enter a result write start address within the following setting range. Memory Range (address) D (data register) 0 to 9999 (3) Connections 1 Example of RS-232C communication...
  • Page 353: Program Examples

    PC register and relay addresses. Note 2: If the PC has not been connected to the object type input (parallel) on the IV-S20, the object type No. is set to 0. To set different types, first enter the object type numbers (parallel) using the type input terminals on the IV-S20.
  • Page 354 Computer link (2) Flow chart Power ON 5 second interval Camera starts operation ( 00040 = ON ) Starting the time-out detection timer Time-out Normal termination * Transferring the result output (Y0 to Y15) from registers 09004 and 09005 to Error occurs.
  • Page 355 Computer link (3) Program 07377 0050 00000 00040 T000 00000 F-044 04100 00006 00007 00007 F-008 09000 00007 04100 04101 0030 04107 T001 00007 Fc012 09000 04100 07357 07354 07357 Fc012 09000 07356 04101 04100 F-000w 09004 XFER ]0412 00010 04100 00040 00010...
  • Page 356 9. A check is made for errors. 10. Occurrence of an error (09000 = 001 to 376 11. The data in the result output relays Y0 to Y15 (16 points) on the IV-S20 is transferred from registers 09004 to 09005 to addresses ]0412 and ]0413.
  • Page 357: Symptoms And Checks

    Troubleshooting Chapter 15: Troubleshooting Item [1] shows problems which may occur when the IV-S20 measurement system is started. If any error (the termination code is not 00 ) occurs during image processing on the IV-S20, take the steps described in item [2].
  • Page 358 Troubleshooting y l t y l l n i l y t i s i l . y l y l t y l t s t l g i l i l f s t l s t l .
  • Page 359: Causes Of Termination Codes (When An Error Occurs) And Remedies

    Troubleshooting [2] Causes of termination codes (when an error occurs) and remedies When an abnormal termination code (other than 00 ) is received, take the following measures. f i c f i c s t l c i t n i l ) : ( n i l e l l...
  • Page 360: Troubleshooting

    Troubleshooting . t i n i l " " 0 l l a n i l n i l " " 0 n i l n i l a i l f i c a i l n i l f i c f i c f i c...
  • Page 361 (If the parameters have changed, reset the parameters from the beginning.) Reference: When a camera has been replaced, or when a camera has been dislocated, use the camera adjustment function of the IV-S20. This function facilitates adjustment of camera position and lens aperture.
  • Page 362: Iv-S20 Main Housing

    Specifications Chapter 16: Specifications 16-1 IV-S20 main housing [1] Image processing specifications n i l x i f c i t c i f , t f , ) t , t r p i l p i l i l l...
  • Page 363: Pc Specifications

    Specifications [2] PC specifications l e l l e l n i l a i l l a i [3] Hardware specifications c i l n i l e l l s t i n i l s t i ±...
  • Page 364: Camera Section

    Specifications 16-2 Camera section [1] Camera main body: IV-S20C1 c i t n i l l l u l a i n i l v i t c i t ˚ 0 ˚ 5 y t i • i l p 16-3...
  • Page 365 Specifications [2] Camera: IV-S30C1/C2 φ c i t n i l l l u a l i v i t × c i t y t i × × × × φ 7 1 × - - - - - - * Variable as per with the partial image reading specified.
  • Page 366 Specifications [3] Camera lens: IV-S20L16 i n i t l i l l a c i l [4] Camera conversion cable: IV-S20HC3 i n i [5] Camera extension cable: IV-S20EC2/EC4 i n i 16-5...
  • Page 367: Peripheral Device

    Specifications 16-3 Peripheral device [1] Monochrome monitor IV-09MT specifications Item Speicfications Power input voltage 90 to 110 VAC, 50/60 Hz Input capacity 25 VA Signal voltage 1.0 Vp-p/75 ohms Screen display resolution 900 scanning lines (center), 60 scanning lines (edge) Scan method EIA 525 lines (2:1 interlace) Scan frequency...
  • Page 368: Led Lighting Equipment Iv-60Ld Specifications

    , ) . × × × l l a Outline dimensions drawings The dimensions shown below are when an the IV-S20 camera is attached. 73.6 (Unit : mm) 19.8 * (2 places) The dimensions will vary according to the installation direction of the camera.
  • Page 369 Glossary Glossary Ë Ë Ë Ë Ë Area filter A function used to eliminate an island if it area is smaller that the specified size after each of the objects in an image have been identified. Ë Ë Ë Ë Ë Arrangement of the square pixels This refers to CCD elements whose pixels are square and arranged at the same vertical and horizontal interval.
  • Page 370 Glossary Ë Binary processing (fixed/threshold value correction) By setting THESHLD. ADJ (threshold adjustment function), the IV-S20 can cope with variations in light- ing. (threshold adjustment function), the monitor brightness functions must be selected to Threshold correction value measure variations in lighting. If...
  • Page 371 Glossary Ë Edge emphasis - See "Pre-processing." Ë Edge extruction - See "Pre-processing." Ë Expansion - See "Expansion and contraction to elimiate binary noise in the image." Ë Edge detection The "edge" refers to the boundaries between the brighter (white) and darker (black) parts in an image. The "edge detection"...
  • Page 372 Glossary Ë Expansion and contraction to eliminate binary noise in the image When an image is converted to black and white, a number of unwanted dots may appear in the image. These noises can be eliminated during the preliminary processing. Dot control processing of binary val- ues is used to eliminate this problem, as described below.
  • Page 373 Gray scale check using the normalization correlation method Even when the IV-S20 is looking at the same object as the object used for the reference image, the new target image and the previously stored reference image may not match completely, due to variations in the illumination conditions and the ambient light.
  • Page 374 Glossary Ë Gray scale search (corrected gray scale search) The "gray scale search" function is a system for detecting a point where the input image and the refer- ence image match, after calculating the matching levels in the input image and the reference image. [Procedures] 1 Store the reference image as a gray scale image with 256 levels of gray.
  • Page 375 Ë Normalization correlation To determine whether the levels between the reference image and the input image match, the IV-S20 uses an information processing method called "normalization correlation." This is a method used to cal- culate relationship between two groups of data.
  • Page 376 (e. g.: 120 horizontal lines) can take only 25 % of the time to read the entire image. The IV-S20 can automatically determine the width of the partial image window. You can change back and forth between reading the whole image and a partial image.
  • Page 377 In order to make a partial reading of the CCD image at high speed, the IV-S20 is equipped with the detection function described above with the works just like a proximity sensor to trigger the CCD. A proximate sensor can also be connected to the system.
  • Page 378 - A "pixel" is one picture element (DETECT ACCURACY: STANDARD (detection precision: standard) in case of the IV-S20). "Sub pixel" refers to a unit smaller than a single pixel (DETECT ACCURACY: HIGH (detection precision: high) for 1/10 pixel in case of the IV-S20).
  • Page 379 Threshold value setting The IV-S20 treats the "areas darker than the lower limit value" or "brighter than the upper limit value" as "black." It treats that the areas between the upper limit value and lower limit value as "white." However, if the white-black reverse function is enabled, conversion to white/black will be reversed.
  • Page 380 Appendix Appendix 1: Support tools available on the market Manufacturers of the support tools which can be used with the IV-S20 are listed below. Products available from SHARP => See the next page. (1) Lighting equipment Supplier Address Postal code...
  • Page 381 Table of standard items related to the IV-S30 handled by SHARP φ φ φ φ φ g i l g i l g i l f i l φ g i l φ g i l φ g i l...
  • Page 382: Software Version Information

    Appendix 2: Software version information Described below are the details of the upgrade of the IV-S20 system program software. Software version 2.09 Software version 2.09 does not contain any new or improved functions, not found in the software version 2.07 and 2.08.
  • Page 383 Detalis about the improved functions in software version 2.02 (compared with version 2.01) Item Improved functions Reference page Lead inspection Increased number of leads the can be inspected (from 64 to 128 pins max.) 9-72 "Form 4" has been added to the control procedures, and a "QW" command Computer link 11-18, 14-24 has been added to the block write commands when the Mitsubishi is set.
  • Page 384 Detalis about the improved functions in software version 2.0 (compared with version 1.6) Item Ver. 2.0 Ver. 1.6 or earlier High speed - Improved processing speed (from 55ms in version 1.6 to 37ms in version 2.0), when the search area is 256 × 256, a 64 ×...
  • Page 385 Introduced pop-up menus for screen display Others Can display binary images Only dark and bright image Can display programmable OK/NG No OK/NG display Displays "COMMUNICATING" (indicates that the IV-S20 No display is currently communicating) Displays input terminals No display Displays numerical calculation results...
  • Page 386 Alphabetical Index Absolute value of difference ....................9-24, 9-25 Accessory ............................4-2 Adjustment of image brightness ......................7-8 Angle bracket ............................4-1 Angle conditions (distance and angle measurement) ............... 9-66 Angular deviation (positional deviation measurement) ..............9-41 Angle number (distance and angle measurement) ................9-66 Angle type (distance and angle measurement) ................
  • Page 387: Camera Lens (Iv-S20L16)

    Binary image display .......................... 8-6 Binary processing (fixed/threshold) .................... 9-8, G-2 Area measurement by binary conversion ..................9-85 Counting quantities by binary conversion ..................9-93 Degree of match inspection for shape and size ................9-51 Distance and angle measurement (center of gravity) ..............9-62 Existence inspection by point measurement ................
  • Page 388 Positional deviation measurement ....................9-3 Conditions for objects to be measured (lead inspection) ............9-74, 9-76 Conditions for object type (setting) ..................... 9-1 Connection method Connection with IV-S20 ......................... 6-7 Connection with Mitsubishi PC ....................14-12 Connection with OMRON PC ....................14-15 Connection with Sharp PC ......................
  • Page 389 Copying (editing) Copying between measurement programs ................9-29 Copying between object types ..................... 9-28 Counter instructions (CN0 to CN7) ....................10-12 Counter terminals (CN0 to CN7) ....................10-10 Counting quantities by binary conversion Measurement data block Communication (general purpose serial I/F) ................. 13-20 Computer link ........................
  • Page 390 Direction key ..........................5-3, 7-9 Direction of lead length measurement ....................9-76 Display mode ............................ 12-1 Distance Distance and angle measurement ....................9-65 Lead inspection ..........................9-78 Distance and angle measurement Measurement data block Communication (general purpose serial I/F) ................. 13-18 Computer link ..........................
  • Page 391 Degree of match inspection for shape and size ................9-53 Distance and angle measurement ....................9-67 Existence inspection by point measurement ..............9·111 to 112 Lead inspection ..........................9-78 Object identification by binary conversion .................. 9-103 Positional deviation measurement ....................9-41 Existence inspection by point measurement Measurement data block Communication (general purpose serial I/F) .................
  • Page 392 Input/output conditions (settings) ...................... 11-1 Installation condition ........................... 6-1 Installation method Installing the camera body ......................6-12 Installing the IV-S20 main housing ....................6-10 Installation space ..........................6-9 Interface (computer link) ........................14-5 Interline transfer system ........................G-7 Iris ............................... 5-1 Island ..............................
  • Page 393 Lead inspection Measurement data block Communication (general purpose serial I/F) ................. 13-18 Computer link .......................... 14-9 Operation example ........................3-31 Outline ........................... 1-5, 9-72 Setting sequence ......................... 9-73 Setting details ..........................9-74 Lead length (lead inspection) ......................9-78 Lead length measurement ........................ 9-74 LED lighting equipment (IV-60LD) ..................
  • Page 394 Lead inspection ..........................9-75 Object identification by binary conversion .................. 9-101 Positional deviation measurement ....................9-37 Menu bar ............................7-3 Menu configuration ..........................7-4 Message display ..........................8-4 Mode Degree of match inspection for shape and size ................. 9-47 Positional deviation measurement ....................9-36 Model 0/1 (degree of match inspection for shape and size) .............
  • Page 395 Output terminals (Y0 to Y7, BUSY) ....................6-16 Output terminals (Y0 to Y15) ......................10-10 Parallel input X5 ..........................11-1 Parallel input X6 ........................8-2, 11-1 Parameter setting support software (for IV-S20) ................ 4-2,7-14 Partial image ............................8-3 Parity .............................. 11-18 Pattern display ............................ 8-5 PC function ............................
  • Page 396 PC monitor ............................7-3 PC monitor screen .......................... 10-16 PC scan cycle ........................... 10-2 PC specifications ..........................16-2 Peripheral (object identification by binary conversion) ..............9-102 Pixel ..............................G-8 Pixel contraction ..........................9-6 Degree of match inspection for shape and size ................9-48 Distance and angle measurement (gray scale search) ..............
  • Page 397 Random shutter .......................... 1-1, G-9 Reading partial image ......................... 1-1 Rectangular window ........................... 9-3 Reference image Degree of match inspection for shape and size Binary processing ........................9-51 Gray scale processing ......................9-48 Distance and angle measurement (gray scale search) ..............9-60 Lead inspection ..........................
  • Page 398 Run menu lock ............................ 8-9 Saving to flash memory ........................12-4 Screen specifications .......................... 7-2 Search area ............................G-9 Degree of match inspection for shape and size ................9-48 Distance and angle measurement (gray scale search) ..............9-60 Lead inspection ..........................9-75 Positional deviation measurement ....................
  • Page 399 System, I/O setting for each item (calculation between images) ............9-26 Termination code ........................13-4, 15-3 Threshold value (setting) ....................9-7, G-10 to 11 Area measurement by binary conversion ..................9-85 Counting quantities by binary conversion ..................9-93 Degree of match inspection for shape and size ................9-51 Distance and angle measurement (center detection) ..............

Table of Contents