background image

1-22

Setting and Operating Outline

1

1-9 Table of controller functions

Shown below are the functions for the controller (IV-S30J).
- For details about the controller hardware (cameras, peripheral devices), see the "IV-S30J User's

Manual, Instruction and Hardware."

* The gray search time is true when the search area is 256 x 256 pixels, the model size is 64 x 64

pixels, and the contraction function is set to 3.

Image pre-processing

Measurement program

Item

Specifications

IV-S30J

Image sampling system

256 level gray scale, binary conversion, edge detection

Image memory

One screen for displaying captured images. One monochrome screen for
displaying camera information and messages

No. of assignable object type 16 object types

Maximum number of reference
images stored / number of

whole screens stored

200 / 2 screens

Image scan time

33.3 ms

Gray search time *

15 ms

Gray search, edge detection

precision

Pixel, sub-pixel

Shading correction

Dividing, subtracting, and filtering

Comparative calculation

between images

Subtracting, absolute value of difference (between camera 1 and reference
image, between camera 2 and reference image, between camera 1 and
camera 2)

Gray level changes

Magnification by "n" processing,

γ

(+/-) correction, histogram widening,

mid-range emphasis

Space filter

Smoothing (center/average), edge emphasis, edge extraction, horizontal
edge, vertical edge

Binary threshold value

Fixed and threshold value corrections (variation difference/variation rate)

Binary noise elimination

Expansion

-

contraction, contraction

-

expansion, area filter

Binary image mask

Specified window( rectangle, circle, oval), any binary image mask

Positional correction method X/Y correction, rotation correction

Positional deviation

measurement

XY coordinate, deviation amount in X and Y axes, degree of match (1-point
search, 2-point search, 1-point edge, 2-point edge, 1-point search and 1-

point edge)

Angle: ±15˚ ,±30˚ ,±45˚ , 360˚

(1-point search, 1-point  1-point

edge)

[Maximum 8 windows x 2 models]

Degree of match

inspection

Degree of match, XY coordinate, density (1-point search, 2-point search)

[Maximum 16 windows x 2 models]

Area measurement by

binary conversion

Area [Maximum 16 windows]

Object counting by

binary conversion

Quantity (maximum 3,000 items per window), total area

[Maximum 4 windows]

Object identification by

binary conversion

Quantity (maximum 128 per window), total area, area of each object
identified, gravity center, main axis angle, fillet diameter, peripheral length,
center point

[Maximum 4 windows]

Point measurement

Number in binary image (maximum 256 points), average density (maximum
128 points)

Lead inspection

Number of leads, distance between leads (max., min.), lead width (max.,
min.), lead length (max., min.)

[Maximum 16 windows]

Multiple position

inspection

Number of objects (max. 128), degree of match, XY coordinate (1-point

search, 1-point edge)

[Maximum 4 windows]

Multiple degree of match

inspection

Number of objects (max. 128), degree of match, XY coordinate, density (1-
point search)

[Maximum 4 windows]

Summary of Contents for IV-S30J

Page 1: ...User s Manual Function and Operation Compact image sensor camera IV S30J Version 1 0 Produced in July 2002 ...

Page 2: ... performance specifications Example of operation and instruction Become acquainted with the IV S30J Learn how to install the IV S30J and wire it up When mastering the outline of operation IV S30J User s manual Function and Operation Detailed explanations of all the measurement functions How to make menu selections for each measurement Details of inputting and outputting data and communications wit...

Page 3: ...stence Inspection by Point Measurement Multiple Positional Measurement Multiple Degree of Match Inspection Distance and Angle Measurement Numerical Calculations PC Function Setting the Input Output Conditions Communication General Purpose Serial Interface Computer Link Troubleshooting Alphabetical Index Chapter 1 Chapter 2 Chapter 3 Chapter 4 Chapter 5 Chapter 6 Chapter 7 Chapter 8 Chapter 9 Chapt...

Page 4: ... flow after the measurement start input is turned ON 1 19 1 9 Table of controller functions 1 22 Chapter 2 Setting the Operating and System Conditions 2 1 to 17 2 1 Setting the operating conditions 2 1 1 Monitor output 2 2 2 Image capture 2 4 3 Message display 2 5 4 Pattern display 2 6 5 Binary image display 2 7 6 q angle correction image display 2 8 7 Operation main display 2 9 8 Evaluation chang...

Page 5: ...n 6 1 to 8 6 1 Outline 6 1 6 2 Setting operation 6 2 Chapter 7 Area Measurement by Binary Conversion 7 1 to 9 7 1 Outline 7 1 7 2 Setting operation 7 2 Chapter 8 Object Counting by Binary Conversion 8 1 to 8 8 1 Outline 8 1 8 2 Setting operation 8 2 Chapter 9 Object Identification by Binary Conversion 9 1 to 9 9 1 Outline 9 1 9 2 Setting operation 9 2 Chapter 10 Existence Inspection by Point Measu...

Page 6: ...uit 15 17 15 6 PC monitor screen 15 18 Chapter 16 Setting the Input Output Conditions 16 1 to 32 16 1 Outline 16 1 16 2 Measurement start input and result output settings 16 5 16 3 CCD trigger 16 18 1 Outline 16 18 2 Setting procedure 16 18 16 4 Setting for serial communications 16 21 16 5 Computer link 16 22 16 6 Output block assignment Computer link output and general purpose serial output 16 23...

Page 7: ... 18 5 1 Number of blocks 18 5 2 Contents of the measurement result block for each measurement function 18 6 18 5 Specifications for any output data 18 6 18 6 Interface 18 19 1 Setting items for the IV S30J 18 19 2 Connection with a Sharp PC 18 20 3 Connection with a Mitsubishi PC 18 26 4 Connection with an OMRON PC 18 29 18 7 Program examples 18 31 Chapter 19 Troubleshooting 19 1 to 6 1 Symptoms a...

Page 8: ...ter measuring programs 6 Editing Operation screen 7 Other settings 8 Operation 9 Test inspection 0 Maintenance 4 Environment settings Set IV S30J parameters according to the actual hardware environment Setting the Input Output conditions Communication Computer link Gain offset adjustment Entered using the menu tree Entered using the wizard Self Diagnosis Initialization Chapter 16 Chapter 17 Chapte...

Page 9: ...ting the menu configuration 1 Set wizard The IV S30J 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 The ste...

Page 10: ... menu will be opened When is shown it means that the lower menu level is already open 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 TYPE NEW IVS30J SYS CND OBJECT TYPE COND SET WIZARD EDIT MAIN OPS MENU OPTION OBJECT TYPE COND TYPE00 TY...

Page 11: ...EDIT MAIN OPS MENU OPTION NUM CALC OUT COND TYPE RUN COND IMAGE ADJ MEA CND CAMERA1 MEA CND CAMERA2 FINAL NUM CALC FINAL OUTPUT COND OBJ TYPE I O OBJ TYPE SYS TYPE00 TYPE15 I O CONDITIONS COMM SET COMPUTER LINK GAIN OFFSET 1CHG TYPE 2STANDARD WIZARD 3OPERATION CHART MAIN OPS MENU 1INITIALIZATION 2SELF DIAGNOSIS 1 MEAS0 POSI DEVIATION POSI CORRECT MEAS01 MEAS02 MEAS03 2 MEAS04 IMG PRE PROC MEAS CND...

Page 12: ...ommunication speed data length parity stop bit station number Computer link 18 1 Manufacturer station number top line of the written results Gain offset 2 15 Same for Camera 1 and 2 However Measurement 0 Camera 2 is not available Measurement 0 camera 1 Measurement 0 camera 2 Measurement 1 Measurement 2 Measurement 3 Measurement 4 Image pre processing 3 20 Input and output for each object type Syst...

Page 13: ...TURED ENTER ASHUTTER SPEED 1 30 1 10000 1SHUTTER SPEED 1 00060 RETURN NEXT CORRECT POSITION 1NO 2CAM1 3CAM2 RETURN NEXT STEP3 STEP3 SELECT AN IMAGE PROCESSING METHOD 1GRAY SRC PROCESS 2BINARY PROCESS 1MEAS POSI DEVIAT 2MEAS MULTI POSI 3DETECT DEG MAGCH LE 4MEAS MALTI MATCHES 5INSPECT LEADS 6MEASURE POINT DENSI RETURN NEXT SET WIZARD SCREEN SAVE DEL F C1 BRT SAMPLE 1CHG TYPE 2STANDARD WIZARD 3OPERA...

Page 14: ...E PROCESSING 1NO 2GRAY SRC 3EDGE DTECT 4SCH EDGE 1NUM OF DTECT 1P ENTER A RANGE AND UNITS FOR ROTATION ANGLE DETECTION 1DTECT ANGL NO RETURN NEXT DETAIL 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 NEXT DETAIL 1REGISTER NO 0 0 7 2MEAS SHAPE MDL0 RECTANGLE 3R...

Page 15: ...REMENT RESULTS YES NO 1NO 2YES MEAS 3YES DST AGL RETURN NEXT DETAIL DETAIL STEP8 LADDER CIRCUIT AND RESULT OUTPUT BASED ON MESUREMENT AND CALCULATION RESULTS YES NO 1NO 2YES MEAS 3YES DST AGL RETURN NEXT DETAIL DETAIL STEP8 ADD MEASUREMENT CONDITIONS 1NO 2YES RETURN NEXT STEP8 INPUT00 07 CHANGE INPUT 0 1 2 3 4 5 6 7 OUT INPUT00 LOGIC INPUT02 LOGIC INPUT03 STEP8 USE SETTING DISTANCE ANGLE CONDITION...

Page 16: ...N NO 00 0 7F TYPE RUN COND SCREEN SAVE 1MONITOR OUTPUT CAM1 2CAPTURE IMG PARIAL IMG 3MESSAGE DISPLAY YES NUMERIC 4PATTERN DISPLAY YES 5SHOW BINARY IMG YES 6SHOW FIX IMG YES 7OPS MAIN DISP YES 8DISP CHG EVAL NO 9PC MNTR NO 0THROUCH DISPLAY NO qEXTENSION FUNC NO CHANGE DISPLY CONTENTS OF THE MAIN OPS MENU 1NO 2YES RETURN NEXT DETAIL STEP8 SET LADDER CIRCUIT RESULT OUTPUT BASED ON ALL MEASUREMENT AND...

Page 17: ...cator Press the up or down arrow key to switch between bright and dark 1 Object type number 9 READY output 6 Measuring time 8 I O relay 2 Freeze through screen 3 Camera currently selected 4 Image brightness bright dark 5 Software version 0 Menu display TYPE00 F C1 BRT V MEAS 0000ms X0 6 Y0 7 READY MNU CHG MAIN COND CHG MEA COND CHG CHGN REG SCREEN CHG CHGTYPE MEASURE 0 CAM1 NO 7 Measurement settin...

Page 18: ...ial communication time is not included Set the controller as follows to reduce the measurement time 1 Increase the shutter speed 2 Select the partial image capture feature for the CCD 3 Select NO for the measurement results display message display pattern display and binary image display Only when changing the object type Actual measurement time Time to change object type CCD exposure time Shutter...

Page 19: ...page 15 7 in this manual CHNG REG change registration Change the display of the set of stored details between A00 A07 and A08 A15 using the up and down arrow keys SCREEN CHG change screen Displays the screen change selection list Select a screen using the up and down arrow keys Note The OPS MAIN JDG COND CHG and PC MNTR do not appear on the popup menu unless YES is selected for each corresponding ...

Page 20: ...using the up and down arrow keys and press the SET key 3 Move the cursor to the TYPE NEW item on the OBJECT TYPE COND line and press the SET key 4 Move the cursor to TYPE00 on the SELECT OBJECT TYPE COND line and press the SET key To select TYPE01 and others move the cursor to TYPE NEW and press the SET key 5 Select MEAS0 to 4 MEAS0 is only used for positional deviation measurements on the MEAS CO...

Page 21: ...VE using the up down and left right keys and press the SET key The following message will be displayed on the lower part of the screen DATA SAVE Do you want to save the data YES SET NO ESC 2 Press the SET key The IV S30J will start saving the data and the progress will be displayed on the bottom of the screen When the data has been saved in the IV S30J flash memory the display will change from SAV...

Page 22: ... Follow the procedure described below when turning ON the power to the controller IV S30J and the POWER ON SETTING menu will be displayed on the monitor 1 Turn ON the power to the IV S30J controller while holding down the ESC key 2 Keep pressing the ESC key down for approx 9 sec after turning ON the power and the menu will be displayed Operation procedure 1 On the POWER ON SETTING menu move the cu...

Page 23: ...surement is triggered Direction keys up down left and right SET key ESC key SEL key TRG BRT key 1 2 3 4 5 Select an item with the up down left and right keys The direction keys have an auto repeat function Set each coordinate Setting a window Returning a setting to its original state before be ing changed Returning to the previous menu Determine a highlighted item Use to select the display of obje...

Page 24: ...itions specified for each object type Power ON Data setting CPU variables Gate array Obtaining images capturing specific lines of an image To the next page ESC key Display check sum results Checksum checking Settings for all types completed Initializing CPU gate array Wait to complete the power ON process Transmitting from flash memory to RAM Transmitting from flash memory to RAM Memory check Plac...

Page 25: ...ial Main loop processing From the preceding page Measurement result output processing Executing measurements Communication processing Data received Key input Communication processing Measurement start PC calculation PC calculation Message display Pattern display Crosshair cursor display Receive a measurement start input signal Process key strokes Processing on sub menu Menu configuration See page ...

Page 26: ...rror detected 1 To the next page 2 To the next page Executing measurement 0 using camera 2 Executing measurement 0 using camera 1 Measurement timer start Reading the object type No Image capturing camera 1 2 Measurement program that is selected Positional deviation measurement Capture the scan line range that was specified when setting the measurement conditions 1 The measurement start input is se...

Page 27: ...can be selected Positional deviation measurement Degree of match inspection Lead inspection Area measurement by binary conversion Counting by binary conversion Object identification by binary conversion Point measurement Multiple position measurement Multiple degree of match inspection 1 From the preceding page 2 From the preceding page Yes Yes Yes No No Yes No No Message display PC calculation Di...

Page 28: ... time timer stop Serial output General purpose serial output Computer link output Waiting for a measurement start input signal or a key input From the previous page 3 3 Set the measurement start input to any choice other than parallel or set the READY ON signal to end measurement No Yes READY ON When the halt NG measurement option is set to YES page 3 38 the controller stops measuring when an erro...

Page 29: ...Fixed and threshold value corrections variation difference variation rate Binary noise elimination Expansion contraction contraction expansion area filter Binary image mask Specified window rectangle circle oval any binary image mask Positional correction method X Y correction rotation correction Positional deviation measurement XY coordinate deviation amount in X and Y axes degree of match 1 poin...

Page 30: ...rough freeze change image brightness bright dark Input relays Parallel input 7 points X0 to X6 Output relays Parallel output 8 points Y0 to Y7 General purpose serial interface computer link 16 points Y0 to Y15 Auxiliary relays 128 points C0 to C127 special area 18 points C110 to C127 Timers 8 points TM0 to TM7 timer setting range 0 01 to 9 99 seconds countdown timer Counters 8 points CN0 to CN7 co...

Page 31: ... 11 Through display 2 11 Extension function 2 12 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 SELECT OBJECT TYPE COND F C1 BRT 1MONITOR OUTPUT 2CAPTURE IMG 3MESSAGE DISPLAY 4PATTERN DISPLAY 5SHOW BINARY IMG 6SHOW θFIX IMG 7OPS MAIN DESP 8DESP CHG EVAL 9PC MNTR 0THROUGH DISPLAY qEXTENSION FUNC wDI...

Page 32: ...e popup menu Display examples on the operation screen 1MONITOR OUTPUT CAM1 2CAPTURE IMG PARTIAL IMG 3MESSAGE DISPLAY YES NUMERIC 4PATTERN DISPLAY YES 5SHOW BINARY IMG YES 6SHOW θ FIX IMG YES 7OPS MAIN DISP YES 8DISP CHG EVAL NO 9PC MNTR NO 0THROUGH DISPLAY NO qEXTENSION FUNC NO TYPE RUN COND SCREEN SAVE F C1 BRT SET SELECT A MENU ESC BACK SEL CHNG IMG TRG FUNC CAM1 CAM2 CAM1 2 SERIAL NO 8F053G26 M...

Page 33: ...he SET key 1MEAS INP I F PARALLEL SERIAL 2OUT I F PARAL NO 3MANL TYPE CHNG NO 4PARALLEL INP X5 EXT INP 5PARALLEL INP X6 CHNG IMG OUT CAM 6STROBE OUT NO 7 READY ON CAPTURE COMPLETE I O CONDITION SCREEN COND SAVE F C1 BRT SET SELECT A MENU ESC BACK SEL CHNG IMG TRG FUNC EXT INP CHNG IMG OUT CAM CAM MEAS 2 IMAGES Every time the X6 signal is turned from OFF to ON the selected camera display will be ch...

