Version 1.
Thank you for purchasing the SHARP IV-S30 compact image sensor camera (IV-S31MX/S32MX/ S33MXcontroller). Read this introductory user's manual carefully 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. In addition to this manual, there are two other IV-S30 (IV-S31MX/S32MX/S33MX controller) manuals as follows.
Chapter 1: Setting and Operating Outline Chapter 2: Setting the Operating and System Conditions Chapter 3: Setting Measurement Conditions Chapter 4: Positional Deviation Measurement Chapter 5: Degree of Match Inspection Chapter 6: Lead Inspection Chapter 7: BGA/CSP Inspection (IV-S32MX/S33MX) Chapter 8: Area Measurement by Binary Conversion Chapter 9: Object Counting by Binary Conversion Chapter 10: Object Identification by Binary Conversion Chapter 11: Existence Inspection by Point Measurement Chapter 12:
Table of Contents Chapter 1: Setting and Operating Outline ...................................................... 1-1 to 30 1-1 Setting and operating procedures ................................................................................................ 1-1 1-2 Method for selecting the menu configuration ............................................................................... 1-2 [1] Menu configuration ...............................................................................................
Chapter 3 : Setting Measurement Conditions ................................................ 3-1 to 41 3-1 Outline ......................................................................................................................................... 3-1 3-2 Shared settings ............................................................................................................................ 3-4 [1] Camera selection ......................................................................................
Chapter 12: Multiple Positional Measurements .......................................... 12-1 to 11 12-1 Outline ..................................................................................................................................... 12-1 12-2 Setting operation ...................................................................................................................... 12-2 [1] Set the register conditions for a gray search ................................................................
Chapter 18: Communication (General Purpose Serial Interface) ............... 18-1 to 17 18-1 List of processing functions ..................................................................................................... 18-1 18-2 Data flow .................................................................................................................................. 18-3 [1] Measurement execution 1: Command codes 10, 11, or 12 .....................................................
Setting and Operating Outline Chapter 1: Setting and Operating Outline 1-1 Setting and operating procedures This paragraph describes the rough operation sequence of the IV-S30. (Ref. chapter) 1 System design Plan your hardware environment to suit your use of the IV-S30. User’s manual (Introduction and Hardware) - Measurement program (positional deviation 1-2 Measurement programs measurement, degree of match inspection, etc.
Setting and Operating Outline 1 1-2 Method for selecting the menu configuration (1) Set wizard The IV-S30 has a "Set Wizard" function to assist beginners in setting the measurement conditions. Select "SET WIZARD" from the "MAIN MENU" and the wizard will show the items needed for each step. You only need to make selections according the instructions on the screen. Using the wizard, you can establish the minimum required settings for making measurements.
Setting and Operating Outline (2) Menu tree The IV-S30 has a menu tree which is shown the hierarchy of choices on each screen. To return to the previous screen or go to next screen, select the corresponding item on the menu tree. OBJECT TYPE COND TYPE00 TYPE01 TYPE RUN COND IMAGE-ADJ MEA-CND(CAMERA1) MEAS0 (POSI-DEVIATION) POSI-CORRECT MEAS01(MEAS-BIN-AREA) MEAS(NEW) MEA-CND(CAMERA2) FINAL NUM. CALC FINAL OUTPUT COND OBJ-TYPE I/0 OBJ-TYPE SYS.
Setting and Operating Outline [1] Menu configuration SYS-CND OBJECT TYPE COND SET WIZARD EDIT MAIN OPS MENU OPTION I/O CONDITIONS COMM.SET COMPUTER LINK GAIN.OFFSET TIME CAMERA TYPE TYPE00 (*3) ∼ 1 TYPE RUN COND IMAGE-ADJ MEA-CND(CAMERA1) MEA-CND(CAMERA2) FINAL NUM.CALC FINAL OUTPUT COND OBJ-TYPE I/O OBJ-TYPE SYS.
Setting and Operating Outline [2] Configuration of the setting conditions 1 - I/O conditions (17-1) Measurement start input I/F, parallel input X6, parallel input X7, strobe output, object type manual change (2-14) - Communication setting (18-1) Communication standard, communication speed, data length, parity, stop bit, station number - Computer link (19-1) Manufacturer, station number, top line of the written results - Gain/offset (2-15) - System time (2-16) - Camera setting (2-17) Camera selection, ima
Setting and Operating Outline 1 [3] Configuration of Set Wizard The Set Wizard has the following screen configuration. F C1 BRT SET WIZARD SCREEN SAVE DEL [SAMPLE] 1CHG-TYPE 2STANDARD WIZARD 3OPERATION CHART TYPE00 Start End STEP1 SELECT THE MEASUREMENT START INPUT I/F 1PARALLEL+SERIAL+USB ■ 2TRIG CCD START □ NEXT COMM.SET DETAIL When "DETAIL" is selected. STEP2 SELECT AN IMAGE CAPTURING METHOD DURING OPERATION 1PARTIAL-IMG ■ □ 2ALL IMAGE □ 3NO CAPTURED SCREEN COND SAVE 1COMM.
Setting and Operating Outline 1 STEP4 SELECT TYPE OF CALCUATION BETWEEN IMAGES 1COMPARE IMGS NO SELECT WHETHER OR NOT TO CONVERT IMGE DENSITY 1CHNG GRAY LEVELNO SELECT FILTER TYPE FOR IMAGE DATA 1SPACE FILTER NO RETERN COMPARE IMGS NEXT DETAIL SCREEN 1CALC.TYPE 2CALC.AREA NO SET SAVE (232,216)-(279,263) 1Displayed when the "CAM1" or "CAM1&2" is selected in item "1COMPARE IMGS" STEP5 1REGISTER NO.(0~7) 0 SELECT AN IMAGE PROCESSING 1NO □ 2GRAY-SRC ■ □ 3EDGE DTECT □ 4SCH-EDGE 1NUM.
Setting and Operating Outline 1 STEP8 USE SETTING DISTANCE ANGLE CONDITIONS (YES/NO) 1NO 2YES RETURN ■ □ NEXT DETAIL DEST&AGL COND SCREEN COND SAVE Displayed when "2YES" is selected 1OBJ 2DISTANCE 3DISTANCE F C1 BRT DST 00(0~15) NO [OUTPUT] [TEST RESULT] STEP8 COMPARE MEASUREMENT SETTINGS TO MEASUREMENT RESULTS (YES/NO) 1NO 2YES(MEAS) DETAIL 3YES(DST&AGL) REGISTER NO.
Setting and Operating Outline 1 STEP8 SET LADDER CIRCUIT RESULT OUTPUT BASED ON ALL MEASUREMENT AND CALCULATION RESULTS (YES/NO) 1NO ■ 2YES □ RETURN NEXT DETAIL OUTPUT COND SCREEN COND SAVE INPUT00-07 CHANGE INPUT Displayed when "2YES" or "3YES" is selected.
Setting and Operating Outline 1 1-3 Description of the Operation screen When the IV-S30 is started, the operation screen shown below will appear. Each area of the operation screen is described below. 1 Object type number 6 Measuring time 2 Freeze/through screen 3 Camera currently selected F C1 BRT (TYPE00) 4 Image brightness: bright/dark V*.
Setting and Operating Outline Displays the software version. 1 Displays the measurement time currently assigned. Actual measurement time (Only when changing the object type) Time to change object type CCD exposure time (Shutter operation time) CCD image capture time Image processing time Result output time - Serial communication time is not included. - Set the controller as follows to reduce the measurement time. 1. Increase the shutter speed. 2.
Setting and Operating Outline 1 Details of each item on the menu bar Item on the menu bar Description Display detail on the screen IVS3*MX MAIN-COND (main conditions) SYS-CND OBJECT TYPE COND SET WIZARD EDIT MAIN OPS MENU OPTION Displays the MAIN screen. Press the up and down arrow keys to change the display of the evaluation results for each measurement number.
Setting and Operating Outline 1-4 Setting the measurement programs To execute a specific measurement program (positional deviation measurement, degree of match inspection, etc.), select MEASUREMENT 0 to 4 on the "MEA-CND" line. - MEASUREMENT 0 only allows you to measure positional deviation. - For details about the settings for each measurement program, see Chapters 4 to 14.
Setting and Operating Outline 1 1-5 Common operations for each menu [1] Operations to return to the operation screen You can return to the operation screen, MAIN MENU, or setting screen from any menu by a single operation. Menu display [TYPE RUN COND] menu F C1 BRT SCREEN SAVE OPS-MENU MAIN SELECT RETURN Return to the operation screen Return to the MAIN screen. Return to the currently selected setting screen. Return to the previously selected screen.
Setting and Operating Outline 1-6 Power ON setting menu 1 [1] Operations menu lock To prevent accidental changes to conditions you have set, the operation screen can be locked so that the screen cannot be changed to setting screen. The operation can only be carried out on the [POWER ON SETTING] menu. Display procedure Follow the procedure described below when turning ON the power to the controller (IV-S31MX/S32MX/ S33MX), and the [POWER ON SETTING] menu will be displayed on the monitor. 1.
Setting and Operating Outline 1 1-7 Remote keypad (IV-S30RK1) 4 SEL key 1 Direction keys (up, down, left and right) 5 TRG/BRT key 2 SET key 3 ESC key Key name Direction keys* 1 (up, down, left and right) Function Description Selecting an item on a menu screen Select an item with the up, down, left and right keys. Setting a window Set each coordinate. Setting a value - Select a digit or an item with the left and right keys, and then specify a value with the up and down keys.
Setting and Operating Outline 1-8 Register and display NG images NG image refers to any image that the controller has determined to be unacceptable after making the measurements. - NG images are registered in the controller’s memory. By replaying the NG images, you can review the points with problems. This section describes how to register, display, and initialize NG images. Depending on type of the controller (IV-S31MX/S32MX/S33MX) you are using, some settings are not available.
Setting and Operating Outline 1 The "MEA-CND (CAMERA2)" item will change to "MEA-CND (NG IMGS)," and show that the NG image function has been selected. - Up to 128 NG images can be registered at one time (the NG image numbers are 0 to 127). When 128 NG images are registered, the oldest NG image will be deleted and replaced by the 129th NG image. (All of numbers assigned to the NG images will de decremented by one.
Setting and Operating Outline [2] How to display NG images NG images can be displayed on the operation main screen and on the NG image display screen (IVS32MX/S33MX). (1) Displaying NG images on the MAIN OPS menu An NG image (the latest or any previous NG image) recorded with camera 1 can be displayed on the monitor while conducting measurements from the operation main screen. - This function only refreshes the NG image if another NG is captured.
Setting and Operating Outline 1 3. Return to the operation main screen (page 1-10) and start making measurements. Shown below are examples of the NG image display. When the IV-S33MX is used - Display example when the monitor output is set to "CAM1&NG-IMG (VERT)." - Display example when the monitor output is set to "CAM1&NG-IMG (HORIZ)." (TYPE00) CH BRT V*.** (TYPE00) CV BRT V*.
Setting and Operating Outline Display when an NG image is captured The controller automatically refreshes the NG image each time a new NG image is captured.
Setting and Operating Outline 1 (2) Displaying images on the NG image display screen(IV-S32MX/S33MX) When the IV-S32MX/S33MX is used, move the cursor to the menu bar "SCREEN-CHG" on the operation main screen (page1-10) and press the SET key. Select the "NG-IMG-DISP" from pop-up menu. The screen will change to the NG image display. When the measurement stops, the NG image will be displayed. - To display NG images while measuring, display them on the operation main screen. - See page 1-18.
Setting and Operating Outline Display of the Change NG image operation 1 NG image number 4 Up key Up key Down key Down key NG image number 5 NG image number 0 - When max. 5 NG images are registered. Note - When "PARTIAL-IMG" is selected for the image capturing mode (page 2-4), the stored NG images have the maximum rectangular area set by measurements 0 to 4.
Setting and Operating Outline 1 1-9 Operation flow [1] Power ON and main loop processing (Power ON) Wait to complete the power ON process Initializing (CPU, gate array) Memory check - System program - Conditions other than the conditions specified for each object type Transmitting from flash memory to RAM Data setting - CPU, variables - Gate array Checksum checking NG Processing after the power is turned ON OK Display check sum results No Settings for all types completed Yes Transmitting from flash
Setting and Operating Outline 1 From the preceding page Display results. When the option has been set to "YES" Message display Pattern display Crosshair cursor display (Communication processing) Data received (System) Display "YES" No Yes Communication processing Receive a measurement start input signal Measurement start Parallel/general-purpose serial/CCD trigger OFF Main loop processing ON PC calculation PC calculation See item [2].
Setting and Operating Outline 1 [2] Operation flow after the measurement start input is turned ON. Start (measurement start input ON) PC calculation Parallel output (Y0 to Y15), "READY" OFF External interface inhibit (keys, communications, parallel) Measurement timer start Reading the object type No. Image capturing (camera 1/2) No Capture the scan line range that was specified when setting the measurement conditions.
Setting and Operating Outline 1 2 (From the preceding page) 1 (From the preceding page) No Positional correction Yes Setting the coordinate correction values (X, Y, q) (*2) Executing measurement 1 Yes Was an error detected? No Executing measurement 2 Yes Was an error detected? The window coordinates are corrected within the range set for each type of measurement, based on the correction value determined in the steps marked with *2.
Setting and Operating Outline From the previous page 1 Determining the measuring time (timer stop) Parallel output (Y0 to Y15) OFF External interface enabled (communications) No Computer link Serial output General purpose General purpose serial output Computer link output External interface enabled (key, parallel) *3 Set the measurement start input to any choiceNo other than "parallel" or set the ’READY’ ON signal to "end measurement.
Setting and Operating Outline 1-10 Table of controller functions Shown below are the functions for the individual controllers (IV-S31MX/S32MX/S33MX). - For details about the controller hardware (cameras, peripheral devices), see the "IV-S30 (IV-S31MX/ S32MX/S33MX) User’s Manual, Instruction and Hardware." Specifications IV-S31MX IV-S32MX IV-S33MX Image sampling system 256 level gray scale, binary conversion, edge detection One screen for displaying captured images.
Setting and Operating Outline 1 Item Number of measurement programs Window shape Distance and angle measurement Arithmetic operation NG image memory function Calendar timer Other functions External interface Micro PC section Input relays Output relays Auxiliary relays Timers Counters Parallel interface Specifications IV-S31MX IV-S32MX IV-S33MX Maximum 6 per object type (measurement 0 - camera 1, measurement 0 camera 2, measurements 1 to 4) Note: Measurement 0 is only used for positional deviation me
Setting the Operating and System Conditions Chapter 2: Setting the Operating and System Conditions 2-1 Setting the operating conditions Set the following operating condition items on the [TYPE RUN COND] menu for each object type.
Setting the Operating and System Conditions [1] Monitor output 1MONITOR OUTPUT 2CAPTURE IMG 3MESSAGE DISPLAY 4PATTERN DISPLAY 5SHOW BINARY IMG 6SHOW θ FIX IMG 7OPS MAIN DISP 8DISP CHG-EVAL 9PC-MNTR 0THROUGH DISPLAY qEXTENSION FUNC.
Setting the Operating and System Conditions (2) Output monitor switching by parallel input On the operation screen, select "MAIN-COND" -> "SYS-CND" -> "I/O CONDITIONS" in that order. Move the cursor to the " PARALLEL INP X7" line using up/down arrow keys and press the SET key. Select "CHNG-IMG-OUT-CAM" on the popup menu that is displayed and then press the SET key. I/O CONDITION SCREEN COND SAVE 1MEAS INP I/F F C1 BRT PARALLEL+SERIAL+USB 2OUT I/F(PARAL.
Setting the Operating and System Conditions [2] Image capture TYPE RUN COND SCREEN SAVE In item " CAPTURE IMG" on the "TYPE RUN COND" screen, specify the range which will be captured during operation. 2 CAPTURE IMG 1MONITOR OUTPUT 2CAPTURE IMG 3MESSAGE DISPLAY 4PATTERN DISPLAY 5SHOW BINARY IMG 6SHOW θ FIX IMG 7OPS MAIN DISP 8DISP CHG-EVAL 9PC-MNTR 0THROUGH DISPLAY qEXTENSION FUNC.
Setting the Operating and System Conditions [3] Message display Select "YES" or "NO" to display messages on the operation screen. MESSAGE DISPLAY YES (NUMERIC) Description All data will be displayed. YES (NO NUMERIC) Data other than the numerical result will not be displayed. No messages will be displayed. NO TYPE RUN COND SCREEN SAVE 1MONITOR OUTPUT 2CAPTURE IMG 3MESSAGE DISPLAY 4PATTERN DISPLAY 5SHOW BINARY IMG 6SHOW θ FIX IMG 7OPS MAIN DISP 8DISP CHG-EVAL 9PC-MNTR 0THROUGH DISPLAY qEXTENSION FUNC.
Setting the Operating and System Conditions [4] Pattern display 2 TYPE RUN COND SCREEN SAVE Select "YES" or "NO" to determine whether to show the pattern display (solid lines and dashed lines of the rectangles in the window) over an image displayed on the operation screen. Note: When the "CAM1&2(HORIZ/VERT)" or "CAM1& NG IMG(HORIZ/VERT)" is selected on the " MONITOR OUTPUT" (page 2-2), pattern display cannot be selected.
Setting the Operating and System Conditions [5] Binary image display TYPE RUN COND SCREEN SAVE Select "YES" or "NO" to display a binary image on the operation screen. Note: When "CAM1&2(HORIZ/VERT)" or "CAM1&NG IMG(HORIZ/VERT) is selected on the "MONITOR OUTPUT" (page 2-2), the binary image display cannot be selected. - When "NO" is selected on the " PATTERN DISPLAY," the " SHOW BINARY IMG" item will not appear.
Setting the Operating and System Conditions [6] θ angle correction image display Select "YES" or "NO" to display a θ angle corrected image on the operation screen. 2 SHOW FIX q IMG YES NO Description A q angle corrected image will be displayed on the operation screen. A q angle corrected image will not be displayed on the operation screen.
Setting the Operating and System Conditions [7] Operation main display When the operation screen was set to display other screens (such as the "DISP CHG-EVAL" and "PCMNTR" screens), this item should be selected to return to the main display from other screens. On the "TYPE RUN COND" screen, select " OPS MAIN DISP" and then "YES" on the popup menu. That will return you to the main operation screen.
Setting the Operating and System Conditions [8] Evaluation change display 2 Specify whether the evaluation condition change menu can be displayed on the operation screen or not. Select the " DISP CHG-EVAL" line on the "TYPE RUN COND" screen and select "YES" on the popup menu. TYPE RUN COND SCREEN SAVE 1MONITOR OUTPUT 2CAPTURE IMG 3MESSAGE DISPLAY 4PATTERN DISPLAY 5SHOW BINARY IMG 6SHOW θ FIX IMG 7OPS MAIN DISP 8DISP CHG-EVAL 9PC-MNTR 0THROUGH DISPLAY qEXTENSION FUNC.
Setting the Operating and System Conditions [9] PC monitor screen T C1 DRK○ LOCK FULL V*.** C1=002.2 OK C2=100.0 OK (TYPE00)AREA1 Specify whether to display the PC monitor on the operation screen. Select the " PC-MNTR" line on the "TYPE RUN COND" screen and select "YES" on the popup menu. Now the PC monitor screen can be displayed. Select "SCREEN-CHG" on the lower menu bar of the operation screen and then select "PC-MNTR" on the popup menu. The PC monitor will be displayed.
Setting the Operating and System Conditions [11] Extension functions The extension function has crosshair cursor display and manual display functions. [Display example] (TYPE00)AREA1 Measurement image of camera 1. Operation procedure 1. On the "TYPE RUN COND" screen, move the cursor to item " EXTENSION FUNC." using the up and down keys, and press the SET key. 2. Select "DISPLAY+CURSOR" on the popup menu and press the SET key. 3.
Setting the Operating and System Conditions (2) Manual measurement With this function, you can measure distance between two points, the distance between X coordinates, or the distance between Y coordinates that were selected manually on the operation main screen. Operation procedure 1. Select " EXTENSION FUNC." on the "TYPE RUN COND" menu using the up and down arrow keys. Then press the SET key. 2. Select "MANL-MEAS" on the popup menu and press the SET key. 3.
Setting the Operating and System Conditions 2-2 Setting the system conditions 2 Set the following items on the "SYS-CND" menu to set the system conditions for the controller. Setting item - Input/output conditions - Communication setting - Computer link - Gain/offset - Time - Camera type MAIN MENU F C1 BRT IVS3*MX SYS-CND OBJECT TYPE COND SET WIZARD EDIT MAIN OPS MENU OPTION For the following items, see the pages listed below.
Setting the Operating and System Conditions [2] Gain/offset adjustment The gain and offset of the IV-S30 can only be adjusted by our service engineers. Users must not try to change them. The data which can be adjusted is shown below for reference purpose only. Generally, an image from the CCD camera can be optimized by adjusting the optical system, such as the lens iris.
Setting the Operating and System Conditions [3] Setting the system time (IV-S32MX/S33MX) When the IV-S32MX/S33MX is used, set the time displayed on the monitor. When delivered, the IV-S30 is set to Japanese standard time. If the time in your location is different, please adjust the time. 2 Operating procedure 1. Select "TIME" on the "SYS-CND" menu and press the SET key. 2.
Setting the Operating and System Conditions 2-3 Camera settings [1] Camera selection (IV-S32MX/S33MX) The cameras that are compatible with the controller (IV-S31MX/S32MX/S33MX) are as follows: 2 Controller Compatible cameras IV-S31MX IV-S30C1 (standard camera) IV-S32MX IV-S30C2 (micro camera) IV-S30C1 (standard camera) IV-S30C2 (micro camera) IV-S33MX IV-S30C3 (high-speed camera) IV-S30C4 (micro, high-speed camera) EIA cameras (commercially available) * Mixed use of different camera types is not supporte
Setting the Operating and System Conditions [2] Image capture mode (IV-S33MX) When you are using the IV-S33MX controller and IV-S30C3/C4 high-speed camera or an EIA camera, you have to select an image capture mode.
Setting the Operating and System Conditions [3] Camera synchronization (IV-S33MX) When an EIA camera is used with the IV-S33MX controller, you have to set the camera synchronization mode (internal or external synchronization). (1) Internal and external synchronization details Internal synchronization This mode uses the CCD image capture timing inside the camera, and captures images automatically. - To send a captured image to the IV-S33MX, first the IV-S33MX must send a trigger to the camera.
Setting the Operating and System Conditions (3) Timing chart Internal synchronization 2 Trigger input Monitor output vertical synchronization signal Wait for monitor to output vertical synchronization signal (maximum 16.6 ms) Camera reading top line Waiting for camera to read top line (maximum 33.3 ms) Shutter open Wait time (maximum 49.
Setting the Operating and System Conditions 2-4 Editing Operation screen In this controller, the operation screen display can be changed. You can move, enlarge, reduce, or hide any block of text 2 (1) Move the cursor to "MAIN-MENU" on the operation screen and press the SET key. (2) Move the cursor to "EDIT MAIN OPS MENU" and press the SET key.
Setting the Operating and System Conditions 2-5 Option With the IV-S30, you can initialize the measurement settings, and run a self-diagnosis from the option menu. 2 Setting method 1) Display the "OPTION" from the "MAIN MENU." MAIN MENU F C1 BRT IVS3*MX SYS-CND OBJECT TYPE COND SET WIZARD EDIT MAIN OPS MENU OPTION 2) Select the operation you want, such as " INITIALIZATION" or " SELF DIAGNOSIS.
Setting the Conditions for Each Object Type Chapter 3 : Setting Measurement Conditions 3-1 Outline The measuring conditions for each object type are set on the "OBJECT TYPE COND" (conditions for object type) menu. Available object type numbers IV-S31MX 0 to 15 IV-S32MX 0 to 31 IV-S33MX How to enter the setting screen On the MAIN MENU, move the cursor to "OBJECT TYPE COND" and press the SET key. The "SELECT OBJECT TYPE COND" screen will appear. Select "TYPE00," "MEA-CND(CAMERA1)," and "MEAS0" or "MEAS(NEW).
Setting Measurement Conditions Setting procedure A general outline of the setting procedures is shown below. For details, see each chapter. Setting the measurement program conditions 3 MEASURE 0 MEASURE 1 MEASURE 2 MEASURE 3 MEASURE 4 Jump to the next page Select the image pre-processing method Image pre-processing - page 3-20 Set final numerical calculation "FINAL NUM.
Setting the Conditions for Each Object Type Outline of setting the measurement program The measurement program can be specified from "MEAS0" through "MEAS4." (Camera1/camera 2) When you want to specify the measurement conditions using "POSI-DEVIATION.
Setting Measurement Conditions 3-2 Shared settings [1] Camera selection Specify which cameras to use (Camera 1, Camera 2) in "MEA-CND" on the "OBJECT TYPE COND" menu for each object type. SELECT CAMERA 3 CAM1&2 CAM1&NG-IMG Description Camera 1 and camera 2 can be used for measurements (0 to 4) and for image pre-processing. Only camera 1 can be used for measurements (0 to 4) and image preprocessing. Using camera 1, NG images can be displayed on the monitor. - See page 1-19.
Setting the Conditions for Each Object Type Relationship between the camera selection and the monitor output Select camera on the "MONITOR OUTPUT" on the "MEA-CND" menu [TYPE RUN COND] menu CAM1 CAM2 CAM1&2 CAM1&2 *1 CAM1&2 (VERT) *2 CAM1&2(HORIZ) *1 When the IV-S31MX/S32MX is used. CAM1 *2 When the IV-S33MX is used.
Setting Measurement Conditions (1) Rectangular window How to set a rectangular window 1. Moving the mask - Up key - Down key - Left key - Right key 2. Specifying the upper left corner - Up key - Down key - Left key - Right key 3. Specifying the lower right corner - Up key - Down key - Left key - Right key 3 To register reference images To register reference images, the system should be in the "Freeze" mode.
Setting the Conditions for Each Object Type (2) Horizontal/vertical lines Line type Solid lines Dotted lines Image processing used Measurement programs Gray scale search (reference image) Positional deviation measurement (gray scale search), degree of match inspection, lead inspection (criteria search). Edge of an area detection Lead inspection Gray scale search line detection Positional deviation measurement (gray scale search), degree of match inspection, lead inspection (criteria search).
Setting Measurement Conditions Window specifications - Horizontal lines Min. Max. length length Reference image Solid line Horizontal direction: One pixel at a time In units 8 512 of pixels pixels pixels Search area Dotted line Vertical direction: One pixel at a time Line type 3 Move Length - Vertical lines Min. Max.
Setting the Conditions for Each Object Type How to set an elliptical window The following items on the settings menu can be used to define the elliptical window: CENTER, RAD. Shown here is an example of how to define a solid line elliptical window. 1. Specifying the center - Up key - Down key - Left key - Right key 3 2.
Setting Measurement Conditions [3] Image settings What follows is a description of how to use the image settings to control the measuring program. (1) Pixel contraction and detection precision (gray scale processing) The display will change from 1 to 2 to 3 using the up and down arrow keys. Measurement condition setting screen 3 REG COND MEAS CND 1DTECT PRECISION STANDARD 5CONTR. PIXL(MDL0) STANDARD HIGH PRECISION 1 Note: At the "DETAIL" item in the upper function menu, select "CONTR.PIXEL.
Setting the Conditions for Each Object Type (2) Threshold value setting The IV-S30 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. Normally, if you want to use only one threshold value for binary conversion, set the upper limit value to "255.
Setting Measurement Conditions (3) Setting window boundaries (enable/disable) This function enables and disables the labeling (object identification) of binary images located that cross over the window frame boundary. Window 3 Binary conversion Labeling (enable window boundaries) Labeling (disable window boundary) 1 1 2 3 4 Images 1 and 3 cross over the window frame edges and are measured together with the areas outside the window frame edges.
Setting the Conditions for Each Object Type Variation in lighting (5) Binary processing (fixed/threshold value correction) By setting THRESHOLD-ADJ (threshold adjustment function), the IV-S30 can cope with variations in lighting. Threshold correction value Fixed Note: In order to use the THRESHOLDADJ(threshold adjustment function), the monitor brightness functions must be selected to measure variations in lighting.
Setting Measurement Conditions Contraction Expansion Binary conversion Expansion Contraction 2 Contraction → expansion When isolated white noise is eliminated by contraction, the areas shrunk by contraction are returned to their original size by expanding them again. Binary conversion 3 (6) The expansion/contraction method of eliminating noise in binary images When converting an image to binary values, it is often the case that dots of noise will show up in the converted image.
Setting the Conditions for Each Object Type (7) 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.
Setting Measurement Conditions 3 Setting the threshold value automatically By executing an "AUTO.REG" (automatic setting) for the edge detection condition in each measurement program, the IV-S30 can automatically detect edges in the measurement areas, and set the optimum threshold values automatically (density difference and edge width). • Edge delection menu of the lead inspection THRESHOLD VAL AUTO-REG RESET F C1 BRT 1GRYS 050(0~255) 2EDGE.W 2(1~8) 3FLAT.
Setting the Conditions for Each Object Type (9) Contrast search in the reference image Using the reference image area setting in the gray scale search mode, the area of maximum contrast can be identified automatically in the captured image. - While moving the selected reference image area within the specified search area on the captured image one pixel at a time, the IV-S30 determines the density in each area in the reference image, and automatically picks the area with the largest difference.
Setting Measurement Conditions [4] Evaluation conditions The setting details and procedures for setting the evaluation conditions are the same for all measurement programs. Evaluation conditions [EVALUATION COND] menu for measuring degree of match EVALUAT COND SCREEN COND SAVE 3 1REGISTER 00(0~15) [TEST RESULT] [OUTPUT] 2CONDITION SET RESET AUTO(±10%) 3MATCH LVL (MDL0) -10000~+10000 M0=+09000 OK NO 4X COORD. (MDL0) 000.0~511.0 X0= 000.0 OK NO 5Y COORD. (MDL0) 000.0~479.0 Y0= 000.
Setting the Conditions for Each Object Type Setting method There are two ways to get to the evaluation condition setting screen. 1) Select "CND" in the upper function menu on the MEAS CND (or REG COND) screen and press the SET key. Select "EVALUATION" on the pop up menu to go to the"EVALUAT COND" screen. MEAS CND F C1 BRT SCREEN COND SAVE IMG PRE-PROC 1DTECT PRECISION STANDARD REG-COND(S) 2REGISTER NO.
Setting Measurement Conditions [5] Image pre-processing A comparative calculation between images, gray level changes, and space filter are available for image pre-processing.
Setting the Conditions for Each Object Type (1) 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. There are two types of calculation: "subtraction" and the "absolute value of the differences.
Setting Measurement Conditions Setting details 1. Select the camera to be used for " COMPARE IMGS" from the popup menu. Then select the " COMP IMGS COND" item to get to the setting screen. 3 IMG PRE-PROC SCREEN COND SAVE 1COMPARE IMGS 2COMP IMGS COND 3CHNG GRAY LEVEL 4CONTRAST MAGNI 5SPACE FILTER 6NUM.OF FILTER CAM1 (TO NEXT SUB-MENU) CONTRAST MAGNI 00.0TIMES SMOOTH(AVE) 1(0~5) F C1 BRT NO CAM1 CAM1&2 SET=SELECT A MENU ESC=BACK SEL=CHNG IMG TRG=FUNC 2. Select " CALC.TYPE" and then set " CALC.AREA.
Setting the Conditions for Each Object Type (2) Gray level change To change the gray level, you can change the "**.*TIMES" (magnification by N processing), the " γ +," " γ-" ( γ (positive/negative) correction), the "CHNG-L" (widening histogram), and the "INCRSM" (mid emphasis) functions. Gray level change Magnification by N processing (**.
Setting Measurement Conditions 3 (3) Space filter Space filter includes various image manipulation processes that create more readable images by removing noise and distortion in the image data. 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-S30, you can select from "smoothing (average, center)," "edge emphasis," "edge extraction," "horizontal edge," and "vertical edge.
Setting the Conditions for Each Object Type [6] Image adjustment How to set the image adjustment function Select "IMAGE-ADJ" on the "SELECT OBJECT TYPE COND" screen and press the SET key. Shading correction This process removes unevenness from images that have gray level unevenness caused by an illumination. SELECT OBJECT TYPE COND OBJECT TYPE COND TYPE00 TYPE RUN COND IMAGE-ADJ + MEA-CND(CAMERA1) + MEA-CND(CAMERA2) FINAL NUM.CALC FINAL OUTPUT COND OBJ-TYPE I/O OBJ-TYPE SYS. TYPE(NEW) IMAGE-ADJ 1ADJ.
Setting Measurement Conditions [7] Binary image mask Use the binary image mask when an object to measure by binary conversion cannot be measured using rectangle, cercle, or ellipse window. Mask a scanned image (AND) with the registered binary image.
Setting the Conditions for Each Object Type Setting example When " MASK BINARY IMG" is set to "REF-IMG." Shown below is an example of how to specify a binary image mask for a star shape. 3 1) Store a binary image mask on the "BINARY IMG MASK" menu (mask setting = standard) shown above. 1. Specify the mask outline for the object to be measured. Mask outline 2. For correcting minor positional deviations, store an enlarged image as the binary image mask.
Setting Measurement Conditions 3) Setting the binary area conditions ■MASK REGIST. ■BINARY PROCESS ■BINRY NOISE FILT 3 REG COND SCREEN COND SAVE 1MEAS SHAPE 2MEAS AREA 3THRESHOLD 4INVERT B/W 5BINARY PROCESS 6BINARY NOISE FILT DETAIL RECTANGLE SET (224,208)~(287,271) SET [U.LM255 L.LM100(0~255) ] NO FIXED NO F C1 BRT RECTANGLE CIRCLE ELLIPSE THRESHOLD VAL AUTO-REG NO YES 1U.LM 2L.LM RESET F C1 BRT 255(0~255) 100(0~255) FIXED THRES-ADJ(VAR-DEFF) THRES-ADJ(VAR-RATE) NO EXPD.→CONTR. CONTR.
Setting the Conditions for Each Object Type When " MASK BINARY IMG" is set to "MANUAL." Shown below is an example of a binary image MEA-CND SCREEN mask that matches the following shape (an 8 1WINDOW pointed star). COND SAVE * F C1 BRT BINARY-IMG-MASK 2REGISTER NO. 0 NO 3REGISTER EXIST NO REF-IMG MANUAL 4MASK BINARY IMG MANUAL 3 REGISTER NO. 5BIN AREA COND 1. Select " menu. 0001020304 05 060708 09 101112131415 × MASK BINARY IMG" and press the SET key. Select "MANUAL" from the popup 2.
Setting Measurement Conditions 5. Select "0" using the up and down keys and then select "MOVE" using the left and right keys. Finally, press the SET key. 3 MASK BINARY IMGCREEN SAVE 1PO01T01 2PO02T01 3PO03T01 4PO04T01 5PO05T01 6PO06T01 7PO07T01 8PO08T01 F C1 BRT (255,255) (254,226) (221,226) (221,251) (274,276) (274,247) (257,247) () X:256 Y:240 6. Move vertex 02 to 08 a little outside of the first point on the star using the up, down, left, and right keys, and then press the SET key.
Setting the Conditions for Each Object Type [8] Position correction Based on the positional deviation data measurement 0 (positional deviation measurement), the correction of the image coordinates is dealt with using measurements 1 to 4.
Setting Measurement Conditions (2) Operation setting details Select the "POSI-CORRECT" condition item on the "SELECT OBJECT TYPE COND" screen and press the SET key to enter the correction. 3 POSI-CORRECT SCREEN COND SAVE 1CORRECTION REG. 2MODE(1ST) 3X CORRECT ADJ.(1ST) 4X CORRECTION 5Y CORRECT ADJ.(1ST) 6Y CORRECTION 7ADJUST ANGL.(1ST) 8ADJUST ANGL 9MODE(2ND) 0X CORRECT ADJ.(2ND) qX CORRECTION wY CORRECT ADJ.(2ND) eY CORRECTION F C1 BRT 2ND STAGE CORRECTION ANGLE-ADJ.
Setting the Conditions for Each Object Type Example of angular correction 1. Detection of the amount of angular deviation (using measurement 0, 2 point search (positional deviation measurement).
Setting Measurement Conditions [9] Title registration A title for a object type number can be entered and saved when the object type number is displayed on the screen. Purpose The title is used to make it easier to control the details of the settings for the object type. 3 Title characters A maximum of 16 letters and symbols may be entered. Operation method Select "OBJECT TYPE COND" on the "MAIN MENU" screen and then select "TYPE00" (the current type). Then press the "TRG/BRT" key.
Setting the Conditions for Each Object Type 3-3 Input & Output / 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 "OVR ILLM RANGE" will be displayed on the MAIN OPS MENU. 2. Automatic adjustment of the threshold values used for binary conversions can follow changes in the lighting environment.
Setting Measurement Conditions 3 4. Select item " SIZE", and item " POSITION", using the up and down keys, and press the SET key. Then, set the size and position of the monitoring window using the direction keys. - The monitoring window should be placed in a location with medium brightness, which does not contain any objects to be measured. - The monitor window is a rectangle 4 to 32 pixels tall and 4 to 64 pixels wide (se in multiples of 4 pixels). The monitor window can be moved one pixel at a time.
Setting the Conditions for Each Object Type [2] Setting the shutter speed The shutter speed can be set independently for each object type. Since the shutter speed can be set continuously in the range of 1/30 to 1/10,000 of a second, very fine adjustment is possible. - If you want to measure moving objects and increase the image processing speed, set the shutter speed to around 1/1000 or 1/2000 seconds.
Setting Measurement Conditions [3] Copying When there are many common parameters between object types, it is most efficient to access those existing sets of parameters in order to copy and then modify them. The parameters of a previously specified object type are copied into another object type, after which they can be modified. 3 The source of the copy The target of the copy The measurement conditions of the source object type.
Setting the Conditions for Each Object Type [4] NG image registration (IV-S32MX/S33MX) You can register the NG image (by final evaluation result) while operating the IV-S32MX/S33MX. Select " REGST NG IMG" of the "OBJ-TYPE SYS." screen for the setting. Setting method 1. Select "TYPE00" and then "OBJ-TYPE SYS" on the SELECT OBJECT TYPE COND screen. SELECT OBJECT TYPE COND OBJECT TYPE COND TYPE00 TYPE RUN COND IMAGE-ADJ + MEA-CND(CAMERA1) MEA-CND(CAMERA2) FINAL NUM.
Setting Measurement Conditions [5] Halt on NG measurement You can stop all measurements when an NG image (according to the final evaluation results) occurrs while operating the IV-S30. Select " HALT ON NG MEAS" on the "OBJECT TYPE SYS." menu. 3 2HALT ON NG MEAS NO YES NO(NG MEAS DISP) F C1 BRT OBJ-TYPE SYS. SCREEN SAVE Displayed when the IV-S32MX/S33MX is used.
Setting the Conditions for Each Object Type [6] Window group move All the window positions set in the measurement programs for the same object type number can be shifted horizontally by a specified amount as a group. [Example of use] Shift the coordinate positions used as data for another object type. (After copying the data between object types, move the windows as a group.) To set the amount, use " MOVE ALL WINDOW" in the" OBJECT TYPE SYS" menu. F C1 BRT OBJ-TYPE SYS.
Positional Deviation Measurement Chapter 4: Positional Deviation Measurement 4-1 Outline Purpose The gray scale search function and edge detection function* make possible measuring positional deviation as well as the absolute position. - It is also possible to detect the position of sub-pixel units with great accuracy. - A rotation angle of 360 can be detected. (When a one point gray search is selected). Application Used to determine the position of machine parts and substrates.
Positional Deviation Measurement 4-2 Setting operation Setting the measurement conditions 4 Select "MAIN COND" -> "OBJECT TYPE COND" -> "TYPE00" ->"MEA CND (CAMERA1) " -> "MEAS0," in that order. On the " MEAS SELECTION" line, select "POSI-DEVIATION" from the popup menu. Press the ESC key to return to the OBJECT TYPE COND (menu tree) screen, and select the "MEAS CND" item to enter the MEAS CND screen. For details, see "Chapter 8: Setting examples using the menu tree" in Introduction and Hardware.
Positional Deviation Measurement DTECT ANGL and ANGLE UNIT When the "1P-SCH" or "1P-SCH + 1P-EDGE" is selected in " MODE," you can specify angle detection. For details about angle detection, see page 4-12. Select a detection range on the " DTECT ANGL" line and select the units at " ANGLE UNIT." REGISTER NO. ( MDL 0, MDL 1) The specified modes are displayed for each register number on these lines. When a 1-point search or 1-point edge is specified, only " MDL 0" will be available.
Positional Deviation Measurement 3) On the menu tree, move the cursor to the "MEAS CND" item, and press the right arrow key. The sub menu which contains the "REGCOND(S)" and "REG-COND(E)" items will appear. Move the cursor to either of these items and press the SET key. 4 About "REG-COND(S)" See pages 4-4 to 6. About "REG-COND(E)" See pages 4-7 to 8. SELECT OBJECT TYPE COND F C1 BRT OBJECT TYPE COND 1REGISTER NO.
Positional Deviation Measurement When a rectangle is selected Specify the upper left and lower right corners of the reference image area. Move the cursor to the " UP.L" and press the SET key. Lines for the X and Y axes will appear on the reference image area (shown as a solid line). Move the X and Y lines to the desired position using the up/down/ left/right arrow keys to set the coordinates for the upper left corner. When correct, press the SET key.
Positional Deviation Measurement Register a reference image After setting the reference image area, store an image in the controller as a reference image. Select " REFERENCE IMG" using the up/ down arrow keys and select "REG" from the popup menu. RECTANGLE RESET RETURN F MDL 0 (224.208) 1UP.L 2LO.R (287.
Positional Deviation Measurement REFIMG Move the cursor to the function menu on the REG COND screen by pressing the TRG/BRT key. Move the cursor to "DETAIL." Press the SET key on the "REFERENCE IMG" line in the popup menu. The white square on the left will change to a black square. Then, the " REF IMG" item will appear on the screen. - You can use the same procedures to show "DTECT CRD" (detection coordinates) and "CONTR.PIXL" (contraction pixels) on the screen.
Positional Deviation Measurement When a rectangle is selected Highlight " UP.L" and press the SET key. The X and Y axes will appear in the detection area. Move the X/Y axes using the up/down/left/right arrow keys to identify the upper left corner. When correct, press the SET key. - To return to the previous coordinates, press the ESC key. Next, highlight " LO.R" and press the SET key. Identify the lower right corner the same way. Setting screen (RECTANGLE) RECTANGLE RESET RETURN MDL 0 (224.208) 1UP.L 2LO.
Positional Deviation Measurement Set the evaluation conditions How to move to the evaluation condition setting screen There are two methods for getting to the evaluation condition setting screen. 1) Select "COND" in the upper function menu on the MEAS COND(or REG COND) screen and press the SET key.Select "EVALUATION" on the pop up menu to go to the EVALUAT COND screen. MEAS CND SCREEN COND SAVE F C1 BRT 1DTECT PRECISION STANDARD 2REGISTER NO.
Positional Deviation Measurement Numeric calculation setting - Press the TRG/BRT key to move the cursor to the upper function menu, and highlight "COND" using the left and right arrow keys. Press the SET key to show the popup menu. Select "NUM-CALC" from the popup menu. - Select "NUM-CALC" on the menu tree. See "Chapter 15: Numerial calculations." Output condition setting 4 - Press the TRG/BRT key to move the cursor to the upper function menu, and highlight "COND" using the left and right arrow keys.
Positional Deviation Measurement The displays for other modes are shown in the next page. Ë 1-point search Registration number REGST NO. 0(0~7) Detection coordinates in the reference image for model 0 X0=176.0 OK Y0=322.0 OK Amount of deviation from the reference image for model 0 Degree of match with the reference image for model 0 * Rotation angle x0=+000.0 OK y0=+000.0 OK 4 M0=+10000 OK B0=+002.6 OK * Angle will be displayed when "DTECT ANGL" is set to "YES.
Positional Deviation Measurement Angle detection You can detect the angle of an object by selecting 1P-SCH (1-point search) in the POSI-DEVIATION item (measurement 0 to 4) . (1) Angle detection by object shape There are some objects whose angle cannot be detected, due to the shape of the object and the compression level used for the gray scale search, as shown in the table below. Object shape Difficulty level Angle detection 4 The angle cannot be detected.
Positional Deviation Measurement Rotation angle Reference image created DetectioUnit n range 2 ±30˚ ±45˚ Full angle Rotation angle Quantity -34, -32, -30, -28, • • • • • • • • +28, +30, +32, +34 35 3 -36, -33, -30, -27, • • • • • • • • +27, +30, +33, +34 25 5 -40, -35, -30, -25, • • • • • • • • +25, +30, +35, +40 17 6 -42, -36, -30, -24, • • • • • • • • +24, +30, +36, +42 15 10 -30, -20, -10, 0, +10, +20, +30 3 -51, -48, -45, -42, • • • • • • • • +42, +45, +48, +51 35 +40, +45, +5
Degree of Match Inspection Chapter 5: Degree of Match Inspection 5-1 Outline Purpose The gray search function is capable of finding the differences between the nondefective reference image and the image to be inspected evaluating the degree of match. (The acceptability of the workpiece is evaluated based on its level of similarity to the reference model.
Degree of Match Inspection 5-2 Setting operation Setting the measurement conditions How to enter the measurement conditions setting screen Select "MAIN-COND" -> "OBJECT TYPE COND" (menu tree)-> "TYPE00" ->"MEA-CND (CAMERA1)" -> "MEAS(NEW)," in that order. Then press the SET key to bring up the "MEAS1" screen. 5 SELECT OBJECT TYPE COND OBJECT TYPE COND TYPE00 TYPE RUN COND IMAGE-ADJ MEA-CND(CAMERA1) MEAS0 POSI-CORRECT MEAS(NEW) ++ MEA-CND(CAMERA2) FINAL NUM.
Degree of Match Inspection Setting the measurement conditions DTECT PRECISON Select detection precision. You can select one of two levels (standard/high), according to your conditions, the desired precision level for detection results, and the detection speed. For details, see page 3-10. REGISTER NO. 16 registers are available for the degree of match inspection (Registers 0 to 15).
Degree of Match Inspection How to set the register conditions How to enter the REG-COND setting screen There are three methods for getting to the REG-COND setting screen. 1) On the "MEAS CND" setting screen, move the cursor to " MDL 0" or " MDL 1" and press the SET key. The cursor will move into the table. Move the cursor to the "S" column and press the SET key. Note: If you press the SET key in the "X" column, the setting will be invalid.
Degree of Match Inspection REFIMG ARE (MDL0) Move the cursor to " REFIMG ARE(MDL0)" and press the SET key. When the SET item is highlighted, press the SET key again to bring up the setting screen. When a rectangle is selected Specify the upper left and lower right corners of the reference image area. Setting screen (RECTANGLE) RECTANGLE RESET RETURN MDL 0 (224.208) 1UP.L 2LO.R (287.271) 3MOVE 4REFERENCE IMG F C1 BRT Reference image of MDL0 Detection image of MDL0 Search area of MDL0 5 SERIAL NO.
Degree of Match Inspection When a vertical line is selected Specify the start and end points on the Y axis. Specify the start and end points using the up/down/left/right arrow keys. The points will move along the Y axis (while keeping the same X coordinate). Setting screen (Y-LINE) Y-LINE RESET RETURN MDL 0 (194.175) 1S.PT 2E.PT (194.344) 3MOVE 4REFERENCE IMG F C1 BRT Crosshair cursor (detection coordinate) Solid line (reference line) Dotted line (search line) SERIAL NO.
Degree of Match Inspection REFIMG On the " REF IMG (MDL0)" line, select a reference image from the reference images already registered. Ex. 015 (000 to 026) Select reference image No. 15 from the 26 registered reference images (000 to 026). Note: This item is displayed only when the "REFERENCE IMG" is selected on the "DETAIL" in the upper function menu. See page 5-4. REG COND F C1 BRT SCREEN COND SAVE DETAIL 1REGISTER NO.
Degree of Match Inspection Set the evaluation conditions How to move to the evaluation condition setting screen There are two methods for getting to the evaluation condition setting screen. 1) Select "COND" in the upper function menu on the "MEAS COND" (or "REG COND") screen and press the SET key. Select "EVALUATION" on the popup menu to go to the "EVALUAT COND" screen. 5 MEAS CND SCREEN COND SAVE F C1 BRT IMG PRE-PROC REG-COND EVALUATION DST&ANGL NUM-CALC OUT 1DTECT PRECISION 2REGISTER NO.
Degree of Match Inspection Numeric calculation setting - Press the TRG/BRT key to move the cursor to the upper function menu, and highlight "COND" using the left and right arrow keys. Press the SET key to show the popup menu. Select "NUM-CALC" from the popup menu. - Select "NUM-CALC" on the menu tree. See "Chapter 15: Numeric calculation." Output condition setting - Press the TRG/BRT key to move the cursor to the upper function menu, and highlight "COND" using the left and right arrow keys.
Lead Inspection Chapter 6: Lead Inspection 6-1 Outline Purpose Inspect the condition of IC leads and connector pins based on positional information obtained from the gray scale search function. (No. of leads or pins that can be detected: Max.
Lead Inspection 6-2 Setting operation Setting the measurement conditions How to enter the measurement conditions setting screen Select "MAIN-COND" -> "OBJECT TYPE COND" -> "TYPE00" ->"MEA-CND (CAMERA1) " -> "MEAS(NEW)," in that order. Then press the SET key to bring up the "MEAS1" screen. 6 SELECT OBJECT TYPE COND OBJECT TYPE COND TYPE00 TYPE RUN COND IMAGE-ADJ MEA-CND(CAMERA1) MEAS0 POSI-CORRECT MEAS(NEW) ++ MEA-CND(CAMERA2) FINAL NUM. CALC FINAL OUTPUT COND OBJ-TYPE I/0 OBJ-TYPE SYS.
Lead Inspection Setting the measurement conditions REGISTER NO. 16 registers are available for the lead inspection (Registers 0 to 15). If you want to set the measurement conditions for a different register number, press the SET key to highlight the register number currently selected. Then press the up and down arrow keys to select the register number whose measurement conditions you want to set. Press the SET key to confirm your selection. MEAS CND SCREEN COND 1REGISTER NO.
Lead Inspection 3) On the menu tree, move the cursor to the "MEAS CND" item, and press the right arrow key. The sub menu which contains the "REG COND" item will appear. Move the cursor to either of these items and press the SET key. 6 SELECT OBJECT TYPE COND F C1 BRT OBJECT TYPE COND + TYPE00 TYPE RUN COND IMAGE-ADJ MEA-CND (CAMERA1) MEAS0 POSI-CORRECT MEAS01 (INSRECT-LEAD) IMG PRE-PROC MEAS CND REG-COND EVALUATION COND NUM-CALC OUT-COND MEAS(NEW) + MEA-CND(CAMERA2) FINAL NUM.
Lead Inspection When the "LINE" is selected Specify the coordinates of the starting and end points. Start point End point When the "CIRC-L" is selected Specify the coordinates of the center, radius, and starting point. Center Radius 6 DTECT MODE Select a detection mode. CENT(DRK) Detect the center of a dark area found by the detection search. CENT(BRT) Detect the center of a bright area found by the detection search.
Lead Inspection Ë Example of settings - Example when 4DTECT MODE (detection mode) is set to "CENT (BRT)" (center dark) and 5SEARCH DIRECT (search direction) is set to "HORIZ (horizontal)." A Center point B Edge Reference line Edge Flat width width Difference in light Brightness A 6 Direction B - Example when 4DTECT MODE (detection mode) is set to "CENT (DRK)" (center dark) and 5SEARCH DIRECT (search direction) is set to "HORIZ (horizontal).
Lead Inspection Set the evaluation conditions How to move to the evaluation condition setting screen There are two methods for getting to the evaluation condition setting screen. 1) Select "COND" in the upper function menu on the "MEAS CND" (or "REG COND") screen and press the SET key. Select "EVALUATION" on the pop up menu to go to the "EVALUAT COND" screen. MEAS CND SCREEN COND SAVE F C1 BRT 1REGISTER NO. 00(0∼15) 2REGISTER EXIST YES 3DTECT PRECISION STANDARD REGISTER NO.
Lead Inspection Numeric calculation setting - Press the TRG/BRT key to move the cursor to the upper function menu, and highlight "COND" using the left and right arrow keys. Press the SET key to show the popup menu. Select "NUM-CALC" from the popup menu. - Select "NUM-CALC" on the menu tree. See "Chapter 15: Numeric calculation." Output condition setting - Press the TRG/BRT key to move the cursor to the upper function menu, and highlight "COND" using the left and right arrow keys.
BGA/CSP Inspection Chapter 7: BGA/CSP Inspection (IV-S32MX/S33MX) The BGA/CSP inspection is available on the IV-S32MX/S33MX controllers. 7-1 Outline Purpose Applications The center of gravity, area of each label, number of labels and fillet diameter are measured using the binary label measurement function.
BGA/CSP Inspection 7-2 Setting operation Setting the measurement conditions How to enter the measurement conditions setting screen Select "MAIN-COND" -> "OBJECT TYPE SELECT OBJECT TYPE COND COND" (menu tree)-> "TYPE00" ->"MEA CND OBJECT TYPE COND (CAMERA1)" -> "MEAS(NEW)", in that order. TYPE00 TYPE RUN COND Then press the SET key to bring up the IMAGE-ADJ "MEAS1" screen. MEA-CND(CAMERA1) F C1 BRT 1MEAS SELECTION MEAS0 POSI-CORRECT MEAS(NEW) ++ MEA-CND(CAMERA2) FINAL NUM.
BGA/CSP Inspection Setting the measurement conditions WINDOW Select a window type. On the popup menu, move the cursor to "NORMAL," "BINARY-IMG-MASK," or "POLYGON," and press the SET key to select the item. MEA-CND SCREEN COND SAVE 1WINDOW NORMAL 2REGISTER NO. 0(0∼3) 3REGISTER EXIST YES F C1 BRT NO YES NORMAL BINARY-IMG-MASK POLYGON REGISTER NO.
BGA/CSP Inspection How to set the register conditions How to enter the REG-COND setting screen There are three methods for getting to the REG-COND setting screen. 1) On the "MEA-CND" setting screen, move the cursor to the " (or ) BIN AREA COND" and press the SET key. The cursor will move into the table. Move the cursor to the "○" column and press the SET key. Note: If you press the SET key in the "X" column, the setting will be invalid. 7 MEA-CND SCREEN COND SAVE F C1 BRT 1WINDOW NORMAL 2REGISTER NO.
BGA/CSP Inspection * When the "BINARY-IMG-MASK" or the "POLYGON" is selected at " WINDOW" on the "MEA-CND" screen, the " REGISTER NO." line will not be displayed and the other item numbers are decremented by one since the register number for "BINARY-IMG-MASK" and "POLYGON" is fixed. REG COND SCREEN COND SAVE DETAIL 1MEAS SHAPE 2MEAS AREA 3THRESHOLD 4INVERT B/W 5NUM. OF DTECT F C1 BRT RECTANGLE SET (224,208)∼(287,271) SET [U.LM255 L.
BGA/CSP Inspection THRESHOLD Specify a threshold value. Move the cursor to " U.LM" and press the SET key. Then move the cursor to " L.LM" and press the SET key again. The current value will be highlighted for each item. You can increase or decrease the value by pressing the up and down arrow keys. Press the ESC key to confirm the value you want. For details, see page 3-11. INVERT B/W Select whether to invert the display of black and white inside the measurement area. NUM.
BGA/CSP Inspection BOUNDARY PROCESS Select whether objects crossing the boundary of the window will be "VALID" or "INVALID." For details, see page 3-12. AREA FILTER This function is used to exclude an object from measurement if its area is outside of the upper or lower limits. Specify a number from 0 to 245760. Example of register measurement are and area mask - The inside of the measurement area (excluding the mask area) is converted to binary data.
BGA/CSP Inspection The "EVALUAT COND"(evaluation conditions) screen will appear. For details about the evaluation conditions, see page 3-18. EVALUAT COND SCREEN COND SAVE EDIT SEL 1REGISTER NO. 2CONDITION SET 3NUMBER OF OBJ 0(0~3) AUTO(±10%) 000~128 F C1 BRT [TEST RESULT] [OUTPUT] K= NO 4TOTAL AREA 5OBJECT AREA 000000~245760 A= 000000~245760 R= NO NO 6X DIRECT SPACE 000.0~511.0 DX= NO 7Y DIRECT SPACE 000.0~479.
Area Measurement by Binary Conversion Chapter 8: Area Measurement by Binary Conversion 8-1 Outline Purpose This function is used to determine the existence and or size of a workpiece when the workpiece is always found in the same place or when it has a fixed measurement position. - This function measures the area of the white field after the image has been converted to binary values (i.e. black and white).
Area Measurement by Binary Conversion 8-2 Setting operation Setting the measurement conditions How to enter the measurement conditions setting screen Select "MAIN-COND" -> "OBJECT TYPE COND" (menu tree)-> "TYPE00" ->"MEA-CND (CAMERA1)" -> "MEAS(NEW)," in that order. Then press the SET key to bring up the "MEAS1" screen. SELECT OBJECT TYPE COND OBJECT TYPE COND TYPE00 TYPE RUN COND IMAGE-ADJ MEA-CND(CAMERA1) MEAS0 POSI-CORRECT MEAS1 MEAS(NEW) ++ MEA-CND(CAMERA2) FINAL NUM.
Area Measurement by Binary Conversion WINDOW Select a window type. On the popup menu, move the cursor any of "NUM-OFMASK1,2,4," "BINARY-IMG-MASK," or "POLYGON," and press the SET key to select the item. MEA-CND 1WINDOW 2REGISTER NO. 3REGISTER EXIST REGISTER NO.
Area Measurement by Binary Conversion How to set the register conditions How to enter the REG-COND setting screen There are three methods for getting to the REG-COND setting screen. 1) On the "MEA-CND" setting screen, move the cursor to the " BIN AREA COND" and press the SET key. The cursor will move into the table. Move the cursor to the "○" column and press the SET key. Note: If you press the SET key in the "X" column, the setting will be invalid.
Area Measurement by Binary Conversion MEAS SHAPE Specify shape of measuring range. RECTANGLE Specify the coordinates for the upper left and lower right corners. The measurement area will be the area enclosed by this rectangle. CIRCLE Specify the center and the radius. The measurement area will be the area enclosed by this circle. ELLIPSE Specify the center and the radius. The measurement area will be the area enclosed by this ellipse. MEAS AREA Specify a search area.
Area Measurement by Binary Conversion Setting the mask details On the "REG COND" screen, move the cursor to the upper function menu by pressing the TRG/BRT key. Select "DETAIL" by pressing the left and right arrow keys and then press the SET key. On the popup menu, you can select "MASK REGIST.," "BINARY PROCESS," and "BINRY NOISE FILT." The items selected here will be displayed on the "MEA-CND" menu. MASK NO. Select a mask number. Note: This line is displayed when "NO. OF MASK 2" or "NO.
Area Measurement by Binary Conversion Set the evaluation conditions How to move to the evaluation condition setting screen There are two methods for getting to the evaluation condition setting screen. 1) Select "COND" in the upper function menu on the MEAS COND (or REG COND) screen and press the SET key.Select "EVALUATION" on the pop up menu to go to the EVALUAT COND screen. MEA-CND SCREEN COND SAVE F C1 BRT 1WINDOW 2REGISTER NO.
Area Measurement by Binary Conversion Set the evaluation conditions The display details vary with the setting of each window.
Area Measurement by Binary Conversion Display the measurement results Return to the operation screen and press the TRG/BRT key. The measurement results will be displayed on the screen. F C1 BRT V*.
Object Counting by Binary Conversion Chapter 9: Object Counting by Binary Conversion 9-1 Outline Purpose Checks the number of objects (max. 3000 items.) when there is more than one object in an image. Measurement of the object’s position is optional. - When the specified pixel field has been converted to a binary image, the white areas are measured or identified as separate objects and counted. Applications Counting the number of food products or parts.
Object Counting by Binary Conversion 9-2 Setting operation Setting the measurement conditions How to enter the measurement conditions setting screen Select "MAIN-COND" -> "OBJECT TYPE COND" (menu tree)-> "TYPE00" ->"MEA-CND (CAMERA1)" -> "MEAS(NEW)," in that order. Then press the SET key to bring up the "MEAS1" screen. SELECT OBJECT TYPE COND OBJECT TYPE COND TYPE00 TYPE RUN COND IMAGE-ADJ MEA-CND(CAMERA1) MEAS0 POSI-CORRECT MEAS(NEW) ++ MEA-CND(CAMERA2) FINAL NUM.
Object Counting by Binary Conversion Setting the measurement conditions MEA-CND WINDOW Select a window type. On the popup menu, move the cursor to "NORMAL," "BINARYIMG-MASK," or "POLYGON," and press the SET key to select the item. NORMAL 1MEAS GRAV CENTER 2WINDOW 3REGISTER NO. 4REGISTER EXIS 5LABEL ORDER 6AX.ANGL 7FILT 8CIRC-L 9MID-PNT Normal window Select this item if the captured image is other than a rectangle, circle, or ellipse.
Object Counting by Binary Conversion How to set the register conditions How to enter the REG-COND setting screen There are three methods for getting to the REG-COND setting screen. 1) On the "MEA-CND" setting screen, move the cursor to the " BIN AREA COND" and press the SET key. The cursor will move into the table. Move the cursor to the "○" column and press the SET key. Note: If you press the SET key in the "X" column, the setting will be invalid.
Object Counting by Binary Conversion MEAS SHAPE Specify shape of measuring range. RECTANGLE Specify the coordinates for the upper left and lower right corners. The measurement area will be the area enclosed by this rectangle. CIRCLE Specify the center and the radius. The measurement area will be the area enclosed by this circle. ELLIPSE Specify the center and the radius. The measurement area will be the area enclosed by this ellipse. MEAS AREA Specify a search area.
Object Counting by Binary Conversion INVERT B/W Select whether to invert the display of black and white inside the measurement area. Setting the mask details On the "REG COND" screen, move the cursor to the upper function menu by pressing the TRG/BRT key. Select "DETAIL" by pressing the left and right arrow keys and then press the SET key. On the popup menu, you can select "MASK REGIST.," "BINARY PROCESS," "BINRY NOISE FILT," "BOUNDARY PROCESS, " and "AREA FILTER.
Object Counting by Binary Conversion Set the evaluation conditions How to move to the evaluation condition setting screen There are two methods for getting to the evaluation condition setting screen. 1) Select "COND" in the upper function menu on the MEA-CND (or REG COND) screen and press the SET key.Select "EVALUATION" on the pop up menu to go to the EVALUAT COND screen. MEA-CND SCREEN COND SAVE F C1 BRT 1WINDOW 2REGISTER NO.
Object Counting by Binary Conversion Numeric calculation setting - Press the TRG/BRT key to move the cursor to the upper function menu, and highlight "COND" using the left and right arrow keys. Press the SET key to show the popup menu. Select "NUM-CALC" from the popup menu. - Select "NUM-CALC" on the menu tree. See "Chapter 15: Numeric calculation." Output condition setting - Press the TRG/BRT key to move the cursor to the upper function menu, and highlight "COND" using the left and right arrow keys.
Object Identification by Binary Conversion Chapter 10: Object Identification by Binary Conversion 10-1 Outline Purpose When there are several objects and their positions are random, the presence or absence of objects and the size of the objects can be determined. - The specified pixel area is converted to a binary image.
Object Identification by Binary Conversion 10-2 Setting operation Setting the measurement conditions How to enter the measurement conditions setting screen Select "MAIN-COND" -> "OBJECT TYPE COND" (menu tree)-> "TYPE00" ->"MEA-CND (CAMERA1)" -> "MEAS(NEW)," in that order. Then press the SET key to bring up the "MEAS1" screen. SELECT OBJECT TYPE COND OBJECT TYPE COND TYPE00 TYPE RUN COND IMAGE-ADJ MEA-CND(CAMERA1) MEAS0 POSI-CORRECT MEAS(NEW) ++ MEA-CND(CAMERA2) FINAL NUM.
Object Identification by Binary Conversion Setting the measurement conditions 1MEAS GRAV CENTER 2WINDOW 3REGISTER NO. 4REGISTER EXIST 5LABEL ORDER 6AX.ANGL 7FILT 8CIRC-L 9MID-PNT WINDOW Select a window type. On the popup menu, move the cursor to "NORMAL," "BINARYIMG-MASK," or "POLYGON," and press the SET key to select the item. NORMAL SCREEN COND SAVE MEA-CND MEAS GRAV CENTR Select whether or not to measure the center of gravity.
Object Identification by Binary Conversion AX.ANGL (axis angle) ・Main axis angle Select whether to measure the angle of the longitudinal line Gravity center (drawn through the gravity center of the workpiece) to the horizontal. FILT (fillet diameter) Select whether to measure the diameters of horizontal and vertical fillets on the workpiece. ・Fillet width Fillet width (horizontal) CIRC-L (peripheral length) Select whether to count the number of pixels in the perimeter of the workpiece.
Object Identification by Binary Conversion How to set the register conditions How to enter the REG-COND setting screen There are three methods for getting to the REG-COND setting screen. 1) On the "MEA-CND" setting screen, move the cursor to the " BIN AREA COND" and press the SET key. The cursor will move into the table. Move the cursor to the "○" column and press the SET key. Note: If you press the SET key in the "X" column, the setting will be invalid.
Object Identification by Binary Conversion MEAS SHAPE Specify shape of measuring range. RECTANGLE Specify the coordinates for the upper left and lower right corners. The measurement area will be the area enclosed by this rectangle. CIRCLE Specify the center and the radius. The measurement area will be the area enclosed by this circle. ELLIPSE Specify the center and the radius. The measurement area will be the area enclosed by this ellipse. MEAS AREA Specify a search area.
Object Identification by Binary Conversion MASK NO. Select a mask number. Note: This is available when "NORMAL" is selected on the " WINDOW" line. MASK SHAPE Select mask shape. - Select "NO," "RECTANGLE," "CIRCLE," or "ELLIPSE." - When "BINARY-IMG-MASK" is selected on the " WINDOW" line, this line will not appear, since this is already selected on the "MASK BINARY IMG" screen. - When "POLYGON" is selected on the " WINDOW" line, specify the polygonal shape of the mask.
Object Identification by Binary Conversion Set the evaluation conditions How to move to the evaluation condition setting screen There are two methods for getting to the evaluation condition setting screen. 1) Select "COND" in the upper function menu on the MEA-CND (or REG COND) screen and press the SET key.Select "EVALUATION" on the pop up menu to go to the EVALUAT COND screen. MEA-CND SCREEN COND SAVE 1MEAS GRAV CENTER 2WINDOW 3REGISTER NO. 4REGISTER EXIST 5LABEL ORDER 6AX.
Object Identification by Binary Conversion Numeric calculation setting - Press the TRG/BRT key to move the cursor to the upper function menu, and highlight "COND" using the left and right arrow keys. Press the SET key to show the popup menu. Select "NUM-CALC" from the popup menu. - Select "NUM-CALC" on the menu tree. See "Chapter 15: Numeric calculation.
Existence Inspection by Point Measurement Chapter 11: Existence Inspection by Point Measurement 11-1 Outline Purpose The presence or absence of target objects is examined. ・ A simple black and white evaluation is made in the specified pixel area of binary images. ・ The light level in the specified pixel area is averaged, and a decision is made whether or not it is within the specified range of brightness for gray scale images.
Existence Inspection by Point Measurement 11-2 Setting operation Setting the measurement conditions How to enter the measurement conditions setting screen Select "MAIN-COND" -> "OBJECT TYPE COND" (menu tree)-> "TYPE00" ->"MEA-CND (CAMERA1)" -> "MEAS(NEW)," in that order. Then press the SET key to bring up the "MEAS1" screen. SELECT OBJECT TYPE COND OBJECT TYPE COND TYPE00 TYPE RUN COND IMAGE-ADJ MEA-CND(CAMERA1) MEAS0 POSI-CORRECT MEAS(NEW) ++ MEA-CND(CAMERA2) FINAL NUM.
Existence Inspection by Point Measurement Setting conditions (mode selection) Select a mode on the " the settings will vary. MODE" line. By selecting either "BINARY" or "AVG-GRAYS," the details of When the "BINARY" mode is selected MEA-CND BINARY PROCESS Select a binary processing procedure. Select "FIXED," "THRES-ADJ(VAR-DIFF)," or "THRES-ADJ(VAR-RATE)." SCREEN COND SAVE 1MODE 2BINARY PROCESS 3THRESHOLD 4CHNG-REG REGISTER NO. 5POINT COND F C1 DRK BINARY BINARY AVG-GRAYS FIXED SET [U.LM255 L.
Existence Inspection by Point Measurement POINT COND Points which have been registered are marked with an "O." - After being registered on the point condition setting screen, an "O" will be displayed in the corresponding cells. For details, see next page. Setting the conditions (by selecting the point conditions) How to enter the REG COND setting screen This paragraph describes the setting for each point condition. There are three ways to bring up the "REG COND" screen.
Existence Inspection by Point Measurement Setting the point measurement conditions SIZE Specify the point size. Highlight the numbers next to "X" and "Y" and increase or decrease the value using the up and down arrow keys. To confirm the new value, press the SET key twice. When the settings are complete, press the ESC key. The point size can be set between 2 and 32, in units of one pixel.
Existence Inspection by Point Measurement STORE BLOCK COND Press the TRG/BRT key to move the cursor to the upper function menu. Select "DETAIL" and press the SET key. Select "STORE BLCK OF PNTS" from the popup menu and press the SET key. Now, items to will be displayed on the "REG COND" menu. This function is used to set a group of points at the same time, after specifying the number of points horizontally and vertically and their spacing. REGISTER NO.
Existence Inspection by Point Measurement Set the evaluation conditions How to move to the evaluation condition setting screen There are two methods for getting to the evaluation condition setting screen. 1) Select "COND" in the upper function menu on the MEA-CND (or REG COND) screen and press the SET key.Select "EVALUATION" on the pop up menu to go to the EVALUAT COND screen. MEA-CND SCREEN COND SAVE 1MODE 2BINARY PROCESS 3THRESHOLE BINARY FIXED SET [U.LM255 L.LM100(0~255)] 4CHNG-REG REGISTER NO.
Existence Inspection by Point Measurement The "EVALUAT COND"(evaluation conditions) screen will appear. For details about the evaluation conditions, see page 3-18. ・When MODE has been set to "BINARY" EVALUAT COND SCREEN COND SAVE EDIT SEL F C1 DRK 1PAGE CHNG ˚ [TEST RESULT] 2P000 WHITE OK NO 3P001 WHITE OK NO 4P002 WHITE OK NO 5P003 WHITE OK NO 6P004 WHITE OK NO [OUTPUT] Acceptance (OK/NG) criteria WHITE: Acceptable when a majority of the inspected pixels are white.
Existence Inspection by Point Measurement Display the measurement results Return to the operation screen and press the TRG/BRT key. The measurement results will be displayed on the screen. When MODE has been set to BINARY (TYPE00) Final evaluation result Measuring time Measurement program number Evaluation of the correct black or white color detected at registration No.000 001 002 003 004 005 006 007 F C1 DRK V*.
Multiple Positional Measurement Chapter 12: Multiple Positional Measurements 12-1 Outline The IV-S30 can detect up to 128 workpieces whose images exceed the specified matching level (gray search) or threshold value (edge detection) from the reference image. Purpose The positional deviation measurement needs to have a number of positions registered for measurement. However, this measurement only requires you to register one position and reduces the set up time.
Multiple Positional Measurement 12-2 Setting operation Setting the measurement conditions How to enter the measurement conditions setting screen Select "MAIN-COND" -> "OBJECT TYPE COND" (menu tree)-> "TYPE00" ->"MEA-CND (CAMERA1)" -> "MEAS(NEW)," in that order. Then press the SET key to bring up the "MEAS1" screen. SELECT OBJECT TYPE COND OBJECT TYPE COND TYPE00 TYPE RUN COND IMAGE-ADJ MEA-CND(CAMERA1) MEAS0 POSI-CORRECT MEAS(NEW) ++ MEA-CND(CAMERA2) FINAL NUM.
Multiple Positional Measurement DTECT PRECISON Select detection precision. You can select one of two levels (standard/high), according to your conditions, the desired precision level for detection results, and the detection speed. For details, see page 3-10. REGISTER NO. 4 registers are available for the multiple position measurement (Registers 0 to 3). If you want to set the measurement conditions for a different register number, press the SET key to highlight the register number currently selected.
Multiple Positional Measurement How to set the register conditions How to enter the REG-COND setting screen There are three methods for getting to the REG-COND setting screen. 1) On the "MEAS CND" setting screen, move the cursor to " DTECT OBJECT" and press the SET key. The cursor will move into the table. Move the cursor to the "S" or "E" column and press the SET key. Note: If you press the SET key in the "X" column, the setting will be invalid.
Multiple Positional Measurement [1] Set the register conditions for a gray search Set a reference image Move the cursor to " REF-IMG AREA" and press the SET key. When the SET item is highlighted, press the SET key again to bring up the setting screen. REG COND SCREEN COND SAVE DETAIL 1REGISTER NO. 0(0∼3) 2REF-IMG AREA 3SEARCH AREA SET (224.208)∼(287.271) SET (216.200)∼(295.
Multiple Positional Measurement Select a reference image Move the cursor to the function menu on the "REG COND" screen by pressing the TRG/BRT key. Move the cursor to "DETAIL." Press the SET key on the "REFERENCE IMG" line in the popup menu. The white square on the left will change to a black square. Then, the " REFERENCE IMG" item will appear on the screen. You can use the same procedures to show "DETECT CRD" (detection coordinates) and "CONTR.PIXL" (contraction pixels) on the screen.
Multiple Positional Measurement Set degree of match REG COND MATCH LVL (CONTR) Specify the degree of match used for detection in the contracted images (detects contracted shapes in images whose value is larger than the specified reference value). F C1 BRT SCREEN COND SAVE DETAIL 1REGISTER NO. 2REFERENCE IMG 3REF-IMG AREA 4SEARCH AREA 5DIRECT COORD 6CONTR.PIXEL 7MATCH LVL(CONTR) 8MATCH LVL 0(0∼3) 015(000~026) SET (224.208)∼(287.271) SET (216.200)∼(295.279) CENTER (234.
Multiple Positional Measurement SEARCH AREA Select " SEARCH AREA" and press the SET key to go to the setting screen. When "RECTANGLE" is selected Highlight " UP.L" and press the SET key. The X and Y axes will appear in the seach area. Move the X/Y axes using the up/down/ left/right arrow keys to identify the upper left corner. When correct, press the SET key. - To return to the previous coordinates, press the ESC key. Next, highlight " LO.R" and press the SET key.
Multiple Positional Measurement THRESHOLD Enter the threshold value for binary conversion. Move the cursor to " THRESHOLD" and press the SET key. Then highlight the "SET" position on this line and press the SET key and the "REG COND" setting screen will appear. Edge width THRESHOLD VAL 1GRYS. 2EDGE.W 3FLAT.
Multiple Positional Measurement 2) Move the cursor to the "EVALUATION COND" item on the Menu tree screen and press the SET key. SELECT OBJECT TYPE COND F C1 DRK OBJECT TYPE COND TYPE00 TYPE RUN COND IMAGE-ADJ MEA-CND(CAMERA1) MEASO POSI-CORRECT MEAS01(MULTI-POSI) IMG PRE-PROC MEAS CND REG-COND(S) REG-COND(E) EVALUATION COND + DISTANCE&ANGLE COND NUM-CALC OUT-COND MEAS(NEW) + MEA-CND(CAMERA2) FINAL NUM. CALC FINAL OUTPUT COND OBJ-TYPE I/O OBJ TYPE SYS. 1REGISTER NO.
Multiple Positional Measurement Display the measurement results Return to the operation screen and press the TRG/BRT key. The measurement results will be displayed on the screen. ● An example of the display when "gray search" is selected. (TYPE00) F C1 BRT V*.** Final evaluation result Measuring time Measuring program number OK Register number Number of detected images Numbered in the order detected (range) *1 Degree of match Detected point coordinates REGISTER NO.0(0~3) K=004 OK DETECT NO.
Multiple Degree of Match Inspection Chapter 13: Multiple Degree of Match Inspection 13-1 Outline Using the gray search function, the IV-S30 can detect up to 128 workpieces whose Purpose captured image exceeds the required degree of match with the reference image. Applica- Inspect (or count) workpieces that have complicated light livel and cannot be converted into binary.
Multiple Degree of Match Inspection 13-2 Setting operation Setting the measurement conditions How to enter the measurement conditions setting screen Select "MAIN-COND" -> "OBJECT TYPE COND" (menu tree)-> "TYPE00" ->"MEA-CND (CAMERA1)" -> "MEAS(NEW)," in that order. Then press the SET key to bring up the "MEAS1" screen. SELECT OBJECT TYPE COND OBJECT TYPE COND TYPE00 TYPE RUN COND IMAGE-ADJ MEA-CND(CAMERA1) MEAS0 POSI-CORRECT MEAS(NEW) ++ MEA-CND(CAMERA2) FINAL NUM.
Multiple Degree of Match Inspection DTECT PRECISON Select detection precision. You can select one of two levels (standard/high), according to your conditions, the desired precision level for detection results, and the detection speed. For details, see page 3-10. MEAS CND 1DTECT PRECISION 2REGISTER NO. 3MODE 4MATCHING 5DETECT ORDER STANDARD 0(0~3) YES AVG-GRAYS SCAN-ORDER REGISTER NO. 4 registers are available for the multiple degree of match inspection (Registers 0 to 3).
Multiple Degree of Match Inspection How to set the register conditions How to enter the REG-COND setting screen There are three methods for getting to the REG-COND setting screen. 1) On the "MEAS CND" setting screen, move the cursor to the " DETECT OBJECT" and press the SET key. The cursor will move into the table. Move the cursor to the "S" column and press the SET key. Note: If you press the SET key in the "X" column, the setting will be invalid.
Multiple Degree of Match Inspection Set the coordinates for " UP.L" and " LO.R." The rectangle inside the solid lines is the reference image. RECTANGLE RESET RETURN F C1 BRT MDL 0 (224.208) 1UP.L 2LO.R (287.271) 3MOVE 4REFERENCE IMG X:224 Y:208 SET=MOVE ESC=BACK SEL=CHNG IMG TRG=FUNC Register a reference image After setting the reference image area, store an image in the controller as a reference image. Select " REFERENCE IMG" using the up/ down arrow keys and select "REG" from the popup menu.
Multiple Degree of Match Inspection SEARCH AREA Specify the search area (inside the dotted lines) on the " procedures used for setting the reference image area. SEARCH AREA" line, using the same ■An example Object to measure Seach area DTECT COORD (detection coordinates) Select whether to use the detection coordinates as the center of the reference area or to allow the point to be set freely. CENTER: The center of the rectangular area will automatically be used for the detection coordinates.
Multiple Degree of Match Inspection Set the evaluation conditions How to move to the evaluation condition setting screen There are two methods for getting to the evaluation condition setting screen. 1) Select "COND" in the upper function menu on the "MEAS COND (or REG COND)" screen and press the SET key. Select "EVALUATION" on the pop up menu to go to the "EVALUAT COND" screen. MEAS CND SCREEN COND SAVE F C1 BRT IMG PRE-PROC REG-COND EVALUATION DST&ANGL NUM-CALC OUT 1DTECT PRECISION 2REGISTER NO.
Multiple Degree of Match Inspection Numeric calculation setting - Press the TRG/BRT key to move the cursor to the upper function menu, and highlight "COND" using the left and right arrow keys. Press the SET key to show the popup menu. Select "NUM-CALC" from the popup menu. - Select "NUM-CALC" on the menu tree. See "Chapter 15: Numerial calculations." Output condition setting - Press the TRG/BRT key to move the cursor to the upper function menu, and highlight "COND" using the left and right arrow keys.
Distance and Angle Measurement Chapter 14: Distance and Angle Measurement 14-1 Outline You can specify the settings for distance and angle mesurement on the "MEAS COND" menu in the positional deviation measurement, degree of match inspection, object identification by binary conversion (select "YES" for center of gravity mesurement), multiple position measurement, and multiple degree of match inspection.
Distance and Angle Measurement 14-2 Setting operation Setting distance and angle conditions Select "MAIN-COND" -> "OBJECT TYPE COND" (menu tree) -> "TYPE00" -> "MEA-CND (CAMERA1)" -> "MEAS (NEW)," in that order. Then press the SET key to bring up the "MEAS1" screen. SELECT OBJECT TYPE COND OBJECT TYPE COND TYPE00 TYPE RUN COND IMAGE-ADJ MEA-CND(CAMERA1) MEAS0 POSI-CORRECT MEAS(NEW) ++ MEA-CND(CAMERA2) FINAL NUM. CALC FINAL OUTPUT COND OBJ-TYPE I/0 OBJ-TYPE SYS.
Distance and Angle Measurement How to display the distance and angle conditions setting screen There are two methods for displaying the distance and angle conditions setting screen. 1) On the "MEASUREMENT 1", "MEAS CND", or "REG COND" screen, press the TRG/BRG key to move the cursor to the upper function menu. Select "COND' using the left and right keys and press the SET key. Select "DST&ANGL" from the popup menu.
Distance and Angle Measurement [1] When "AUX" is selected. DIST&AGL COND SCREEN COND SAVE 1OBJ 2AUXILIARY NO. 3AUXILIARY 4COND.1 5COND.2 6COND.3 AUXILIARY NO. Enter a register number. The register numbers available are 0 to 15. AUX 01(0~15) CIRC-C REG NO MDL 0 REG NO MDL 0 REG NO MDL 0 7AUX JUDGEMENT1 000.0~511.0 8AUX JUDGEMENT2 000.0~479.0 9RUN A TEST EXEC REGISTER NO. AUX. AUXILIARY Select an auxiliary point. Selection Description NO Do not select auxiliary point.
Distance and Angle Measurement COND. 1, COND. 2, ( COND.3) Specify conditions for the auxiliary points that were selected in the " AUXILIARY" item. How to enter COND.1 and COND.2. 4COND.1 5COND.2 REG NO MDL 0 REG NO MDL 0 A B A: Enter a register number from one of the measurement programs already registered. B: Select a model: 0 or 1. AUX JUDGEMENT1, AUX JUDGEMENT2 Specify judgment conditions for X and Y.
Distance and Angle Measurement [2] When "DST" is selected. F C1 BRT DIST&AGL COND SCREEN COND SAVE 1OBJ 2DISTANCE NO. 3DISTANCE 4COND.1 5COND.2 DISTANCE NO. Enter a register number. The register numbers available are 0 to 15. DST 01(0~15) DIST-BETW-2PT REG NO MDL 0 REG NO MDL 0 NO DIST-BETW-2PT DIST-BETW-X DIST-BETW-Y [TEST RESULT] 6DISTANCE EVALUAT 000.0~702.0 7RUN A TEST [OUTPUT] NO EXEC REGISTER NO.
Distance and Angle Measurement [3] When "ANGL" is selected. ANGL NO. Enter a register number. The register numbers available are 0 to 15. F C1 BRT DIST&AGL COND SCREEN COND SAVE 1OBJ 2ANGL NO. 3ANGL 4COND.1 5COND.2 6COND.3 ANGL 00(0~15) 3PT-ANGL REG NO MDL 0 REG NO MDL 0 REG NO MDL0 NO 3PT-ANGL 2PT-H-ANGL 2PT-V-ANGL [TEST RESULT] 7ANGL EVALUATION -180.0~+180.0¡ B= ¡ 8RUN A TEST EXEC REGISTER NO. DISTANCE ANGL Select the angle specifying method. NO Do not select angle.
Distance and Angle Measurement Numeric calculation setting - Press the TRG/BRT key to move the cursor to the upper function menu, and highlight "COND" using the left and right arrow keys. Press the SET key to show the popup menu. Select "NUM-CALC" from the popup menu. - Select "NUM-CALC" on the menu tree. See "Chapter 15: Numeric calculation." Output condition setting - Press the TRG/BRT key to move the cursor to the upper function menu, and highlight "COND" using the left and right arrow keys.
Numerical Calculations Chapter 15 Numerical Calculations 15-1 Outline Numeric calculation fuction of the IV-S30 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 "TYPE" and "FORMULA" settings of the final numerical calculation.
Numerical Calculations Setting ditails 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 positional measurements. "CHG-CALC" Move the cursor to the "CHG-CALC" item. Each time you press the SET key the display in the leftmost column will alternate between "N00 to N07" and "N08 to N15.
Numerical Calculations Setting procedure Setting the headings on the [NUMERIC CALC] (numerical calculation conditions) screen.
Numerical Calculations Input types Symbol Total area A Number of objects K MAX: MXR MIN: MNR MAX: XDX MIN: NDX MAX: XDY MIN: NDY MAX: XFX MIN: NFX MAX: XFY MIN: NFY Area of each label Distance between gravity centers X Distance between gravity centers Y Fellet diameter X Fellet diameter Y Numerical calculation result N BGA/CSP inspection 0A to 3A Measurement program Area measure ment by binary conversion Number of masks= 1: 00A to 15A Number of masks= 2: 0A to 7A Number of masks= 4: 0A to 3A 0K t
Numerical Calculations [1] Display lists on the "NUMERIC CALC" screen This section displays the "NUMERIC CALC" screen for each measuring program. The details displayed for "FORMULA" will depend on the "TYPE" selected. (1) Positional deviation measurement See page 15-2.
Numerical Calculations (5) Area measurement by binary conversion NUMERIC CALC SCREEN COND SAVE [N00-N07] CHG-CALC 1RUN A TEST TYPE F C1 BRT The details displayed for "FORMULA" will depend on the "TYPE" selected.
Numerical Calculations (8) Point measurement When "AVG-GRAYS" is selected on the "1MODE" When "BINARY" is selected on the "1MODE" NUMERIC CALC SCREEN COND SAVE [N00-N07] CHG-CALC 1RUN A TEST TYPE NUMERIC CALC SCREEN COND SAVE F C1 BRT [N00-N07] CHG-CALC 1RUN A TEST (SET KEY) TYPE FORMULA N00 N01 N02 (SET KEY) FORMULA N00 WHT.CNT/REG.NO[WRC] NUM-CAL[NC] CNST[C] NO F C1 BRT AVG-GRAYS[G] OBJ TYPES REG.
Numerical Calculations (11) Distance and angle measurement NUMERIC CALC SCREEN COND SAVE [N00-N07] CHG-CALC 1RUN A TEST TYPE N00 N01 N02 N03 F C1 BRT The details displayed for "FORMULA" will depend on the "TYPE" selected.
Numerical Calculations 15-3 Final numerical calculations Final numerical calculations can be set at item "FINAL NUM-CALC" on the menu tree. 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 "15-1 The individual numerical calculations for each measuring program." How to display the final numerical calculation screen. Open the sub menu for "TYPExx" on the menu tree and select "FINAL NUM. CALC.
Numerical Calculations "CHG-CALC" Move the cursor to the "CHG-CALC" item. Each time you press the SET key the display in the leftmost column will alternate between "N00 to N07" and "N08 to N15." Run A TEST Pressing the SET key will store the setting details as well as run a test The numerecalresults of the tests will be displayed at position [F] and the OK or NG judgment will be dislayed at position [E]. A: TYPE Select the type of data being calculated. B: FORMULA A number of style settings are used.
Numerical Calculations 15-4 Setting examples The example below shows the settings used to evaluate and output the X-Y coordinates (differences) of the detection points in images 0 and 1, using the evaluation calculation. (Degree of match inspection See Chapter 5; Output See Chapter 16: PC Function.
Numerical Calculations Press the SET key, the cursor will move to the right. Press the SET key again and a popup menu will appear. Select the "-" and press the SET key. - The cursor will appear to the right of the "-." Press the SET key and a popup menu will appear. Select a "TYPE" and press the SET key. 00X0 will be displayed in the formulafield N00 X 01X0−00X0 +0000000.00∼+0000000.00 00x0 refers to the X coordinate of the detection point in model 0, stored in register NO.00(image 0). 3.
Numerical Calculations (4) Operation on the "OUTPUT COND" screen 1. On the "MEA CND" setting screen, press the TRG/BRT key to move the cursor to the upper function menu. Select the "COND" item and then select the "OUT" item and press the SET key. MEA CND SCREEN 1DTECT PRECISION 2REGISTER NO. 3MODE 4SEARCH 5MATCHING COND F C1 DRK STANDARD 00(0~15) 1P-SCH YES AVG-GRAYS IMG PRE-PROC REG COND EVALUATION DST&ANGL NUM-CALC OUT 0001020304 05 060708 09 101112131415 S ××××××××××××××× REGISTER NO.
Numerical Calculations (5) Operations on the "FINAL OUTPUT COND" screen 1. Select "FINAL OUTPUT COND" on the "SELECT OBJECT TYPE COND" screen, to display the final output conditions screen. 2. Move the cursor to "INPUT00" and row 0, and press the SET key. Select "AUX. RLY-C." from the popup menu and press the SET key. SELECT OBJECT TYPE COND OBJECT TYPE COND TYPE00 TYPE RUN COND IMAGE-ADJ MEA-CND(CAMERA1) + MEAS0 POSI-CORRECT MEAS (NEW) + MEA-CND(CAMERA2) FINAL NUM.
Numerical Calculations (6) Degree of match inspection Press the TRG/BRT key, and the will calculate the X-Y coordinates of the detection points in images 0 and 1, and then evaluate and output the results. F C1 BRT V*.** (TYPE00) OK MEAS XXXXms 2001-10-14 10:38 MEASUREMENT 1 CHK-DEG-MATCH REGISTER N00(0~15) M0=+09735 OK X0= 090.0 OK Y0= 092.0 OK G0= 018.
PC Function Chapter 16: PC Function 16-1 Outline The PC function is designed to create a ladder circuit program based on the data (coordinates, distance, degree of match, and results of numerical calculations) obtained from the measurements and calculations made by the IV-S30. Then it outputs the results of the calculations performed by the circuit. Use of the PC function enables the IV-S30 to output measurement results to an external equipment such as a lamp by itself, without the need for an external PC.
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 X7) is written into the data memory (input relays).
PC Function 16-3 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, lead inspection, BGA/CSP inspection, area measurement by binary conversion, object counting by binary conversion, object identification by binary conversion, point measurement, multiple position measurement, and multiple degree of match inspection.
PC Function (2) How to specify the input conditions for ladder circuit diagrams 1. While "CHANGE INPUT" is selected, each OUTPUT COND SCREEN SAVE INPUT00-07 press of the SET key will change the display in Column No. 0 to 7 CHANGE INPUT the leftmost row. The display will cycle through 0 1 2 3 4 5 the following choices: "INPUT00 to INPUT07," 00M0 INPUT00 "INPUT08 to INPUT15," and "INPUT16 to LOGIC INPUT01 INPUT19.
PC Function 4. Press the SET key and select a logic symbol from the popup menu. Logic symbol Function a contact on a series circuit (ON, when the evaluation result is OK) b contact on a series circuit (OFF, when the evaluation result is OK) Deletes a contact on the cursor. (Contacts after the deleted contact will not be brought forward.) Note: This symbol cannot be used on the first row. Used to create an OR circuit. Used to create an OR circuit Deletes the contact on the cursor.
PC Function Kinds of input signals in each measurement program Measurement program Symbol Degree of match M Coordinate X Coordinate Y Deviation x Deviation y Model 0: 0y0 to 7y0 Model 1: 0y1 to 7y1 Angle B 0B to 7B Light level G Number of objects K 00K to 15K Distance D 00D to 15D Lead width W 00W to 15W Lead length / lead width 2 L 00L to 15L Positional deviation measurement Model 0: 00M0 to 07M0 Model 1: 00M1 to 07M1 Model 0: 00X0 to 07X0 Model 1: 00X1 to 07X1 Model 0: 00Y0 t
PC Function Measurement program Kind of input Symbol Number of objects K 0K to 3K 0K to 3K Numerical calculation results N N0 to N15 N0 to N15 Auxiliary relay C Multiple positions measurement Multiple degree of match inspections C000 to C127 Kind of input Symbol Auxiliary H 00H to 15H Distance D 00D to 15D Angle B 00B to 15B Numerical calculation results N N0 to N15 Auxiliary relay C C000 to C127 Distance and angle measurement * * The measurement programs that can use these
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 - Relays for internal calculation (internal - For the final output conditions, relays also used for output in the measurement calculation) processing cycle can be used. C110 Normally OFF - When C111 is ON, C000 to C109 are cleared.
PC Function [2] A list of the "OUTPUT COND" screen displays Shown below are the "OUTPUT COND" screen displays for each program. (1) Positional deviation measurement See page 16-4.
PC Function (6) Object counting by binary conversion OUTPUT COND SCREEN SAVE (7) Object identification by binary conversion F C1 BRT INPUT00-07 CHANGE INPUT 0 1 2 3 4 5 6 7 0 OUT 1 INPUT00 LOGIC INPUT01 LOGIC INPUT02 LOGIC INPUT03 LOGIC INPUT04 LOGIC INPUT05 LOGIC INPUT06 LOGIC INPUT07 LOGIC TOTAL-AREA-A OBJ-K NUM-CAL[NC] AUX.RLY-C SET=SELECT TYPE SEC=BACK SEL=CHNG IMG TRG=FUNC F C1 BRT 2 3 4 5 6 7 OUT TOTAL-AREA-A OBJ-K OBJECT-AREA-R NUM-CAL[NC] AUX.
PC Function [3] Procedure for creating the final output conditions in a ladder circuit This section describes the ladder circuit creation procedures for each object type number. (1) How to display the final output conditions setting screen 1. Select an object type from 00 to 15 on the SELECT OBJECT TYPE COND menu tree and then move the cursor to "FINAL OBJECT TYPE COND OUTPUT COND." Press the SET key.
PC Function (2) How to specify the input conditions for ladder circuit diagrams 1. While "CHANGE INPUT" is selected, each OUTPUT COND SCREEN SAVE press of the SET key will change the display in INPUT00-07 Column No. 0 to 7 CHANGE INPUT the leftmost row. The display will cycle through 0 1 2 3 4 5 the following choices: "INPUT00 to INPUT07," 00M0 INPUT00 "INPUT08 to INPUT15," "INPUT16 to LOGIC INPUT01 INPUT23," and "INPUT24 to INPUT31." When LOGIC the input group you want is displayed, press AUX.
PC Function (3) How to specify the output conditions for ladder circuit diagrams Move the cursor to "OUT" and press the SET key. Select a target for the output signals from the popup menu. Detail of the registration table that will appear varies, depending on the target selected for output. When "AUX.
PC Function Kind of output signal External output instructions Data memory No. Function Y0 to Y7 Y8 to Y15 Output to the parallel I/F, general purpose serial I/F and computer link. Output to the general purpose serial I/F or computer link A timer terminal will be turned ON for a set amount of time (set value 000 to 999, unit 10 ms) after the timer instruction is input. (Decrementing type) When the timer instruction input is turned OFF, the timer terminal will be turned OFF. [Ex.
PC Function (4) Creating a ladder circuit is complete Create a ladder circuit for the page numbers registered in step (1), repeating the operations in steps (2) and (3). 0 INPUT0 LOGIC INPUT1 LOGIC INPUT2 LOGIC INPUT3 LOGIC Note: 1 2 3 4 5 6 7 C000 C001 OUT Y00 X0 C001 X1 TM0 0150 TM0 Y01 Output relays cannot be used in series on a ladder circuit. Change circuit a to circuit b.
PC Function 16-4 Program examples (shape and positional deviation inspection) (1) 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.
PC Function 16-5 Examples of a final output conditions ladder circuit (1) Circuit for keeping the external output ON until the next external trigger is received Y00 C000 C119 NG output Measurement termination OK External trigger input READY External output (Y00) (2) Circuit for controlling the ON time of the external output using the timer TM0 0010 C119 Measurement termination C119 C000 10ms×10=100ms Y00 TM0 NG output OK External trigger input READY 100ms External output (Y00) (3) An exam
PC Function 16-6 PC monitor screen Move the cursor to "SCREEN-CHG" on the operation screen and press the SET key. A popup menu will appear and you can select "PC-MNTR" or "PC-MNTR 2", and press the SET key. Then the PC monitor screen will be displayed. However, before you can display this screen, you have to set "YES" on the " PC-MNTR" on the "TYPE RUN COND" menu. See page 2-11. (TYPE00) OK 1 2 3 4 5 6 The ON ( ) or OFF ( ) status of the input relays (X00 to X07) is displayed.
Setting the Input/Output Conditions Chapter 17: Setting the Input/Output Conditions 17-1 Outline This section describes the input and output settings on the IV-S30 when connecting it for communication with other equipment (a personal computer or a programmable controller). How to display the "I/O CONDITIONS" setting screen To display the "I/O CONDITIONS" screen, select "MAIN COND" -> "SYS-CND" -> "I/O CONDITIONS," in that order. F C1 BRT SELECT SYSTEM COND SYS-CND I/O CONDITIONS COMM.
Setting the Input/Output Conditions OUT I/F(PARAL.) Select a signal output interface, in order to output the measured results externally. The choices are: "NO," "PC-LINK" or "SERIAL." NO No connection. (No output.) PC-LINK Connect to the parallel input on a programmable controller. SERIAL Connect to a standard serial port. MANL TYPE CHNG The object type can be changed manually using the remote keypad on the operation screen.
Setting the Input/Output Conditions PARALLEL INP X7 Select the type of input terminal (INPUT) X7. Input/output condition EXT-INP CHNG-IMG-OUT-CAM CAM-MEAS Setting details The PC function uses the terminal as an external input signal. - See Chapter 16. - Every time X7 is switched from OFF to ON, the selected camera will change. - page 2-4. - When the object type measurement condition is "CAMERA 1" only. "CAMERA 2" only, or "NG IMAGE" only, you are not allowed to change the camera used for output.
Setting the Input/Output Conditions When you want to select the "TRIG CCD START" on the "MEAS INP I/F" line. will depend on the selections made on The display details and items offered for selection on line the " START CCD SAMPL" line.
Setting the Input/Output Conditions 17-2 Measurement start input and result output settings The combinations of various settings for item " MEAS INP I/F," item " START CCD SAMPL," and item " ( )OUT I/F (PARAL.)" on the "I/O CONDITIONS" screen (page 17-1 to 4) are explained below.
Setting the Input/Output Conditions (1) Measurement start input = parallel, object type change = parallel, result output = parallel ■ Setting order 1 (→ 2) ■ Configuration example Camera 1 (image capturing) [I/O CONDITIONS] PARALLEL+SERIAL+USB 1MEAS INP I/F TRIG CCD START 2OUT I/F(PARAL.
Setting the Input/Output Conditions (2) Measurement start input = parallel, object type change = parallel, result output = computer Iink/parallel ■ Configuration example ■ Setting order 1 (→ 2) [I/O CONDITIONS] PARALLEL+SERIAL+USB 1MEAS INP I/F TRIG CCD START 2OUT I/F(PARAL.) Camera 1 (image capturing) Camera 2 (image capturing) NO PC-LINK SERIAL Remote keypad Monitor Data (Computer link) Controller Programmable controller Power supply (24 VDC) Object type change (parallel IF) -See page 17-5.
Setting the Input/Output Conditions (3) Measurement start input = parallel, object type change = parallel, result output = general purpose serial/parallel ■ Setting order 1 (→ 2) ■ Configuration example [I/O CONDITIONS] PARALLEL+SERIAL+USB 1MEAS INP I/F TRIG CCD START 2OUT I/F(PARAL.
Setting the Input/Output Conditions (4) Measurement start input = general-purpose serial, object type change = general-purpose serial, result output = general-purpose serial/parallel ■ Setting order ■ Configuration example [I/O CONDITIONS] PARALLEL+SERIAL+USB 1MEAS INP I/F TRIG CCD START Camera 1 (image capturing) Camera 2 (image capturing) Personal computer Command, response Monitor Remote key pad Controller Power supply (24 VDC) - See Chapter 18: Communications (General Purpose Serial Interface for d
Setting the Input/Output Conditions (5) Measurement start input = CCD trigger, start sampling = parallel, object type change = parallel, result output = parallel ■ Setting order 1 → 2 (→ 3) 1MEAS INP I/F ■ Configuration example Camera 1 (image capturing + CCD trigger) PARALLEL+SERIAL+USB TRIG CCD START 2START CCD SAMPL Camera 2 (image capturing) AUTO(EDGE) AUTO(LEVEL) PARALLEL SERIAL+USB Monitor Remote keypad Controller 3OUT I/F(PARAL.
Setting the Input/Output Conditions (6) Measurement start input = CCD trigger, start sampling = parallel, object type change = parallel, result output = computer link/parallel When the start sampling input (X0) is turned ON, the CCD trigger is enabled.
Setting the Input/Output Conditions (7) Measurement start input = CCD trigger, start sampling = parallel, object type change = parallel, result output = general purpose serial/parallel When the start sampling input (X0) is turned ON, the CCD trigger is enabled.
Setting the Input/Output Conditions (8) Measurement start input = CCD trigger, start sampling, object type change = general purpose serial, result output = general purpose serial/parallel The CCD trigger is enabled after a measurement execution command is entered.
Setting the Input/Output Conditions (9) Measurement start input = CCD trigger, start sampling = auto, object type change, result output = parallel ■ Setting order 1 → 2 (→ 3) 1MEAS INP I/F ■ Configuration example PARALLEL+SERIAL+USB TRIG CCD START Camera 1 (image capturing + CCD trigger) Monitor Camera 2 (image capturing) 2START CCD SAMPL Select one of these.
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 Type selection input See page 17-5.
Setting the Input/Output Conditions (10) Measurement start input = CCD trigger, start sampling = auto, object type change = general purpose serial, result output = general purpose serial/parallel The general purpose serial command (code 55(H)) is used to change the object type. ■ Setting order 1 → 2 (→ 3) 1MEAS INP I/F ■ Configuration example Camera 1 (image capturing + CCD trigger) PARALLEL+SERIAL+USB TRIG CCD START Camera 2 (image capturing) 2START CCD SAMPL Select one of these.
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 Serial When a trigger signal is input during sending object type change command, this command will be invalid.
Setting the Input/Output Conditions 17-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.
Setting the Input/Output Conditions Setting methods TRIG CCD START Select a triggering method for the CCD camera used to capture images. The choices are: "BIN," "AVG-GRAYS," "GRAY-SRC," and "EDGE DTECT." For details, see page 17-18. Then the " CCD TRIG COND" line will appear. OBJ-TYPE I/O SCREEN SAVE 1TRIG CCD START 2CCD TRIG COND 3SHUTTER SPEED 4SERIAL OUTPUT F C1 BRT NO BIN AVG-GRAYS GRAY-SRC EDGE DTECT 5CAM NO 6CALIBRATION CCD TRIG COND Select the trigger conditions from the sub menu on this line.
Setting the Input/Output Conditions THRESHOLD VAL Specify the threshold value for binary conversion. Select this line and press the SET key. The "THRESHOLD VAL" setting screen will appear. For details, see pages 3-11 and 3-28. THRESHOLD VAL 1CRD-Y 2EDGE.W 3FLAT.W AUTO-REG 050 2 04 RESET F C1 BRT (0∼255) (1∼8) (1∼16) INVERT B/W NO Do not reverse black and white areas. YES The area detected by binary conversion will be displayed as white.
Setting the Input/Output Conditions 17-4 Setting for serial communications When "PARALLEL+SERIAL+USB" (general purpose serial) has been specified in item " MEAS INP I/F" on the "I/O CONDITIONS" menu (page 17-1), and when "SERIAL" or "PC-LINK" has been specified in item " OUT I/F (PARAL.)" the serial communication conditions must be set on the "COMM.SET" screen. Set the items to match the communication conditions of the other device. Select "MAIN COND" -> "SYS-CND" -> "COMM.SET," in that order.
Setting the Input/Output Conditions 17-5 Computer link When "PC-LINK" has been specified in item " OUT I/F (PARAL.)" on the "I/O CONDITIONS" screen (page 17-1), the computer link conditions must be set on the "COMPUTER LINK" screen. How to display the computer link setting screen How to display the computer link setting screen Select "MAIN COND" -> "SYS-CND" -> "COMPUTER LINK," in that order. The COMPUTER LINK screen will appear. How to set up a computer link PC MANUFACTURER, STATION NO.
Setting the Input/Output Conditions 17-6 Output block assignment (Computer link output and general purpose serial output) When measurement is controlled by a computer link or a communication interface (general purpose serial IF: * 1), in addition to other block 0, blocks can be specified whose measurement data will be output from the IV-S30 to a programmable controller or a personal computer.
Setting the Input/Output Conditions Y0 Y1 … Measurement 4 (H) (L) Measurement 0 Y15 Camera 1 Camera 2 Measurement 3 1 1 RC RC Measurement 2 : Object Output evaluation type results Measurement 1 (2) When the measurement is started by a CCD trigger or a parallel I/F signal and the results are output by a general purpose serial I/F signal When the IV-S30 responds, data in a specified block is output after the output data (block 0) from the measurement No.
Setting the Input/Output Conditions 3. The " SET SERIAL BLOCK" line will appear. Select this line and press the SET key. Enter the block No., measurement No. and camera No. of the measurement data to be output, using the left, right, up and down keys. - Specify a block number to be returned in addition to block 0 (00). If block 00 is specified, data from block 00 will not be returned a second time. After the settings are complete, press the SET key.
Setting the Input/Output Conditions 17-7 Setting the data output When you communicate with the IV-S30 using a computer link or a serial communication interface (general purpose serial IF) in the following conditions, perform steps (1) and (2) below to enable serial output. - Computer link: When outputting any data - Pages 19-3 and 19-4. - Communication interface (general purpose serial IF): When executing a measurement run command 4 (processing code 14(H)) - Pages 18-8 and 18-10.
Setting the Input/Output Conditions [2] Select "YES" or "NO" for output data Select "YES" or "NO" on the following menu screens that are displayed as "locked" screens to output serial data. See the next page for instructions about how to lock the screen. On any condition setting screen, press the TRG/BRT key and the cursor will move to the upper function menu. Select "SCREEN" and press the SET key. A popup menu will appear. Select "SERIAL OUTPUT" and press the SET key. - The "NUMERIC CALC" or "FINAL NUM.
Setting the Input/Output Conditions 17-8 Calibrating the IV-S30 The IV-S30 calibration can be adjusted, e.g. "1 pixel = 1 mm", and the data can be displayed as actual dimensions. How to display the CALIBRATION setting screen 1) Select "MAIN COND" and then "OBJECT TYPE COND." MAIN MENU F C1 BRT IVS3*MX SYS-CND OBJECT TYPE COND SET WIZARD EDIT MAIN OPS MENU OPTION 2) On the "OBJECT TYPE COND" screen, move the cursor to any "TYPExx" that you want to calibrate, and press the SET key.
Setting the Input/Output Conditions 2. While the cursor is on the " CROSS CURSOR" line on the CROSS CURSOR screen, press the SET key. Move the crosshair cursor to the tick marks on the ruler using the up/down/left/right arrow keys and set coordinate 1. CLOSS CURSOR RESET RETURN 1CLOSS CURSOR 40 30 F C1 BRT (256.240) 20 10 X:256 Y:200 3. Then move the cursor on the CROSS CURSOR screen to the " CUSOR2COORD" line and set coordinate 2 using the same procedure.
Setting the Input/Output Conditions Setting the register conditions for edge detection SEARCH AREA Select " SEARCH AREA (MDL0)" and press the SET key to go to the setting screen. DTECT MODE Select an image processing method for the edges. SEARCH DIR Specify a search direction. For details, see page 3-15. THRESHOLD Specify a threshold value for binary conversion. For details, see page 3-15.
Setting the Input/Output Conditions 6) Using the CBP value that was set in the calibration function, you can execute numeric calculations. 1. Press the ESC key twice to show the menu tree. Select the "NUM-CALC" line for the same object type and measurement number, and press the SET key. 2. Relay numbers N00 to N07 are displayed on the first screen. To display relay numbers N08 to N15, press the SET key while the cursor is on the "CHG-CALC" item.
Setting the Input/Output Conditions 4. Next, move the cursor to the "FORMULA" column and press the SET key. Another popup menu will appear allowing you to select the type of formula you want to use for calculations. In this case, select "CBP." NUMERIC CALC SCREEN COND SAVE 【N00-N07】 CHG-CALC 1RUN A TEST (SET KEY) TYPE N00 N01 N12 N03 F C1 BRT FORMULA OBJECT TYPE CALC RESULT CNST SUM AVG CBP CBM DEL N04 N05 N06 N07 SET=SELECT TYPE ESC=BACK SEL=CHNG IMG TRG=FUNC 5.
Communication (General Purpose Serial Interface) Chapter 18: Communication (General Purpose Serial Interface) The IV-S30 can communicate with a personal computer that transmits commands and receives responses to measurement execution commands. 18-1 List of processing functions The following functions can be used for communication between the IV-S30 and a personal computer (using the general-purpose serial interface).
Communication (General Purpose Serial Interface) The conditions below are what is shown when the "TRIG CCD START" is selected on the " INP I/F" on the "I/O CONDITIONS” selection screen.
Communication (General Purpose Serial Interface) 18-2 Data flow The data flow between the IV-S30 and a personal computer is shown below. [1] Measurement execution 1: Command codes 10, 11, or 12 æ Select the measurement start input source = general purpose serial and parallel port Measuring (for each object type) IV-S30 1 Receiving a command Personal computer 2 Transmitting a response (measurement data, etc.
Communication (General Purpose Serial Interface) [3] Measurement execution 3: Command 14 æ Select measurement start input source = general purpose serial and parallel port [Procedure] (1) Send packet number 0 → After measuring, send back the measurement code for the first register and any specified data. (2) Send the other packets, starting from number 1→ - Send back the measurement code for the next register and any specified data.
Communication (General Purpose Serial Interface) 18-3 Communication format The communication formats of the commands and responses between the IV-S30 and a personal computer are outlined below. Command Station * * * * ............... * * SC SC CR Header : No. H L Terminator *2 *1 Processing Station code No. *2 *4 Text Checksum code Station Response Header : No. * * RC RC * * ............... * * SC SC CR H L *3 *1 Station No.
Communication (General Purpose Serial Interface) [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 lower 4 bits. The hex character (0 to F) is converted to the ASCII code for that character and sent as one byte. Thus the checksum code consists of two bytes. Ex.
Communication (General Purpose Serial Interface) 18-4 Processing functions [1] Measurement execution functions (1) Measurement execution function 1: code 10(H) This command will cause the IV-S30 to execute all of the measurement programs for a specified object type. (You can specify the camera to use for measurements.) The results in the ladder outputs (Y00 to 15) will be sent back as the response. On page 18-1 you can see how each command affects the various inputs and outputs. : Station No.
Communication (General Purpose Serial Interface) : Station No. 1 2 RC RC (H) (L) Object type Execution camera Execution camera Measurement (3) Measurement execution function 3 : code 12(H) This command will cause the IV-S30 to execute all of the measurement programs for a specified object type. (You can specify the camera to use for measurements.) The results in the ladder outputs (Y00 to 15) and the results from a specified block in a specified measurement will be sent back as the response.
Communication (General Purpose Serial Interface) [2] Result reading Data from the last measurement is read. (No instruction is sent to execute an operation.) For details about the measurement data blocks, see the section "Measurement data blocks" in "Chapter 19: Computer link." (1) Measurement data reading function 1: code 20(H) This command will cause the IV-S30 to read the results of the last measurement. The results in the ladder outputs (Y00 to 15) will be sent back as the response.
Communication (General Purpose Serial Interface) (3) Measurement data reading function 3: code 22(H) This command will cause the IV-S30 to read the results of the last measurement. The results in the ladder outputs (Y00 to 15) and the measurement data in block 0 of each measurement will be sent back as the response. This command is effective regardless of the measurement input specified. : Station No. 2 2 Object type Measurement ■ Command Block SC SC CR (H) (L) : Station No.
Communication (General Purpose Serial Interface) Station : No. 2 8 Execution camera (5) Illuminance level reading: code 28(H) The illuminance level measured by the illuminance monitor function and the evaluation result are read. Ë Command SC SC CR (H) (L) Object Station type No. : 2 8 RC RC (H) (L) Result Ë Response Illuminance SC SC CR 102 101 100 10-1 (H) (L) - Camera No.
Communication (General Purpose Serial Interface) [3] Setting, initialization, and diagnosis of the operation screen Shown below are only the commands and responses of these processing functions. Process function Process code Communication format Ë Command : Read operation screen lock status 50 Station No. 5 0 SC SC CR (H) (L) Ë Response : Station No.
Communication (General Purpose Serial Interface) Process function Process code Communication format Ë Command : 1→Output 0 : Freeze 1 : Through SC SC CR (H) (L) Ë Response : Station No. 5 6 Output 56 5 6 RC RC (H) (L) Brightness Read the image status Station No. 2→Light 0 : Full 1 : Half SC SC CR (H) (L) Set the image status 57 5 7 Output : Station No. Brightness Ë Command 1→Output 0 : Freeze 1 : Through SC SC CR (H) (L) Ë Response : Station No.
Communication (General Purpose Serial Interface) Process function Process code Communication format Ë Command : SC SC CR (H) (L) Min- Sec- SecSec- MinMin- Min- Hour Hour Sec- Day Day Day Hour Month Month Day Month Month Hour Year : Station No. Year Ë Response Year 5C 5 C Year Read the time Station No.
Communication (General Purpose Serial Interface) Process function Process code Communication format Ë Command : Station No. 1 → X coordinate 0X of the 0th detection (000 to IFF(H)) : 0 to 0511 2 → Y coordinate 0Y of the 0th detection (000 to IDF(H)) : 0 to 479 3 → X coordinate 1X of the 1st detection (000 to IFE(H)) : 0 to 511 4 → Y coordinate 1Y of the 1st detection (000 to IDF(H)) : 0 to 479 7 0 SC SC CR (H) (L) Read the manual measurement coordinates 70 Ë Response : Station No.
Communication (General Purpose Serial Interface) [4] Setting numerical data of the any output measuring Numerical data of the any setting of the response at measuring (code 14(H): page 18-8) and reading measurement data 4 (code 24(H): page 18-10) is as follows. 2 4 RC RC (H) (L) Object type Measurement code Station : No. Execution camera [Ex.
Communication (General Purpose Serial Interface) Main axis angle Perimeter Degree of match Coordinate X Coordinate Y Average light level 1(total of light level differences) Average light level 2 Black and white Counting white objects Number of registers Center point X Center point Y 1A 1B 1C 1D 1E 1F 20 21 22 23 24 2 4 2 2 2 25 2 28 29 2A 2B 2C 2D 1 1 2 2 2 2 Point measurement Object identification by binary conversion Object counting by binary conversion Area measurement by binary conversion BG
Computer Link Chapter 19: Computer Link A programmable controller (hereafter referred to as a PC) can be connected to the IV-S30, so that the computer link can be used to have the IV-S30 execute measurements. 19-1 Compatible models The IV-S30 is applicable with the computer links for the following models of Sharp, Mitsubishi, OMRON, and Yokogawa.
Computer Link 19-2 Data flow Specify the CCD-TRIG (camera 1) or the PARALLEL (parallel interface) as the source of the MEAS INP I/F (measurement start input) signal. See Chapter 17 "Setting the Input/Output Conditions." The data flow for a measurement start input (CCD trigger/parallel) signal and an object type change command (parallel) is shown below. Measuring IV-S30 1 Enter measurement start signal. (CCD trigger/parallel) CCD camera or PC 2 Write measurement data. PC 3 Receive a completion response.
Computer Link 19-3 Register setting Use PC register (writing: up to 512 bytes) to provide the IV-S30 with a computer link. Setting item Applicable range of address - Sharp: 09000 to 99776 - Mitsubishi Write register (up to 512 bytes) - OMRON: DM0000 to DM9999 - Yokofawa: D00001 to D16384 See page 17-22. Enter the write start address in item " WRITE TOP ADRS," on the "COMPUTER LINK" screen, under the "SELECT SYSTEM COND" screen.
Computer Link *1 When the termination code is 08(H) (received an error response), the error code is contained in the appended information.
Computer Link 19-4 Measurement data blocks [1] Number of blocks The measurement functions vary in the number of measurement data blocks they use.
Computer Link [2] Contents of the measurement result block (for each measurement function) (1) Positional deviation measurement Block 0 No. of Decimal point (digit) bytes X 2 1 1st point None (center coordinates) Y 2 1 None Registration 2nd point X 2 1 None No. 0 (center coordinates) Y 2 1 None * 2 1 Angular deviation Provided Registration The registration No. 1 to 7 contain the same data as the No. 1 to 7 registration No. 0.
Computer Link (2) Degree of match inspection Block 0 Item Degree of 1st point Registration match No. 0 (positioning) 2nd point Sign (+/-) No. of bytes Decimal point (digit) Provided 2 None Provided 2 None Registration Registration No. 1 to 15 contain the same data as the registration No. 1 to 15 No. 0. Block Item Sign (+/-) 1st X point Y 1 Registration Coordinate X 2nd No. 0 point Y Average 1st point light level 2nd point No.
Computer Link (4) BGA/CSP inspection Block 0 Item No. of bytes Decimal point (digit) None None 2 None Registration No. of labels No. 0 None Total area 4 Registration Registration No. 1 to 3 contain the same data as No. 1 to 3 the registration No. 0. Block 1 Sign (+/-) No. of Decimal Sign (+/-) bytes point (digit) Item Area of each label Distance between gravity centers X Distance Registration between gravity No.
Computer Link (7) Object identification by binary conversion Block 0 10 11 12 13 20 21 22 23 30 31 32 33 40 41 42 43 Sign No. of Decimal (+/0) bytes point (digit) No. of labels None 2 None Registration No. 0 Total area None 4 None Registration No. 1 to 3 contain the same data as the Registration registration No. 1 to 3 No. 0.
Computer Link Block Sign (+/0) Item 60 Registration No. 0 label unit area 61 62 63 Registration No. 1 label unit area Registration No. 2 label unit area Registration No. 3 label unit area Label 0 to Label 127 Label 0 to 127 Label 0 to 127 Label 0 to 127 Label 0 64 Registration No. 0 gravity center 68 69 70 71 72 73 74 75 76 77 78 79 80 81 Registration No. 1 gravity center Registration No. 2 gravity center Registration No. 3 gravity center Registration No. 0 spindle angle Registration No.
Computer Link Block Item Area of each label X coordinate of gravity center Y coordinate of gravity center 82 Registration No. 0 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 Registration No. 1 Registration No. 2 Registration No.
Computer Link (8) Point measurement 1. In the binary mode Block Registration No. 0 to 15 Registration No. 16 to 31 0 1 Sign (+/0) Item Black and white information Black and white information 0 = black 1 = white 0 = black 1 = white : : Registration No. 240 to 255 Black and white 0 = black information 1 = white Registration No. 0 to 7 Evaluation information Black and white information Registration No.
Computer Link 2. In the average light level mode Block 0 1 2 3 4 Item Data code Sign (+/0) No. of Decimal bytes point (digit) Registration Average densigy 20 None 2 None No. 0 Registration Registration No. 1 to 31 contain the same data as No. 1 to 31 registration No. 0. Registration Average densigy 20 None 2 None No. 32 Registration Registration No. 33 to 63 contain the same data as No. 33 to 63 registration No. 0. Registration Average densigy 20 None 2 None No. 64 Registration Registration No.
Computer Link (9) Multiple position measurement Block 0 Block 1 2 3 4 Sign (+/0) Item Decimal point (digit) No. of bytes Registration Number of objects detected None 2 No. 0 Registration Registration No. 1 to 3 contain the same data as No.1 to 3 registration No. 0. Sign (+/0) Item No. of bytes None Decimal point (digit) Degree 2 None of match None Coodin- None Detection 0 2 None ate X Registration Coodin- None 2 None No.
Computer Link (11) Distance and angle measurement Block Measurement 0 Camera1 58 Data No. of Decimal code Sign (+/0) bytes point (digit) 30 Provided 2 1 31 Provided 2 1 Item Measurement 0 Camera 2 Measurement 1 Measurement 2 Measurement 3 Measurement 4 Registration No. 0 Registration No. 1 to 15 Registration No. 0 to 15 Registration No. 0 to 15 Registration No. 0 to 15 Registration No. 0 to 15 Registration No.
Computer Link (12) Numerical calculation Block Data No. of Decimal code Sign (+/0) bytes point (digit) Item Registration Calculation 40 Provided 4 2 No. 0 result Measurement 0 Camera1 Registration Registration No. 1 to 15 contain the same data as No. 1 to 15 registration No. 0. Registration Calculation 41 Provided 4 2 No. 0 result Measurement 0 Camera 2 Registration Registration No. 1 to 15 contain the same data as No. 1 to 15 registration No. 0. Registration Calculation 42 Provided 4 2 No.
Computer Link 19-5 Specifications for any output data When the serial output is set to "ANY" (page 17-26), the measurement results for the output data that is set to "YES" (page 17-26) will be written into the write register map "output data from measurements 0 to 4 (block 0): *6 on page 19-3," in output-code order.
Computer Link Codes and number of bytes of output data 1.
Computer Link Multiple degree of match inspections Point measurement Object identification by binary conversion Object counting by binary conversion 1 1 2 2 2 2 Area measurement by binary conversion 28 29 2A 2B 2C 2D BGA/SP inspection 2 Lead inspection 25 Degree of match inspection 2 4 2 2 2 Positional deviation measurement 20 21 22 23 24 Multiple positions measurement Main axis angle Perimeter Degree of match Coordinate X Coordinate Y Average light level 1 (total of light level differences
Computer Link 19-6 Interface The interface between the IV-S30 and a programmable controller from each manufacturer is described below. Programmable controller IV-S30 Settings for the IV-S30 See item [1] below. Sharp [2] Mitsubishi [3] OMRON [4] Yokogawa [1] Setting items for the IV-S30 Item Setting details Communication speed(k bit/sec) 115.2, 57.6, 38.4, 19.2, 9.6, 4.8, 2.4 Data length (bit) 7, 8 Parity None, odd, even Stop bit 1, 2 Error check Checksum Station No.
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/33CUH JW-32CUH1/33CUH1/33CUH2/33CUH3 JW-1324K/1342K/1424K/1442K/1624K/1642K Z-311J/312J JW-21CM, JW-10CM Z-331J/332J 2. Basic module: 3. CPU board: 4. Link module: 5.
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 (00(H)) Set to 00(H). 7 6 5 4 3 2 1 0 #236 Set bits D0 to D5 in memory address #236.
Computer Link 2. When the MMI port is used Store the communication conditions in system memory addresses #226 and #227. Set bits D0 to D5 in memory address #226. Use of the MMI port ensures a one-to-one connection between the IV-S30 and the JW10. 7 6 5 4 3 2 1 0 #226 D7 Data D5 Stop D4 D3 Parity D2 D1 D0 Transmission speed (k bit/sec) 0 7 bits 0 1 bit 0 0 None 0 0 1 1 8 bits 1 2 bits 0 1 Odd 0 0 0 1 0 Even 1 1 1 1 1 Invalid Station No. #227 9.6 19.2 38.
Computer Link (3) Connections When a JW-22CU or JW-70CUH/100CUH is used 1. Communication through the RS-232C port Communication connector on the IV-S30 (RS232C/RS422) Pin No. Connector shield 3 2 5 JW-22CU JW-70CUH/100CUH (Communication port) Signal name Pin No. Signal name FG SD RD SG 1 3 2 7 12 14 FG RD SD SG Short-circuit terminal 15 m or less RS-232C 2.
Computer Link When a JW-1324K/1342K/1424K/1442K/1624K/1642K is used The IV-S30 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. 1. When the communication port is used JW-1324K/1342K/1424K /1442K/1624K/1642K (Communication port) Communication connector on the IV-S30 (RS232C/RS422) Pin No.
Computer Link When a JW-21CM or JW-10CM is used - Communication through the RS-422 port (4-wire system) JW-21CM JW-10CM Communication connector on the IV-S30 (RS232C/RS422) Pin No. Signal name Signal name 4 7 8 9 TA TB RA RB FG L3 L4 L1 L2 SHIELD GND Connector shield Ground Shielded, twisted-pair cable 1 km or less RS-422 (4-wire system) When a Z-331J/332J is used - Communication through the RS-422 port (2-wire system) Communication connector on the IV-S30 (RS232C/RS422) Pin No.
Computer Link [3] Connection with a Mitsubishi PC Applicable models A series computer link modules 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. 2. A1SJ71C24(A1S) When the A1SJ71C24-R2 is used, the station number is fixed at 00 because it does not have a station number switch. 3.
Computer Link Example using an A1SJ71UC24-R4 module Switch setting Ex.: To set as below: Mode: RS-422, Transmission speed: 19.2 K bytes/sec. Parity: Even, Stop bit: 2 bits SW ON OFF 01 02 03 04 05 06 07 08 09 10 11 12 STATION No. 6 5 4 6 5 4 7 8 3 2 7 8 3 2 AB 9 8 7 65 9 0 ×10 1 9 0 ×1 1 CD E F 0 1 2 43 MODE (2) Using memory To allow the memory to be used by the IV-S30, use a result write start address within the following range.
Computer Link (3) Connections Shown below are the connections with a calculator link module. Example of RS-232C connection Calculator link module Communication connector on the IV-S30 (RS232C/RS422) In case of 25 In case of 9 pins connector pins connector Shielded cable Signal name Pin No. Signal name Connector shield FG FG 1 2 RD 2 3 SD 3 SD 3 2 RD 4 7 RS 5 8 CS 20 4 DTR 6 6 DSR 7 5 SG 5 Pin No. SG Pin No.
Computer Link [4] Connection with an OMRON PC Applicable models Host link modules 1. C500-LK203 (C1000H) 2. C200-LK201 (C200H RS-232C) 3. C200-LK202 (C200H RS-422) 4. CV CPU link port (CV1000, CVM1) 5. CV500-LK201 (CV1000, CVM1) 6. CSIW-SCU21 Remarks - Start the OMRON PC in the monitor mode when turning ON the power. If the OMRON PC is started in any other mode, a computer link error will occur.
Computer Link (2) Using memory To allow the memory to be used by the IV-S30, enter a result write start address within the following setting range. Memory Range (address) D (data register) 0 to 9999 Note: The IV-S30 uses [DM area write] command of C mode command. Concerning the limitation of address settings, see OMRON's PC manual.
Computer Link 19-7 Program examples An example of measurements using the IV-S30 and a Sharp PC (JW70H) (2-point search for positional deviation measurement) is explained below, using data flow, a flowchart and a timing chart.
Computer Link (2) Flow chart Power ON 15 second interval N Y Camera starts operation (00040 = ON) N Y Starting the time-out detection timer Time-out Y N Y * Transferring the result output (Y0 to Y15) from registers 09004 and 09005 to addresses ]0412 and ]0413 Turning ON relay 00010 Normal termination N Error occurs.
Computer Link (3) Program 07377 TMR 000 1 0050 00000 00040 00007 T000 00000 F-044 04100 00006 [ 00007 00007 04100 04101 F-008 OCT 377 TMR 001 0030 5 04107 Fc012 CMP 09000 04100 Fc012 CMP 09000 04100 04101 F-000w XFER 09004 10 11 ]0412 00010 04100 00040 8 9 377 07356 6 7 000 07357 07354 07357 3 4 09000 T001 00007 2 12 00010 00011 04120 00040 13 00011 00012 04121 00040 14 00012 00013 04101 00041 15 04107 00013 00006 04101 00041 16 04107 19 19-34
Computer Link Explanation of the program The numbers 1 to 16 below correspond to the same numbers on the preceding page. 1. Turn on the power, and wait for 5 sec. (07377 is kept ON for only 1 scan after the power is turned ON.) 2. The camera is started. (00040 enters a measurement trigger.) 3. The trigger input (00007) is self-latched when the operation start has begin (00000 = ON). 4. The termination code of the write register is cleared. 5.
Troubleshooting Chapter 20: Troubleshooting Item [1] shows problems which may occur when the IV-S30 measurement system is started. If any error (the termination code is not 00(H)) occurs during image processing on the IV-S30, take the steps described in item [2]. Perform the recommended daily inspection following the maintenance procedures listed in item [3]. [1] Symptoms and checks The following symptoms may not be malfunctions. Before asking us to repair your equipment, check the recommended parts.
Troubleshooting Phenomenon Checks 1. Make sure that the communication cable has been correctly connected. 2. Make sure that the communication cable route does not run near electrically noisy devices. 3. Make sure that each terminal of the camera cables is properly connected. Communications through a computer link cannot be established. 4. Make sure that the communication conditions (standard, speed, and parity check) in the personal computer conform to those of the IV-S30. 5.
Troubleshooting [2] Causes of termination codes (when an error occurs) and remedies Processing errors Hardware errors Computer link errors Communication errors When an abnormal termination code (other than 00(H)) is received, take the following measures. Termination Cause Remedy code (H) 01 The specified processing code does not exist. Check the processing code. The wrong number of data items was 02 specified Check the number of data items in the text. in the text.
Troubleshooting Termination code (H) 29 2A 2B 2C 2D 2E 2F 30 31 32 33 34 35 36 37 Processing errors 38 39 3A 3B 3C 3D 3E 3F 40 41 42 43 44 45 46 47 20 48 49 Cause Remedy Overflow (numerical calculation) No numerical calculation setting No label (camera adjustment) The search area is smaller than the reference image.
Troubleshooting Communication errors Processing errors Termination code Cause Remedy (H) 4A No output data Object type conditions not set yet (numerical 4B calculation) Number of objects detected or number of labels is too 4C small (numerical calculation) 4D Image capture mode does not match. Cannot make two corrections in one step (same register 4E number) 4F Serial trigger disabled 50 The object type cannot be changed.
Troubleshooting [3] Maintenance Check the equipment for the following items. (1) Operation check - Change the measurement number on the MAIN OPS MENU, and change the monitor screen to the freeze or through mode. Then, make sure that the image is normally displayed. (2) Checks - Check the illumination from the lighting equipment. - Make sure that the monitor screen is in focus and that the aperture setting is proper.
Alphabetical Index [A] Absolute value of the differences ..................................................................................................... 3-21 ALL-INIT (total initialization) ............................................................................................................. 2-22 AND (evaluation) .............................................................................................................................. 11-5 Angle detection (DTECT ANGL) .......................
Configuration of Set Wizard ................................................................................................................ 1-6 Configuration of the setting conditions ............................................................................................... 1-5 Connection with a Mitsubishi PC .................................................................................................... 19-27 Connection with a Sharp PC .............................................................
[F] Final numerical calculations ............................................................................................................. 15-9 Final output conditions .................................................................................................................... 16-11 Flow chart ....................................................................................................................................... 19-33 Full ...........................................................
[M] MAIN OPS MENU ............................................................................................................................ 1-15 Maintenance ..................................................................................................................................... 20-6 MANL-MEAS (manual measurement) ..................................................................................... 1-12, 2-13 Manually setting the object type ....................................................
Point measurements ............................................................................................................... 11-8, 15-7 Positional deviation measurement .......................................................................................... 4-10, 15-2 Numerical calculation conditions ...................................................................................................... 15-1 Numerical calculations (setting examples) ....................................................
[P] Parallel input X6 ............................................................................................................................... 17-2 Parallel input X7 ............................................................................................................................... 17-3 Parity check .................................................................................................................................... 17-21 Pattern display ......................................
Set serial block ............................................................................................................................... 17-25 Set wizard ........................................................................................................................................... 1-2 Setting (operating) procedure ......................................................................................................... 17-24 Setting and Operating Outline ..................................
[V] Variation difference ........................................................................................................................... 3-13 Variation rate .................................................................................................................................... 3-13 Vertical edge ..................................................................................................................................... 3-24 Vertical line ......................................