Page 34: ... 9PC MNTR NO 0THROUGH DISPLAY NO qEXTENSION FUNC NO TYPE RUN COND SCREEN SAVE F C1 BRT PARTIAL IMG WHOLE IMG NO PARTIAL IMG partial image WHOLE IMG whole image NO no image Description CAPTURE IMG No image will be captured during operation Measurements will be carried out with an image being displayed This mode only used to carry out measurements on an image transmitted from a personal computer to ...

Page 35: ... deleted by pressing the SET key When NO is selected The menu bar will be displayed F C1 L V TYPE00 AREA1 OK MEAS XXXXms MEASURE 0 CAM1 POSI DEVIATION X0 6 Y0 7 READY REGST NO 0 0 7 X0 176 0 OK Y0 322 0 OK x0 000 0 OK y0 000 0 OK M0 10000 OK B0 001 7 OK X1 534 0 OK Y1 480 0 OK x1 001 0 OK y1 001 0 OK M1 09999 OK F C1 L V TYPE00 AREA1 OK MEAS XXXXms MEASURE 0 CAM1 POSI DEVIATION X0 6 Y0 7 READY Pre...

Page 36: ...REGST NO 0 0 7 X0 176 0 OK Y0 322 0 OK x0 000 0 OK y0 000 0 OK M0 10000 OK B0 001 7 OK X1 534 0 OK Y1 480 0 OK x1 001 0 OK y1 001 0 OK M1 09999 OK When YES is selected for PATTERN DISPLAY When NO is selected for PATTERN DISPLAY MNU CHG MAIN COND CHG MEA COND CHG CHNG REG SCREEN CHG CHG TYPE MNU CHG MAIN COND CHG MEA COND CHG CHNG REG SCREEN CHG CHG TYPE 1MONITOR OUTPUT CAM1 2CAPTURE IMG PARTIAL IM...

Page 37: ...F C1 L VX X When YES is selected for the 5SHOW BINARY IMG When NO is selected for the 5SHOW BINARY IMG MEAS XXXXms MEASUREMENT1 CNT BIN OBJ MEAS XXXXms MEASUREMENT1 CNT BIN OBJ MNU CHG MAIN COND CHG MEA COND CHG CHNG REG SCREEN CHG CHG TYPE MNU CHG MAIN COND CHG MEA COND CHG CHNG REG SCREEN CHG CHG TYPE 1MONITOR OUTPUT CAM1 2CAPTURE IMG PARTIAL IMG 3MESSAGE DISPLAY YES NUMERIC 4PATTERN DISPLAY YES...

Page 38: ...rection image display mode has been set to NO 1MONITOR OUTPUT CAM1 2CAPTURE IMG PARTIAL IMG 3MESSAGE DISPLAY YES NUMERIC 4PATTERN DISPLAY YES 5SHOW BINARY IMG YES 6SHOW θ FIX IMG YES 7OPS MAIN DISP YES 8DISP CHG EVAL NO 9PC MNTR NO 0THROUGH DISPLAY NO qEXTENSION FUNC NO TYPE RUN COND SCREEN SAVE F C1 BRT SET SELECT A MENU ESC BACK SEL CHNG IMG TRG FUNC YES NO YES NO A θ angle corrected image will ...

Page 39: ...e screen While the OPS MAIN line is highlighted press the SET key The main display will then change back to the operation screen from the other screens e g the JDG COND CHG and PC MNTR screens 1MONITOR OUTPUT CAM1 2CAPTURE IMG PARTIAL IMG 3MESSAGE DISPLAY YES NUMERIC 4PATTERN DISPLAY YES 5SHOW BINARY IMG YES 6SHOW θ FIX IMG YES 7OPS MAIN DISP YES 8DISP CHG EVAL NO 9PC MNTR NO 0THROUGH DISPLAY NO q...

Page 40: ...uation conditions At this time the screen display will look the same as the normal operation main screen except for the area marked evaluation condition change menu shown during operation 1MONITOR OUTPUT CAM1 2CAPTURE IMG PARTIAL IMG 3MESSAGE DISPLAY YES NUMERIC 4PATTERN DISPLAY YES 5SHOW BINARY IMG YES 6SHOW θ FIX IMG YES 7OPS MAIN DISP YES 8DISP CHG EVAL YES 9PC MNTR NO 0THROUGH DISPLAY NO qEXTE...

Page 41: ... NO YES Description THROUGH DISPLAY Measurements can be made on a through image Measurements can be made on a frozen image 1MONITOR OUTPUT CAM1 2CAPTURE IMG PARTIAL IMG 3MESSAGE DISPLAY YES NUMERIC 4PATTERN DISPLAY YES 5SHOW BINARY IMG YES 6SHOW θ FIX IMG YES 7OPS MAIN DISP YES 8DISP CHG EVAL NO 9PC MNTR NO 0THROUGH DISPLAY NO qEXTENSION FUNC NO TYPE RUN COND SCREEN SAVE F C1 BRT SET SELECT A MENU...

Page 42: ...crosshair cursor using the up down left right arrow keys It moves one pixel at a time 5 When the cursor is positioned where you want it press the SET key to confirm the position If you select DISPLAY CURSOR 2 you can display two cursors when you output monitor images from Cameras 1 and 2 NO DISPLAY CURSOR MANL MEAS 1MONITOR OUTPUT CAM1 2CAPTURE IMG PARTIAL IMG 3MESSAGE DISPLAY YES NUMERIC 4PATTERN...

Page 43: ...ht keys They move one pixel at a time The distance between the two points and between the X coordinates and Y coordinates for the two points will change on real time basis 8 After the positions of the points are determined press the SET key 9 When the operation is complete press the ESC key The manual measurement menu items will disappear 1MONITOR OUTPUT CAM1 2CAPTURE IMG PARTIAL IMG 3MESSAGE DISP...

Page 44: ...n the operation screen Note If the 3MANL TYPE CHNG is set to YES the type cannot be changed with an external interface parallel I O or general purpose serial interface YES NO Description MANL TYPE CHNG The type cannot be manually changed on the operation screen MAIN MENU F C1 BRT IVS30J SYS CND OBJECT TYPE COND SET WIZARD EDIT MAIN OPS MENU OPTION SET TO NEXT SUB MENU ESC BACK SEL CHNG IMG TRG POP...

Page 45: ...election The offset for camera 1 is adjusted with the up and down keys The complete signal level is shifted leaving the amplitude of the image signals from the CCD camera unchanged As the offset value is increased the whole screen will becomes more white The gain for camera 1 is adjusted with the up and down keys The amplitude of the image signals from the CCD camera is changed As the gain value i...

Page 46: ... and press the SET key 2 Move the cursor to EDIT MAIN OPS MENU and press the SET key 3 Now the operation screen will appear Select a block of text you want to edit using the up down left and right arrow keys and press the SET key A pop up menu will appear and you can select from move enlarge reduce and hide In this example the block of text OK is selected MOVE Select MOVE using the SET key Now the...

Page 47: ...creen SELF DIAGNOSIS Select SELF DIAGNOSIS and press the SET key twice The controller will execute a self diagnosis and display the results of the diagnosis as shown right If the diagnosis results are normal OK will be displayed If the results are abnormal NO will be displayed When the diagnosis is complete the DIAGNOSING display will change to COMPLETE DIAGNOSIS F C1 BRT MAIN MENU IVS30J SYS CND ...

Page 48: ...ELECTION to bring up the MEAS CND screen For details see Chapter 8 Setting Example Using the Menu Tree in the Instruction and Hardware Note New measurement programs are allocated to MEAS01 through MEAS04 The smallest measurement number available from 1 to 4 will be assigned MEAS0 is dedicated to positional deviation measurements OBJECT TYPE COND TYPE00 TYPE01 TYPE02 TYPE03 TYPE04 TYPE05 TYPE NEW S...

Page 49: ...pter 16 OBJ TYPE SYS SAVE See page 1 14 OPS MENU Setting the measurement program conditions MEASURE 0 MEASURE 1 MEASURE 2 MEASURE 3 MEASURE 4 Set final numerical calculation Set final output condition Setting the input output conditions Setting the system conditions Save the settings in the flash memory Return to the MAIN OPS MENU Jump to the next page Select the image pre processing method Image ...

Page 50: ...n OPS MENU to the operation screen OBJECT TYPE COND TYPE00 TYPE RUN COND IMAGE ADJ MEA CND CAMERA1 MEAS0 POSI DEVIATION POSI CORRECT MEAS01 CHK DEG MATCH MEAS02 INSPECT LEAD MEAS03 MEAS BIN AREA MEAS04 CNT BIN OBJ MEA CND CAMERA2 FINAL NUM CALC FINAL OUTPUT COND OBJ TYPE I O OBJ TYPE SYS TYPE01 TYPE02 TYPE03 TYPE04 SET TO NEXT SUB MENU ESC BACK SEL CHNG IMG TRG POPUP SELECT OBJECT TYPE COND F C1 B...

Page 51: ...identification by binary conversion Line type Solid lines Dotted lines Measurement programs Image processing used Reference image for gray scale search and binary image matching Window containing a binary image Gray scale search area detection Edge of an area detection Binary image window mask REG COND SCREEN COND SAVE DETAIL F C1 BRT RECTANGLE X LINE Y LINE 1REGISTER NO 0 0 7 2MEAS SHAPE MDL0 REC...

Page 52: ...orner 1 Moving the mask Down key Left key Right key Up key Down key Left key Right key Up key Down key Left key Right key e p y t e n i L e v o M e z i S m u m i n i M m u m i x a M e c n e r e f e R e g a m i e n i l d i l o S e m i t a t a l e x i p e n O l e x i p e n o f o t i n u n I l e x i p 6 1 x 6 1 Y X Y x X s l e x i p 6 3 5 5 6 a e r a h c r a e S e n i l d e t t o D e m i t a t a l e ...

Page 53: ...ria search Lead inspection Positional deviation measurement gray scale search degree of match inspection lead inspection criteria search Gray scale search reference image Edge of an area detection Gray scale search line detection The up and down keys function the same as in the move item The up and down keys function the same as in the move item Left key Right key Left key Right key Left key Right...

Page 54: ...ng by binary conversion object identification by binary conversion Up key 1 Specifying the center 2 Specifying the radius Down key Up right key Down left key Left key Right key Line type Solid lines Dotted lines Image processing used Window containing a binary image Binary image window mask Measurement programs Area measurement by binary conversion object counting by binary conversion object ident...

Page 55: ...that were available in previous versions How to create a window On the POLYGON setting screen specify a coordinate using the up down left and right arrow keys and then press the SET key Thereafter specify points 02 03 and so on in numerical order After specifying the last coordinate press the SET key again to confirm the polygonal shape you have drawn To edit the polygonal shape select a point to ...

Page 56: ... scanned image in groups of 2 pixels 2 Search the scanned image in groups of 4 pixels 3 Search the scanned image in groups of 8 pixels To increase the speed of your search you must take into account the settings listed below 1 When using the high precision setting a smaller image should be used 2 Reduce the size of the scanned image 3 After considering what the maximum out of position dimension wo...

Page 57: ...or upper and lower limits and the optimum threshold values will be set in each measurement area automatically The binary area conditions binary image mask menu in the binary area measurement Measurement programs which are affected by these settings Area measurement by binary conversion object counting by binary conversion object identification by binary conversion point measurement binary images C...

Page 58: ...rate object and assigning serial numbers labels one at a time in a binary image By this process multiple objects in the same binary image can be handled separately or as a group Measurement programs which are affected by these settings Object counting by binary conversion object identification by binary conversion Binary conversion Labeling enable window boundaries Window 1 2 3 4 1 2 Labeling disa...

Page 59: ...umination not selected error will occur Variation in lighting Fixed Fails to convert the image due to a variation in lighting Threshold correction value Set selection item Details of correction Threshold value adjustment Variation difference Variation rate Correct the threshold value by adding the previously specified threshold value to the light level variation difference Measured light level ref...

Page 60: ...re returned to their original size by expanding them again Number of times of expansion and number of times of contraction can be set independently When the number of contraction cycles is set to 0 and the number of expansion cycles is one or greater then only the expansion function will be used On the other hand if the number of expansion cycles is set to 0 and the number of contraction cycles is...

Page 61: ...h Flat width A B A B A Difference in level Direction Edge width Flat width Difference in level B Detection direction Detection direction Detection area Detection area Horizontal transition point from light to dark moving from left to right Vertical transition point from light to dark moving from top to bottom Horizontal transition point from light to dark moving from right to left Edge detection p...

Page 62: ...ch are affected by these settings Positional deviation measurement edge detection lead inspection and multiple position measurement edge detection Edge detection point with artifact processing enabled Average light vertical Duration of dark area in the line scan Edge detection point with artifact processing off Setting the threshold value automatically By executing an AUTO REG automatic setting fo...

Page 63: ...r sorting printed objects Measurement programs available that use this setting Positional deviation measurement gray scale search degree of match inspection multiple position measurements gray scale search and multiple degree of match inspection Setting method Move the cursor to the REFERENCE IMG with up and down arrow keys on the reference image area setting screen Next select CONTRAST SRCH Final...

Page 64: ...compared this value with the range between the current upper and lower limits If it is outside the upper and lower limits the IV S30 renews the maximum or minimum value with this value At the first setting the first test result will be the upper and lower limit without any condition The value from 00 to 99 can be entered to the in units of 1 Default value 10 To enter this position move the cursor ...

Page 65: ... ANGLE COND NUM CALC OUT COND POSI CORRECT MEAS NEW MEA CND CAMERA2 FINAL NUM CALC FINAL OUTPUT COND OBJ TYPE I O SET TO NEXT SUB MENU ESC BACK SEL CHNG IMG TRG POPUP 1REGISTER NO 2CONDITION SET 3X COORD BDL0 4Y COORD MDL0 5x DEVIATE MDL0 6y DEVIATE MDL0 7MATCH LVL MDL0 8ANGULAR DEVIATE 9X COORD MDL1 0Y COORD MDL1 qx DEVIATE MDL1 wy DEVIATE MDL1 eMATCH LVL MDL1 rTEST SELECT OBJECT TYPE COND F C1 B...

Page 66: ...AVE 1MEAS SELECTION POSI DEVIATION NO POSI DEVIATION CHK DEG MATCH INSPECT LEAD MEAS BIN OBJ CNT BIN OBJ LABEL BIN OBJ POINT MEAS MALTI POSI MULTI MATCHES OBJECT TYPE COND TYPE00 TYPE RUN COND IMAGE ADJ MEA CND CAMERA1 MEAS0 POSI DEVIATION IMG PRE PROC MEAS CND EVALUATION COND DISTANCE ANGLE COND NUM CALC OUT COND POSI CORRECT MEAS NEW MEA CND CAMERA2 FINAL NUM CALC FINAL OUTPUT COND OBJ TYPE I O ...

Page 67: ... image and the already stored reference image There are two types of calculation subtraction and the absolute value of the differences Example of comparative calculations between images Light level in image 1 0 to 255 Light level in image 2 0 to 255 Light level after calculation However a result less than 0 will give a result of 0 Subtraction The absolute value of the differences Light level in im...

Page 68: ...d out The reference image T2 1 is subtracted from the image taken by camera 2 The absolute value of the difference is calculated between the reference image T2 1 and the image taken by camera 2 The image taken by camera 1 is subtracted from the image taken by camera 2 The image taken by camera 2 is subtracted from the image taken by camera 1 The absolute value of the difference is calculated betwe...

Page 69: ...ion used when the mid gray level is too low 255 255 Input image gray level Output image gray level 255 255 Input image gray level Output image gray level γ negative correction used when the mid gray level is too high This is a method to widen the histogram of an image in which the histogram is at part of it thus improve its contrast Emphasize the mid gray level This improves contrast while remaini...

Page 70: ... a h t r e t s a f s i g n i g a r e v a g n i h t o o m s n a i d e m g n i h t o o m S e g a r e v a y a r g l e x i p e g a r e v a e h t y f i c e p S a e r a 3 x 3 g n i d n u o r r u s e h t m o r f l e v e l e h t n i d e d u l c n i e r a s t n e m e l e e s i o n e c n i S t u p t u o e h t t c e f f a l l i w e s i o n e h t e g a r e v a e g d E s i s a h p m e s a e r a r e k r a d d n...

Page 71: ... as a whole and correct the brightness throughout the image Each gray level of scanned image reference gray level Each gray level of reference image Subtract a scanned image that is shot under the uneven light by a blank image that is shot under the same light condition you can change the image to the one that is shot under the even light Filter a scanned image with the maximum value and then with...

Page 72: ...ne adjust the threshold value between 0 and 255 At MASK INVERT B W select whether or not to invert the masking area When a mask noise removing method is specified in MASK NOISE FILTR the NUM OF MASK FILT number of times to filter line will appear Set the number of times from 0 to 5 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 MEA CND SCREEN COND SAVE F C1 BRT NUM OF MASK 1 NUM OF MASK 2 NUM OF ...

Page 73: ...5BIN IMG MASK TO NEXT SUB MENU REGISTR NO 6BINARY AREA YES NO SET SELECT YES NO ESC BACK SEL CHNG IMG TRG FUNC Mask outline Positional relation between the stored binary image mask and the object to be measured Star shaped binary image mask outside boundary Star shaped object to be measured inside boundary Binary image mask 2 For correcting minor positional deviations store an enlarged image as th...

Page 74: ...ELLIPSE FIXED THRES ADJ VAR DEFF THRES ADJ VAR RATE NO EXPD CONTR CONTR EXPD NO YES REG COND SCREEN COND SAVE DETAIL F C1 BRT 1MEAS SHAPE RECTANGLE 2MEAS AREA SET 224 208 287 271 3THRESHOLD SET U LM255 L LM100 0 255 4INVERT B W NO 5MASK SHAPE 6MASK AREA 224 208 287 271 7BINARY PROCESS FIXED 8BINARY NOISE FILT NO SET SELECT A MENU ESC BACK SEL CHNG IMGTRG FUNC MASK REGIST BINARY PROCESS BINRY NOISE...

Page 75: ...POLYGON setting screen will appear 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 MEA CND SCREEN COND SAVE F C1 BRT NO REF IMG MANUAL 1WINDOW BINARY IMG MASK 2REGISTER NO 0 3REGISTER EXIST NO 4MASK BINARY IMG MANUAL REGISTER NO 5BIN AREA COND MASK BINARY IMG SCREEN SAVE F C1 BRT 1MASK AREA SET 2MASK IMVERT B W NO 3MASK REGIST REG DISP X 224 Y 208 POLYGON RESET MOVE RETURN F C1 BRT 1POINT01 255 25...

Page 76: ...EG position Press the SET key to register the mask The area inside the mask will change to white To invert the inside and outside shades change white to black and black to white select YES on the MASK INVERT B W line MASK BINARY IMG SCREEN SAVE F C1 BRT 1MASK AREA SET 2MASK IMVERT B W NO 3MASK REGIST REG DISP X 124 Y 276 MASK BINARY IMGCREEN SAVE F C1 BRT 1PO01T01 255 255 2PO02T01 254 226 3PO03T01...

Page 77: ...rrection Adjusted misalignment in the Y axis The position is adjusted because of a detected angular deviation q in rotation 2 point search 2 point edge 1 point search 1 point edge from measurement 0 When YES is selected in the DTECT ANGL item specifying a 1P SCH or a 1P SCH 1P EDGE in measurement 0 the position will be corrected according to the angle detected The position is adjusted because of a...

Page 78: ...tting procedure Mode 0 Mode 1 No XY ADJ X CORRECTION no yes Y CORRECTION no yes ANGLE ADJ STANDARD HIGH X CORRECTION no yes Y CORRECTION no yes ADJUST ANGL no yes No XY ADJ X CORRECTION no yes Y CORRECTION no yes ANGLE ADJ STANDARD HIGH X CORRECTION no yes Y CORRECTION no yes ADJUST ANGL no yes NO 1ST STAGE CORRECTION 2ND STAGE CORRECTION POSI CORRECT SCREEN COND SAVE F C1 BRT 1CORRECTION REG 2ND ...

Page 79: ...hat has been rotated around its center by the amount of angular deviation detected in step 1 Reference image model 0 Detected coordinates model 0 Search area model 0 Reference image model 1 Detected coordinates model 1 Search area model 1 Registration image Measurement image Detected coordinates model 0 Detected coordinates model 1 Position of registration image θ Detecting the amount of angular d...

Page 80: ... OBJECT TYPE COND screen STORE OBJCT TITLE A to Z 0 to 9 to SP space bar DEL delete END These characters and symbols are used to enter the title name This is used to make spaces These are used to move the cursor This is used to delete the character to the right of the cursor Exit the title registration screen Setting details SELECT OBFECT TYPE COND F C1 DRK OBJECT TYPE COND TYPE00 OPS MENU SAVE CO...

Page 81: ...lace cannot be ignored 3 Setting procedure Select OBJECT TYPE COND TYPE00 current type and OBJ TYPE SYS in that order on the MAIN MENU screen 1 Select MNTR LIGHT LVL CAM1 monitor light level Select YES from the popup menu Then the LIGHT LV COND item will appear on the screen 2 Select LIGHT LV COND and press the SET key The LIGHT LV COND screen and monitoring window will appear 3 Press the SEL key ...

Page 82: ... to take into account changes in the lighting environment If not go to item 8 6 Press the SEL key to enter freeze frame the image F IMG freeze will be displayed in the upper right corner of the screen Before reading and storing the next average light level sample it is necessary to enter the freeze frame 7 Select item REG AVG GRAY LVL average light level registration using the up and down keys and...

Page 83: ... On the MAIN MENU screen select OBJECT TYPE COND TYPE00 current type and OBJ TYPE I O in that order You can specify any value in the range of 1 30 to 1 10000 seconds initial value 1 60 for the shutter speed 1 Move the cursor to the SHUTTER SPEED item on the OBJECT TYPE I O using the up and down keys and press the SET key 2 Press the SET key again and move the cursor to the digit you want using the...

Page 84: ...ss 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 Operation procedure On the MAIN MENU screen select OBJECT TYPE COND and then TYPE00 current type At this point press the TRG BRT key to display the popup menu Select COPY from the popup menu and press th...

Page 85: ... Stops processes of measurements 2 to 4 NO YES NO NG MEAS DISP 1HALT ON NG MEAS YES 2MNTR LIGHT LVL CAM1 YES 3LIGHT LV COND TO NEXT SUB BENU 4MNTR LIGHT LVL CAM2 YES 5LIGHT LV COND TO NEXT SUB MENU 6MOVE ALL WINDOW TO NEXT SUB MENU OBJ TYPE SYS SCREEN SAVE F C1 BRT 1 1 1 1 1HALT ON NG MEAS Description NO Even if an NG image final evaluation result is detected while operating the IV S30J the system...

Page 86: ...lect MOVE using the left and right keys and press the SET key 6 Move the cursor dotted line to the new coordinates you are moving to use the up down left and right keys and press the SET key 7 Select EXEC execute using the left and right keys and press the SET key All the windows registered to the same object type will be shifted horizontally at the same time by the distance between the original c...

Page 87: ...inds the boundary between light and dark areas in an image See page G 3 of the User s Manual Instruction Hardware The deviation angle θ determined in the 2 point search is used to readjust the rotation of the image for measurements 1 to 4 2 2 point search Determining positional deviation in X and Y directions as well as rotational deviation Used to determine the position of machine parts and subst...

Page 88: ...tion speed For details see page 3 9 REGISTER NO Enter a register number When making positional deviation measurements you can select any register from 0 to 7 a total of 8 registers MODE Select a mode for detection The details of each mode are as follows Gray search See page 3 9 Edge detection See page 3 14 e d o M n o i t c e t e D s l i a t e D s l e d o m e l b a s U e n o N O N t c e t e d t o ...

Page 89: ...lso available The S in the table indicates a gray search and the E indicates edge detection X means not used An example of mode settings 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 t...

Page 90: ...CALC FINAL OUTPUT COND OBJ TYPE I O SET TO NEXT SUB MENU ESC BACK SEL CHNG IMG TRG POPUP 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 S and REG COND E items will appear Move the cursor to either of these items and press the SET key About REG COND S See pages 4 4 to 6 About REG COND E See pages 4 7 to 8 1 Set the regi...

Page 91: ... 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 To leave the coordinates at their previous position press the ESC key Next move the cursor to the LO R and press the SET key to determine the lower right corner of the rectangle The range inside the rectangle of the solid line becomes the reference ...

Page 92: ...7 2MEAS SHAPE MDL0 RECTANGLE 3REFIMG ARE MDL0 SET 224 208 287 271 4SEARCH ARE MDL0 SET 216 200 295 279 SEL VALUE INPUT ESC BACK SEL CHNG IMG TRG FUNC F C1 BRT Search area Model 0 Reference image Model 0 Search area Model 0 Model 1 Reference image model 1 Search area model 1 An example of storing This is an example of a 2 point search when the detection shape is a rectangle H C R S T S A R T N O C ...

Page 93: ...3 Search the image in units of 8 pixels 2 Setting the register conditions for edge detection MEAS SHAPE MDL 1 Select a measurement shape NO ARTF ARTIF Select whether to detect edge or not with average density See page 3 15 SEARCH AREA Select SEARCH AREA MDL1 and press the SET key to go to the setting screen SEL SELECT A MENU ESC BACK SEL CHNG IMG TRG FUNC F C1 BRT REG COND SCREEN COND SAVE 1REGIST...

Page 94: ...e page 3 15 REF COORD reference coordinates You can change the reference coordinates to any desired position RECTANGLE RESET RETURN MDL 0 1UP L 224 208 2LO R 287 271 3MOVE SET MOVE ESC BACK SEL CHNG IMG TRG FUNC F C1 BRT X 224 Y 208 Setting screen RECTANGLE l a t n o z i r o H t h g i r o t t f e l m o r f e n i l e c n e r e f e r e h t n a c S l a t n o z i r o H t h g i r o t t f e l m o r f e ...

Page 95: ... 7 3MODE 1P SCH 4DTECT ANGL NO 5ANGLE UNIT 6MDL 0 7MDL 1 IMG PRE PROC REG COND S REG COND E POSITION CORRECTION EVALUATION DST ANGL NUM CALC OUT 1REGISTER NO 2CONDITION SET 3X COORD MDL0 4Y COORD MDL0 5x DEVAITE MDL0 6y DEVAITE MDL0 7MATCH LVL MDL0 8TEST F C1 DRK SELECT OBJECT TYPE COND OBJECT TYPE COND TYPE00 TYPE RUN COND IMAGE ADJ MEA CND CAMERA1 MEAS0 POSI DEVIATION IMG PRE PROC MEAS CND REG C...

Page 96: ...ts Return to the operation screen and press the TRG BRT key The measurement results will be dis played on the screen For display examples of measurement results using other modes see the next page F C1 BRT V TYPE00 OK MEAS XXXXms MEASURE 0 CAM1 POSI DEVIATION REGISTER NO 0 7 X0 176 0 OK Y0 322 0 OK x0 000 0 OK y0 000 0 OK M0 10000OK B0 001 7 OK X1 534 0 OK Y1 480 0 OK x1 001 0 OK y1 001 0 OK K1 1 ...

Page 97: ... angular deviation The number of the detect point for model 1 Coordinates in the detect point for model 1 Amount of deviation in the detect point for model 1 REGST NO 0 0 7 X0 176 0 OK Y0 322 0 OK x0 000 0 OK y0 000 0 OK K0 1 OK B0 Ë 1 point edge Registration number The number of the detect point for model 1 Coordinates in the detect point for model 1 Amount of deviation in the detect point for mo...

Page 98: ...rees in ANGLE UNIT using the up and down keys The relationship between the detection range unit of the rotation angle and the reference images to be created is shown below Angle detection The angle cannot be detected The angle can be detected using a compression level of 2 for the gray scale search The angle can be detected Object shape Difficulty level e l g n a n o i t a t o R d e t a e r c e g ...

Page 99: ...NO is selected for the DTECT ANGL rotation angle detection in the previous page after registering the reference image a Reference image condition mismatch error will occur when executing the measurement Image to register 10 0 20 170 180 10 Reference image Reference image area Search area 10 20 30 40 50 60 70 Captured image Degree of match Define the position using the curve interpolation Rotation ...

Page 100: ...ted evaluating the degree of match The acceptability of the workpiece is evaluated based on its level of similarity to the reference model Checking for misalignment of labels checking for entry of wrong parts checking that electronic components have been precisely mounted on PC boards checking for misprints checking for missing metallic parts such as terminals and simple inspection of lettering Ch...

Page 101: ...1 BRT MEASUREMENT1 SCREEN COND SAVE 1MEAS SELECTION CHK DEG MATCH 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 Move to the MEAS SELECTION line on the MEASUREMENT1 screen and select CHK DEG MA...

Page 102: ...EAS CND SCREEN COND SAVE SET SELECT A MENU FOR ESC BACK SEL CHNG IMG TRG FUNC 1DTECT PRECISION STANDARD 2REGISTER NO 00 0 15 3MODE 2P SCH 4SEARCH YES 5MATCHING AVG GRAYS 6MDL 0 7MDL 1 YES NO AVG GRAYS DIFF ABS 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 S S Description Obtain average light level of the image in the area detected using the gray search Calculate the difference of the absolute va...

Page 103: ...n the MEAS 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 REG COND item and press the SET key 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 items will appear Move the cursor to this item and press the SET key How to set register condition...

Page 104: ... move along the X axis while keeping the same Y coordinate RECTANGLE RESET RETURN MDL 0 1UP L 224 208 2LO R 287 271 3MOVE 4REFERENCE IMG SET MOVE ESC BACK SEL CHNG IMG TRG FUNC F C1 BRT X 224 Y 139 Setting screen RECTANGLE Reference image of MDL0 Detection image of MDL0 Search area of MDL0 Reference image of MDL1 Detection image of MDL1 Search area of MDL1 SERIAL NO 8F053G26 MODEL IV S30J SET MOVE...

Page 105: ...ng the reference image area Note Set the menu for MDL1 Setting procedures are the same as MDL0 SET MOVE ESC BACK SEL CHNG IMG TRG FUNC F C1 BRT Y LINE RESET RETURN MDL 0 1S PT 194 175 2E PT 194 344 3MOVE 4REFERENCE IMG X 194 Y 344 Setting screen Y LINE Crosshair cursor detection coordinate Solid line reference line Dotted line search line SERIAL NO 8F053G26 MODEL IV S30J RECTANGLE RESET RETURN MDL...

Page 106: ...T 119 114 224 214 5REFIMG MDL0 15 000 026 6DTECT CRD MDL0 CENTER 176 164 7CONTR PIXL MDL0 1 8MEAS SHAPE MDL1 RECTANGLE 9REFIMG ARE MDL1 SET 224 208 372 349 0SEARCH ARE MDL1 SET 276 259 381 368 qREFIMG MDL1 003 000 026 wDTECT CRD MDL1 CENTER 334 313 eCONTR PIXL MDL1 3 SERIAL NO 8F053G26 MODEL IV S30J SEL SELECT A MENU ESC BACK SEL CHNG IMG TRG FUNC F C1 BRT REG COND SCREEN COND SAVE DETAIL CENTER S...

Page 107: ... ESC BACK SEL CHNG IMG TRG POPUP 1REGISTER NO 00 0 15 TEST RESULT OUTPUT 2CONDITION SET AUTO 10 3MATCH LVL MDL0 10000 10000 M0 NO 4X COORD MDL0 000 0 511 0 X0 NO 5Y COORD MDL0 000 0 479 0 Y0 NO 6GRAY LVL MDL0 000 0 255 0 G0 NO 7MATCH LVL MDL1 10000 10000 M1 NO 8X COORD MDL1 000 0 511 0 X1 NO 9Y COORD MDL1 000 0 479 0 Y1 NO 0GRAY LVL MDL1 000 0 255 0 G1 NO qTEST EXEC WITH POSI ADJ WITHOUT POSI ADJ ...

Page 108: ...el 0 SERIAL NO 8F053G26 MODEL IV S30J MNU CHG MAIN COND CHG MEA COND CHG CHNG REG SCREEN CHG CHG TYPE 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 14 Numeric calculation Ou...

Page 109: ... W3 D2 L3 L0 L1 L2 Lead measure ment limit line Reference line Inspection procedure 1 Determine the measurement points K0 to K3 from the mid points of the leads and the reference line 2 Calculate the maximum and minimum distances between the leads D0 to D2 on the reference line 3 Calculate the maximum and minimum lead lengths L0 to L3 starting from the measurement points K0 to K3 and measuring tow...

Page 110: ...F C1 BRT MEASUREMENT1 SCREEN COND SAVE 1MEAS SELECTION INSPECT LEAD 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 CAM ERA1 MEAS NEW in that order Then press the SET key to bring up the MEAS1 screen Move to the MEAS SELECTION line on the MEASUREMENT1 screen and select INSPECT LEAD from...

Page 111: ...register or not 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 9 REGISTER NO MEAS OBJECT LEAD LENGTH Register setting conditions are shown for each register number Circles mean that REGISTER NO has set to YES How to set the register...

Page 112: ...O The currently selected register number is displayed 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 DTECT SHAPE Select a detection shape Thre...

Page 113: ...o t t n i o p d n e e h t m o r f e n i l t h g i a r t s a g n o l a n a c S n o i t c e r i d e s i w k c o l C e s i w k c o l c e c n e r e f m u c r i c e h t d n u o r a n a c S n o i t c e r i d e s i w k c o l c r e t n u o C e s i w k c o l c r e t n u o c e c n e r e f m u c r i c e h t d n u o r a n a c S When the LINE is selected Specify the coordinates of the starting and end points W...

Page 114: ...e level automatically Move the cursor to the upper function menu by pressing the TRG BRT key and select AUTO REG Then press the SET key to set the levels automatically For details see page 3 15 EXTENSION MEAS EXT MEAS DIRECT Extension measurements can be made for LEAD LENGTH or BALL WIDTH in line EXTENSION MEAS Then the EXT MEAS DIRECT item will appear At the EXT MEAS DIRECT item set the position ...

Page 115: ...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 2 Move the cursor to the EVALUATION COND item on the menu tree screen and press the SET key The EVALUAT COND evaluation conditions screen wi...

Page 116: ...ement shape 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 14 Numeric calculation Output condition setting Press the TRG BRT key to move the cursor to the upper function menu...

Page 117: ...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 Checking for correctly inserted ball bearings preventing foreign objects from becoming mixed in with parts being processed distinguishing between different types of waterproof lids checking the existence of la...

Page 118: ...MEAS CND item shown under MEAS01 MEAS BIN AREA to go to the MEA CND screen For details see Chapter 8 Setting Examples Using the Menu Tree in the Introduction and Hardware SET WINDOW SET ESC BACK SEL CHNG IMG TRG POPUP F C1 BRT OBJECT TYPE COND TYPE00 TYPE RUN COND IMAGE ADJ MEA CND CAMERA1 MEAS0 POSI CORRECT MEAS1 MEAS NEW MEA CND CAMERA2 FINAL NUM CALC FINAL OUTPUT COND OBJ TYPE I 0 OBJ TYPE SYS ...

Page 119: ...ST is set to YES a circle is displayed REGISTER NO 4BIN AREA COND 1WINDOW NUM OF MASK 1 2REGISTER NO 00 0 15 3REGISTER EXIST NO REGISTER NO 4BIN AREA COND 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 F C1 BRT MEA CND SCREEN COND SAVE SET SELECT A MENU ESC BACK SEL CHNG IMG TRG FUNC NUM OF MASK 1 NUM OF MASK 2 NUM OF MASK 4 BINARY IMG MASK POLYON NUM OF MASK 1 Bring one mask area inside the meas...

Page 120: ...lected 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 Note 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 decrement by one since the register number for BINARY IMG MASK and POLYGO...

Page 121: ... level automatically Move the cursor to the upper function menu by pressing the TRG BRT key and select AUTO REG Then press the SET key to set the levels automatically For details see page 3 15 INVERT B W Select whether to invert the display of black and white inside the measurement area E L G N A T C E R s r e n r o c t h g i r r e w o l d n a t f e l r e p p u e h t r o f s e t a n i d r o o c e ...

Page 122: ...od Move the cursor to FIXED THRES ADJ VAR DIFF adjustable threshold value variation difference or THRES ADJ VAR RATE adjustable threshold variation rate and press the SET key to continue For details see page 3 12 BINARY NOISE FILTER Select a binary noise filter type Move the cursor to NO EXPD CONTR expansion contraction or CONTR EXPD contraction expansion and press the SET key to continue For deta...

Page 123: ...MEAS NEW MEA CND CAMERA2 FINAL NUM CALC FINAL OUTPUT COND OBJ TYPE I O OBJ TYPE SYS SET TO NEXT SUB MENU ESC BACK SEL CHNG IMG TRG POPUP 1CHNG REG 2CONDITION SET 3REGISTER 00 4REGISTER 01 5REGISTER 02 6REGISTER 03 7REGISTER 04 8REGISTER 05 9REGISTER 06 0REGISTER 07 qTEST 1CHNG REG TEST RESULT OUTPUT 2CONDITION SET AUTO 10 3REGISTER 00 000000 245760 A00 NO 4REGISTER 01 000000 245760 5REGISTER 02 00...

Page 124: ...GISTER04 000000 245760 A04 000204 OK NO 8REGISTER05 000000 245760 A05 000205 OK NO 9REGISTER06 000000 245760 A06 000206 OK NO 0REGISTER07 000000 245760 A07 000207 OK NO qTEST EXEC WITH POSI ADJ WITHOUT POSI ADJ Change the display of items 3 to 0 from REGISTER00 to 07 to REGISTER08 to 15 You can set the output destinations using the up and down keys NO Y0 to Y7 C000 to C127 EVALUAT COND SCREEN COND...

Page 125: ...ms MEASUREMENT 1 MEAS BIN AREA A00 005253 OK A01 002674 OK A02 003200 OK A03 001884 OK A04 A05 A06 A07 MNU CHG MAIN COND CHG MEA COND CHG CHNG REG SCREEN CHG CHG TYPE X0 6 Y0 7 READY Area for registration number 00 01 02 03 04 05 06 07 in the measurement condition Number of pixels The areas will not be displayed for any unspecified registration numbers Final evaluation result Measuring time Measur...

Page 126: ...es 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 Counting the number of food products or parts Measurement result Number of objects total area Inspection sequence ...

Page 127: ...the MEAS CND item shown under MEAS01 CNT BIN OBJ to go to the MEA CND screen For details see Chapter 8 Setting Examples Using the Menu Tree in the Introduction and Hardware SET WINDOW SET ESC BACK SEL CHNG IMG TRG POPUP F C1 BRT 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 TYPE...

Page 128: ...Æ Setting display of binary area conditions When item 3REGISTER EXIST is set to YES a circle is displayed REGISTER NO 4BIN AREA COND 1MEAS GRAV CENTER NO 2WINDOW NORMAL 3REGISTER NO 0 0 3 4REGISTER EXIS YES 5LABEL ORDER SCAN ORDER 6AX ANGL NO 7FILT NO 8CIRC L NO 9MID PNT NO REGISTER NO 0BIN AREA COND MEA CND SCREEN COND SAVE 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 F C1 BRT SET SELECT A MEN...

Page 129: ...ow keys to select the register number whose measurement conditions you want to set Press the SET key to confirm your selection Note 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 decrement by one since the register number for BINARY IMG MASK and POLYGON is fixed 1WINDOW NORMAL 2REGISTER N...

Page 130: ...The values above can be reset to an appropriate level automatically Move the cursor to the upper function menu by pressing the TRG BRT key and select AUTO REG Then press the SET key to set the levels automatically For details see page 3 15 Center Radius Radius Center E L G N A T C E R s r e n r o c t h g i r r e w o l d n a t f e l r e p p u e h t r o f s e t a n i d r o o c e h t y f i c e p S e ...

Page 131: ...riation rate and press the SET key to continue For details see page 3 12 BINARY NOISE FILTER Select a binary noise filter type Move the cursor to NO EXPD CONTR expansion contraction or CONTR EXPD contraction expansion and press the SET key to continue For details see page 3 13 BOUNDARY PROCESS Select whether objects crossing the boundary of the window will be VALID or INVALID For details see page ...

Page 132: ... REF IMG 5BIN IMG MASK TO NEXT SUB MENU REGISTER NO 6BIN AREA COND 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 F C1 BRT SET SELECT A MENU ESC BACK SEL CHNG IMG TRG FUNC IMG PRE PROC REG COND EVALUATION NUM CALC OUT F C1 BRT SELECT OBJECT TYPE COND OBJECT TYPE COND TYPE00 TYPE01 TYPE RUN COND IMAGE ADJ MEA CND CAMERA1 MEAS0 POSI DEVIATION MEAS01 CNT BIN OBJ IMG PRE PROC MEAS CND REG COND EVALUA...

Page 133: ...elect OUT from the popup menu Select OUT COND on the menu tree See Chapter 16 Setting the Input Output Conditions 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 TYPE00 OK MEAS XXXXms MEASUREMENT 1 CNT BIN OBJ K0 00006 OK A0 015781 OK K1 00020 OK A1 087620 OK K2 00010 OK A2 042680 OK K3 A3 M...

Page 134: ...n be determined The specified pixel area is converted to a binary image The number of objects total size of the white area the objects and the area center of gravity main axis angle fillet diameter circumference and center of each white area can be measured Counting the number of food products or parts measuring the angle of rotation or the center of gravity of parts and measuring the size of food...

Page 135: ...t the MEAS CND item shown under MEAS01 LABEL BIN OBJ to go to the MEA CND screen For details see Chapter 8 Setting Examples Using the Menu Tree in the Introduction and Hardware SET WINDOW SET ESC BACK SEL CHNG IMG TRG POPUP F C1 BRT 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 ...

Page 136: ...ER SCAN ORDER 6AX ANGL NO 7FILT NO 8CIRC L NO 9MID PNT NO REGISTER NO 0BIN AREA COND MEA CND SCREEN COND SAVE 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 F C1 BRT NO YES NORMAL BINARY IMG MASK POLYGON NO YES NO YES NO YES SCAN ORDER SIZE ORDER CENT GRVTY ORDER L A M R O N 3 o t 0 K S A M G M I Y R A N I B y l n o 0 N O G Y L O P y l n o 0 NORMAL Normal window BINARY IMG MASK Select this item i...

Page 137: ...l The number of pixels in the boundary line of an object stepped are counted as x 2 pixels Main axis angle Gravity center Main axis angle Center of gravity main axis angle and center X1 Y 0 0 511 479 Center of gravity X1 Y1 Calculated from the area and the position of each object X1 Y1 x N y N N Area Main axis angle Angle between the longitudinal and horizontal directions By the combined use of th...

Page 138: ...ose measurement conditions you want to set Press the SET key to confirm your selection Note 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 decrement by one since the register number for BINARY IMG MASK and POLYGON is fixed 1REGISTER NO 2MEAS SHAPE 3MEAS AREA 4THRESHOLD 5INVERT B W F C1 BR...

Page 139: ...5 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 ARE...

Page 140: ... ADJ VAR RATE adjustable threshold variation rate and press the SET key to continue For details see page 3 12 BINARY NOISE FILTER Select a binary noise filter type Move the cursor to NO EXPD CONTR expansion contraction or CONTR EXPD contraction expansion and press the SET key to continue For details see page 3 13 BOUNDARY PROCESS Select whether objects crossing the boundary of the window will be V...

Page 141: ...ER NO 0BIN AREA COND 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 F C1 BRT SET SELECT A MENU ESC BACK SEL CHNG IMG TRG FUNC IMG PRE PROC REG COND EVALUATION DST ANGL NUM CALC OUT F C1 BRT SELECT OBJECT TYPE COND OBJECT TYPE COND TYPE00 TYPE01 TYPE RUN COND IMAGE ADJ MEA CND CAMERA1 MEAS0 POSI DEVIATION MEAS01 CNT BIN OBJ IMG PRE PROC MEAS CND REG COND EVALUATION COND NUM CALC OUT COND MEAS NEW ...

Page 142: ...ditions 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 TYPE00 OK MEAS XXXXms MEASUREMENT 1 LABEL BIN OBJ REGISTER NO 0 0 3 K 004 OK A 006168 OK LABEL NUMBER 000 000 003 R 001542 OK GX 206 0 OK GY 303 0 B 028 0 FX 042 FY 037 CR 00138 8 CX CY MNU CHG MAIN COND CHG MEA COND CHG CHNG REG SCREEN...

Page 143: ...of LEDs or fluorescent character display tubes and sorting household electric appliances Inspection of 6 points 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 ...

Page 144: ...ect the MEAS CND item shown under MEAS01 POINT MEAS to go to the MEA CND screen For details see Chapter 8 Setting Examples Using the Menu Tree in the Introduction and Hard ware SET WINDOW SET ESC BACK SEL CHNG IMG TRG POPUP F C1 BRT 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 ...

Page 145: ...d a maximum of 128 points 0 to 127 can be registered D E X I F l e v e l y a r g e h t t c e r r o c t o n s e o D F F I D R A V J D A Y A R G e h t o t e u l a v d l o h s e r h t d e i f i c e p s a g n i d d a y b l e v e l y a r g e h t s t c e r r o C l e v e l t h g i l e h t n i n o i t a i r a v r o f e c n e r e f e r d l o h s e r h t d e i f i c e p s l e v e l t h g i l e c n e r e f e...

Page 146: ...key to move the cursor to the upper function menu Select the COND item and then select the REG COND item and press the SET key 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 this item and press the SET key F C1 BRT SELECT OBJECT TYPE COND OBJECT TYPE COND TYPE00 TYPE RUN COND IMAGE A...

Page 147: ...he position of the point After storing the register number using REGISTER NO a point will appear on the screen Move the cursor on the UPPER LEFT line and press the SET key Then highlight the MOVE item and press the SET key Now you can move the point anywhere on the screen using the up down left right arrow keys 1SIZE Y08 X08 2 32 2EVALUATION MAJORITY 3EVAL SPEC RATIO 050 4REGISTER NO 000 0 255 NO ...

Page 148: ...K SPACING Specify the distance between the points in the horizontal and vertical rows STORE BLCK OF PTS Select EXEC and press the SET key to register the block DEL BLOCK OF PTS Delete all the points that were registered at the same time MOVE BLOCK OF PTS Move the group of points that were registered at the same time Example of a block registration Set the starting point in item 5 above X X Y Enter...

Page 149: ...BRT SELECT OBJECT TYPE COND OBJECT TYPE COND TYPE00 TYPE01 TYPE RUN COND IMAGE ADJ MEA CND CAMERA1 MEAS0 POSI CORRECT MEAS01 POINT MEAS IMG PRE PROC MEAS CND REG COND EVALUATION COND NUM CALC OUT COND MEAS NEW MEA CND CAMERA2 FINAL NUM CALC FINAL OUTPUT COND OBJ TYPE I O OBJ TYPE SYS SET TO NEXT SUB MENU ESC BACK SEL CHNG IMG TRG POPUP 1PAGE CHNG 2P001 3P002 4P003 5P004 6P005 7P006 8P007 9P008 0TE...

Page 150: ...ULT OUTPUT 2P000 WHITE OK NO 3P001 WHITE OK NO 4P002 WHITE OK NO 5P003 WHITE OK NO 6P004 WHITE OK NO 7P005 8P006 9P007 0TEST EXEC WITH POSI ADJ WITHOUT POSI ADJ EVALUAT COND SCREEN COND SAVE EDIT SEL F C1 DRK PAGE CHNG TEST RESULT OUTPUT CONDITION SET REST 10 P000 200 210 200 OK NO P001 200 210 200 OK NO P002 200 210 200 OK NO P003 200 210 200 OK NO P004 200 210 200 OK NO P005 P006 P007 TEST EXEC ...

Page 151: ...Xms MEASUREMENT 1 POINT MEAS P000 115 OK P001 120 OK P002 114 OK P003 118 OK P004 116 OK P005 115 OK P006 P007 MNU CHG MAIN COND CHG MEA COND CHG CHNG REG SCREEN CHG CHG TYPE X0 6 Y0 7 READY 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 Areas will not be displayed for unsp...

Page 152: ...the set up time Purpose Example Measure the position of workpieces with a complicated light level that cannot be converted into binary images Measurement results Number of images detected Coordinates detected Measurement results Number of images detected Coordinates and degree of match detected for each image Gray search Edge detection This is useful for obtaining the distance between the coordina...

Page 153: ...lect the MEAS CND item shown under MEAS01 MULTI POSI to go to the MEAS CND screen For details see Chapter 8 Setting Examples Using the Menu Tree in the Introduction and Hardware SET WINDOW SET ESC BACK SEL CHNG IMG TRG POPUP F C1 BRT 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...

Page 154: ...ine SCAN ORDER in the order scanned Searches in the order scanned MATCH LVL degree of match Searches by comparing levels with the reference image REGISTER NO DTECT OBJECT Shows the specified mode s for each register S gray search E edge detection means no setting MEAS CND SCREEN COND SAVE 1DTECT PRECISION STANDARD 2REGISTER NO 0 0 3 3MODE GRAY SRC 4DETECT ORDER SCAN ORDER REGISTER NO 5DTECT OBJECT...

Page 155: ...menu tree move the cursor to the MEAS CND item and press the right arrow key The sub menu which contains the REG COND S and REG COND E items will appear Move the cursor to either of these items and press the SET key About REG COND S See pages 11 5 to 7 About REG COND E See pages 11 7 to 9 MEAS CND SCREEN COND SAVE 1DTECT PRECISION STANDARD 2REGISTER NO 0 0 3 3MODE GRAY SRC 4DETECT ORDER SCAN ORDER...

Page 156: ...as a reference image Select REFERENCE IMG using the up down arrow keys and select REG from the popup menu 1REGISTER NO 0 0 3 2REF IMG AREA SET 224 208 287 271 3SEARCH AREA SET 216 200 295 279 4MATCH LVL CONTR 05000 5MATCH LVL 07000 REG COND SCREEN COND SAVE DETAIL F C1 DRK SEL WINDOW SET ESC BACK SEL CHNG IMG TRG FUNC Search area Object to measure Search direct 1UP L 224 208 2LO R 287 271 3MOVE 4R...

Page 157: ...T 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 CONTR PIXEL contraction pixels 1 Search the image in units of 2 pixels 2 Search the image in units of 4 pixels 3 Search the image in units of 8 pixels SEL VALUE INPUT ESC BACK SEL CHNG IMG TRG FUNC F C1 BRT REG COND SCREEN COND SAVE DETAIL 1REGIST...

Page 158: ...rage density See page 3 15 SEL SELECT A MENU ESC BACK SEL CHNG IMG TRG FUNC F C1 BRT REG COND SCREEN COND SAVE 1REGISTER NO 0 0 3 2MEAS SHAPE RECTANGLE NO ARFT 3SEARCH AREA SET 224 208 287 271 4DTECT MODE CHNG POINT 5SEARCH DIRECT HORIZ 6THRESHOLD SET D 050 E 2 F 04 CHNG POINT DRK BRT BRT DRK CENT BRT CENT DRK HORIZ HORIZ VERT VERT RECTANGLE NO ARFT RECTANGLE ARFT LINE CIRC L ELIP L SEL SELECT A M...

Page 159: ... Specify a search direction The direction for searching varies with each detection shape When RECTANGLE is selected When LINE is selected When CIRC L or ELIP L is selected For details see page 3 14 RECTANGLE RESET RETURN 1UP L 224 208 2LO R 287 271 3MOVE SET MOVE ESC BACK SEL CHNG IMG TRG FUNC X 224 Y 208 F C1 BRT Horizontal Scan the reference line from left to right Horizontal Scan the reference ...

Page 160: ...he 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 1GRYS 050 0 255 2EDGE W 2 1 8 3FLAT W 04 1 16 SET CHNG ESC BACK SEL CHNG IMG TRG FUNC THRESHOLD VAL AUTO REG RESET ...

Page 161: ...elect OUT from the popup menu Select OUT COND on the menu tree See Chapter 16 Setting the Input Output Conditions 1REGISTER NO 2CONDITION SET 3NUMBER OF OBJ 4DTECT NUMBER 5MATCH LVL 6TEST F C1 DRK SELECT OBJECT TYPE COND 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 CON...

Page 162: ...o the image of the solid line 2 F C1 BRT V TYPE00 OK MEAS XXXXms MEASUREMENT 1 MULTI POSI REGISTER NO 0 0 3 K 004 OK DETECT NO 000 000 003 M 09870 OK X 236 0 Y 163 0 MNU CHG MAIN COND CHG MEA COND CHG CHNG REG SCREEN CHG CHG TYPE X0 6 Y0 7 READY Final evaluation result Measuring time Measuring program number Register number Number of detected images Numbered in the order detected range 1 Degree of...

Page 163: ...aptured image exceeds the required degree of match with the reference image Purpose Inspect or count workpieces that have complicated light level and cannot be converted into binary images Measurement results Number of images detected Degree of match density average absolute difference and detected coordinates Reference image Four workpieces detected Applica tion Exam ple 12 1 Outline ...

Page 164: ...lect the MEAS CND item shown under MEAS01 MULTI MATCHES to go to the MEAS CND screen For details see Chapter 8 Setting Examples Using the Menu Tree in the Introduction and Hardware SET WINDOW SET ESC BACK SEL CHNG IMG TRG POPUP F C1 BRT 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 ...

Page 165: ...ER line SCAN ORDER in the order scanned Searches in the order scanned MATCH LVL degree of match Searches by comparing levels with the reference image DTECT OBJECT S will be displayed for the objects to be detected MEAS CND SCREEN COND SAVE 1DTECT PRECISION STANDARD 2REGISTER NO 0 0 3 3MODE YES 4MATCHING AVG GRAYS 5DETECT ORDER SCAN ORDER REGISTER NO 6DTECT OBJECT 15 14 13 12 11 10 09 08 07 06 05 0...

Page 166: ...ge area store an image in the controller as a reference image Select REF IMG AREA using the up down arrow keys and select REG from the popup menu MEAS CND SCREEN COND SAVE 1DTECT PRECISION STANDARD 2REGISTER NO 0 0 3 3MODE NO 4MATCHING AVG GRAYS 5DETECT ORDER SCAN ORDER REGISTER NO 6DTECT OBJECT 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 S F C1 DRK SET VALUE INPUT ESC BACK SEL CHNG IMG TRG FU...

Page 167: ...E IMG 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 RECTANGLE RESET RETURN F C1 BRT MDL 0 1UP L 224 208 2LO R 287 271 3MOVE 4REFERENCE IMG X 224 Y 208 SET MOVE ESC BACK SEL CHNG IMG TRG FUNC X 224 Y 208 RECTANGLE RESET RETURN F C1 BRT MDL 0 1UP L 224 208 2LO R 287 271 3MOV...

Page 168: ...tes Set degree of match 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 MATCH LVL Specify a degree of match used for detection in the original images of the contracted images that were detected in the search at line MATCH LVL detects original images which are larger ...

Page 169: ...T OBJECT 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 S F C1 BRT SET VALUE INPUT ESC BACK SEL CHNG IMG TRG FUNC IMG PRE PROC REG COND EVALUATION DST ANGL NUM CALC OUT 1REGISTER NO 0 0 3 TEST RESULT OUTPUT 2CONDITION SET AUTO 10 3NUMBER OF OBJ 000 128 K NO 4DTECT NUMBER 000 0 000 5MATCH LVL 10000 1000 M0 NO 6GRAY LVL 000 0 255 0 G0 NO X COORD X0 Y COORD Y0 7TEST EXEC WITH POSI ADJ WITHOUT POSI A...

Page 170: ...splay the popup menu Select OUT from the popup menu Select OUT COND on the menu tree See Chapter 16 Setting the Input Output Conditions 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 TYPE00 OK MEAS XXXXms MEASUREMENT 1 MULTI MATCHES REG NO 0 3 K 004 OK DTECT NO 000 000 003 M 09870 OK G 228 ...

Page 171: ...angle of the centers of the detected points can be measured using the center detection function and the edge detection function in a gray scale search and the center of gravity detection function which is a part of the labeling process This function can measure the following distances and angles distance between two points X coordinate distance Y coordinate distance the angle between three points ...

Page 172: ...For details see Chapter 8 Setting Examples Using the Menu Tree in the Introduction and Hardware SET NEW REGISTRATION ESC BACK SEL CHNG IMG TRG POPUP F C1 DRK 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 TYPE NEW SELECT OBJECT TYPE COND 1MEAS SELECTION 1MEAS SELECTION CHK DEG MA...

Page 173: ...elect object type you want to measure The object types available are AUX auxiliary DST distance and ANGL angle The setting details are different for each type AUX See page 13 4 DST See page 13 6 ANGL See page 13 7 MEASUREMENT 1 SCREEN COND SAVE F C1 BRT 1MEAS SELECTION POSI DEVEATION IMG PRE PROC MEAS EVALUATION DST ANGL NUM CALC OUT SELECT OBJECT TYPE COND F C1 BRT OBJECT TYPE COND TYPE00 TYPE RU...

Page 174: ... SLOPE ANGL 000 0 511 0 d1 AUX 2 Y INDENT 000 0 479 0 Y 6RUN A TEST EXEC 3AUXILIARY GRAV 4COND 1 REG NO MDL 0 5COND 2 REG NO MDL 0 6COND 3 REG NO MDL 0 TEST RESULT OUTPUT 7AUX JUDGEMENT1 000 0 511 0 X NO 8AUX JUDGEMENT2 000 0 479 0 Y 9RUN A TEST EXEC 3AUXILIARY CIRC C 4COND 1 REG NO MDL 0 5COND 2 REG NO MDL 0 6COND 3 REG NO MDL 0 TEST RESULT OUTPUT 7AUX JUDGEMENT1 000 0 511 0 X NO 8AUX JUDGEMENT2 ...

Page 175: ...rom 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 TEST RESULT When executing a test from the RUN A TEST line the result will be displayed here OUTPUT Specify a destination for the output of test results NO Y or C RUN A TEST Press the SET key to execute a test 4COND 1 REG NO MDL 0 5COND 2 REG NO MDL 0...

Page 176: ... 3DISTANCE DIST BETW 2PT 4COND 1 REG NO MDL 0 5COND 2 REG NO MDL 0 TEST RESULT OUTPUT 6DISTANCE EVALUAT 000 0 702 0 NO 7RUN A TEST EXEC REGISTER NO DISTANCE 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 DIST AGL COND SCREEN COND SAVE SET SELECT A MENU ESC BACK SEL CHNG IMG TRG FUNC F C1 BRT NO DIST BETW 2PT DIST BETW X DIST BETW Y O N e c n a t s i d t c e l e s t o n o D e c n a t s i d e h T 2...

Page 177: ...t select angle 3PT A NGL Point 1 is the point of inter section of the two lines Relative to the line between points 1 and 2 the line between points 1 and 3 will be said to be at a positive angle if the angle is measured in a counterclockwise direction and it will be at a negative angle if it is measured in a clockwise direction 2PT H ANGL When a 2 point horizontal angle is specified relative to th...

Page 178: ...n the popup menu select which item you want to display AUX DST or ANGL Then press the SET key On the CHNG REG item press the up and down arrow keys and the display will change Example of the results displayed for a distance measurement Example of the displayed of angle results Example of the displayed of auxiliary results X0 6 Y0 7 MEA CND DST ANG COND NUMERIC CALC AUX DST ANGL Measurement object ...

Page 179: ... 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 14 2 The individual numerical calculations for each measuring program How to display the numerical calculation conditions setting screen There are two methods for displaying the numerical calculation conditions setting s...

Page 180: ...T Enter the upper and lower limits for making a judgment D OUTPUT Setting the output of the calculation results Select an output target NO Y or C The output can be set to Y0 to Y7 or C000 to C107 The number of styles may be set as follows depending on the selections made in items A and B N00 N01 N02 N03 N04 N05 N06 N07 0000002 0000 0X0 N00 0000400 0000 0000410 0000 0000406 0000 Y0 OK C X A A B B C...

Page 181: ...M 0 X 5 1 o t 0 X 0 0 0 l e d o M 1 X 5 1 o t 1 X 0 0 1 l e d o M e t a n i d o o C Y 0 Y 7 o t 0 Y 0 0 l e d o M 1 Y 7 o t 1 Y 0 1 l e d o M 0 Y 5 1 o t 0 Y 0 0 0 l e d o M 1 Y 5 1 o t 1 Y 0 0 1 l e d o M n o i t a i v e D x 0 x 7 o t 0 x 0 0 l e d o M 1 x 7 o t 1 x 0 1 l e d o M n o i t a i v e D y 0 y 7 o t 0 y 0 0 l e d o M 1 y 7 o t 1 y 0 1 l e d o M e l g n A B 0 B 7 o t 0 B 0 0 l e d o M 1 ...

Page 182: ... p i t l u M t n e m e r u s a e m f o e e r g e d e l p i t l u M n o i t c e p s n i h c t a m s t c e j b o f o r e b m u N K K 3 o t K 0 K 3 o t K 0 h c t a m f o e e r g e D M 7 2 1 M 3 o t 0 0 0 M 0 7 2 1 M 3 o t 0 0 0 M 0 e t a n i d r o o C X 7 2 1 X 3 o t 0 0 0 X 0 7 2 1 X 3 o t 0 0 0 X 0 e t a n i d r o o C Y 7 2 1 Y 3 o t 0 0 0 Y 0 7 2 1 Y 3 o t 0 0 0 Y 0 y t i s n e D G 7 2 1 G 3 o t 0...

Page 183: ...04 NUMERIC CALC SCREEN COND SAVE F C1 BRT N00 N07 CHG CALC 1RUN A TEST SET KEY TYPE FORMULA MATCH M CRD X CRD Y LVL G NUM CAL NC CNST C NO N00 N01 N02 N03 N04 N05 N06 NUMERIEC CALC SCREEN COND SAVE F C1 BRT N00 N07 CHG CALC 1RUN A TEST SET KEY TYPE FORMULA OBJ K DISTANCE MAX MXD DISTANCE MIN MND LEAD WIDTH MAX MXW LEAD WIDTH MIN MNW LEAD LENGTH MAX MXL LEAD LENGTH MIN MNL NUM CAL NC CNST C NO The ...

Page 184: ... TAN ATAN MAX MIN DEL CNST C 0000000 000 N00 N01 N02 N03 N04 N05 N06 N07 NUMERIC CALC SCREEN COND SAVE F C1 BRT N00 N07 CHG CALC 1RUN A TEST SET KEY TYPE FORMULA SET EXEC ESC BACK SEL CHNG IMG TRG FUNC TOTAL AREA A OBJ K NUM CAL NC CNST C N00 N01 N02 N03 N04 N05 N06 N07 NUMERIC CALC SCREEN COND SAVE F C1 BRT N00 N07 CHG CALC 1RUN A TEST SET KEY TYPE FORMULA SET EXEC ESC BACK SEL CHNG IMG TRG FUNC ...

Page 185: ...G CBP CBM DEL NUM CAL NC ABS SQRT TAN ATAN MAX MIN DEL CNST C 0000000 000 N00 N01 N02 N03 N04 N05 NUMERIC CALC SCREEN COND SAVE F C1 BRT N00 N07 CHG CALC 1RUN A TEST SET KEY TYPE FORMULA OBJ K MATCH M LVL G CRD X CRD Y NUM CAL NC CNST C NO N00 N01 N02 N03 N04 NUMERIC CALC SCREEN COND SAVE F C1 BRT N00 N07 CHG CALC 1RUN A TEST SET KEY TYPE FORMULA OBJ K MATCH M CRD X CRD Y NUM CAL NC CNST C NO N00 ...

Page 186: ... SUM AVG CBP CBM DEL NUM CAL NC ABS SQRT TAN ATAN MAX MIN DEL CNST C 0000000 000 N00 N01 N02 N03 N04 N05 N06 N07 NUMERIC CALC SCREEN COND SAVE F C1 BRT N00 N07 CHG CALC 1RUN A TEST SET KEY TYPE FORMULA SET EXEC ESC BACK SEL CHNG IMG TRG FUNC DST D ANGL B AUX H1 AUX H2 NUM CAL NC CNST C NO The details displayed for FORMULA will depend on the TYPE selected ...

Page 187: ...sitions of each item selected are the same as in section 14 2 The individual numerical calculation for each measurement program See the next page for the display details 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 SELECT OBJECT TYPE COND F C2 BRT SET TO NEXT SUB MENU ESC BACK SEL CHNG IMG TRG PO...

Page 188: ...em Each time you press the SET key the display in the left most column will alternate between AN00 to AN07 and AN08 to AN15 RUN A TEST Pressing the SET key will store the setting details as well as run a test The numerical results of the tests will be displayed at position F and the OK or NG judgment will be displayed at position E A TYPE Select the type of data being calculated B FORMULA A number...

Page 189: ... press the SET key 00X0 will be displayed in the FORMULA column Select a digit using the left and right arrow keys Press the SET key Then change the selected digit 01X0 by using the up and down keys 01X0 is referring to the X coordinate of register number 01 image 1 and model 0 Image 1 Image 0 Point detected in image 0 register number 00 model 0 X coordinate difference Y coordinate difference Obje...

Page 190: ...up and down keys and press the SET key 0000140 0000 to 0000160 0000 will be displayed in the lower and upper limit fields 4 Move the cursor to the N01 line and the TYPE column using the up down keys As described in steps 2 to 3 enter 01Y0 to 00Y0 in the formula field and inter 0000090 0000 to 0000095 0000 in the upper and lower limit fields 5 Move the cursor to the RUN A TEST item using the up and...

Page 191: ...t right arrow keys 5 Move the cursor to the OUT row using the left and right arrow keys and press the SET key Select AUX RLY from the popup menu and press the SET key 6 A list of auxiliary relays will be displayed Select C000 using the up and down arrow keys and press the SET key The output coil for INPUT 0 will be displayed 7 Press the ESC key to move to the MEA CND setting screen 15 14 13 12 11 ...

Page 192: ...be displayed 5 Press the TRG BRT key to move the cursor to the upper function menu Then select SCREEN and press the SET key Select OPS MENU from the popup menu and press the SET key Select the operation screen OUTPUT COND SCREEN SAVE F C1 BRT INPUT00 LOGIC INPUT01 LOGIC INPUT02 LOGIC INPUT03 LOGIC INPUT04 LOGIC INPUT05 LOGIC INPUT06 LOGIC INPUT07 LOGIC 1 0 2 3 4 5 6 7 OUT SET SELECT TYPE SEC BACK ...

Page 193: ...C000 will be turned ON and output Y00 will be turned ON Y00 C000 C000 N00 N01 X0 6 Y0 7 READY REGISTER N00 0 15 M0 09735 OK X0 090 0 OK Y0 092 0 OK G0 018 0 OK TYPE00 OK MEAS XXXXms MEASUREMENT 1 CHK DEG MATCH F C1 BRT V If the difference in the X and Y coordinates is within the range set on the numeric calculation menu Y0 will be turned ON and a filled box will be displayed If the difference is n...

Page 194: ... Ladder circuit calculation final output conditions Output refresh Image processing for measurement 0 using camera 1 Ladder circuit calculation based on output conditions for measurement 0 of camera 1 Measurement processing for measurement 0 using camera 2 Ladder circuit calculation based on output conditions for measurement 0 of camera 2 Measurement processing for measurement 1 Ladder circuit cal...

Page 195: ...een set calculations will be executed Each measurement obtained is judged to be OK or NG based on the criteria entered by the user If it is OK 1 ON will be used as the input condition for the following calculation on the ladder circuit and if it is NG 0 OFF will be used 2 Ladder circuit calculation based on output conditions for measurements 0 to 4 The values obtained from the measurement processi...

Page 196: ...he menu tree open the sub menu at MEAS01 POSI DEVIATION Press the SET key on the OUT COND line 2 On the screen used for selecting the measurement program or on the screens used for setting the measurement conditions or the register conditions press the TRG BRT key to move the cursor to the upper function menu Then move the cursor to the COND and press the SET key Select OUT from the popup menu OBJ...

Page 197: ...NPUT06 LOGIC INPUT07 LOGIC F C1 BRT SET SELECT LOGIC SYMBOL SEC BACK SEL CHNG IMG TRG FUNC DEL 0 1 2 3 4 5 6 7 OUT 00M0 OUTPUT COND SCREEN SAVE INPUT00 07 CHANGE INPUT INPUT00 LOGIC INPUT01 LOGIC INPUT02 LOGIC INPUT03 LOGIC INPUT04 LOGIC INPUT05 LOGIC INPUT06 LOGIC INPUT07 LOGIC F C1 BRT SET SELECT TYPE SEC BACK SEL CHNG IMG TRG FUNC MATCH M CRD X CRD Y DEV x DEV y ANGL B NUM CAL NC AUX RLY C Colu...

Page 198: ...rcuit a Circuit b C010 C001 C011 C001 Logic symbol Function 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 Deletes the contact on the cursor Contacts after the deleted contact will be brought forward When a contact exists only on the first row if the contact is deleted also the output relay will be del...

Page 199: ...1 Model 0 0y0 to 7y0 Model 1 0y1 to 7y1 0B to 7B Model 0 00Y0 to 15Y0 Model 1 00Y1 to 15Y1 Model 0 00G0 to 15G0 Model 1 00G1 to 15G1 Area measurement by binary conversion Object counting by binary conversion Object identification by binary conversion Total area Area of each label Fillet diameter X Fillet diameter Y Distance between gravity centers X 0R000 to 0R127 3R000 to 3R127 Number of masks 1 ...

Page 200: ...these inputs are the positional deviation measurement degree of match measurement object identification by binary conversion center of gravity YES multiple positions measurement and multiple degree of match inspections Kind of input Measurement program Symbol Multiple positions measurement Multiple degree of match inspections Number of objects Auxiliary relay 0K to 3K N0 to N15 0K to 3K N0 to N15 ...

Page 201: ...within the specified level range and turned OFF when it is out of the range C117 Illuminance monitor error C120 to C127 counter reset Turned OFF when the illumination exceeds the upper or lower warning level of the illuminance monitor set on the MONITOR LIGHT LVL menu Warning light levels can be set for each of the cameras 1 and 2 separately This relay is turned OFF when either one of them exceeds...

Page 202: ...CK SEL CHNG IMG TRG FUNC 0 1 2 3 4 5 6 7 OUT MATCH M CRD X CRD Y LVL G NUM CAL NC AUX RLY C OUTPUT COND SCREEN SAVE INPUT00 07 CHANGE INPUT INPUT00 LOGIC INPUT01 LOGIC INPUT02 LOGIC INPUT03 LOGIC INPUT04 LOGIC INPUT05 LOGIC INPUT06 LOGIC INPUT07 LOGIC F C1 BRT SET SELECT TYPE SEC BACK SEL CHNG IMG TRG FUNC 0 1 2 3 4 5 6 7 OUT OBJ K DST D LEAD WIDTH W LEAD LENGTH L NUM CAL NC AUX RLY C OUTPUT COND ...

Page 203: ...SEC BACK SEL CHNG IMG TRG FUNC 0 1 2 3 4 5 6 7 OUT TOTAL AREA A OBJ K OBJECT AREA R NUM CAL NC AUX RLY C OUTPUT COND SCREEN SAVE INPUT00 07 CHANGE INPUT INPUT00 LOGIC INPUT01 LOGIC INPUT02 LOGIC INPUT03 LOGIC INPUT04 F C1 BRT 0 1 2 3 4 5 6 7 OUT BIN PNT P NUM CAL NC AUX RLY C OUTPUT COND SCREEN SAVE INPUT00 07 CHANGE INPUT INPUT00 LOGIC INPUT01 LOGIC INPUT02 LOGIC INPUT03 LOGIC INPUT04 F C1 BRT 0 ...

Page 204: ...creen will appear SET TO NEXT SUB MENU ESC BACK SEL CHNG IMG TRG POPUP 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 SELECT OBJECT TYPE COND F C1 BRT INPUT0 LOGIC INPUT1 LOGIC INPUT2 LOGIC INPUT3 LOGIC INPUT4 LOGIC INPUT5 LOGIC INPUT6 LOGIC INPUT7 LOGIC OUTPUT COND SCREEN SAVE INPUT00 07 CHANGE IN...

Page 205: ... be brought forward Note This symbol cannot be used on the first row Deletes the contact on the cursor Contacts after the deleted contact will be brought forward When a contact exists only on the first row if the contact is deleted also the output relay will be deleted 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 ...

Page 206: ... OUTPUT C000 C001 C002 C003 C004 C005 C006 C007 Use place NO NO NO NO NO NO NO NO OUTPUT COND SCREEN SAVE F C1 BRT SET SELECT OUTPUT RELAY SEC BACK SEL CHNG IMG TRG FUNC 0 1 2 3 4 5 6 7 OUT 00M0 OUTPUT Y AUX RLY C TMR TM CNTR CN DEL When AUX RLY C is selected INPUT00 07 CHANGE INPUT INPUT00 LOGIC INPUT01 LOGIC INPUT02 LOGIC INPUT03 LOGIC INPUT04 LOGIC INPUT05 LOGIC INPUT06 LOGIC INPUT07 LOGIC TM T...

Page 207: ...ut is turned OFF the timer terminal will be turned OFF CN0 to CN7 While the counter reset relay is OFF if a counter instruction input is cycled from OFF to ON the number of times you set set value 000 to 999 the counter terminal will be turned ON Decrementing type When the counter reset relay is turned ON the counter terminal is turned OFF Create a circuit to turn the counter reset relay ON and OF...

Page 208: ...d in step 1 repeating the operations in steps 2 and 3 Note Output relays cannot be used in series on a ladder circuit Change circuit a to circuit b INPUT0 LOGIC INPUT1 LOGIC INPUT2 LOGIC INPUT3 LOGIC 1 0 2 3 4 5 6 7 OUT C000 Y00 C001 C001 X0 X1 TM0 Y01 TM0 0150 C010 C001 C011 Circuit a Circuit b C010 C001 C011 C001 ...

Page 209: ...No 0 Object to be measured Search area Reference image registration window Positional deviation NG X coordinate Y coordinate NG Shape NG degree of match NG 00X0 C000 00Y0 00M0 Coordi nate X Coordi nate Y Degree of match OK C119 Y00 NG output C118 Y01 C117 Y02 C000 Measurement operation error output Illuminance monitor error Measurement operation error Measurement termination OK Illuminance monitor...

Page 210: ...hat can output a signal when the IV S30 is operating normally C119 Y00 NG output C000 Measurement termination OK External trigger input READY External output Y00 Y00 C000 OK TM0 C119 TM0 C119 0010 10ms 10 100ms 100ms NG output Measurement termination External trigger input READY External output Y00 C110 Normally OFF Output while operation is normal Y00 Y00 Start the system System error Restart the...

Page 211: ...e as on the operation screen See page 1 10 1 2 3 4 5 6 TMR TM0 NOT SET TM1 NOT SET TM2 NOT SET TM3 NOT SET TM4 NOT SET TM5 NOT SET TM6 NOT SET TM7 NOT SET CNTR CN0 NOT SET CN1 NOT SET CN2 NOT SET CN3 NOT SET CN4 NOT SET CN5 NOT SET CN6 NOT SET CN7 NOT SET F C1 DRK TYPE00 OK MEAS XXXXms X00 06 Y000 007 READY C000 007 NUMERIC CALC AN00 NOT SET AN01 NOT SET AN02 NOT SET AN03 NOT SET AN04 NOT SET AN05...

Page 212: ...er to allow an external device to provide trigger signals for the IV S30J SYS CND I O CONDITIONS COMM SET COMPUTER LINK GAIN OFFSET SELECT SYSTEM COND F C1 BRT 1MEAS INP I F 2OUT I F PARAL 3MANL TYPE CHNG 4PARALLEL INP X5 5PARALLEL INP X6 6STROBE OUT 7 READY ON PARALLEL SERIAL TRIG CCD START 1MEAS INP I F PARALLEL SERIAL 2OUT I F PARAL NO 3MANL TYPE CHNG NO 4PARALLEL INP X6 EXT INP 5PARALLEL INP X...

Page 213: ...gray search is selected the reference image will be registered in the SDRAM When edge detection is selected the reference coordinates will also be registered To store the reference image in flash memory Select the SAVE key on any sub menu or use a general purpose serial command Available measurement programs gray scale search Positional deviation measurement the degree of match inspection multiple...

Page 214: ...are through modes When 2 IMAGES overlap is selected overlap processing will be executed according to the following timing Note Even if 2 IMAGES overlap has not been selected and regardless of which mode Camera 1 and Camera 2 are in when a trigger X0 Manual trigger is received the measurement will be executed MEASURE 0 CAMERA 1 conditions Gray scale search conditions MEASURE 1 CAMERA 2 conditions A...

Page 215: ... COMRARE IMGS AREA EVAL CORECT NO YES NO Y0 Y1 Y2 Y3 Y4 Y5 Y6 Y7 EXT INP CHNG IMG OUT CAM CAM MEAS 2 IMAGES PARALLEL SERIAL AUTO EDGE AUTO LEVEL PARALLEL SERIAL 1MEAS INP I F TRIG CCD START 2START CCD SAMPL PARALLEL 3OUTPUT OBJ TYPE PC LINK 4MANL TYPE CHNG NO 5PARALLEL INP X5 EXT INP 6PARALLEL INP X6 EXT INP 7 READY ON NO F C1 BRT I O CONDITION SCREEN COND SAVE SET SELECT A MENU ESC BACK SEL CHNG ...

Page 216: ...ncluded in the measurement execution time General purpose serial Not included in the measurement execution time CCD trigger Not included in the measurement execution time Parallel Measurement start input interface Result output Parallel 1 Computer link parallel 2 General purpose serial parallel 3 General purpose serial CCD trigger General purpose serial parallel 4 Parallel Parallel Parallel 5 Comp...

Page 217: ...measurement P C P C P C P C P C P C P C P C P C P C P C P C P C P C P C P C P C Parallel output is valid for PC control after the measurement result is determined When the object type is changed all Y output and auxiliary relays turn OFF Result output Result output Image capture Image disposition Image disposition End of the measurement Image capture Custom Final output condition Y00 C119 End of t...

Page 218: ...the IV S30J to the PC in the following cases When the power is applied to the IV S30J When a write mode nonconformity error code 10 H occurs after a result write command WRG is transmitted when the power is disconnected from the PC When the output method is changed from the OUT I F PARAL to the COMPUTER LINK Terminate measurement C119 P C P C P C P C P C P C P C P C P C P C P C P C P C P C P C P C...

Page 219: ...e personal computer See page 16 23 Time chart Note Result output The data to be sent to the personal computer will be response of general purpose serial command code 11 H P C P C P C P C P C P C P C P C P C P C P C P C P C P C P C P C P C Terminate measurement C119 Result output Result output Result output Result output Measurement start input X0 10 ms or more 10 ms or more 10 ms or more Specified...

Page 220: ...pose Serial Interface for details about the measurement execution commands codes 10 11 12 and 14 H Time chart P C P C P C P C P C P C P C P C P C P C P C P C P C P C P C P C P C P C P C P C P C P C P C Result output Result output Result output Result output 5 ms or less Measurement result is valid at the end of a measurement PC calculation condition Terminate measurement C119 Halt PC operation dur...

Page 221: ...d while this terminal is ON When it is turned OFF the sampling will stop During sampling O will flash in the upper right corner of the operation screen 2 After the measurement is terminated the sampling will be restarted when the X0 terminal is changed from OFF to ON Time chart P C P C P C P C P C P C P C P C P C P C P C P C P C P C P C P C P C P C P C P C P C P C P C P C P C P C P C P C Result ou...

Page 222: ...1 When the settings listed in section 16 3 CCD trigger have not been made a CCD TRIG NOT SET error 34 will occur Note 2 Start sampling input X0 1 Sampling will be performed while this input terminal is ON When it is turned OFF the sampling will stop During sampling O will flash in the upper right corner of the operation screen 2 After the measurement is terminated the sampling will be restarted wh...

Page 223: ...ash in the upper right corner of the operation screen 2 After the measurement is terminated sampling will be restarted when the X0 terminal is changed from OFF to ON Note Result output The data in the block No set in item SET SERIAL BLOCK on the OBJ TYPE I O screen will be transmitted to the personal computer See page 16 23 Time chart P C P C P C P C P C P C P C P C P C P C P C P C P C P C P C P C...

Page 224: ...igger have not been made a CCD TRIG NOT SET error 34 will occur Time chart Note Result output The data in the block No set in item SET SERIAL BLOCK on the OBJ TYPE I O screen will be transmitted to the personal computer See page 16 23 P C P C P C P C P C P C P C P C P C P C P C P C P C P C P C P C P C P C P C P C P C P C P C P C P C P C P C P C P C P C P C P C Result output Result output Serial Re...

Page 225: ...Y 0V VIDEO CAMERA1 CAMERA2 USB RS232C RS422 REMOTE 9 Measurement start input CCD trigger start sampling auto object type change result output parallel Time chart when auto mode edge is selected for as the CCD sampling start P C P C P C P C P C P C P C P C P C P C P C P C P C P C P C P C P C P C Result output Result output CCD trigger cycle CCD trigger window not highlighted Specified object type n...

Page 226: ...lack Black Measurement result is valid at the end of a measurement PC calculation condition Parallel output Y0 to Y7 Halt PC operation during measurement Halt PC operation during measurement Halt PC operation during measurement When the object type is changed all Y output and auxiliary relays turn OFF Parallel output is valid for PC control after the measurement result is determined READY output W...

Page 227: ...Remote key pad Data CCD trigger Work Black White Edge Level Measurement Personal computer Select one of these Setting order 1 2 3 2START CCD SAMPL 3OUTPUT OBJ TYPE PARALLEL SERIAL AUTO EDGE AUTO LEVEL PARALLEL SERIAL 1MEAS INP I F PARALLEL SERIAL TRIG CCD START 10 Measurement start input CCD trigger start sampling auto object type change general purpose serial result output general purpose serial ...

Page 228: ... relays turn OFF Parallel output is valid for PC control after the measurement result is determined When a trigger signal is input during sending object type change command this command will be invalid Turn ON READY signal by termination of result output READY output While measuring or setting L P C P C P C P C P C P C P C P C P C P C P C P C P C P C P C P C P C P C P C P C P C Result output Resul...

Page 229: ...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 To use this function set the input output the CCD trigger on the I O CONDITIONS menu pages 16 1 to 16 17 and set item TRIG CCD START...

Page 230: ...hree digits for the Y axis Adjust this value the same way you adjusted the X axis value EVALUATION Select an evaluation condition MAJORITY AND or OR from the popup menu EVAL SPEC RATIO when MAJORITY is selected on the EVALUATION line enter the ratio used to determine the color of an area UP L COORD Specify the upper left corner coordinates of the CCD trigger window By changing these values the pos...

Page 231: ... digits will be highlighted again Then press the left or right arrow key to move the cursor to the next five digits which are the upper limit Adjust this number the same way 3 When EDGE DTECT is selected on the TRIG CCD START line SEARCH AREA DTECT MODE SEARCH DIRECT THRESHOLD VAL F C1 BRT THRESHOLD VAL AUTO REG RESET 1U LM 050 0 255 2L LM 100 1 255 SET CHNG ESC BACK SEL CHNG IMG TRG FUNC F C1 BRT...

Page 232: ...e communication speed 2 4 Kbps 4 8 Kbps 9 6 Kbps 19 2 Kbps 38 4 Kbps 57 6 Kbps or 115 2 Kbps NO OF DATA BITS Select either 7 bit or 8 bit PARITY CHECK Select EVEN ODD or NO NO OF STOP BITS Set it to 1 bit or 2 bits STATION NO Select the station number for communication using the up and down arrow keys SET TO NEXT SUB MENU ESC BACK SEL CHNG IMG TRG POPUP SYS CND I O CONDITIONS COMM SET COMPUTER LIN...

Page 233: ...elect a write start address from the following addresses 09000 19000 29000 39000 49000 59000 69000 79000 89000 99000 FORM 1 No line terminator FORM 4 With line terminators CR LF Setting details Menu WW Data writing address range D0000 to D1023 QW Data writing address range D000000 to D008191 5 BLK WRT COMMAND 4 CONTROL PROC Write address max 512 bytes Station No Item Setting range Sharp 09000 to 9...

Page 234: ...output blocks can be specified only when the measurement is started by a CCD trigger or a parallel IF signal and the results are set by a general purpose serial IF signal See page 17 3 Specify the settings above on the OBJ TYPE I O screen See the next page 1 Data in specified blocks 1 In the case of a computer link Data in the specified blocks will be output after the data block 0 from measurement...

Page 235: ...IGN and press the SET key Response 1 1 Object type Output evaluation results RC H RC L Y15 Measurement 0 Measurement 0 Y1 Y0 SC H SC L CR 1 Data in the specified block Measurement 1 Measurement 2 Measurement 3 Measurement 4 Camera 1 data 2 Camera 2 data 2 Camera 1 Camera 2 Data from measurement 1 data 2 Data from measurement 2 data 2 Data from measurement 3 data 2 Data from measurement 4 data 2 SE...

Page 236: ...0 MEAS0 CAM1 5CAM NO 1 1 2 6CALIBRATION NO 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 se...

Page 237: ...procedure 1 Select MAIN COND OBJECT TYPE COND TYPE00 OBJ TYPE I O in that order 2 The OBJ TYPE I O screen will appear Move the cursor to SERIAL OUTPUT and press the SET key A popup menu will appear Select ANY and press the SET key SET TO NEXT SUB MENU ESC BACK SEL CHNG IMG TRG POPUP OBJECT TYPE COND TYPE00 TYPE RUN COND IMAGE ADJ MEA CND CAMERA1 MEA CND CAMERA2 FINAL NUM CALC FINAL OUTPUT COND OBJ...

Page 238: ...AGL COND screen The NUMERIC CALC or FINAL NUM CALC screen for individual measurement program When the numerical calculation condition menu is displayed SEL VALUE INPUT ESC BACK SEL CHNG IMG TRG FUNC SERIAL OUTPUT 1X COORD MDL0 NO 2Y COORD MDL0 NO 3x DEVIATE MDL0 NO 4y DEVIATE MDL0 NO 5MATCH LVL MDL0 NO 6ANGULAR DEVIATE NO 7X COORD MD1 NO 8Y COORD MDL1 NO 9x DEVIATE MDL1 NO 0y DEVIATE MDL1 NO qMATC...

Page 239: ...ut a ruler in the camera s field of view When MANUAL is selected on the CALIBRATION line 1 Move the cursor to CURSOR1 COORD and press the SET key IVS30J SYS CND OBJECT TYPE COND SET WIZARD EDIT MAIN OPS MENU OPTION F C1 BRT MAIN MENU 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 TYPE01 TYPE NEW SELECT OBJE...

Page 240: ...4 Select the SCALE line and enter the actual value of the distance between coordinates 1 and 2 In this example the distance is 10 mm Therefore enter 10 5 Select the SCALE UNIT line and select the unit of distance between coordinates 1 and 2 In this example select mm 6 Select the REG register line and while the cursor is on EXEC execute press the SET key again The controller will be calibrated to r...

Page 241: ...nates 1 and 2 In this example the distance is 10 mm Therefore enter 10 SCALE UNIT Select unit of distance between coordinates 1 and 2 In this example select mm REG register While the cursor is on EXEC execute press the SET key again The controller will be calibrated to treat 1 pixel 1 mm 1SEARCH AREA MDL0 SET 224 208 287 271 2DTECT MODE MDL0 CHNG POINT 3SEARCH DIR MDL0 HORIZ 4THRESHOLD MDL0 SET D ...

Page 242: ...on result you want to output In this example select DEV x deviation on the X axis OBJECT TYPE COND TYPE00 TYPE RUN COND IMAGE ADJ MEA CND CAMERA1 MEAS0 POSI CORRECT MEAS01 POSI DEVIATION MEAS02 POSI DEVIATION IMG PRE PROC MEAS CND EVALUATION COND DISTANCE ANGLE COND NUM CALC OUT COND MEAS NEW MEA CND CAMERA2 FINAL NUM CALC FINAL OUTPUT COND OBJ TYPE I O SET TO NEXT SUB MENU ESC BACK SEL CHNG IMG T...

Page 243: ...formula you want to use for calculations In this case select CBP 5 After completing these settings deviation on X axis will be output as a CBP value in unit of mm NUMERIC CALC SCREEN COND SAVE N00 N07 CHG CALC 1RUN A TEST SET KEY TYPE N00 N01 N12 N03 N04 N05 N06 N07 FORMULA F C1 BRT SET SELECT TYPE ESC BACK SEL CHNG IMG TRG FUNC OBJECT TYPE CALC RESULT CNST SUM AVG CBP CBM DEL ...

Page 244: ... a camera Outputs the ladder results Y0 to 15 and the measurement data in block 0 for each measurement program Measurement execution function 3 12 Executes all measurement programs for a specified object type You can make measurements by specifying a camera Outputs the ladder results Y0 to 15 and the measurement result from a specified block for a specified measurement number Measurement execution...

Page 245: ...t input is turned ON Image status Read 56 Read the image status being monitored Output Through freeze Brightness Full half Set 57 Change the status of the image being monitored Output Through freeze Brightness Full half Output image camera Read 58 Read the status of the camera outputting an image for the specified object type Set 59 Set the status of the camera that is outputting an image for the ...

Page 246: ...can specify the response block on the OBJECT TYPE I O screen see page 16 23 æ Select the measurement start method CCD trigger start sampling output results general purpose serial IV S30J Measuring for each object type 1 Receiving a command 2 Transmitting a response Personal computer measurement data etc CCD camera or programmable controller Personal computer or programmable controller IV S30J Meas...

Page 247: ...ement execution processing Operation screen Any command can be processed regardless of the measurement I O settings measurement start result output Setting screens Reading writing a display image commands 30 31 and reading a binary image command 34 are available IV S30J 1 Receiving a command 2 Transmitting a response Measurement codes measurement data etc Personal computer Measuring for each objec...

Page 248: ...te a checksum for error detection use an at sign ASCII code 40 H in each of the checksum codes SCH and SCL included in the command Error detection using a checksum The ASCII code for each data byte from the processing code to the end of text prior to the checksum code is added The final value is compared to the checksum code which is treated the same way If the two values are identical the command...

Page 249: ...e for that character and sent as one byte Thus the checksum code consists of two bytes This manual uses the following notation to represent addresses and set values Octal number 8 Ex 377 8 Decimal number None Ex 255 Hexadecimal number H Ex FF H Note 1 0 0 1 C 2 CR 1 31 0 30 0 30 1 31 C2 Checksum code ASCLII data C2 Ex 1 Command for the measurement execution function 1 code 10 H Station No Station ...

Page 250: ...ype to measure 00 to 3F Execution camera number 0 Both camera 1 and 2 1 Camera 1 only 2 Camera 2 only Final Output evaluation result Y0 to Y15 0 NG or unspecified 1 OK 1 Measurement programs 0 to 4 0 none 1 positional deviation measurement 2 degree of match inspection 3 lead inspection 5 area measurement by binary conversion 6 object counting by binary conversion 7 object identification by binary ...

Page 251: ...a selected by the IV S30J can be output as the response See page 16 26 On page 17 1 you can see how each command affects the various inputs and outputs 0 Execute read 1 Read Object type Object type to measure 00 to 3F Execution camera number 0 Both camera 1 and 2 1 Camera 1 only 2 Camera 2 only Measurement code response SC H SC L RC H RC L CR Y15 Specified block data 1 Y1 Y0 Measure ment Response ...

Page 252: ...ta on measure ment 2 2 Data on measure ment 3 2 Data on measure ment 4 2 1 Ë Command Object type SC H SC L CR Measure ment 0 Measurement 0 Measure ment 1 Measure ment 2 Measure ment 3 Measure ment 4 Camera 1 Camera 2 Camera 1 data 2 Camera 2 data 2 Station No Execution camera 2 Measurement data reading function 2 code 21 H This command will cause the IV S30J to read the results of the last measure...

Page 253: ...on 4 code 24 H This command will cause the IV S30J to read the results of the last measurement Any numeric value data will be output as a response See page16 26 This command is effective regardless of the measurement input specified Object type Object type for which the measurement was executed 00 to 3F Executed camera number 0 Both camera 1 and 2 1 Camera 1 only 2 Camera 2 only Measurement Number...

Page 254: ...Station No Station No Execution camera 6 Corrected light level reading code 29 H The corrected light level measured by the illuminance monitor function the evaluation result and preset reference light level are read Object type Object type for which the measurement was executed 00 to 3F Result 0 NG 1 OK Corrected light level Corrected light level 0 to 255 0 Reference light level Light level used a...

Page 255: ... format 1 Set operation screen lock status 51 5 2 SC H SC L Ë Response CR 1 1 5 2 Ë Command SC H SC L CR RC H RC L Read from the English or Japanese display 52 5 3 SC H SC L Ë Response CR 5 3 Ë Command SC H SC L CR RC H RC L Set items on the English or Japanese display 53 5 4 Ë Command SC H SC L CR Ë Response 5 4 SC H SC L CR RC H RC L 5 5 Ë Command SC H SC L CR Ë Response 5 5 SC H SC Object type ...

Page 256: ...H RC L 5 B Ë Command SC H SC L CR Ë Response 5 B SC H SC L CR RC H RC L Read the shutter speed for each object type 5A Set the shutter speed for each object type 5B Station No Station No Station No Station No Station No Station No Station No Station No Station No Station No Station No Station No Output Brightness Output Brightness Individual conditions 1 Output 0 Freeze 1 Through 2 Light 0 Full 1 ...

Page 257: ...CR RC H RC L Initialize all parameters 60 6 8 Ë Command SC H H SC L CR Ë Response Ë Command Ë Response Self diagnosis 68 Reset 69 5 E SC H SC L CR RC H RC L Station No Station No Station No Station No 6 8 SC SC L CR RC H RC L H Station No Station No 6 9 SC H SC L CR 6 9 SC SC L CR RC H RC L H Station No Station No Individual conditions 1 Initialize memory 0 Flash memory and RAM 1 RAM 1 0 Measureme...

Page 258: ...n No 2 3 4 7 1 1 SC H SC L CR Station No 2 3 4 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 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 ...

Page 259: ...Ex Response to code 24 Numeric result data3 Codes and number of bytes of output data 1 Result of each measurement program Output data Measurement program Kind of output Degree of match 01 2 O O Coordinate X 02 2 O O Coordinate Y 03 2 O O Coordinate deviation X 04 2 O Coordinate deviation Y 05 2 O Angle 06 2 O Average light level 1 07 2 O Number of objects 08 2 O O O O O Distance MAX 09 2 O MIN 0A ...

Page 260: ...put Fillet diameter X CUR 1A 2 O MAX 1B MIN 1C Fillet diameter Y CUR 1D 2 O MAX 1E MIN 1F Main axis angle 20 2 O Perimeter 21 4 O Degree of match 22 2 O O Coordinate X 23 2 O O Coordinate Y 24 2 O O Average light level 1 total of light level differences 25 2 O Average light level 2 28 1 O Black and white 29 1 O Counting white objects 2A 2 O Number of registers 2B 2 O Center point X 2C 2 O Center p...

Page 261: ...C24 S1 Mitsubishi C1000H C500 LK203 C200H RS 232C C200H LK201 C200H RS 422 C200H LK202 CV1000 CVM1 OMRON CV CPU link port CV500 LK201 CV CPU link port CV500 LK201 J board Host communication port in models Z 311J 312J JW10 Communication port in models JW 1324K 1342K 1424K 1442K 1624K 1642K MMI port F3SP21 0N F3SP05 0P CPU for F3SC21 1N F3SP08 0P CPU for F3SC22 1F 2F 1A F3SP25 2N F3SP28 3N F3SP35 5N...

Page 262: ...response 2 Write measurement data PC 2 3 Computer link CCD camera or PC The block of measurement data to be written from the IV S30J to the PC in step can be specified on the OBJ TYPE I O screen See page 16 23 When a Sharp PC is connected The IV S30J sends write enable command EWR to the PC in the following cases When the power is applied to the IV S30J When a Sharp PC is selected When a write mod...

Page 263: ...9013 09014 09015 D0000 D0001 D0002 D0003 D0004 D0005 D0006 DM0000 DM0001 DM0002 DM0003 DM0004 DM0005 DM0006 L H L H L H L H L H L H L H L H L H L H L H L H L H L H L H L H L H L H L H L H L H L H L H L H 19000 19001 D0256 DM0256 L H L H D00001 D00002 D00003 D00004 D00005 D00006 D00007 L H L H L H L H L H L H L H L H L H L H L H L H D00257 L H Assigned block data Termination code 00 H normal termin...

Page 264: ...0 to 4 in block 0 is output Max 496 bytes Measurement numbers that have not been specified will not output any data The space will be filled by the next item Max 500 bytes See pages 18 6 to 18 13 for details about the measurement data in block 0 When ANY is selected for the output See page 18 16 7 Assigned block data When the SERIAL OUTPUT item is set to BLOCK ASSIGN the IV S30J will output the me...

Page 265: ...0 to 4 58 51 Measurement function Blocks 18 6 18 7 18 11 to 12 18 14 18 15 Page Positional deviation measurement Degree of match inspection Lead inspection Area measurement by binary conversion Object counting by binary conversion Object identification labeling by binary conversion Point measurement Multiple positional measurement Multiple degree of match inspections Distance and angle measurement...

Page 266: ...ained by inverting the 0s and 1s in a binary number and adding 1 Note If a registration number has not been used yet the data for the next registered number will be brought forward Example of the data in block 0 Only registration No 0 These data are in hexadecimal They are converted to the actual decimal measurements as shown below 0 Registration No 0 Registration No 1 to 7 X Y X Y None None None ...

Page 267: ...nt 2nd point 1st point Coordinate Average light level 2nd point 1st point 2nd point 3 Lead inspection 1 1 None None 1 1 None None 1 1 None None 1 Distance Lead width Lead length 2 2 2 2 2 2 2 2 2 2 2 2 None None None None None None None None None None None None Maximum Minimum NG No No of NG Maximum Minimum NG No No of NG Maximum Minimum NG No No of NG 0 None 2 None Block Item Sign No of bytes Dec...

Page 268: ... same data as the registration No 0 10 Registration No 0 Label 0 Area of each label None 4 None X coordinate of gravity center None 2 1 Y coordinate of gravity center None 2 1 Spindle axis angle Provided 2 1 Fillet diameter X None 2 None Fillet diameter Y None 2 None Peripheral None 4 1 Label 1 to 31 Label No 0 to 127 contain the same data as the label No 0 11 Label 32 to 63 12 Label 64 to 95 13 L...

Page 269: ...tion No 2 spindle angle Label 0 to 127 1B Provided 2 1 Registration No 3 spindle angle Label 0 to 127 1B Provided 2 1 70 Registration No 0 fillet dia Label 0 X None 2 None Y None 2 None to to Label 127 X None 2 None Y None 2 None 71 Registration No 1 fillet dia Label 0 to 127 Each label contains the same data as block 70 72 Registration No 2 fillet dia Label 0 to 127 73 Registration No 3 fillet di...

Page 270: ...t 0 o N l e b a L 0 o N l e b a l s a a t a d e m a s 3 8 3 6 o t 2 3 l e b a L 4 8 5 9 o t 4 6 l e b a L 5 8 7 2 1 o t 6 9 l e b a L 6 8 1 o N n o i t a r t s i g e R 1 3 o t 0 l e b a L e h t s n i a t n o c 7 2 1 o t 0 o N l e b a L n i 0 o N l e b a l s a a t a d e m a s 2 8 k c o l b 7 8 3 6 o t 2 3 l e b a L 8 8 5 9 o t 4 6 l e b a L 9 8 7 2 1 o t 6 9 l e b a L 0 9 2 o N n o i t a r t s i g ...

Page 271: ...nt No White black 0 black 1 white 1 White 1 White 1 White 1 White 1 Black 0 White 1 Black 0 F A Block Item Sign 0 No of bytes Decimal point digit 0 Registration No 0 to 15 Black and white information 0 black 1 white None 2 None Registration No 16 to 31 Black and white information 0 black 1 white None 2 None Registration No 240 to 255 Black and white information 0 black 1 white None 2 None 1 Regist...

Page 272: ... N n o i t a r t s i g e R 0 o N n o i t a r t s i g e r 2 n o i t a r t s i g e R 4 6 o N y g i s n e d e g a r e v A 0 2 e n o N 2 e n o N n o i t a r t s i g e R 5 9 o t 5 6 o N s a a t a d e m a s e h t n i a t n o c 5 9 o t 5 6 o N n o i t a r t s i g e R 0 o N n o i t a r t s i g e r 3 n o i t a r t s i g e R 6 9 o N y g i s n e d e g a r e v A 0 2 e n o N 2 e n o N n o i t a r t s i g e R 7...

Page 273: ... i d o o C Y e t a e n o N 2 e n o N l a t o t 1 l e v e l t h g i l e g a r e v A e c n e r e f f i d l e v e l t h g i l f o e n o N 2 e n o N n o i t c e t e D 7 2 1 o t 1 7 2 1 o t 1 s t c e j b o d e t c e t e d t u o b a s l i a t e D 0 t c e j b o r o f s a e m a s e h t e r a 2 n o i t a r t s i g e R 1 o N r o f s a e m a s e h t e r a 4 o t 2 s t c e j b o d e t c e t e d t u o b a s l i...

Page 274: ...0 t n e m e r u s a e M 2 a r e m a C n o i t a r t s i g e R 5 1 o t 0 o N s a a t a d e m a s e h t n i a t n o c 5 1 o t 0 o N n o i t a r t s i g e R 1 a r e m a c 0 t n e m e r u s a e m 1 t n e m e r u s a e M n o i t a r t s i g e R 5 1 o t 0 o N s a a t a d e m a s e h t n i a t n o c 5 1 o t 0 o N n o i t a r t s i g e R 1 a r e m a c 0 t n e m e r u s a e m 2 t n e m e r u s a e M n o i ...

Page 275: ... e h t n i a t n o c 5 1 o t 1 o N n o i t a r t s i g e R 0 o N n o i t a r t s i g e r 2 t n e m e r u s a e M n o i t a r t s i g e R 0 o N n o i t a l u c l a C t l u s e r 3 4 d e d i v o r P 4 2 n o i t a r t s i g e R 5 1 o t 1 o N s a a t a d e m a s e h t n i a t n o c 5 1 o t 1 o N n o i t a r t s i g e R 0 o N n o i t a r t s i g e r 3 t n e m e r u s a e M n o i t a r t s i g e R 0 o N...

Page 276: ... L DM00011 L FA 00FA H 250 D 25 0 deviation value 09027 H H 00 09030 D00012 L DM00012 L 01 0001 H 00 fixed value 01 output code degree of match Register 0 degree of match for measurement 3 degree of match inspection 09031 H H 00 09032 D00013 L DM00013 L 28 2628 H 9752 D 97 52 09033 H H 26 Measurement Output Registration Measurement 0 Camera1 Output code 01 degree of match Degree of match for regis...

Page 277: ...10 4 O O O Area of each label CUR 11 4 O MAX 12 MIN 13 X coordinate of gravity center Distan ce between gravity centers X CTR OF GRAVITY 14 2 O MAX DIST 15 MIN DIST 16 Y coordinate of gravity center Distan ce between gravity centers Y CTR OF GRAVITY 17 2 O MAX DIST 18 MIN DIST 19 Fillet diameter X CUR 1A 2 O MAX 1B MIN 1C Fillet diameter Y CUR 1D 2 O MAX 1E MIN 1F Point measurement Output code Deg...

Page 278: ...e c n a t s i D 0 3 2 e l g n A 1 3 2 1 y r a i l i x u A X e t a n i d r o o C 2 3 4 e l g n A 3 3 2 y r a i l i x u A X e t a n i d r o o C 4 3 4 h t g n e l e c i l s Y 5 3 t u p t u o f o d n i K e d o c t u p t u O s e t y b f o o N 1 A R E M A C 0 E R U S A E M 0 4 4 2 A R E M A C 0 E R U S A E M 1 T N E M E R U S A E M 2 T N E M E R U S A E M 3 T N E M E R U S A E M 4 T N E M E R U S A E M ...

Page 279: ...ings for the IV S30J See item 1 below Programmable controller Item Setting details 115 2 57 6 38 4 19 2 9 6 4 8 2 4 7 8 None odd even 1 2 Checksum Communication speed k bit sec Data length bit Parity Stop bit Error check Station No Write address up to 512 bytes Sharp 00 to 37 8 Mitsubishi 00 to 31 OMRON 00 to 31 Yokogawa 01 to 32 Sharp 09000 to 99776 Mitsubishi D0000 to D9999 OMRON DM0000 to DM999...

Page 280: ... 312J 4 Link module JW 21CM JW 10CM 5 Communication board Z 331J 332J 1 Module setting When a JW 22CU or a JW 70CUH 100CUH and Z 311J 312J are used Store the communication port conditions in system memory addresses 236 and 237 Bits D0 to D5 are stored in memory address 236 In the initial state addresses 236 and 237 are set to 000 When a JW 32CUH 33CUH or a JW 32CUH 33CUH1 33CUH2 33CUH3 is used 1 W...

Page 281: ...its Parity None Odd Even Applicable only to the JW 32CUH1 33CUH1 33CUH2 33CUH3 Station No 001 to 037 8 Enter the station No for the current station When a JW 1324K 1342K 1424K 1442K 1624K 1642K is used 1 When the communication port is used Store the communication conditions in system memory addresses 234 236 and 237 In the initial state addresses 234 236 and 237 are set to 000 Set bits D0 to D5 an...

Page 282: ...to 001 8 h c t i w S g n i t t e S e u l a v t e S 0 W S k n i l r e t u p m o C 4 1 W S t i b r e p p u o N n o i t a t S 7 3 o t 1 0 8 2 W S t i b r e w o l o N n o i t a t S 1 3 W S d i l a v n I F F O 2 3 W S d e s u e b n a c m e t s y s e r i w 2 e h t y l n O F F O 3 3 W S d i l a v n I F F O 4 3 W S N O y t i r a p n e v e F F O y t i r a p d d O N O r o F F O 4 W S 1 6 9 0 2 9 1 c e s t i...

Page 283: ...elded twisted pair cable Pin No Signal name Pin No Signal name Pin No Signal name Communication connector on the IV S30J RS232C RS422 Connector shield 1 4 2 7 FG RD SD SG JW 32CUH 33CUH JW 32CUH1 33CUH1 33CUH2 33CUH3 PG COMM2 port JW 32CUH 33CUH JW 32CUH1 33CUH1 33CUH2 33CUH3 PG COMM1 port PG COMM2 port 9 10 3 11 1 RD RD SD SD FG 1 km or less RS 422 Communication connector on the IV S30J RS232C RS...

Page 284: ...W 1324K 1342K 1424K 1442K 1624K 1642K is used The IV S30J 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 L1 L2 SHLD Terminal name TA RA TB RB FG 4 8 7 9 Communication connector on the IV...

Page 285: ...22 Pin No Signal name Connector shield Signal name 1 km or less RS 422 4 wire system Shielded twisted pair cable When a Z 331J 332J is used Communication through the RS 422 port 2 wire system Z 331J 332J Host communication port T1 L1 L2 S FG TA RA TB RB FG 4 8 7 9 Communication connector on the IV S30J RS232C RS422 1 km or less RS 422 2 wire system Shielded twisted pair cable Pin No Signal name Co...

Page 286: ... fixed at 00 because it does not have a station number switch 3 A0J72C24S1 A0J2 1 Module setting Example using an AJ71C24 Sx module 8 0 C 4 1 2 3 5 6 7 F 9 E A D B STATION No 10 8 0 C 4 1 2 3 5 6 7 F 9 E A D B STATION No 1 8 0 C 4 1 2 3 5 6 7 F 9 E A D B MODE m e t I n o i t p i r c s e D e d o m e r u d e c o r p l o r t n o c n o i s s i m s n a r T C 2 3 2 S R 1 t a m r o F fi1 o N n o i t a t ...

Page 287: ...te data from the IV S30J to a Mitsubishi PC use the WW QW write command The range that can be written using the write command WW QW is D0000 to D1023 D000000 to D008191 due to the limitation of Mitsubishi PCs The write all address can be set within the range of limitation for Mitsubishi PCs See page 16 22 SW 01 02 03 04 05 06 07 08 09 10 11 12 ON OFF STATION No 8 0 C 4 1 2 3 5 6 7 F 9 E A D B 0 1 ...

Page 288: ...K1 K1 Xn7 FG RDA RDB SDA SDB SG Calculator link module FG TA TB RA RB SG 4 7 8 9 5 Communication connector on the IV S30J RS232C RS422 1 km max RS 422 4 wire system Shielded twisted pair cable Pin No Signal name Signal name Connector shield Example of RS 422 communication 3 Connections Shown below are the connections with a calculator link module Example of RS 232C connection Remarks For RS 232C c...

Page 289: ...m mode Monitor mode Operation mode Monitor mode Operation mode Operation mode 0 1 1 Installed support tool Memory module initial setting switch Programming console setting mode 2 OFF ON The bit used to set the monitor mode in the system setting FUN49 instruction Support tools other than the programming console FUN49 A302 000 000 00000 AR1001 2 When the programming console is used set the PC to the...

Page 290: ...7 Connector hood 2 3 4 5 9 C500 LK203 C200 LK201 CV500 LK201 Communication port 1 CV500 LK201 Communication port 2 CV CPU module 15m or less RS 232C Shielded cable Communication connector on the IV S30J RS232C RS422 Pin No Signal name Pin No Pin No Signal name Connector shield FG RDB SD RDA SD SDB RD SDA RD RS CS Calculator link module FG TA TB RA RB Connector shield 4 7 8 9 Communication connecto...

Page 291: ...mpletion response In this example the write start address has been set to 09000 e t i r W r e t s i g e r a t a D H n o i t p i r c s e D 0 0 0 9 0 1 0 0 n o i t a n i m r e t l a m r o n e d o c n o i t a n i m r e T 1 0 0 9 0 2 0 0 9 0 1 0 1 o N e p y t t c e j b O 3 0 0 9 0 4 0 0 9 0 1 0 5 1 Y o t 0 Y t u p t u o t l u s e R K O s i 0 Y y l n O 5 0 0 9 0 0 0 6 0 0 9 0 1 0 1 a r e m a c g n i s ...

Page 292: ...arts operation 00040 ON Time out Normal termination Error occurs Turning ON relay 00013 Starting the time out detection timer Error recovery 00041 ON Outputting Y0 Outputting Y1 Turning ON relay 00010 Transferring the result output Y0 to Y15 from registers 09004 and 09005 to addresses 0412 and 0413 ...

Page 293: ...12 13 14 15 16 T000 00000 F 044 04100 00006 00007 TMR 001 0030 04100 04101 T001 04107 00007 Fc012 CMP 09000 000 07357 04100 07354 Fc012 CMP 09000 377 07356 04101 04100 F 000w XFER 09004 0412 07357 04100 00010 00040 00010 04120 00011 00040 00011 04121 00012 00040 00012 04101 00013 00041 04107 00013 04101 00006 00041 04107 ...

Page 294: ...nation 8 Normal termination 09000 000 8 9 A check is made for errors 10 Occurrence of an error 09000 001 to 376 8 11 The data in the result output relays Y0 to Y15 16 points on the IV S30J is transferred from registers 09004 to 09005 to addresses 0412 and 0413 12 A normal termination signal is output 13 The judgment OK NG of the result output relay Y0 is output 14 The judgment OK NG of the result ...

Page 295: ...abnormal 1 The operation screen is always displayed in the freeze mode Change the mode to the through mode on the lower menu section 2 Make sure that the lens iris is not closed 3 Make sure that the shutter speed has not been increased 4 Check the lens for contamination 5 Check the CCD light receiving surface for contamination 6 Make sure that the lens focus has been adjusted properly 7 Make sure ...

Page 296: ... connected 3 Make sure that the device to send a trigger signal have been properly connected to the input terminals on the IV S30J main housing 4 Make sure that you waited about 15 seconds after you turned ON the power 5 Make sure that the operation screen is displayed on the screen Measurement results are not output 1 Make sure that the camera cables have been correctly connected 2 Make sure that...

Page 297: ...The error code is contained in the evaluation result area and the error code is displayed on the monitor Take the proper measures according to the error code different models use different codes 09 A time out has occurred during communication through the computer link Make sure the power supply of the programmable controller and check the connections of the cables Check the communication condition...

Page 298: ...a t s i d e h T t n e m e r u s a e m e l g n a e c n a t s i D B 3 d e i f i c e p s y l h g u o r o h t t o n e r a s n o i t i d n o c e l g n a e h T t n e m e r u s a e m e l g n a e c n a t s i D C 3 e l b i s s o p m i s i g n i t i r w g n i d a e r e g a m I D 3 s a h s e g a m i o w t g n i s u s n o i t a l u c l a c f o e g n a r e h T e g n a r d e i f i c e p s e h t d e d e e c x e ...

Page 299: ...de does not match 4E Cannot make two corrections in one step same register number 4F Serial trigger disabled 50 The object type cannot be changed 51 No corresponding block 52 The output camera cannot be changed 54 Image area is not appropriate 55 NG image not registered 56 Font not registered 57 Character strings not registered 58 Menu tables not registered 59 Area not registered user menu 5A Titl...

Page 300: ...uently Do not clean more than one CCD surface with one cotton swab Procedure for checking after cleaning 1 Mount the lens mirror tube on this camera 2 Close the lens iris all the way 3 Point the lens toward the light source and check the monitor screen to make sure that there are no spots on the screen If the iris is open even a little then even if spots exist they will not be visible on the monit...

Page 301: ...S30J 16 28 Camera settings 2 17 CAMERA TYPE 2 17 Causes of termination codes when an error occurs and remedies 19 3 CCD trigger 16 18 Change camera display mode 2 3 Change the Japanese or English display mode 1 15 CHG C1 change camera 1 1 12 CHG C2 change camera 2 1 12 CHG MEA change measurement 1 12 CHG TYPE change object type 1 12 CHNG REG change registration 1 12 Circle window 3 5 Common operat...

Page 302: ... Eliminating binary noise 3 13 7 6 8 6 9 7 Elliptical window 3 7 Evaluation change display 2 10 Evaluation conditions 3 17 Evaluation condition measurement Area measurement by binary conversion 7 6 Degree of match inspection 5 8 Lead inspection 6 4 Multiple degree of match inspection 12 7 Multiple positional measurement 11 9 Object counting by binary conversion 8 7 Object identification labeling b...

Page 303: ... monitor 3 34 Image adjustment 3 24 Image capture 2 4 Image pre processing 3 19 Image settings 3 9 Individual numerical calculations for each measuring program 14 1 Initialization 2 22 17 2 17 4 Input output system settings 3 34 Interface 18 19 Internal synchronization 2 19 L Ladder circuit program creation 15 3 Lead Inspection 6 1 List of processing functions 17 1 LOCK menu display 1 15 Lock the ...

Page 304: ...itional measurements 11 1 N NEXT NG display next NG image 1 22 NG image display screen 1 19 NG image display 1 19 to 23 Number of blocks 18 5 Numeric calculation Area measurement by binary conversion 7 8 14 6 Degree of match inspection 5 9 14 5 Distance and angle measurement 13 8 14 8 Lead inspection 6 8 14 5 Multiple degree of match inspection 12 8 14 7 Multiple position measurement 11 10 14 7 Ob...

Page 305: ...ns Area measurement by binary conversion 7 8 15 9 Degree of match inspection 5 9 15 9 Distance and angle measurement 13 8 15 10 Lead inspection 6 8 15 9 Multiple degree of match inspection 12 8 15 10 Multiple positional measurements 11 10 15 10 Object counting by binary conversion 8 8 15 10 Object identification labeling by binary conversion 9 9 15 10 Point measurements 10 8 15 10 Positional devia...

Page 306: ... condition settings 3 15 Result output 16 5 Reference image masking 3 17 S SAVE 1 12 Saving data 1 14 Select ANY for the serial output 16 26 Select YES or NO for output data 16 27 SELECT CAMERA 2 17 Select output 14 3 Self diagnosis 2 22 Serial output 16 23 16 26 Set serial block 16 25 Set wizard 1 2 Setting operating procedure 16 24 Setting and operating outline 1 1 Setting and operating procedur...

Page 307: ...utput 16 3 Subtraction 3 24 Symptoms and checks 19 1 SYS CND system conditions 1 5 T Table of controller functions 1 29 Termination code 19 3 Threshold value automatic setting edge detection 3 15 Threshold value automatic setting gray scale search 3 10 Threshold value correction 3 12 Threshold value setting 3 10 Through display 2 11 Title registration 3 33 Troubleshooting 19 1 V Variation differen...

Reviews: