Sharp IV-S30J User Manual

Page 1
Compact image sensor camera
User’s Manual (Function and Operation)
Version 1.0
Produced in July 2002
IV-S30J
Page 2
Thank you for purchasing the SHARP IV-S30J compact image sensor camera. Read this introductory user's manual carefully to thoroughly familiarize yourself with the functions and proper procedures for operation. Store this user's manual in a safe place. We are confident that the manual will be helpful whenever you encounter a problem. In addition to this manual, there are two other IV-S30J manuals as follows. Read them in conjunction with this manual.
IV-S30J
Manual type Major subjects How to use
IV-S30J User's Manual (Introduction and Hardware)
IV-S30J User's manual (Function and Operation)
- This manual was written with the utmost care. However, if you have any questions or inquiries concerning the product, please feel free to contact our dealers or service agents.
- Copying all or part of this booklet is prohibited.
- The contents of this manual may be revised or modified for improvement without prior notice.
User’s Manual (Introduction and Hardware) User’s Manual (Function and Operation: This manual) Instruction Manual
- Outline of the IV-S30J (features and functions)
- Description of the hardware
- Startup method
- General performance specifications.
- Example of operation and instruction
- Detailed explanations of all the measurement functions.
- How to make menu selections for each measurement
- Details of inputting and outputting data and communications with other devices.
- Troubleshooting
Notes
- Become acquainted with the IV-S30J
- Learn how to install the IV-S30J and wire it up
- When mastering the outline of operation.
- Learn how to specify measurement /inspection conditions, good or NG judgment conditions, etc.
- Lear how to connect a programmable controller or personal computer.
- Learn what to do if a problem occurs.
Page 3
Chapter 1:
Setting and Operating Outline
Chapter 2: Chapter 3: Chapter 4: Chapter 5: Chapter 6: Chapter 7: Chapter 8: Chapter 9: Chapter 10:
Setting the Operating and System Conditions Setting Measurement Conditions Positional Deviation Measurement Degree of Match Inspection Lead Inspection Area Measurement by Binary Conversion Object Counting by Binary Conversion Object Identification by Binary Conversion Existence Inspection by Point Measurement
Chapter 11: Chapter 12: Chapter 13: Chapter 14: Chapter 15: Chapter 16: Chapter 17: Chapter 18: Chapter 19:
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
Page 4

Table of Contents

Chapter 1: Setting and Operating Outline ......................................................1-1 to 23
1-1 Setting and operating procedures................................................................................................ 1-1
1-2 Method for selecting the menu configuration............................................................................... 1-2
[1] Menu configuration .................................................................................................................... 1-4
[2] Configuration of the setting conditions....................................................................................... 1-5
[3] Configuration of Set Wizard ....................................................................................................... 1-6
1-3 Description of the Operation screen .......................................................................................... 1-10
1-4 Setting the measurement programs .......................................................................................... 1-13
1-5 Common operations for each menu .......................................................................................... 1-14
[1] Operations to return to the operation screen ........................................................................... 1-14
[2] Saving data .............................................................................................................................. 1-14
1-6 Power ON setting menu............................................................................................................. 1-15
[1] Operations menu lock .............................................................................................................. 1-15
[2] Change the Japanese or English display mode....................................................................... 1-15
1-7 Remote keypad (IV-S30RK1) .................................................................................................... 1-16
1-8 Operation flow............................................................................................................................ 1-17
[1] Power ON and main loop processing ...................................................................................... 1-17
[2] Operation 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 change display ....................................................................................................... 2-10
[9] PC monitor screen ...................................................................................................................2-11
[10] Through display ......................................................................................................................2-11
[11] Extension functions ................................................................................................................ 2-12
2-2 Setting the system conditions .................................................................................................... 2-14
[1] Manually setting the object type............................................................................................... 2-14
[2] Gain/offset adjustment ............................................................................................................. 2-15
2-3 Editing Operation screen ........................................................................................................... 2-16
2-4 Option ........................................................................................................................................ 2-17
Chapter 3 : Setting Measurement Conditions ................................................ 3-1 to 39
3-1 Outline ......................................................................................................................................... 3-1
3-2 Shared settings............................................................................................................................ 3-4
[1] Window shape selection and settings........................................................................................ 3-4
[2] Image settings............................................................................................................................ 3-9
[3] Evaluation conditions ............................................................................................................... 3-17
[4] Image pre-processing .............................................................................................................. 3-19
[5] Image adjustment .................................................................................................................... 3-24
Page 5
[6] Binary image mask .................................................................................................................. 3-25
[7] Position correction ................................................................................................................... 3-30
[8] Title registration........................................................................................................................ 3-33
3-3 Input & Output / System settings ............................................................................................... 3-34
[1] Illuminance (light level) monitor ............................................................................................... 3-34
[2] Setting the shutter speed ......................................................................................................... 3-36
[3] Copying.................................................................................................................................... 3-37
[4] Halt on NG measurement ........................................................................................................ 3-38
[5] Window group move ................................................................................................................ 3-39
Chapter 4: Positional Deviation Measurement...............................................4-1 to 13
4-1 Outline ......................................................................................................................................... 4-1
4-2 Setting operation.......................................................................................................................... 4-2
[1] Set the register conditions for a gray search ............................................................................. 4-4
[2] Setting the register conditions for edge detection...................................................................... 4-7
Chapter 5: Degree of Match Inspection ............................................................5-1 to 9
5-1 Outline ......................................................................................................................................... 5-1
5-2 Setting operation.......................................................................................................................... 5-2
Chapter 6: Lead Inspection ................................................................................ 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 Measurement ............................ 10-1 to 9
10-1 Outline ..................................................................................................................................... 10-1
10-2 Setting operation...................................................................................................................... 10-2
Chapter 11: Multiple Positional Measurements........................................... 11-1 to 11
11-1 Outline.......................................................................................................................................11-1
11-2 Setting operation .......................................................................................................................11-2
[1] Set the register conditions for a gray search ............................................................................11-5
[2] Setting the register conditions for edge detection.....................................................................11-7
Chapter 12: Multiple Degree of Match Inspection..........................................12-1 to 8
12-1 Outline ..................................................................................................................................... 12-1
12-2 Setting operation...................................................................................................................... 12-2
Page 6
Chapter 13: Distance and Angle Measurement..............................................13-1 to 8
13-1 Outline ..................................................................................................................................... 13-1
13-2 Setting operation...................................................................................................................... 13-2
Chapter 14: Numerical Calculations..............................................................14-1 to 15
14-1 Outline ..................................................................................................................................... 14-1
14-2 The individual numerical calculations for each measuring program ........................................ 14-1
14-3 Final numerical calculations..................................................................................................... 14-9
14-4 Setting examples ....................................................................................................................14-11
Chapter 15: PC Function ................................................................................ 15-1 to 18
15-1 Outline ..................................................................................................................................... 15-1
15-2 Operation cycle........................................................................................................................ 15-1
[1] Power ON sequence................................................................................................................ 15-2
[2] PC scan cycle .......................................................................................................................... 15-2
[3] Measurement processing cycle ............................................................................................... 15-2
15-3 Ladder circuit program creation .............................................................................................. 15-3
[1] Procedure for creating measurement output condition and a ladder circuit............................. 15-3
[2] A list of the "OUTPUT COND" screen displays........................................................................ 15-9
[3] Procedure for creating the final output conditions in a ladder circuit ......................................15-11
15-4 Program examples (shape and positional deviation inspection)........................................... 15-16
15-5 Examples of a final output conditions ladder circuit.............................................................. 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
[1] Data in specified blocks ......................................................................................................... 16-23
[2] Setting (operating) procedure ................................................................................................ 16-24
16-7 Setting the data output........................................................................................................... 16-26
[1] Select "ANY" for the serial output .......................................................................................... 16-26
[2] Select "YES" or "NO" for output data..................................................................................... 16-27
16-8 Calibrating the IV-S30J.......................................................................................................... 16-28
Chapter 17: Communication (General Purpose Serial Interface) ............... 17-1 to 17
17-1 List of processing functions ..................................................................................................... 17-1
17-2 Data flow.................................................................................................................................. 17-3
[1] Measurement execution 1: Command codes 10, 11, or 12 ..................................................... 17-3
[2] Measurement execution 2: Response processing for command 11 ........................................ 17-3
[3] Measurement execution 3: Command 14 ................................................................................ 17-4
[4] Processing other than measurement execution processing .................................................... 17-4
17-3 Communication format............................................................................................................. 17-5
17-4 Processing functions................................................................................................................ 17-7
Page 7
[1] Measurement execution functions ........................................................................................... 17-7
[2] Result reading.......................................................................................................................... 17-9
[3] Setting, initialization, and diagnosis of the operation screen ................................................. 17-12
[4] Setting numerical data of the any output measuring.............................................................. 17-16
Chapter 18: Computer Link ............................................................................ 18-1 to 34
18-1 Compatible models .................................................................................................................. 18-1
18-2 Data flow.................................................................................................................................. 18-2
18-3 Register setting........................................................................................................................ 18-3
18-4 Measurement data blocks........................................................................................................ 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 and checks............................................................................................................. 19-1
[2] Causes of termination codes (when an error occurs) and remedies ....................................... 19-3
[3] Maintenance ............................................................................................................................ 19-6
Alphabetical Index ...............................................................................................I-1 to 7
Page 8
Setting and Operating Outline
1 System design
(Ref. chapter)
Plan your hardware environment to suit your use of the IV-S30J.
- Measurement program (positional deviation measurement, degree of match inspection, etc.)
- Number of cameras, externally connected devices, system components
- Input/output (start measurement input, result output, object type change, etc.)
- Lighting equipment, illumination, shutter speed, lens, etc.
2 Installation/assembly
Install the hardware you will be using.
- Connection of cameras and monitor to the controller
- Installation of the controller and camera body
- Connection of a power supply, input/output terminals and external devices
Supply power to each device.
3 Turning ON the power supply (controller and monitor)
5 Enter 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 Chapter 18 Page 2-15
User’s manual (Introduction and Hardware)
Chapter 19: Troubleshooting
Chapter 19: Troubleshooting
User’s Manual (Introduction and Hardware)
Chapter 7: Setting Examples
Using the Set Wizard
Chapter 8: Setting Examples
Using the Menu Tree
6-4 Operation chart
User’s Manual (Introduction and Hardware)
6-7 Editing operation screen
User’s Manual (Introduction and Hardware)
6-8 Option
User’s manual (Introduction and Hardware) 5-2 to 5-4 Installing, connecting,
and wiring methods
1-3 Measurement programs
3-1 Basic system configuration 
3-2 System configuration examples 5-1 Installation conditions

Chapter 1: Setting and Operating Outline

1-1 Setting and operating procedures

This paragraph describes the rough operation sequence of the IV-S30J.
1
1-1
Page 9
Setting and Operating Outline
・・・

1-2 Method for selecting the menu configuration

1
(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.
STEP1 SELECT THE MEASUREMENT START INPUT I/F
1
PARALLEL+SERIAL
2
TRIG
CCD START
NEXT DETAIL
■ □
STEP2 SELECTANIMAGECAPTURING METHODDURINGOPERATION
1
PARTIAL-IMG
2
ALL IMAGE
3
NO CAPTURED□
ENTER A SHUTTER SPEED (1/301/10000)
1
SHUTTER SPEED 1/00060
RETURN NEXT
・・・
The steps that the set wizard takes you through are displayed as lists on the "operation chart." At any point you can return to the previous step to make a change if you want to.
STEP9
STORETHISSETTINGASA SAMPLEINTHEWIZARD?
1
NO
2
YES
RETURN END
TYPE00 Start STEP1:PARALLEL+SERIAL STEP2:CAPTURE IMG/PARTIAL-IMG STEP3:MEAS1/CAM1 STEP4:MEAS1/BIN-AREA STEP5:MEAS1/WINDOW/MASK,1 STEP6:MEAS1/MEAS CND STEP7:MEAS1/EVALUATION STEP8:MEAS1/CALC STEP9:MEAS1/OUT STEP10:FINAL NUMERIC CALC STEP11:FINAL OUTPUT COND STEP12:SERIAL OUTPUT/ANY STEP13:OPS MENU COND STEP14:CALIBRATION/YES STEP15:MOVE ALL WINDOW/YES STEP16:TITLE/YES End
IVS30J
SYS-CND OBJECT TYPE COND SET WIZARD EDIT MAIN OPS MENU OPTION
Wizard
The "Wizard" is a program that helps users make settings for measurement operations easily and without making mistakes. The controller asks you a series of questions at each step and you
simply answer these to complete the settings. The wizard is convenient for making settings when beginners and inexperienced operators are operating the machine. However, operators who are familiar with the operation may save a lot of time by using other setting methods.
1-2
Page 10
Setting and Operating Outline
(2) Menu tree
The IV-S30J has a menu tree which is shown the hierarchy of choices on each screen. To return to the previous screen or go to next screen, select the corresponding item on the menu tree.
How to enter the menu tree
On the "MAIN MENU" select "OBJECT TYPE COND" to enter the menu tree.
and mean that a sub men is available inside the menu. Select and press the SET key or the right arrow key, the next level of 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
Sub menu is displayed
Have sub menus not yet displayed
IMAGE-ADJ MEA-CND(CAMERA1)
MEAS0 (POSI-DEVIATION) POSI-CORRECT MEAS01(MEAS-BN-AREA)
MEAS(NEW) MEA-CND(CAMERA2) FINAL NUM. CALC FINAL OUTPUT COND
OBJ-TYPE I/0 OBJ-TYPE SYS. TYPE(NEW)
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
1
1-3
Page 11
Setting and Operating Outline

[1] Menu configuration

1
SYS-CND OBJECT TYPE COND SET WIZARD EDIT MAIN OPS MENU OPTION
I/O CONDITIONS COMM.SET COMPUTER LINK GAIN.OFFSET
TYPE00
(Max. 16 object types)
TYPE15
1CHG-TYPE 2STANDARD WIZARD 3OPERATION CHART
MAIN OPS MENU
TYPE RUN COND IMAGE-ADJ MEA-CND(CAMERA1) MEA-CND(CAMERA2) FINAL NUM.CALC FINAL OUTPUT COND OBJ-TYPE I/O OBJ-TYPE SYS.
MEAS0 (POSI-DEVIATION) POSI-CORRECT MEAS01 MEAS02 MEAS03 *2
(  )
MEAS04
IMG PRE-PROC MEAS CND
EVALUATION COND DISTANCE & ANGLE COND
NUM-CALC OUT-COND
(*1)
REG-COND (S) REG-COND (E)
NUM-CALC OUT-COND
1INITIALIZATION 2SELF DIAGNOSIS
*1: MEAS0 is only for making for "positional deviation measurements." *2: MEAS01 to 04 can be set to make any type of measurement from "positional deviation
measurements" to "multiple degree of match inspections."
1-4
Page 12

[2] Configuration of the setting conditions

- I/O conditions (16-1) Measurement start input I/F, parallel input X5, parallel input X6, strobe output
- Object type manual change (2-14)
- Communication setting (17-1) Communication standard, communication speed, data length, parity, stop bit, station number
- Computer link (18-1) Manufacturer, station number, top line of the written results
System
conditions
- Gain/offset (2-15)
The numbers in parentheses ( ) are page numbers for your reference.
Setting and Operating Outline
1
Measuring
conditions
Object
type 00
Object
type 01
・ ・
Object
type 15
Operating
conditions
Camera
1 and 2
Camera 1
Output monitor (2-2), image capture (2-4), message display (2-5), pattern display (2-6), binary image display (2-7),
8), operation main display (2-9), evaluation change display (2-10), PC monitor screen (2-11), through display (2-11), extension functions (2-12).
Image pre-
processing (3-20)
Measurement 0, camera 1
Measurement 0, camera 2
Measurement 1 Measurement 2
Measuring program
Measurement 3 Measurement 4
Input and output for
each object type
System for
each object
Same for Camera 1 and 2. However, "Measurement 0, Camera 2" is not available.
Same for "Measurement 00."
θ
angle correction image display (2-
Positional deviation measurement
Positional deviation measurement, degree of match inspection, lead inspection, area measurement by binary conversion, object counting by binary conversion, object identification by binary conversion, point measurement, multiple positions measurement, multiple degree of match inspection.
CCD trigger (16-18), shutter speed (3-36), serial output (16-24, 26), calibration setting (16-28).
Monitor light level (3-34), stop NG measurement (3-
38), window group move (3-39)
-See Chapter 4
See Chapters
-
4 to 12.
1-5
Page 13
Setting and Operating Outline

[3] Configuration of Set Wizard

1
The Set Wizard has the following screen configuration.
SET WIZARD SCREEN SAVE DEL
[SAMPLE]
1
CHG-TYPE
2
STANDARD WIZARD
3
OPERATION CHART
STEP1 SELECT THE MEASUREMENT
START INPUT I/F
1
PARALLEL+SERIAL+USB TRIG CCD START
2
F C1 BRT
TYPE00 Start End
■ □
NEXT DETAIL
When "DETAIL" is selected.
STEP2
SELECT AN IMAGE CAPTURING METHOD DURING OPERATION
1
PARTIAL-IMG ALL IMAGE
2
NO CAPTURED
3
ENTER ASHUTTER SPEED (1/30~1/10000)
SHUTTER SPEED
1
RETURN NEXT
STEP3
CORRECT POSITION?
1
NO CAM1
2
CAM2
3
RETURN NEXT
■ □ □
1/00060
■ □ □
COMM.SET  SCREEN COND SAVE
COMM.STANDARD RS232C
1 2
BAUDRATE (kdps) 115.2
3
NO.OF DATA BITS 7BIT
4
PARITY CHECK EVEN
5
NO.O STOP BITS 2BIT
6
STATION NO. 00(0~7F)
STEP3 SELECT A CAMERA TO SPECIFY
MEASUREMENT CONDITIONS
1
NO REGISTRATION CAM1
2
CAM2
3
RETURN NEXT
When "1NO REGISTRATION" is selected.
■ □
When "2CAM1" or "3CAM2" is selected.
STEP4
SELECT AN IMAGE PROCESSING METHOD
1
GRAY-SRC PROCESS BINARY PROCESS
2
MEAS POSI-DEVIAT
1
MEAS MULTI-POSI
2
DETECT DEG-MAGCH LE
3
MEAS MALTI-MATCHES
4
INSPECT LEADS
5
MEASURE POINT DENSI
6
RETURN NEXT
■ □
■ □ □ □ □ □
1-6
Page 14
STEP4
SELECT TYPE OF CALCUATION BETWEEN IMAGES
1
COMPARE IMGS NO
SELECT WHETHER OR NOT TO CONVERT IMGE DENSITY
1
CHNG GRAY LEVELNO
SELECT FILTER TYPE FOR IMAGE DATA
1
SPACE FILTER NO
RETERN NEXT DETAIL
1Displayed when the "CAM1" or "CAM1&2" is selected in item "1COMPARE IMGS"
STEP5
1
REGISTER NO.(0~7) 0
SELECT AN IMAGE PROCESSING
1
NO
2
GRAY-SRC EDGE DTECT
3
SCH-EDGE
4
■ □ □
Setting and Operating Outline
COMPARE IMGS SCREEN SAVE
1
CALC.TYPE NO
2
CALC.AREA SET (232,216)-(279,263)
1
1
NUM.OF DTECT 1P
ENTER A RANGE AND UNITS FOR ROTA TION ANGLE DETECTION
1
DTECT ANGL NO
RETURN NEXT DETAIL
STEP6 SELECT INSPECTION PRECISION
1
STANDARD(PIXEL) HIGH(SUB-PIXAEL)
2
RETURN NEXT
STEP7 COMPARE EVALUATION
CONDITIONS TO MEASUREMENT RESULTS (YES/NO)
1
NO YES
2
RETURN NEXT DETAIL
■ □
REG COND SCREEN COND SAVE DETAIL
1
REGISTER NO. 0(0~7)
2
MEAS SHAPE(MDL0) RECTANGLE
3
REFIMG AARE(MDL0) SET (224,208)~(287,271)
4
SEARCH ARE(MDL0) SET (216,200)~(295,279)
EVALUAT COND SCREEN COND SAVE EDIT SEL
F C1 BRT
1-7
1
REGISTER NO. 0(0~7) [TEST RESULT] [OUTPUT]
2
CONDITION SET AUTO(–10%)
3
X COORD. (MDL0) 000.0~511.0 X0= NO
4
Y COORD. (MDL0) 000.0~479.0 Y0= NO
5
x DEVIATE (MDL0) -511.0~+511.0 x0= NO
6
y DEVIATE (MDL0) -479.0~+479.0 y0= NO
7
MATCH LVL(MDL0) -10000~+10000 M0= NO
8
TEST EXEC(WITH-POSI.ADJ WITHOUT-POSI.ADJ)
Page 15
Setting and Operating Outline
1
STEP8 USE SETTING DISTANCE
ANGLE CONDITIONS (YES/NO)
1
NO YES
■ □
Displayed when "2YES" is selected
2
RETURN NEXT DETAIL
DEST&AGL COND SCREEN COND SAVE
1
OBJ DST
2
DISTANCE 00(0~15)
3
DISTANCE NO
F C1 BRT
STEP8
COMPARE MEASUREMENT SETTINGS TO MEASUREMENT RESULTS (YES/NO)
1
NO
2
YES(MEAS)
DETAIL
3
YES(DST&AGL)
RETURN NEXT
STEP8 LADDER CIRCUIT AND RESULT
OUTPUT BASED ON MESUREMENT AND CALCULATION RESULTS( YES/NO)
1
NO
2
YES(MEAS)
3
YES(DST&AGL)
RETURN NEXT
STEP8
ADD MEASUREMENT CONDITIONS?
1
NO
2
YES
DETAIL
Displayed when "2YES" or "3YES" is selected
DETAIL
DETAIL
Displayed when "2YES" or "3YES" is selected
■ □
■ □
■ □
REGISTER NO. DISTANCE
NUMERIC CALC SCREEN COND SAVE
N00-N07 CHG-CALC
RUN A TEST (SET KEY)
1
OBJECFORMULA
NO0 NO1 NO2 NO3
OUTPUT COND SCREEN COND SAVE
INPUT00-07
CHANGE INPUT
INPUT00 LOGIC INPUT02 LOGIC INPUT03
01234567OUT
0304 060500 0201 13111207×100809
×××××
[TEST RESULT]
[OUTPUT]
14×15
×××××××××
F C1 BRT
F C1 BRT
STEP8 CALCULATE SETTINGS FOR ALL
MEASUREMENT RESULTS(YES/NO).
1
NO
2
YES
RETURN NEXT
■ □
RETURN NEXT
1-8
Page 16
STEP8
SET LADDER CIRCUIT RESULT OUTPUT BASED ON ALL MEASUREMENT AND CALCULATION RESULTS (YES/NO)
1 2
NO YES
■ □
Setting and Operating Outline
1
RETURN NEXT
STEP8
SELECT AN INTERFACE FOR OUTPUTTING RESULTS WHEN THE INPUT IS THE PARALLEL I/F
1
NO
2
COMPUTER LINK
3
SERIAL I/F
RETURN NEXT DETAIL
STEP9
CHANGE DISPLY CONTENTS OF THE MAIN OPS MENU
1
NO
2
YES
RETURN NEXT DETAIL
STEP9 STORE A TITLE FOR THIS
SETTING?
1
NO
2
YES
DETAIL
Displayed when "2YES" or "3YES" is selected.
■ □ □
Displayed when "2COMPUTER LINK" or "3SERIAL I/F" is selected.
■ □
Displayed when "2YES" is selected.
OUTPUT COND SCREEN COND SAVE
INPUT00-07
CHANGE INPUT
INPUT00 LOGIC INPUT01 LOGIC INPUT02 LOGIC INPUT03
Displayed when "2COMPUTER LINK" is selected
COMPUTER LINK SCREEN COND SAVE
1
PC MANUFACTURER SHARP(COMM PORT)
2
STATION NO. 01
3
WRITE TOP ADRS 09000
Displayed when "3SERIAL I/F" is selected
COMM.SET SCREEN COND SAVE
1
COMM.STANDARD RS232C
2
BAUDRATE(kdps) 115.2
3
NO.OF DATA BITS 7BIT
4
PARITY CHECK EVEN
5
NO.OF STOP BITS 2BIT
6
STATION NO. 00(0~7F)
TYPE RUN COND SCREEN SAVE
1
MONITOR OUTPUT CAM1
2
CAPTURE IMG PARIAL-IMG
3
MESSAGE DISPLAY YES(NUMERIC)
4
PATTERN DISPLAY YES
5
SHOW BINARY IMG YES
6
SHOW FIX IMG YES
7
OPS MAIN DISP YES
8
DISP CHG-EVAL NO
9
PC-MNTR NO
0
THROUCH DISPLAY NO
q
EXTENSION FUNC. NO
01234567OUT
F C1 BRT
RETURN NEXT DETAIL
Displayed when "2YES" is selected.
STEP9 STORE THIS SETTING AS A
SAMPLE IN THE WIZARD?
1
NO
2
YES
RETURN END
STR OBJ TITLE SCREEN SAVE
ABCDEFGHIJKLM NOPQRSTUVWXYZ
AREA_
0123456789
--()<>SP
←→
DEL END
1-9
F C1 BRT
Page 17
Setting and Operating Outline

1-3 Description of the Operation screen

1
When the IV-S30J is started, the operation screen shown below will appear. Each area of the operation screen is described below.
6
Measuring time
7
Measurement
setting details
8
0
Menu display
1
Object type number
I/O relay
TYPE00
V*.**
MEAS 0000ms  MEASURE 0 CAM1 NO
□□□□□□□□  
X0~6 MNU-CHG MAIN-COND CHG-MEA COND-CHG CHGN-REG SCREEN-CHG CHGTYPE
Y0~7
□□□□□□□□  
READY■
2
F C1 BRT
Freeze/through screen
3
Camera currently selected
4
Image brightness: bright/dark
5
Software version
9
READY output
Displays the number of the currently selected object. Select whether to display captured images on the screen as freeze images or through images.
yalpsiD dohtem
hguorhT
egami
ezeerF
egami
noitpircseD
.aremacehtybderutpacsegamifomaertsehtsyalpsiD-
.seitreporpegamidnasucofaremacehtgnitsujdarofdesU-
.stnemerusaemgnikamfotratsehttaderutpacegamielgnisehtsyalpsiD-
.snoitidnocgnitarepodnasnoitidnoctnemerusaemehtfohcaetesotdesU-
To switch the image between "Through" and "Freeze" modes, press the SEL key on the remote keypad, and then press the up and down arrow keys.
Indicates which camera is currently selected C1: Camera 1 (the camera connected to the "CAMERA1" connector) C2: Camera 2 (the camera connected to the "CAMERA2" connector)
The brightness of the captured image can be set to one of two levels.
neercS
yalpsid
noitpircseD
thgirB.ssenthgirbstignignahctuohtiwegamiderutpacehtyalpsiD
kraDssenthgirblautcaeht2/1taegamiderutpacehtyalpsiD
How to select the brightness level
On any screen, except the operation screen, move the cursor to the "F" (freeze) or "T" (through) position on the upper part of the screen by pressing the SEL key. Then, press the left or right arrow key to move the cursor to the "BRT" (bright) or "DRK" (dark) indicator. Press the up or down arrow key to switch between bright and dark.
1-10
Page 18
Displays the software version.
- Serial 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 operation time)
CCD image
capture time
Image
processing time
Result output
time
Displays the measurement time currently assigned.
Display setting details of each measurement.
MEASURE 0 CAM1 NO
↑ ↑ ↑
Measurement
numbers from 0 to 4
Camera 1 or
camera 2
Measurement
program name
Setting and Operating Outline
1
Displays the status of input relays X0 to X6: OFF [ ], ON [ ]. Displays the status of output relays Y0 to Y7: OFF [ ], ON [ ].
Displays the status of the ready output: OFF [ ], ON [ ].
The menu bar at the bottom has two rows. When this menu is selected, the second row will appear.
MNU-CHG MAIN-COND CHG-MEA COND-CHG CHNG-REG SCREEN-CHG CHG-TYPE
MNU-CHG CHG-C1 CHG-C2 MANL-MEAS SHORTCUT
The details of each item on this menu bar are shown on the next page.
1-11
Page 19
Setting and Operating Outline
Details of each item on the menu bar
1
Item on the menu bar Description Display detail on the screen
MAIN-COND
(main conditions)
CHG-MEA
(Change measurement)
COND-CHG (Change the
measurement
conditions)
Displays the MAIN screen.
Press the up and down arrow keys to change the display of the evaluation results for each measurement number. (Measurement 0 camera 1 -> measurement 0 camera 2 -> Measurement 1 -> Measurement 2 -> Measurement 3 -> Measurement 4) Displays the condition change selection list. Change the conditions that get displayed by pressing the up and down arrow keys. For details about the measurement conditions, see pages 8-3 and 8-8 in Introduction and Hardware and Chapter 3 in this manual.
For details about the distance and angle conditions, see page 14-2 in this manual. For details about the numeric value calculation conditions, see page 15-7 in this manual.
IVS30J
SYS-CND OBJECT TYPE COND SET WIZARD EDIT MAIN OPS MENU OPTION
MEASURE0 CAM1 NO
This part changes.
MEA-CND DST&ANG COND... NUMERIC CALC
COND-CHG CHNG-REG
CHNG-REG
(change registration)
SCREEN-CHG
(change screen)
CHG-TYPE
(change the object
type)
CHG-C1
(change the Camera 1
image position)
CHG-C2
(change the Camera 2
image position)
MANL-MEAS
(Manual measurement)
Change the display of the set of stored details between [A00]
- [A07] and [A08] - [A15] using the up and down arrow keys
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 item on "TYPE RUN COND"
menu. Only the currently available screens are listed. Displays the object type selection list. Select an object type by pressing the up and down keys.
This is enabled when Manual Object Type Change is set to "YES." Moves the image from Camera 1 up and down the screen using the up and down arrow keys. Note: This is enabled when "CAM1&2" is selected in
1MONITOR OUTPUT on the TYPE RUN COND menu
(operating conditions). Moves the image from Camera 2 up and down the screen using the up and down arrow keys. Note: This is enabled when "CAM1&2" is selected in
1MONITOR OUTPUT on the TYPE RUN COND menu
(operation conditions). Manually move the two crosshair cursors, and measure
distance between these two points, as well as coordinate distance on X and Y axes.
Note: Unless "MANL-MEAS" is selected on the
"qEXTENSION FUNC" line in the TYPE RUN COND (operation conditions), this screen cannot be displayed.
A0
=
to
A07
2
OPS-MAIN PC-MNTR
SCREEN-CHG
(TYPE00)
MANL-MEAS
1 2
CURSOR1-COORD MOVE(224.208) CURSOR2-COORD MOVE(287.271) DIST-BETW-2PT 089.0 DIST-BETW-X 063.0 DIST-BETW-Y 063.0
A08
=
to
A07
2
CHG-TYPE
This part changes.
+
 
+
SHORTCUT Displays a short cut screen.
1-12
1
SHORTCUT1 NO
2
SHORTCUT2 NO
3
SHORTCUT3 NO
PLACE
 
Page 20
Setting and Operating Outline
F C1 BRTMAIN MENU
IVS30J
SYS-CND OBJECT TYPE COND SET WIZARD EDIT MAIN OPS MENU OPTION

1-4 Setting the measurement programs

To execute a specific measurement program (positional deviation measurement, degree of match inspection, etc.), select MEASUREMENT 0 to 4 on the "MEA-CND" line.
- MEASUREMENT 0 only allows you to measure positional deviation.
- For details about the settings for each measurement program, see Chapters 4 to 13.
- Specify the conditions for distance and angle measurement in the positional deviation measurement, the degree of match inspection, object identification by binary conversion (MEAS GRAV CENTR: YES), multiple position measurement, and for multiple degree of match inspection.
(1) Operation main screen (see page 1-10).
1
TYPE00
MEAS 0000ms  MEASURE 0 CAM1 NO
□□□□□□□□  
X0~6 MNU-CHG MAIN-COND CHG-MEA COND-CHG CHNG-REG SCREEN-CHG CHGTYPE
Y0~7
□□□□□□□□  
Move the cursor to the "MAIN COND" item using the left and right arrow keys and press the SET key.
READY■
F C1 BRT V*.**
(2) Select the "OBJECT TYPE COND" 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.
SELECT OBJECT TYPE COND
OBJECT TYPE COND
TYPE00 TYPE(NEW)
F C1 BRT
(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
COND (CAM1)" line and a popup menu will appear. Select any desired measurement program from this popup menu and then press the SET key.
1-13
Page 21
Setting and Operating Outline

1-5 Common operations for each menu

1

[1] Operations to return to the operation screen

You can return to the operation screen, MAIN MENU, or setting screen from any menu by a single operation.
Menu display
[TYPE RUN COND] menu
SCREEN SAVE
F C1 BRT
OPS-MENU MAIN SELECT RETURN
Return to the operation screen Return to the MAIN screen. Return to the currently selected setting screen. Return to the previously selected screen.

[2] Saving data

All of the data such as measurement and evaluation conditions entered on the "TYPE RUN COND," "MEA-CND," and "SYSTEM COND" menus, can be saved into the IV-S30J flash memory.
Operation procedure
[SYS-CND] menu
SCREEN SAVE
DATA SAVE?(YES=[SET],NO=[ESC])
1. On each menu screen, move the cursor to "SAVE" 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.
F C1 BRT
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.
SAVING
REFERENCE IMG SYSTEM I/O OBJECT TYPE COND
■■
■
■■■■■■■■■■■□□□□□
When the data has been saved in the IV-S30J flash memory, the display will change from "SAVING" to "COMPLETE SAVE."
1-14
Page 22
Setting and Operating Outline

1-6 Power ON setting menu

[1] Operations menu lock

To prevent accidental changes to conditions you have set, the operation screen can be locked so that the screen cannot be changed to setting screen. The operation can only be carried out on the [POWER ON SETTING] menu.
Display procedure
Follow the procedure described below when turning ON the power to the controller (IV-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.
POWER ON SETTING
1 MAIN OPS MENU UNLOCK LOCK 2 DISPLAY MODE JAPANESE ENGLISH 3 OPERATION
SEL
ESC
1
TRG/BRT
SET
1MAIN OPS MENU
UNLOCK
LOCK
All of the operating conditions for the IV-S30J can be changed. The MAIN OPS MENU is locked and no change can be made.
Description
Operation procedure
1. On the [POWER ON SETTING] menu, move the cursor to item " MAIN OPS MENU" with the up and down keys, and press the SET key.
2. Move the cursor to "UNLOCK" or "LOCK" with the left and right keys, and press the SET key.
3. Move the cursor to item " OPERATION" with the up and down keys, and press the SET key. Press the SET key once more.
The IV-S30J saves the settings in the flash memory and the screen will return to the operation
screen.
Display when the operation screen is locked
(
TYPE
00)
AREA
1
T.IMG C1 L
LOCK FULL VX.X
OK
MEAS XXXXms MEASURE 0 CAM1 POSI-DEVIATION

[2] Change the Japanese or English display mode

Change display between Japanese and English. Use the [POWER ON SETTING] menu for the selection.
"LOCK" will be displayed on the MAIN OPS MENU
Display procedure
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 controller, while holding down the ESC key.
2. Keep pressing the ESC key down for approx. 9 sec., and the following menu will be displayed.
TRG/BRT
[POWER ON SETTING]
1MAIN OPS MENU UNLOCK LOCK 2DISPLAY MODE JAPANESE ENGLISH
3
3OPERATION
5
4
SEL
ESC
SET
Operating procedure
3. Move the cursor to item " DISPLAY MODE" (display mode) with the up and down keys, and press the SET key.
4. Move the cursor to "JAPANESE" or "ENGLISH" with the left and right keys.
5. Move the cursor to " OPERATION" using up and down keys and press the SET key. Then, again press the SET key.
The screen will change to operation screen.
1-15
Page 23
Setting and Operating Outline

1-7 Remote keypad (IV-S30RK1)

1
1Direction keys (up, down, left and right)
4 SEL key
5 TRG/BRT key
2SET key
3ESC key
Direction keys
1
(up, down, left and right)
2
SET key
ESC key
3
SEL key
4
Selecting an item on a menu screen
*
Setting a value
To enter nested menus
Determine a highlighted item
Determine the setting value
Returning a setting to its original state before be-
ing changed Returning to the previous
menu
Use to select the display of object images: choose between "F" (Freeze) and "T" (Through) and between "BRT" (bright) and "DRK" (dark).
DescriptionFunctionKey name
Select an item with the up, down, left and right keys.
Set each coordinate.Setting a window
- Select a digit or an item with the left and right keys, and then specify a value with the up and down keys.
- Specify a value with the up, down, right and left keys.
On the REG-COND screen,
- Press the left arrow key + ESC key to change between a display of all items and just one item at a time.
- When the screen is changed from "Through" to "Freeze," the IV-S30 will capture an image.
- Change the brightness of the image displayed on the screen.
On the setting screen,
- Press the left arrow key and the SEL key to change between Through and Freeze.
- Press the right arrow key and the SEL key to change between Bright and Dark.
Start measurement input
5
TRG/BRT key
*The direction keys have an auto-repeat function.
Move the cursor to the function menu at the upper area.
Displays popup menu.
Press this key on the run screen, and a new measurement is triggered.
1-16
Page 24

1-8 Operation flow

[1] Power ON and main loop processing

(Power ON)
Wait to complete the power ON process
Initializing (CPU, gate array)
Memory check
Setting and Operating Outline
1
Transmitting from flash memory to RAM
Data setting
- CPU, variables
- Gate array
Checksum checking
OK
No
Settings for all types completed
Yes
Transmitting from flash memory to RAM
Obtaining images, capturing
specific lines of an image
ESC key
- System program
- Conditions other than the conditions specified for each object type
NG
Display check sum results
Measurement conditions for each object type
ON
Processing after the power is turned ON
OFF
To the next page
Place the operation screen in the locked state
1-17
Page 25
Setting and Operating Outline
1
From the preceding page
Message display Pattern display
Crosshair cursor display
(Communication processing)
Data received
Yes
Communication processing
Receive a measurement
start input signal
Measurement start
ON
PC calculation
Display results. When the option has been set to "YES"
(System) Display "YES"
No
Parallel/general-purpose serial/CCD trigger
OFF
Main loop processing
PC calculation
Executing measurements
Measurement result output processing
Key input
Yes
Process key strokes Processing on sub-menu (Menu configuration See page 1-4.)
Parallel/general-purpose serial
No
1-18
Page 26
Setting and Operating Outline

[2] Operation flow after the measurement start input is turned ON.

Start (measurement start input ON)
PC calculation
Parallel output (Y0 to Y15), "READY" OFF
External interface inhibit
(keys, communications, parallel)
Measurement timer start
Capture the scan line range that was specified when setting the measurement conditions.
*1 The measurement start input is
set to "PARALLEL" and the ’READY’ ON signal to "end of image capture."
No
No
Reading the object type No.
Image capturing (camera 1/2)
*1
Yes
READY ON
Is the light level
monitor selected?
Yes
Execute the light level
monitor function
1
Executing measurement 0 using
Yes
Yes
2 (To the next page)
Was an error detected?
Executing measurement 0 using camera 2
Was an error detected?
camera 1
No
No
1 (To the next page)
[Measurement program that is selected]
- Positional deviation measurement
1-19
Page 27
Setting and Operating Outline
1
2 (From the preceding page)
No
Yes
Yes
Yes
Positional correction
Setting the coordinate correction values (X, Y, θ)
Executing measurement 1
Was an error detected?
Executing measurement 2
Was an error detected?
Executing measurement 3
Was an error detected?
Executing measurement 4
1 (From the preceding page)
Yes
(*2)
No
No
No
[Measurement programs that 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
The window coordinates are corrected within the range set for each type of measurement, based on the correction value determined in the steps marked with *2.
No
Yes
Message display
Yes
Error display
Was an error detected?
No
PC calculation
No
Displaying the measurement results
No
Message display
(values, decisions etc.)
Pattern display
Positional correction yes
Display pattern after correction
Yes
Yes
No
Yes
Display pattern when setting
To the next page
1-20
Page 28
Setting and Operating Outline
*3 Set the measurement
start input to any choice other than "parallel" or set the ’READY’ ON signal to "end measurement."
From the previous page
Determining the measuring time (timer stop)
Parallel output (Y0 to Y15) OFF
External interface enabled (communications)
No Computer link
General purpose serial output Computer link output
External interface enabled (key, parallel)
No
Serial output
General purpose
*3
Yes
READY ON
1
Waiting for a measurement start input signal or a key input
- When the halt NG measurement option is set to "YES" (page 3-38), the controller stops measuring when an error occurs.
1-21
Page 29
Setting and Operating Outline

1-9 Table of controller functions

1
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."
Item
Image sampling system 256 level gray scale, binary conversion, edge detection
Image memory
No. of assignable object type
Maximum number of reference images stored / number of
whole screens stored
Image scan time 33.3 ms
Gray search time * 15 ms
Gray search, edge detection
precision
Shading correction Dividing, subtracting, and filtering
Comparative calculation
between images
Gray level changes
Image pre-processing
Binary threshold value
Binary noise elimination
Binary image mask
Positional correction method
Measurement program
Multiple degree of match
* 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.
Space filter
Positional deviation
measurement
Degree of match
inspection
Area measurement by
binary conversion
Object counting by
binary conversion
Object identification by
binary conversion
Point measurement
Lead inspection
Multiple position
inspection inspection
Specifications
IV-S30J
One screen for displaying captured images. One monochrome screen for displaying camera information and messages
16 object types
200 / 2 screens
Pixel, sub-pixel
Subtracting, absolute value of difference (between camera 1 and reference image, between camera 2 and reference image, between camera 1 and
camera 2)
Magnification by "n" processing, γ(+/-) correction, histogram widening, mid-range emphasis
Smoothing (center/average), edge emphasis, edge extraction, horizontal
edge, vertical edge
Fixed and threshold value corrections (variation difference/variation rate) Expansion - contraction, contraction - expansion, area filter Specified window( rectangle, circle, oval), any binary image mask
X/Y correction, rotation correction 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 search + 1-point edge)
[Maximum 8 windowsx2models]
Degree of match, XY coordinate, density (1-point search, 2-point search)
[Maximum 16 windowsx2models]
Area [Maximum 16 windows]
Quantity (maximum 3,000 items per window), total area
[Maximum 4 windows]
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]
Number in binary image (maximum 256 points), average density (maximum 128 points)
Number of leads, distance between leads (max., min.), lead width (max., min.), lead length (max., min.) [Maximum 16 windows]
Number of objects (max. 128), degree of match, XY coordinate (1-point
search, 1-point edge) [Maximum 4 windows]
Number of objects (max. 128), degree of match, XY coordinate, density (1­point search) [Maximum 4 windows]
1-22
Page 30
Setting and Operating Outline
Item
Number of measurement
programs
Window shape
Distance and angle
measurement
Arithmetic operation
Other functions
Input relays
Output relays
Auxiliary relays
Timers
Micro PC section
External
interface
Number of cameras Maximum of 2
Measu­rement start input
Terminal block
Power voltage/consumption 24 VDC (±10 %) 7 W
Counters
Parallel interface
General-purpose
serial interface
Computer link
Image output
Make settings
Internal trigger CCD trigger (using the CCD camera)
External trigger
Interrupt processing
input
Inputs
Common for input 1 point: + common
Output 9 points: 1 READY,8user settable logical outputs (Y0 to Y7)
Common for output 1 point: + common
Power supply 2 points: +24 VDC, 0 V
Maximum 6 per object type (measurement0-camera 1, measurement 0 -
camera 2, measurements 1 to 4)
Note: Measurement 0 is only used for positional deviation measurement. Rectangle, circle, oval (when using area measurement by binary
conversion, object counting by binary conversion, object identification by binary measurement), polygon window (maximum 32 sided polygons: When binary area measurement, counting after binary conversion, or object identification (labeling) after binary conversion is selected.)
Measure distance (between two points, X coordinate, Y coordinate),
measure angle (3 points, 2 points against horizontal line, 2 points against vertical line), auxiliary point (center, circle center, gravity center, line over 2 points, crossing point of two straight lines)
Four basic operations (+, -, X, /), root, absolute value, TAN, ATAN,
maximum, minimum, average , total.
Display measuring time, light level monitor function, crosshair cursor
display, change display language between Japanese and English, Run screen lock function, setting menu display "yes/no", change image display
(through/freeze), change image brightness (bright/dark) Parallel input: 7 points (X0 to X6) Parallel output: 8 points (Y0 to Y7)
General-purpose serial interface, computer link: 16 points (Y0 to Y15) 128 points (C0 to C127), special area 18 points (C110 to C127)
8 points (TM0 to TM7), timer setting range: 0.01 to 9.99 seconds
(countdown timer)
8 points (CN0 to CN7), counter setting range: 001 to 999 (counts down) Input: 7 points, 12/24 VDC
Output: 9 points, 12/24 VDC RS232C/RS422 (2.4 to 115.2 kbps) Built-in compatibility with certain SHARP, OMRON, and Mitsubishi models
1 channel, EIA 525 lines, 2:1 interlace
Using the IV-S30RK1 remote keypad and/or the IV-S30SP parameter
setting support software
Trigger input (parallel I/F), general-purpose serial I/F, keypad trigger (for
manual measuring) 1 point: External trigger (X0)
4 points: Object type change (X1 to X4)
2 points: External input (X5, X6)
Specifications
IV-S30J
1
1-23
Page 31
Setting the Operating and System Conditions

Chapter 2: Setting the Operating and System Conditions

2-1 Setting the operating conditions

Set the following operating condition items on the [TYPE RUN COND] menu for each object type.
Item to set Reference page
Monitor output 2-2 Image capture 2-4 Message display 2-5 Pattern display 2-6 Binary image display 2-7
θ angle correction image display Operation main display 2-9 Evaluation change display 2-10 PC monitor screen 2-11
Through display 2-11 Extension function 2-12
How to display the TYPE RUN COND screen
On the "MAIN MENU," select "OBJECT TYPE COND", "TYPE 00", and "TYPE RUN COND" in this order.
2-8
SELECT OBJECT TYPE COND
OBJECT TYPE COND
TYPE00
TYPE RUN COND IMAGE-ADJ MEA-CND(CAMERA1)
+
MEA-CND(CAMERA2)
+
FINAL NUM.CALC FINAL OUTPUT COND OBJ-TYPE I/O OBJ-TYPE SYS.
TYPE(NEW)
1
MONITOR OUTPUT
2
CAPTURE IMG
3
MESSAGE DISPLAY
4
PATTERN DISPLAY
5
SHOW BINARY IMG
6
SHOW θFIX IMG
7
OPS MAIN DESP
8
DESP CHG-EVAL
9
PC-MNTR
0
THROUGH DISPLAY
q
EXTENSION FUNC.
w
DISPLAY+CURSOR 1
e
CLOSS CURSOR COORD
r
DISPLAY+CURSOR 2
t
CLOSS CURSOR COORD
2
F C1 BRT
The "TYPE RUN COND" screen will appear.
2-1
SET=TO NEXT SUB-MENU ESC=BACK SEL=CHNG IMG TRG=POPUP
TYPE RUN COND SCREEN SAVE F C1 BRT
1
MONITOR OUTPUT CAM1
2
CAPTURE IMG PARTIAL-IMG
3
MESSAGE DISPLAY YES(NUMERIC)
4
PATTERN DISPLAY YES
5
SHOW BINARY IMG YES
6
SHOW θ FIX IMG YES
7
OPS MAIN DISP YES
8
DISP CHG-EVAL NO
9
PC-MNTR NO
0
THROUGH DISPLAY NO
q
EXTENSION FUNC. NO
SET=SELECT A MENU ESC=BACK SEL=CHNG IMG TRG=FUNC
Page 32
Setting the Operating and System Conditions
2

[1] Monitor output

When two cameras have been connected to IV-S30J, you can switch back and forth between the image from the cameras on one monitor. Also, the monitor screen can be divided into two parts to display the two images simultaneously.
- Purpose of the setting
To set the conditions in which an image captured during measurement will be displayed on the operation screen.
TYPE RUN COND SCREEN SAVE F C1 BRT
1
MONITOR OUTPUT CAM1
2
CAPTURE IMG PARTIAL-IMG
3
MESSAGE DISPLAY YES(NUMERIC)
4
PATTERN DISPLAY YES
5
SHOW BINARY IMG YES
6
SHOW θ FIX IMG YES
7
OPS MAIN DISP YES
8
DISP CHG-EVAL NO
9
PC-MNTR NO
0
THROUGH DISPLAY NO
q
EXTENSION FUNC. NO
- Output monitor switching
There are two methods for changing the monitor output: change the TYPE RUN COND settings, use external input signals through the parallel port to make changes from outside.
SET=SELECT A MENU ESC=BACK SEL=CHNG IMG TRG=FUNC
(1) Change the monitor output by changing the TYPE RUN COND settings
Select the " MONITOR OUTPUT" item on the "TYPE RUN COND" screen and then select an item from the popup menu.
1MONITOR OUTPUT
CAM1 CAM2
CAM1&2
Display the camera 1 image on the whole screen. Display the camera 2 image on the whole screen. Display the camera 1 image on upper half, and the camera 2 image
on lower half.
Description
CAM1 CAM2 CAM1&2
Display examples on the operation screen
- Camera 1 on the whole screen
(When "CAM1" has been specified in item
1MONITOR OUTPUT.)
F C1 H
SERIAL NO. 8F053G26 MODEL
-
S33MX
IV
- Simultaneous display on a divided screen
(When "CAM1&2" has been specified in item
"1MONITOR OUTPUT.")
F C1/C2 H
SERIAL NO. 8F053G26 MODEL
-
S30J
IV
- Camera 2 on the whole screen.
(When "CAM2" has been specified in item
1MONITOR OUTPUT.)
F C2 H
Camera 2
image
2-2
Camera 1
image
Page 33
Setting the Operating and System Conditions
(2) Output monitor switching by parallel input
On the operation screen, select "MAIN-COND" -> "SYS-CND" -> "I/O CONDITIONS" in that order. Move the cursor to the " PARALLEL INP X6" line using up/down arrow keys and press the SET key. Select "CHNG-IMG-OUT-CAM" on the popup menu that is displayed and then press the SET key.
Every time the X6 signal is turned from OFF to ON, the selected camera display will be changed.
CAM1
whole screen
CAM2
whole screen
CAM1&2(HORIZ)
divided screen
The display example of the operation screen is the same as in section (1).
I/O CONDITION SCREEN COND SAVE
1
MEAS INP I/F PARALLEL+SERIAL
2
OUT I/F(PARAL.) NO
3
MANL TYPE CHNG NO
4
PARALLEL INP X5 EXT-INP
5
PARALLEL INP X6 CHNG-IMG-OUT-CAM
6
STROBE OUT NO
7
’READY’ON CAPTURE COMPLETE
SET=SELECT A MENU ESC=BACK SEL=CHNG IMG TRG=FUNC
EXT-INP CHNG-IMG-OUT-CAM CAM-MEAS 2 IMAGES
F C1 BRT
2
2-3
Page 34
Setting the Operating and System Conditions
2

[2] Image capture

In item " CAPTURE IMG" on the "TYPE RUN COND" screen, specify the range which will be captured during operation.
CAPTURE IMG
PARTIAL-IMG (partial image)
WHOLE-IMG
(whole image)
NO
(no image)
- An image of the specified lines, required for inspection or measurement, will be captured.
- The processing time is shorter than in the "WHOLE-IMG" mode.
- A whole image will be captured, irrespective of the window settings for inspection or measurement.
- This mode is used to monitor portions of an image outside the window set up for inspection or measurement
- 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 the IV-S30J.
TYPE RUN COND SCREEN SAVE F C1 BRT
1
MONITOR OUTPUT CAM1
2
CAPTURE IMG PARTIAL-IMG
3
MESSAGE DISPLAY YES(NUMERIC)
4
PATTERN DISPLAY YES
5
SHOW BINARY IMG YES
6
SHOW θ FIX IMG YES
7
OPS MAIN DISP YES
8
DISP CHG-EVAL NO
9
PC-MNTR NO
0
THROUGH DISPLAY NO
q
EXTENSION FUNC. NO
PARTIAL-IMG WHOLE-IMG NO
Description
Example of a comparison of the capture times
- When "WHOLE-IMG" is selected: 33.3 ms
Capture whole image
480 lines
- When the "PARTIAL-IMG" is selected (when there are 240 scan lines): 16.6 ms
Capture partial image
240 lines
2-4
Page 35

[3] Message display

- When "YES(NUMERIC)" is selected - When "YES(NO NUMERIC)" is selected
Can be 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
Press the SET key
Press the ESC key
The menu bar will disappear.
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
X0~6 Y0~7 READY
MNU-CHG MAIN-COND CHG-MEA COND-CHG CHNG-REG SCREEN-CHG CHG-TYPE
Select "YES" or "NO" to display messages on the operation screen.
MESSAGE DISPLAY
YES (NUMERIC)
YES (NO NUMERIC)
NO
All data will be displayed. Data other than the numerical
result will not be displayed. No messages will be displayed.
Setting to "NO" reduces the processing time. Processing time: YES(NUMERIC) > YES(NO NUMERIC) > NO
Display examples
Description
Setting the Operating and System Conditions
TYPE RUN COND SCREEN SAVE F C1 BRT
1
MONITOR OUTPUT CAM1
2
CAPTURE IMG PARTIAL-IMG
3
MESSAGE DISPLAY YES(NUMERIC)
4
PATTERN DISPLAY YES
5
SHOW BINARY IMG YES
6
SHOW θ FIX IMG YES
7
OPS MAIN DISP YES
8
DISP CHG-EVAL NO
9
PC-MNTR NO
0
THROUGH DISPLAY NO
q
EXTENSION FUNC. NO
SET=SELECT A MENU ESC=BACK SEL=CHNG IMG TRG=FUNC
YES(NUMERIC) YES(NO NUMERIC) NO
2
2-5
Page 36
Setting the Operating and System Conditions
2

[4] Pattern display

Select "YES" or "NO" to determine whether to show the pattern display (solid lines and dashed lines of the rectangles in the window) over an image displayed on the operation screen.
Note: When the "CAM1&2" is selected on the
"
MONITOR OUTPUT" (page 2-2), pattern
display cannot be selected.
PATTERN DISPLAY
Displays patterns in the window, such
YES
as the rectangles defined for the inspection area and the search area.
NO
Patterns will not be displayed on the operation screen.
Display examples
- When "YES" is selected for PATTERN DISPLAY.
(TYPE00)
OK
MEAS XXXXms MEASURE 0 CAM1 POSI-DEVIATION
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
X0~6 Y0~7 READY
Description
F C1 L
VX.X
TYPE RUN COND SCREEN SAVE F C1 BRT
1
MONITOR OUTPUT CAM1
2
CAPTURE IMG PARTIAL-IMG
3
MESSAGE DISPLAY YES(NUMERIC)
4
PATTERN DISPLAY YES
5
SHOW BINARY IMG YES
6
SHOW θ FIX IMG YES
7
OPS MAIN DISP YES
8
DISP CHG-EVAL NO
9
PC-MNTR NO
0
THROUGH DISPLAY NO
q
EXTENSION FUNC. NO
SET=SELECT A MENU ESC=BACK SEL=CHNG IMG TRG=FUNC
YES NO
- When "NO" is selected for PATTERN DISPLAY
(TYPE00)
OK
MEAS XXXXms MEASURE 0 CAM1 POSI-DEVIATION
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
X0~6 Y0~7 READY MNU-CHG MAIN-COND CHG-MEA COND-CHG CHNG-REG SCREEN-CHG CHG-TYPEMNU-CHG MAIN-COND CHG-MEA COND-CHG CHNG-REG SCREEN-CHG CHG-TYPE
F C1 L
VX.X
2-6
Page 37
Setting the Operating and System Conditions

[5] Binary image display

Select "YES" or "NO" to display a binary image on the operation screen. Note: When "CAM1&2" is selected on the "MONITOR
OUTPUT" (page 2-2), the binary image display cannot be selected.
- When "NO" is selected on the " PATTERN DISPLAY," the " SHOW BINARY IMG" item will not appear.
SHOW BINARY IMG
YES
NO
A binary image will be displayed on the operation screen.
A binary image will not be displayed on the operation screen.
Display examples
- When "YES" is selected for the "5SHOW BINARY IMG"
(TYPE00)
OK
MEAS XXXXms MEASUREMENT1 CNT-BIN-OBJ
K0=00006 OK A0=015781 OK K1=00020 OK A1=087620 OK K2=00010 OK A2=042680 OK K3= A3=   
Description
F C1 L
VX.X
TYPE RUN COND SCREEN SAVE F C1 BRT
1
MONITOR OUTPUT CAM1
2
CAPTURE IMG PARTIAL-IMG
3
MESSAGE DISPLAY YES(NUMERIC)
4
PATTERN DISPLAY YES
5
SHOW BINARY IMG YES
6
SHOW θ FIX IMG YES
7
OPS MAIN DISP YES
8
DISP CHG-EVAL NO
9
PC-MNTR NO
0
THROUGH DISPLAY NO
q
EXTENSION FUNC. NO
SET=SELECT A MENU ESC=BACK SEL=CHNG IMG TRG=FUNC
YES NO
- When "NO" is selected for the "5SHOW BINARY IMG"
(TYPE00) 
OK
MEAS XXXXms MEASUREMENT1 CNT-BIN-OBJ
K0=00006 OK A0=015781 OK K1=00020 OK A1=087620 OK K2=00010 OK A2=042680 OK K3= A3=   
F C1 L
VX.X
2
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
X0〜6 Y0〜7 READYX0〜6 Y0〜7 READY
2-7
Page 38
Setting the Operating and System Conditions
2
θθ
[6]
θ angle correction image display
θθ
Select "YES" or "NO" to display a θ angle corrected image on the operation screen.
SHOW FIX θ IMG
Description
A θ angle corrected image will be
YES
NO
displayed on the operation screen. A θ angle corrected image will not be displayed on the operation screen.
Display examples
(Reference image) (Measured image)
TYPE RUN COND SCREEN SAVE F C1 BRT
1
MONITOR OUTPUT CAM1
2
CAPTURE IMG PARTIAL-IMG
3
MESSAGE DISPLAY YES(NUMERIC)
4
PATTERN DISPLAY YES
5
SHOW BINARY IMG YES
6
SHOW θ FIX IMG YES
7
OPS MAIN DISP YES
8
DISP CHG-EVAL NO
9
PC-MNTR NO
0
THROUGH DISPLAY NO
q
EXTENSION FUNC. NO
SET=SELECT A MENU ESC=BACK SEL=CHNG IMG TRG=FUNC
YES NO
- When the θ angle correction image display mode has been set to YES.
- When the θ angle correction image display mode has been set to NO.
Position of reference image
2-8
Page 39

[7] Operation main display

When the operation screen was set to display other screens (such as the "DISP CHG-EVAL" and "PC­MNTR" screens), this item should be selected to return to the main display from other screens. On the "TYPE RUN COND" screen, select " OPS MAIN DISP" and then "YES" on the popup menu. That will return you to the main operation screen. Note: When other screens are set to "YES" (such as
the " DISP CHG-EVAL" and " PC-MNTR" screens), make sure to select "YES" from the
OPS MAIN DISP.
Setting the Operating and System Conditions
TYPE RUN COND SCREEN SAVE F C1 BRT
1
MONITOR OUTPUT CAM1
2
CAPTURE IMG PARTIAL-IMG
3
MESSAGE DISPLAY YES(NUMERIC)
4
PATTERN DISPLAY YES
5
SHOW BINARY IMG YES
6
SHOW θ FIX IMG YES
7
OPS MAIN DISP YES
8
DISP CHG-EVAL NO
9
PC-MNTR NO
0
THROUGH DISPLAY NO
q
EXTENSION FUNC. NO
SET=SELECT A MENU ESC=BACK SEL=CHNG IMG TRG=FUNC
YES NO
2
Press the TRG/BRT key to move the cursor to the upper function menu. Select "SCREEN" and press the SET key. Then select "OPS-MENU."
Select "SCREEN-CHG" on the lower menu on the operation screen and press the SET key. "OPS-MAIN" will be displayed in the lower right corner of the 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).
TYPE RUN COND SCREEN SAVE F C1 BRT
1
MONITOR OUTPUT CAM1
2
CAPTURE IMG PARTIAL-IMG
3
MESSAGE DISPLAY YES(NUMERIC)
4
PATTERN DISPLAY YES
5
SHOW BINARY IMG YES
6
SHOW θ FIX IMG YES
7
OPS MAIN DISP YES
8
DISP CHG-EVAL NO
9
PC-MNTR NO
0
THROUGH DISPLAY NO
q
EXTENSION FUNC. NO
(TYPE00) AREA1
OK
MEAS
XXXXms
MEASURE 0 CAM1 POSI-DEVIATION
OPS-MENU MAIN SELECT RETURN
F C1 DRK
C1=002.2 OK C2=100.0 OK
V*.**
2-9
OPS-MAIN PC-MNTR
X0〜6
□□□□□□□□
 Y0〜7
MNU-CHG MAIN-COND CHG-MEA COND-CHG CHNG-REG SCREEN-CHG CHG-TYPE
□□□□□□□□
 READY
□
Page 40
Setting the Operating and System Conditions

[8] Evaluation change display

Specify whether the evaluation condition change menu can be displayed on the operation screen or not.
2
Select the " DISP CHG-EVAL" line on the "TYPE RUN COND" screen and select "YES" on the popup menu.
TYPE RUN COND SCREEN SAVE F C1 BRT
1
MONITOR OUTPUT CAM1
2
CAPTURE IMG PARTIAL-IMG
3
MESSAGE DISPLAY YES(NUMERIC)
4
PATTERN DISPLAY YES
5
SHOW BINARY IMG YES
6
SHOW θ FIX IMG YES
7
OPS MAIN DISP YES
8
DISP CHG-EVAL YES
9
PC-MNTR NO
0
THROUGH DISPLAY NO
q
EXTENSION FUNC. NO
SET=SELECT A MENU ESC=BACK SEL=CHNG IMG TRG=FUNC
YES NO
Press the TRG/BRT key to move the cursor to the upper function menu. Select "SCREEN" and press the SET key. Then select "OPS-MENU."
Select "SCREEN-CHG" on the lower menu on the operation screen, and press the SET key. "JDG­COND CHG" will be displayed in the lower right corner of the screen. You can display the evaluation condition change menu by pressing the up and down keys.
- Press the SET key. The cursor will move to the area containing the phrase "evaluation condition change menu during operation." You can change the settings for the evaluation 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."
TYPE RUN COND SCREEN SAVE F C1 BRT
1
MONITOR OUTPUT CAM1
2
CAPTURE IMG PARTIAL-IMG
3
MESSAGE DISPLAY YES(NUMERIC)
4
PATTERN DISPLAY YES
5
SHOW BINARY IMG YES
6
SHOW θ FIX IMG YES
7
OPS MAIN DISP YES
8
DISP CHG-EVAL NO
9
PC-MNTR NO
0
THROUGH DISPLAY NO
q
EXTENSION FUNC. NO
(TYPE00)
MEAS 0000ms MEASURE 0 CAM1 NO
Display evaluation condition change menu while in operation
X0〜6
□□□□□□□□
 Y0〜7
□□□□□□□□
 READY
MNU-CHG MAIN-COND CHG-MEA COND-CHG CHNG-REG SCREEN-CHG CHG-TYPE
OPS-MENU MAIN SELECT RETURN
F C1 BRT
JDG-COND-CHG PC-MNTR
□
2-10
Page 41
Setting the Operating and System Conditions

[9] PC monitor screen

(TYPE00)AREA1
Specify whether to display the PC monitor on the operation screen. Select the "
PC-MNTR" line on the "TYPE RUN COND" screen and select "YES" on the popup menu. Now the PC monitor screen can be displayed.
Select "SCREEN-CHG" on the lower menu bar of the operation screen and then select "PC-MNTR" on the popup menu. The PC monitor will be displayed.
1 The ON ( 2 The ON ( 3 The ON (
) or OFF (□) status of the input relays (X00 to X07) is displayed.
) or OFF (□) status of the output relays (Y00 to Y15) is displayed.
) or OFF (□) status of the auxiliary relays (C000 to C127) is displayed.
1
3
4
5
6
7
OK
MEAS
XXXXms
X00〜06
Y000〜007 
C000〜007
[NUMERIC CALC] [TMR] [CNTR] AN00= +00000250.0 OK TM0:200 CN0:100 AN01= -00000300.0 OK TM1:300 CN1:150 AN02=NOT SET TM2:NOT SET CN2:NOT SET AN03=NOT SET TM3:NOT SET CN3:NOT SET AN04=NOT SET TM4:NOT SET CN4:NOT SET AN05=NOT SET TM5:NOT SET CN5:NOT SET AN06=NOT SET TM6:NOTSET CN6:NOT SET AN07=NOT SET TM7:NOT SET CN7:NOT SET
MMU-CHG MAIN-COND SEL-OUT SEL-AUX SEL-NUM SCREEN-CHG CHG-TYPE
4 The results (AN00 to AN15) of the final numerical calculations are displayed. 5 The current timer value is displayed. 6The current counter value is displayed. 7 Menu bar
T C1 DRK
LOCKFULLV*.** C1=002.2OK C2=100.0OK
 READY2
○
2
Menu bar
SEL-OUT
SEL-AUX
SEL-NUM
Change the output relay address (Y00 to Y15) using the up and down keys (in units of 8 points).
Change the auxiliary relay address (C000 to C127) using the up and down keys (in units of 8 points).
Change the final numerical calculation address (AN00 to AN15) using the up and down keys (in units of 8 points).
Description
The other data displayed is the same as on the operation screen. -See page 1-10.

[10] Through display

Select the desired measurement image status (FREEZE or THROUGH) by choosing either "YES" or "NO" on the operation screen.
THROUGH DISPLAY
NO
YES
Description
Measurements can be made on a frozen image.
Measurements can be made on a through image.
TYPE RUN COND SCREEN SAVE F C1 BRT
1
MONITOR OUTPUT CAM1
2
CAPTURE IMG PARTIAL-IMG
3
MESSAGE DISPLAY YES(NUMERIC)
4
PATTERN DISPLAY YES
5
SHOW BINARY IMG YES
6
SHOW θ FIX IMG YES
7
OPS MAIN DISP YES
8
DISP CHG-EVAL NO
9
PC-MNTR NO
0
THROUGH DISPLAY NO
q
EXTENSION FUNC. NO
YES NO
2-11
SET=SELECT A MENU ESC=BACK SEL=CHNG IMG TRG=FUNC
Page 42
Setting the Operating and System Conditions

[11] Extension functions

The extension function has crosshair cursor display and manual display functions.
(1) Crosshair cursor display
2
The crosshair cursor can be displayed on any position.
- "1" equals a 16-pixel line. "2" equals a full line.
- The initial coordinates of the crosshair cursor center are (256,240)
Operation procedure
1. On the "TYPE RUN COND" screen, move the cursor to item " EXTENSION FUNC." using the up and down keys, and press the SET key.
2. Select "DISPLAY+CURSOR" on the popup menu and press the SET key.
Measurement image of
3. Press the SET key on the " DISPLAY+CURSOR 1" line and select "1" or "2" on the popup menu. Then press the SET key.
4. Select " CROSS CURSOR COORD" and press the SET key. Now, the crosshair appear on the screen. Move the crosshair cursor using the up/down/left/right arrow keys. (It moves one pixel at a time)
Measurement image of
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.
[Display example]
(TYPE00)AREA1
OK
MEAS
XXXX
MEASURE 0 CAM1 POSI DEVIATION
camera 1.
camera 2.
X0〜6 Y0〜7 READY
MNU-CHG MAIN-COND CHG-MEA COND-CHG CHNG-REG SCREEN-CHG CHG-TYPE
TYPE RUN COND SCREEN SAVE
1 2 3 4 5 6 7 8 9 0 q w e r
ms
Displays two crosshair cursors.
MONITOR OUTPUT CAM1 CAPTURE IMG PARTIAL-IMG MESSAGE DISPLAY YES(NUMERIC) PATTERN DISPLAY YES SHOW BINARY IMG YES SHOW θ FIX IMG YES OPS MAIN DISP YES DISP CHG-EVAL NO PC-MNTR NO THROUGH DISPLAY NO EXTENSION FUNC. DISPLAY+CURSOR DISPLAY+CURSOR 1 CLOSS CURSOR COORD SET DISPLAY+CURSOR 2 NO
1
(256,240)
F C1 BRT
NO DISPLAY+CURSOR MANL-MEAS
1 2
2-12
SET=SELECT A MENU ESC=BACK SEL=CHNG IMG TRG=FUNC
Page 43
Setting the Operating and System Conditions
OK
X0〜6 Y0〜7 READY
(TYPE00)AREA1
MEAS
XXXX
ms
MEASURE 0 CAM1 POSI DEVIATION
  MANL-MEAS
1
CURSOR1-COORDMOVE(224,208)
2
CURSOR2-COORDMOVE(287,271) DIST-BETW-2PT 089.0 DIST-BETW-X 063.0  DEST-BETW-Y 063.0
MNU-CHG NEXT-NG CHG-C1 CHG-C2 MANL-MEAS SHORTCUT
Cross hair cursor 1 Cross hair cursor 2
Manual measurement
menu
(2) Manual measurement
With this function, you can measure distance between two points, the distance between X coordinates, or the distance between Y coordinates that were selected manually on the operation main screen.
Operation procedure
1. Select " EXTENSION FUNC." on the "TYPE RUN COND" menu using the up and down arrow keys. Then press the SET key.
2. Select "MANL-MEAS" on the popup menu and press the SET key.
TYPE RUN COND SCREEN SAVE F C1 BRT
1
MONITOR OUTPUT CAM1
2
CAPTURE IMG PARTIAL-IMG
3
MESSAGE DISPLAY YES(NUMERIC)
4
PATTERN DISPLAY YES
5
SHOW BINARY IMG YES
6
SHOW θ FIX IMG YES
7
OPS MAIN DISP YES
8
DISP CHG-EVAL NO
9
PC-MNTR NO
0
THROUGH DISPLAY NO
q
EXTENSION FUNC. MANL-MEAS
NO DISPLAY+CURSOR MANL-MEAS
2
3. Move the cursor to the upper function menu by pressing the TRG/BRT key and select "SCREEN." Then press the SET key. Select "OPS-MENU" on the popup menu and return to the operation screen.
TYPE RUN COND SCREEN SAVE F C1 BRT
1
MONITOR OUTPUT CAM1
2
CAPTURE IMG PARTIAL-IMG
3
MESSAGE DISPLAY YES(NUMERIC)
4
PATTERN DISPLAY YES
5
SHOW BINARY IMG YES
6
SHOW θ FIX IMG YES
7
OPS MAIN DISP YES
8
DISP CHG-EVAL NO
9
PC-MNTR NO
0
THROUGH DISPLAY NO
q
EXTENSION FUNC. NO
4. Move the cursor to the "MNU-CHG" (menu change) item on the bottom of the operation screen and press the SET key to change the bottom menu display. Move the cursor to "MANL-MEAS" (manual measurement) and press the SET key.
5. The menu items for manual measurements will appear on the screen.
6. Select " CURSOR1-COORD" or "
CURSOR2-COORD" and press
the SET key.
7. Move cursor 1 or cursor 2 using the up/down/left/right 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.
OPS-MENU MAIN SELECT RETURN
2-13
Page 44
Setting the Operating and System Conditions

2-2 Setting the system conditions

Set the following items on the "SYS-CND" menu to set the system conditions for the controller.
Setting item
2
- Input/output conditions
- Communication setting
- Computer link
- Gain/offset
For the following items, see the pages listed below.
- Input/output conditions Chapter 16
- Communication setting Chapter 17
- Computer link Chapter 18
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=POPUP

[1] Manually setting the object type

On the operation screen, the object type (00 to 15) can be changed manually (using the remote keypad).
On the MAIN MENU, select "SYS-CND" -> "I/O CONDITIONS" -> " MANL TYPE CHNG" in that order and then select "YES" or "NO" on the popup menu.
MANL TYPE CHNG
YES
NO
The type can be manually changed on 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).
The type cannot be manually changed on the operation screen.
Description
SYSTEM COND SET
SYS-COND
I/O CONDITIONS COMM-SET COMPUTER LINK GAIN-OFFSET
SET=SELECT A MENU ESC=BACK SEL=CHNG IMG TRG=POPUP
I/O CONDITION SCREEN COND SAVE
1
MEAS INP I/F PARALLEL+SERIAL
2
OUT I/F(PARAL.) NO
3
MANL TYPE CHNG NO
4
PARALLEL INP X5 EXT-INP
5
PARALLEL INP X6 EXT-INP
6
STROBE OUT NO
7
’READY’ON CAPTURE COMPLETE
1
MEAS INP I/F
2
OUT I/F(PARAL.)
3
MANL TYPE CHNG
4
PARALLEL INP X5
5
PARALLEL INP X6
6
STROBE OUT
7
’READY’ON
NO YES
F C1 BRT
F C1 BRT
2-14
SET=SELECT A MENU ESC=BACK SEL=CHNG IMG TRG=FUNC
Page 45
Setting the Operating and System Conditions

[2] Gain/offset adjustment

The gain and offset of the IV-S30J can only be adjusted by our service engineers. Users must not try to change them.
The data which can be adjusted is shown below for reference purpose only. Generally, an image from the CCD camera can be optimized by adjusting the optical system, such as the lens iris. To make fine adjustments, the IV-S30J is equipped with functions to adjust the offset and gain of image signals from cameras 1 and 2 and the contrast on an external monitor screen.
- The gain and offset are adjusted by checking the display on the screen.
- The screen is kept in the through mode.
Setting method
On the MAIN MENU, select "SYS-CND" -> "GAIN OFFSET" and the following message will appear on the screen.
CHANGING A SETUP MAY LEAD TO A MACHINE FAILURE. DO YOU CHANGE IT?
(YES=SET, NO=ESC)
Press the SET key the "GAIN OFFSET" screen at the right appears.
GAIN-OFFSET SCREEN COND SAVE F C1 BRT
1
OFFSET (CAM1) GAIN (CAM1)
2
OFFSET (CAM2)
3
GAIN (CAM2)
4
CONTRAST (MNTR)
5
SET=VALUE INPUT ESC=BACK SEL=CHNG IMG TRG=FUNC
+(↑) −(↓) (026) +(↑) −(↓) (245) +(↑) −(↓) (026) +(↑) −(↓) (245) +(↑) −(↓) (055)
2
Gain and offset adjustment
1
OFFSET (CAM1)
2
GAIN (CAM1)
3
OFFSET (CAM2)
4
GAIN (CAM2)
5
CONTRAST (MNTR)
Details of adjustment (selection)
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 is reduced, the screen will become
lighter, and as the gain value is increased, the screen will become darker.
The offset for camera 2 is adjusted with the up and down keys.
- The adjustment procedure is the same as that in Item . The gain for camera 2 is adjusted with the up and down keys.
- The adjustment procedure is the same as that in Item .
The monitor contrast is adjusted with the up and down keys.
- The intensity of image signals sent to the monitor is adjusted. As the contrast value is increased, the contrast on the screen will
become stronger.
2-15
Page 46
Setting the Operating and System Conditions

2-3 Editing Operation screen

In this controller, the operation screen display can be changed. You can move, enlarge, reduce, or hide any block of text.
2
(1) Move the cursor to "MAIN-MENU" on the operation screen and press the SET key. (2) Move the cursor to "EDIT MAIN OPS MENU" and
press the SET key.
(3) Now the operation screen will appear. Select a
IVS30J
SYS-CND OBJECT TYPE COND SET WIZARD EDIT MAIN OPS MENU OPTION
SET=TO NEXT SUB-MENU ESC=BACK SEL=CHNG IMG TRG=POPUP
OPS-MAIN
SCREEN OBJECT SAVE RESET
block of text you want to edit using the up, down, left, and right arrow keys, and press the SET key.
TYPE00)SAMPLE00
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 highlighted block of text can be moved using the
OK
MEAS XXXXms  MEAS1 MEAS-BIN-AREA
MEAS PROGRAM MEAS RESULT
MOVE MAGNIFCATION REDUCTION NON-DISP
up, down, left, and right arrow keys. When the text is in the desired new position, press the SET key again.
F C1 BRTMAIN MENU
F C1 BRT
F C1 DRK
 ○
LOCK FULL V C1=002.2 OK C2=100.0 OK NG-IMG 00(00)
*.*■
- MAGNIFICATION/REDUCTION
Move the cursor to the "MAGNIFCATION" or "REDUCTION" line and press the SET key. The highlighted block of text can be enlarged or reduced.
X0〜6 Y0〜7 READY
- NON-DISP
Move the cursor to the "NON-DISP" line and press the SET key. The highlighted block of text will be deleted.
2-16
Page 47
Setting the Operating and System Conditions
F C1 BRTMAIN MENU
IVS30J
SYS-CND OBJECT TYPE COND SET WIZARD EDIT MAIN OPS MENU OPTION

2-4 Option

With the IV-S30J, you can initialize the measurement settings, and run a self-diagnosis from the option menu.
Setting method
1) Display the "OPTION" from the "MAIN MENU."
2) Select the operation you want, such as " INITIALIZATION" or " SELF DIAGNOSIS."
OPTION SCREEN SAVE F C1 BRT
1
INITIALIZATION SELF DIAGNOSISEXEC
2
ALL-INITINIT-RAM

INITIALIZATION
Select any of the "ALL-INT" (initialize both FROM and RAM), or "INT-RAM" and the following message will appear.
MEM INIT?(YES=[SET], NO=[ESC] )
Press the SET key to start the initialization. The bar shown below will appear and display the progress of the initialization.
INITIALIZATION
2
REFERENCE IMG SYSTEM I/O OBJECT TYPE COND
■■
■
■■■■■■■□□□
After the initialization is complete, the word "INITIALIZING" will change to "COMPLETE INIT." Press the ESC key to return to main screen.
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
OPTION SCREEN SAVE F C1 BRT
1
INITIALIZATION SELF DIAGNOSISEXEC
2
ALL-INITINIT-RAM

are normal, "OK" will be displayed. If the results are abnormal, "NO" will be displayed.
When the diagnosis is complete, the
When the diagnosis is complete, the "DIAGNOSING" display will change to "COMPLETE DIAGNOSIS ."
"DIAGNOSING" display will change to "COMPLETE DIAGNOSIS ."
VRAM OK SDRAM OK
TYPE COND REFFERENCE IMG OK BOOT-PROG OK SYSTEM-PROG OK
DIAGNOSING
OK
SET=EXEC ESC=BACK SEL=CHNG IMG TRG=FUNC
2-17
Page 48
Setting the Conditions for Each Object Type

Chapter 3 : Setting Measurement Conditions

3-1 Outline

The measuring conditions for each object type are set on the "OBJECT TYPE COND" (conditions for object type) menu. A maximum of 16 object type numbers can be registered.
How to enter the setting screen
On the MAIN MENU, move the cursor to "OBJECT TYPE COND" and press the SET key. The "SELECT OBJECT TYPE COND" screen will appear. Select "TYPE00," "MEA-CND(CAMERA1)," and "MEAS0" or "MEAS(NEW)." Note: "MEAS0" is only used for measuring positional deviation.
SELECT OBJECT TYPE COND
OBJECT TYPE COND
TYPE00
+
TYPE01
+ +
TYPE02 TYPE03
+ +
TYPE04
+
TYPE05 TYPE(NEW)
SELECT OBJECT TYPE COND
OBJECT TYPE COND
TYPE00
TYPE RUN COND IMAGE-ADJ MEA-CND(CAMERA1)
+
MEAS0 POSI-CORRECT MEAS (NEW)
MEA-CND(CAMERA2)
+
FINAL NUM.CALC FINAL OUTPUT COND OBJ-TYPE I/O OBJ-TYPE SYS.
TYPE(NEW)
3
Choose a measurement program from the popup menu at " MEAS SELECTION" 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.
MEASUREMENT 1 SCREEN COND SAVE
1
MEAS SELECTION POSI-DEVIATION
NO POSI-DEVIATION CHK-DEG-MATCH INSPECT-LEAD MEAS-BIN-OBJ LABEL-BIN-OBJ POINT-MEAS MULTI-POSI MULTI MATCHES
3-1
Page 49
Setting Measurement Conditions
Setting procedure
A general outline of the setting procedures is shown below. For details, see each chapter.
Setting the measurement program conditions
3
MEASURE 0 MEASURE 1 MEASURE 2 MEASURE 3 MEASURE 4
Jump to the next page
Select the image pre-processing method
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
Image pre-processing - See page 3-19
"FINAL NUM.CALC" - See Chapter 14 "FINAL OUTPUT COND" - See Chapter 15 "OBJ-TYPE I/O" - See Chapter 16 "OBJ-TYPE SYS" "SAVE" - See page 1-14
"OPS-MENU"
3-2
Page 50
Outline of setting the measurement program
The measurement program can be specified from "MEAS0" through "MEAS4." (Camera1/camera 2)
Setting the Conditions for Each Object Type
SELECT OBJECT TYPE COND
OBJECT TYPE COND
TYPE00
         
+
    
+
TYPE01 TYPE02
+
TYPE03
+
TYPE04
+
SET=TO NEXT SUB-MENU ESC=BACK SEL=CHNG IMG TRG=POPUP
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.
Measurement program
F C1 BRT
3
When you want to specify the measurement condi­tions using "POSI-DEVIATION."
MEAS CND SCREEN COND SAVE F C1 BRT
1
DTECT PRECISION STANDARD
2
REGISTER NO 0(0~7)
3
MODE 1P-SCH
REGISTER NO.
5
MDL 0
6
MDL 1
SET=SELECT A MENU ESC=BACK SEL=CHNG IMG TRG=FUNC
×SSE×××××××
NO 1P-SCH 2P-SCH 1P-EDGE 2P-EDGE 1P-SCH+1P-EDGE
15141312111009080706050403020100
×××××
Set the specific conditions for each measurement program
Set the output conditions (see Chapter 16: Setting the Input/Output Conditions)
Set the evaluation conditions (testing)
Select "SCREEN" and then "OPS-MENU" to the operation screen.
3-3
Set the method for numeric calculation (testing)
Page 51
Setting Measurement Conditions

3-2 Shared settings

[1] Window shape selection and settings

This section describes how to select and set the window shapes used for image processing (e.g. rectangular windows, horizontal or vertical line boundaries, circle windows, elliptical windows, and polygonal windows). This can be done using the up,
3
down, left, and right setting keys on the remote key pad.
(1) Rectangular window
Line type
Solid lines
Dotted lines
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
EX: Register conditions of "Positional deviation measurement."
REG COND SCREEN COND SAVE DETAIL
1
REGISTER NO 0(0~7)
2
MEAS SHAPE (MDL0) RECTANGLE
3
REFIMG ARE (MDL0) SET (224,208)~(287,271)
4
SEARCH ARE (MDL0) SET (216,200)~(295,279)
Measurement programs
Positional deviation measurement (gray scale search), degree of match inspection, lead inspection, multiple position measurement (gray scale search), and multiple degree of match inspection.
Area measurement by binary conversion, object counting by binary conversion, object identification by binary conversion.
Positional deviation measurement (gray scale search), degree of match inspection, lead inspection (criteria search), multiple position measurement (gray scale search) and multiple degree of match inspection.
Positional deviation measurement (edge detection), multiple position measurement (edge detection).
Area measurement by binary conversion, object counting by binary conversion, object identification by binary conversion.
F C1 BRT
RECTANGLE X-LINE Y-LINE
3-4
Page 52
Setting the Conditions for Each Object Type
How to set a rectangular window
1. Moving the mask
- Up key
2. Specifying the upper left corner
- Up key - Down key - Left key - Right key
3. Specifying the lower right corner
- Up key - Down key - Left key - Right key
- Down key - Left key - Right key
3
To register reference images
To register reference images, the system should be in the "Freeze" mode.
See page 1-10
Window specifications
epyteniLevoMeziSmuminiMmumixaM
ecnerefeR
egami
aerahcraeSenildettoDemitatalexipenOlexipenofotinunI)lexip(61x61slexip084x215
enildiloSemitatalexipenOlexipenofotinunI)lexip(61x61
=Y*X(YxX
)slexip63556
3-5
Page 53
Setting Measurement Conditions
(2) Horizontal/vertical lines
3
Line type
Solid lines
Dotted lines
Image processing used Measurement programs
Gray scale search (reference image)
Edge of an area detection
Gray scale search line detection
Positional deviation measurement (gray scale search), degree of match inspection, lead inspection (criteria search).
Lead inspection Positional deviation measurement (gray scale search),
degree of match inspection, lead inspection (criteria search).
How to set horizontal lines
The following items on the settings menu can be used to define lines: MOVE, S.PT, E.PT. Shown here is an example of how to define a solid line.
1. Move
- Up key
- Down key
- Left key - Right key
3. Specifying the ending point2. Specifying the starting point
- Left key - Right key - Left key - Right key
(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)
How to set vertical lines
1. Move
- Up key - Down key
2. Specifying the starting point 3. Specifying the ending point
- Up key - Down key - Up key - Down key
(The left and right keys function the same as in the move item)
- Left key - Right key
(The left and right keys function the same as in the move item)
To register reference images
To register reference images, the system should be in the "Freeze" mode.
See page 1-10.
3-6
Page 54
Window specifications
- Horizontal lines
Line type Move Length
Reference image Solid line
Search area Dotted line
Setting the Conditions for Each Object Type
Horizontal direction: One pixel at a time Vertical direction: One pixel at a time
Min.
length
In units
of pixels8pixels
Max.
length
512
pixels
- Vertical lines
Line type Move Length
Reference image Solid line Search area Dotted line
Horizontal direction: One pixel at a time Vertical direction: One pixel at a time
In units
of pixels8pixels
When setting the horizontal and vertical lines, specify the line length as follows: The reference image must shorter than the search area lines.
(3) Circle window
Line type
Solid lines
Dotted lines
Image processing used
Window containing a binary image
Binary image window mask
Area measurement by binary conversion, object counting by binary conversion, object identification by binary conversion
Area measurement by binary conversion, object counting by binary conversion, object identification by binary conversion
Measurement programs
How to set a circle window
The following items on the settings menu can be used to define the circle window: CENTER, RAD. Shown here is an example of how to define a solid line circle window.
1. Specifying the center
- Up key
- Down key
- Left key - Right key
Min.
length
3
Max.
length
480
pixels
2. Specifying the radius
- Up/right key - Down/left key
(4) Elliptical window
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 identification by binary conversion
Area measurement by binary conversion, object counting by binary conversion, object identification by binary conversion
3-7
Page 55
Setting Measurement Conditions
How to set an elliptical window
The following items on the settings menu can be used to define the elliptical window: CENTER, RAD. Shown here is an example of how to define a solid line elliptical window.
1. Specifying the center
- Up key - Down key - Left key - Right key
3
2. Specifying the radius
- Up key - Down key - Left key - Right key
(5) Polygonal window
With the binary area measurement function, object counting after binary conversion function, object identification after binary conversion function, or point measurement after binary conversion function, you can create any shape of polygonal window with up to 32 sides, in addition to the rectangles, circles, and ovals 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 modify using the up and down arrow keys, and press the SET key. A popup menu will appear. Select CHANGE, INSERT or DELETE.
Any polygonal window (up to 32 sides)
16P (305,153) 27P (305,186) 38P (272,186) 49P (272,211) 510P (243,211) 611P (243,236) 712P (217,239) 813P (217,239)
3-8
Page 56
Setting the Conditions for Each Object Type

[2] Image settings

What follows is a description of how to use the image settings to control the measuring program.
(1) Pixel contraction and detection precision (gray scale processing)
The display will change from 1 to 2 to 3
Measurement condition setting screen
MEAS CND
1
DTECT PRECISION STANDARD
STANDARD HIGH PRECISION
Menu Description
- STANDARD (standard): Detection precision of 1 pixel unit
- HIGH (High precision): Detection precision of 1/10 pixel            unit level
0
123456789
1 2 3 4 5 6 7 8 9
Degree of match
1DTECT
PRECISION 
(detection
precision)
Reference image
(Standard) Search coordinates use a 1 pixel level of precision
REG COND
5
CONTR. PIXL(MDL0) 1
Note: At the "DETAIL" item in the upper
level
(High precision) Search coordinates use a sub-pixel level of precision (1/10)
using the up and down arrow keys.
function menu, select "CONTR.PIXEL." Then, "5 or 9CONTR.PIXL" will appear on the screen.
Degree of match
3
59CONTR.
PIXL
(Grey search scale conditions)
High precision
pixel detection
Point of detection Point of detection
Camera image
Pixel
- 1: Search the 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.
Standard pixel
detection
- 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 would be, make the search area as small as possible.
4. If the size of the object is larger than 8 pixels then set the pixel contraction to "3."
Measurement programs which are affected by these settings
Positional deviation measurement (gray scale search), degree of match inspection, lead inspection, multiple position measurement, and multiple degree of match inspection.
3-9
Page 57
Setting Measurement Conditions
(2) Threshold value setting
The IV-S30J treats the "areas darker than the lower limit value" or "brighter than the upper limit value" as "black." It treats that the areas between the upper limit value and lower limit value as "white." However, if the white-black reverse function is enabled, conversion to white/black will be reversed. Normally, if you want to use only one threshold value for binary conversion, set the upper limit value to "255." Then you only need to adjust the lower limit value to a threshold value that works for our application.
3
Threshold valve B
Threshold valve A
Binary conversion (upper limit 255, lower limit A)
(Threshold value)
255 Lower limit A
White
Black
B
(Captured image)
Binary conversion (upper limit A, lower limit B)
(Threshold value)
255
Upper
limit A
Lower limit B
Setting the threshold value automatically
The binary threshold value can be set automatically. In the binary area condition of each measurement program, execute the "AUTO REG" function (lower limit only 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)
Binary conversion (upper limit 255, lower limit B)
Black White
Black
0
- Binary area condition (binary image mask) menu of the binary area measurement
THRESHOLD VAL AUTO-REG RESET
1
U.LM 255(0~255)
2
L.LM 100(0~255)
0
(Threshold value)
255
A
White
Lower limit B
Black
0
L LIMIT ONLY U&L LIMITS
F C1 DRK
3-10
SET=CHNG ESC=BACK SEL=CHNG IMG TRG=FUNC
Page 58
Setting the Conditions for Each Object Type
Binary
conversion
Object identification (in order of scanning)
Object identification
(in order of area)
1
1
2
2
3
3
4
4
Island
Island
F C1 BRT
1
REGISTER NO. 0(0~3)
MASK REGIST.
BINARY PROCESS
BINRY NOISE FILT
BOUNDARY PROCESS
AREA FILTER
REG COND SCREEN COND SAVE DETAIL
(3) Setting window boundaries (enable/disable)
This function enables and disables the labeling (object identification) of binary images located that cross over the window frame boundary.
12
34
Images 1 and 3 cross over the window frame edges and are
Binary conversion
Window
Labeling (enable window boundaries)
Labeling (disable window boundary)
measured together with the areas outside the window frame
1
edges.
Condition: Labeling
2
    (in order they are     connected)
Measurement programs which are affected by these settings
Object counting by binary conversion, object identification by binary conversion
Setting method
Select "DETAIL" in the upper function menu on the REG COND screen. Select "BOUNDARY PROCESS" from the popup menu and then press the SET key.
3
(4) Object identification and numbering function (labeling)
Object identification and numbering (labeling) is a process for locating separate 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
3-11
Page 59
Setting Measurement Conditions
(5) Binary processing (fixed/threshold value correction)
By setting THRESHOLD-ADJ (threshold adjustment function), the IV-S30 can cope with variations in lighting.
3
Threshold correction value
Threshold correction using either VAR-DIFF (enter variations in lighting as value) and VAR-RATE (enter variations in lighting as a rate) can be selected the THRESHOLD-ADJ (the threshold adjustment function).
Set (selection) item Details of correction
Threshold value adjustment
Variation difference
Variation rate
Note:InordertousetheTHRESHOLD-
ADJ(threshold adjustment
function), the monitor brightness
Variation in
lighting
Fixed
functions must be selected to measure variations in lighting. If you don’t select the monitor brightness function, a LIGHT LVL NOT SET (correcting binary value: monitor illumination not selected) error will occur.
Fails to convert the image due to a variation in lighting
Correct the threshold value by adding the previously specified threshold value to the light level variation difference. (Measured light level — reference light level) + specified threshold value
Correct the threshold value by multiplying the previously threshold value to the light level variation rate. (Measured light level ÷ reference light level) x specified threshold value
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)
Setting method
Select " THRESHOLD" on the "REG COND" screen and then change the upper and lower
limit values using the up, down, left, and right arrow keys.
REG COND SCREEN COND SAVE DETAIL
1
MEAS SHAPE RECTANGLE
2
MEAS AREA SET (224,208)~(287,271)
3
THRESHOLD SET [U.LM255 L.LM100(0~255)]
4
INVERT B/W NO
Change using the up and down arrow keys.
F C1 BRT
3-12
Page 60
Setting the Conditions for Each Object Type
REG COND SCREEN COND SAVE DETAIL
F C1 BRT
1
REGISTER NO. 00(015)
2
MEAS SHAPE RECTANGLE
3
MEAS AREA SET (224,208)~(287,271)
4
THRESHOLD SET [U.LM255 L.LM100(0~255)]
5
INVERT B/W NO
6
BINARY NOISE FILT EXPD. CONTR
NO EXPD. CONTR. CONTR. EXPD.
MASK REGIST.
BINARY PROCESS
BINARY NOISE
(6) The expansion/contraction method of eliminating noise in binary images
When converting an image to binary values, it is often the case that dots of noise will show up in the converted image. This noise may be eliminated during pre-processing by using the smoothing function. However, it can also be dealt with through the expansion/contraction noise elimination method.
Expansion
A single white dot, or small groups of white dots, in the middle of a black background can be eliminated from the image.
Contraction
A single black dot, or small groups of black dots, in the middle of a white background can be eliminated from the image. The IV-S30J has both "contraction expansion" and "expansion contraction" functions for eliminating binary noise.
Expansion contraction When isolated dots of noise are eliminated by expansion, the areas enlarged by the expansion are returned to their original size by contracting them again.
3
Binary
conversion
Expansion
Contraction
2 Contraction expansion
When isolated white noise is eliminated by contraction, the areas shrunk by contraction are returned to their original size by expanding them again.
Binary
conversion
Contraction
Expansion
- 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 one or greater, then only the contraction function will be used.
Measurement programs which are affected by these settings
Area measurement by binary conversion, object counting by binary conversion, object identification by binary conversion
Setting method
Select "DETAIL" in the upper function menu on the REG COND screen, and choose "BINRY NOISE FILT" to change the blank box to a filled box. Then, " BINRY NOISE FILT" will appear on the REG COND screen. Press the SET key on this line and select "EXPD. -> CONTR." or "CONTR -> EXPD." from the popup menu.
3-13
Page 61
Setting Measurement Conditions
(7) Edge detection
The "edge" refers to the boundaries between the brighter (white) and darker (black) parts in an image. The "edge detection" function is used to detect this boundary by processing the image.
An example of detecting a point using the edge detection function and user specified
criteria
• Horizontal transition point
3
from light to dark (moving from left to right)
Edge detection point
A
Detection direction
Detection area
B
• Vertical transition point from light to dark (moving from top to bottom)
Edge detection point
A
direction
B
Detection
Light
↑
Brightness
level
↓
Dark
Edge
width
A
Direction B
Flat
width
Difference in level
• Horizontal transition point from light to dark (moving from right to left)
Detection area
AB
Detection direction
Edge detection point
• Vertical transition point from light to dark (moving from bottom to top)
A
direction
B
Detection
Light
↑
Brightness
level
↓
Dark
• Center (dark), horizontal (left and right)
Edge detection point
Detection area
• Edge detection of the inside and outside edges of a two circles
A: Moving right horizontally
from light to dark
B: Moving right horizontally
from dark to light
C: Moving left horizontally
from dark to light
Edge
Flat
width
width
Difference in level
Direction
A
D: Moving left horizontally
from light to dark
B
Internal diameter (between B and C) External diameter (between A and D)
Detection area
- The edge detection point coordinates are used as a reference point to detect an out of position condition.
- Edge detection in binary images is much quicker than in a gray scale search. However, the binary image detection process is less precise at detecting position.
3-14
Page 62
Setting the Conditions for Each Object Type
THRESHOLD VAL AUTO-REG RESET
F C1 BRT
1
GRYS 050(0~255)
2
EDGE.W 2(1~8)
3
FLAT.W 04(1~16)
SET=CHNG ESC=BACK SEL=CHNG IMG TRG=FUNC
- Edge detection menu of the lead inspection
Setting the threshold value automatically
By executing an "AUTO.REG" (automatic setting) for the edge detection condition in each measurement program, the IV-S30J can automatically detect edges in the measurement areas, and set the optimum threshold values automatically (density difference and edge width).
Measurement programs which are affected by these settings
Positional deviation measurement (edge detection), lead inspection, multiple position measurement (edge detection).
(8) Artifact processing
Artifact processing is a method of processing that eliminates the false detection of the edge of the target object when an artifact is in the line being scanned. This process can be used during edge detection. The real edge of the target object is detected by computing the average duration of the dark area in the scan line, which is much longer for a target object than for an artifact.
3
Example of detection
An example of light to dark averaging (DTCT MODE:BRT DRK) while scanning horizontally (SEARCH DIR:HORIZ ), with artifact processing (enabled) (ARTIF).
Edge detection point (with artifact processing: enabled)
When artifact processing is disabled (NO ARTIF) in the above example, the edge detection point changes.
Duration of dark area in the line scan
Average light (vertical)
Edge detection point (with artifact processing off)
Measurement programs which are affected by these settings
Positional deviation measurement (edge detection), lead inspection, and multiple position measurement (edge detection).
3-15
Page 63
Setting Measurement Conditions
(9) Contrast search in the reference image
Using the reference image area setting in the gray scale search mode, the area of maximum contrast can be identified automatically in the captured image.
- While moving the selected reference image area within the specified search area on the captured image one pixel at a time, the IV-S30J determines the density in each area in the reference image, and automatically picks the area with the largest difference.
- This function may be used for sorting printed objects.
3
Search in the specified search area on the captured image
Find the area having the maximum features in the reference image area.
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"
RECTANGLE RESET RETURN
F C1 BRT
with up and down arrow keys on the reference image area setting screen. Next, select "CONTRAST SRCH." Finally, press the SET key.
MDL 0
1
UP.L (224,208)
2
LO.R (287,271)
3
MOVE
4
REFERENCE IMG
CONTRAST SRCH REG DISP
3-16
X:224 Y:208
SET=DECISION ESC=BACK SEL=CHNG IMG TRG=FUNC
Page 64
Setting the Conditions for Each Object Type

[3] Evaluation conditions

The setting details and procedures for setting the evaluation conditions are the same for all measurement programs.
Evaluation conditions [EVALUATION COND] menu for measuring degree of match
EVALUAT COND SCREEN COND SAVE
1REGISTER 00(0˜15) [TEST RESULT] [OUTPUT] 2CONDITION SET RESET AUTO( 3
MATCH LVL (MDL0) -
4X COORD. (MDL0) 5Y
COORD. (MDL0)
6GLAY LVL 7MATCH LVL (MDL1) - 8X COORD. (MDL1) 9Y
COORD. (MDL1)
0GLAY LVL qTEST EXEC(WITH-POSI. ADJ WITHOUT-POSI.ADJ)
SEL=VALUE INPUT ESC=BACK SEL=CHNG IMG TRG=FUNC
(MDL0)
(MDL1)

If you select "WITH-POSI.ADJ," the system will conduct test while adjusting for positional deviation. - pages 3-30 to 3-32.
10000~+10000 M0=+09000 OK NO
000.0~511.0 X0= 000.0 OK NO
000.0~479.0 Y0=000.0 OK NO
000.0~255.0 G0= 116.0 OK NO 10000~+10000 M1=+09000 OK NO
000.0~511.0 X1= 000.0 OK NO
000.0~479.0 Y1= 000.0 OK NO
000.0~255.0 G1= 116.0 OK NO
±
10%)
●Condition setting Upper and lower limit values of the all evaluation condition items can be set automatically with the following processes. After testing more than one good workpieces, the IV-S30J automatically set the limits based on the test results.
Condition
settings
Details
The "degree of match + 09000" refers to a degree of match (match between individual pixels) between the registered image and the measured image that is equal to
90.00% or more of the total.
Using the up and down keys, you can set the output to NO (no out­put), Y0 to 7 (output on these re­lays), or C000 to C127 (output on these secondary relays), in the out­put area of the menu. (If the test result returns OK, then the output is turned ON. If it is NG, then it is turned OFF).
When carrying out a test using item qTEST, on the menu, the result­ing measurement values and the evaluation (OK or NG) will be dis­played.
3
AUTO (
±
**%)
- Multiple the specified rate (±%) on the newly tested good workpieces, and 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 1%. (Default value =
±
00% to ±99% can be entered to the "±**%" in units of
±
10%) To enter this position, move the cursor to the "AUTO" position and press the up and down keys to change the value. After determining the value, press the SET key, upper and lower limits of each item will be automatically set with tis %.be the upper and lower limit without any condition.
3-17
Page 65
Setting Measurement Conditions
Setting method
There are two ways to get to the evaluation condition setting screen.
3
1) Select "CND" in the upper function menu on the MEAS CND (or REG COND) screen and press the SET key. Select "EVALUATION" on the pop up menu to go to the "EVALUAT COND" screen.
2) Move the cursor to the "EVALUATION COND" item on the Menu tree screen and press the SET key.
MEAS CND SCREEN COND SAVE
1
DTECT PRECISION STANDARD
2
REGISTER NO. 0(0~7)
3
MODE 1P-SCH
4
DTECT ANGL –15¡
5
ANGLE UNIT 10
REGISTER NO.
6
MDL 0
7
MDL 1
SET=VALUE INPUT ESC=BACK SEL=CHNG IMG TRG=FUNC
SELECT OBJECT TYPE COND
OBJECT TYPE COND
TYPE00
TYPE RUN COND IMAGE-ADJ MEA-CND(CAMERA1)
MEA-CND(CAMERA2)
+
FINAL NUM.CALC FINAL OUTPUT COND OBJ-TYPE I/O
SET=TO NEXT SUB-MENU ESC=BACK SEL=CHNG IMG TRG=POPUP
S×
MEAS0(POSI-DEVIATION)
IMG PRE-PROC MEAS CND
REG-COND(S) REG-COND(E)
EVALUATION COND
+
DISTANCE&ANGLE COND NUM-CALC
OUT-COND POSI-CORRECT MEAS(NEW)
IMG PRE-PROC REG-COND(S) REG-COND(E) POSITION CORRECTION EVALUATION DST&ANGL NUM-CALC OUT
1
REGISTER NO.
2
CONDITION SET
3
X COORD. (BDL0)
4
Y COORD. (MDL0)
5
x DEVIATE (MDL0)
6
y DEVIATE (MDL0)
7
MATCH LVL (MDL0)
8
ANGULAR DEVIATE
9
X COORD. (MDL1)
0
Y COORD. (MDL1)
q
x DEVIATE (MDL1)
w
y DEVIATE (MDL1)
e
MATCH LVL (MDL1)
r
TEST
F C1 BRT
15141312111009080706050403020100
F C1 BRT
3-18
Page 66
Setting the Conditions for Each Object Type

[4] Image pre-processing

A comparative calculation between images, gray level changes, and space filter are available for image pre-processing.
Comparative
calculation between
images
Gray level changes
Space filter
Subtracting,absolute value of difference (between camera 1 and reference image,between camera 2 and reference image, between camera 1 and camera 2)
Magnification by "n" processing, γ(+/-) correction, histogram widening,
midrange emphasis Smoothing (center/average),edge emphasis,edge extraction, horizontal
edge,vertical edge
How to get to the "IMG PRE-PROC" screen
Select "OBJECT TYPE COND" and then "TYPE00" or "TYPE(NEW)" on the "MAIN COND" screen. Then select "MEA-CND(CAMERA1)" and "MEAS" to open a measurement screen. At the " MEAS SELECTION" item, press the SET key and choose a measurement program from the popup menu. Note: If the " MEAS SELECTION" is set to "NO,"
the image pre-processing cannot be speci­fied.
Press the ESC key to return to the OBJECT TYPE COND screen. Then select "IMG PRE-PROC."
MEASUREMENT 1 SCREEN COND SAVE
1
MEAS SELECTION POSI-DEVIATION
SELECT OBJECT TYPE COND 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 OBJ-TYPE SYS.
TYPE(NEW)
SET=TO NEXT SUB-MENU ESC=BACK SEL=CHNG IMG TRG=POPUP
NO POSI-DEVIATION CHK-DEG-MATCH INSPECT-LEAD MEAS-BIN-OBJ CNT-BIN-OBJ LABEL-BIN-OBJ POINT-MEAS MALTI-POSI MULTI MATCHES
F C1 BRT
1
COMPARE IMGS
2
COMP IMGS COND
3
CHNG GRAY LEVEL
4
CONTRAST MAGNI
5
SPACE FILTER
6
NUM.OF FILTER
3
The "IMG PRE-PROC" screen will appear.
For details about "COMPARE IMGS" (compare
images), see page 3-20.
For details about "CHNG GRAY LEVEL"
(change gray level), see page 3-22.
For details about "SPACE FILTER," see page
3-23.
3-19
IMG PRE-PROC SCREEN COND SAVE F C1 BRT
1
COMPARE IMGS NO
2
CHNG GRAY LEVEL NO
3
SPACE FILTER NO
Page 67
Setting Measurement Conditions
(1) Comparative calculations between images
It is possible to run calculations on the differences between the images taken by camera 1 and camera 2, as well as on the differences between the current image and the already stored reference image.
There are two types of calculation: "subtraction" and the "absolute value of the differences."
3
Light level in image 1 (0 to 255) ­Light level in image 2 (0 to 255)
Subtraction
- Light level after calculation However, a result less than 0 will give a result of 0.
The absolute value of the differences
| Light level in image 1 (0 to 255) ­Light level in image 2 (0 to 255) |
- Light level after calculation (0 to
255)
Example of comparative calculations between images
Image A
Light
level 0
Light
level 180
COMPARE IMGS SCREEN SAVE F C1 BRT
1
CALC.TYPE NO
2
CALC.AREA SET (232,216)-(279,263)
NO SUBI1-T1 DIFF.ABS
I1-T1
|
Image B
- Subtraction (Image A - Image B)
- Subtraction (Image B - Image A)
- The absolute value of the differences ( | Image A - Image B | )
3-20
Page 68
Setting details
1. Select the camera to be used for " COMPARE IMGS" from the popup menu. Then select the " COMP IMGS COND" item to get to the setting screen.
Setting the Conditions for Each Object Type
IMG PRE-PROC SCREEN COND SAVE F C1 BRT
1
COMPARE IMGS CAM1
2
COMP IMGS COND (TO NEXT SUB-MENU)
3
CHNG GRAY LEVEL CONTRAST MAGNI
4
CONTRAST MAGNI 00.0TIMES
5
SPACE FILTER SMOOTH(AVE)
6
NUM.OF FILTER 1(0~5)
SET=SELECT A MENU ESC=BACK SEL=CHNG IMG TRG=FUNC
NO CAM1 CAM1&2
3
2. Select " CALC.TYPE" and then set " CALC.AREA."
COMPARE IMGS SCREEN SAVE
1
CALC.TYPE NO
2
CALC.AREA SET (232,216)-(279,263)
SET=SELECT A MENU ESC=BACK SEL=CHNG IMG TRG=FUNC
F C1 BRT
The list of settings which may be selected at item "1COMPARE IMGS" is as follows.
SELECT
CAMERA
NO (none) CAM 1
(camera 1)
CAM 2 (camera 2)
CAM 1&2 (cameras 1 & 2)
(*2)
1CALC.TYPE
None Subtraction I1-T1 The absolute value of the
difference between |I1-T1| None Subtraction I2-T2 The absolute value of the
difference between |I2-T2| Subtraction I1-I2 Subtraction I2-I1 The absolute value of the
difference between |I2-I2|
Contents
Comparative calculations of differences between images will not be carried out. Comparative calculations of differences between images will not be carried out. The reference image T1 (* 1) is subtracted from the image taken by camera 1. The absolute value of the difference is calculated between the reference image
T1 (* 1) and the image taken by camera 1. Comparative calculations of differences between images will not be carried 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 between the image taken by
camera 1 and the image taken by camera 2.
The reference images T1 and T2 (*1) and the size of the areas covered by I1 and I2 (the images taken by cameras 1 and 2) (*2) may be set in item " CALC. AREA."
3-21
Page 69
Setting Measurement Conditions
(2) Gray level change
To change the gray level, you can change the "**.*TIMES" (magnification by N processing), the "
γ
+," "γ-" (γ (positive/negative) correction), the
"CHNG-L" (widening histogram), and the "INCRS­M" (mid emphasis) functions.
3
IMG PRE-PROC SCREEN COND SAVE F C1 BRT
1
COMPARE IMGS NO
2
CHNG GRAY LEVEL NO
3
SPACE FILTER NO
NO CONTRAST MAGNI
γ+ γ-
CHNG-L INCRS-M
Gray level change
Magnification by N processing (**.* TIMES)
γ
(positive/negative) correction
Details
To improve the contrast (the ratio of high value gray levels to low value gray levels), specify a magnification rate (00.0 to 99.9) for multiplying the image data.
- If the magnified gray level exceeds 255, the system will correct the value to 255.
-
γ
positive correction: used when the mid gray level is too low.
255
Output image gray level
Input image gray level
255
- γ negative correction: used when the mid gray level is too high.
255
Output image gray level
Input image gray level
255
Histogram widening
Mid emphasis
This is a method to widen the histogram of an image in which the histogram is at part of it, thus improve its contrast.
a
0
Gray level Gray level
1 Bad contrast image
b
Z
m
0
2 Good contrast image
Z
m
Emphasize the mid gray level.
- This improves contrast while remaining the background image.
- The input image density (G) can be converted to the output image density
with the following formulas:
Input image gray level(G)
0 to 127
128 to 255
Output image gray level
(G÷127)
2
×127
((G−128)÷127×127)+127
3-22
Page 70
(3) Space filter
Space filter includes various image manipulation processes that create more readable images by removing noise and distortion in the image data. And, by extracting or emphasizing certain image features, it is easier to evaluate or identify target objects by converting the images into standard patterns. In the IV-S30J, you can select from "smoothing (average, center)," "edge emphasis," "edge extraction," "horizontal edge," and "vertical edge."
metI stnetnoC
gnihtoomS
)retnec(
gnihtoomS )egareva(
egdE
sisahpme
egdE
noitcartxe
.saerarekraddnarethgirb
latnoziroH
egde
lacitreV
egde
Setting the Conditions for Each Object Type
IMG PRE-PROC SCREEN COND SAVE F C1 BRT
1
COMPARE IMGS NO
2
CHNG GRAY LEVEL NO
3
SPACE FILTER SMOOTH(AVE)
4
NUM.OF FILTER 7(0~5)
morflevelyarglexipnaidemehtyficepS-
.aera3x3gnidnuorruseht
ottluciffiderastnemeleesionecniS-
.tuptuoehttceffatonlliwyeht,tceles
yarglexipegarevaehtyficepS-
.aera3x3gnidnuorrusehtmorflevel
ehtnidedulcnierastnemeleesionecniS­.tuptuoehttceffalliwesioneht,egareva
dnagnitcartxeretfasegamiyalpsiD-
ehtneewtebseiradnuobehtgniyfiralc
ylnoyalpsiD:noitcartxeegdelatnoziroH-
.tcejbonafoseiradnuoblatnoziroheht
.tsartnocwol
ehtylnoyalpsiD:noitcartxeegdelacitreV-
.tcejbonafoseiradnuoblacitrev
NO SMOOTH(AVE) SMOOTH(CENT) EMPHAS EDGE EXTRACT EDGE HORIZ-EDGE VERT-EDGE
.esiondesaerced
.stnedrosnoisurtorp
gnihtoomsfoepytsihT-
.gnihtoomsnaidem
3
htiwsegamihtoomsyalpsiD-
ecafrusdetanimileotdesU-
ehtnissennevenudnaswalf
ybdesuacthgildetcelfer
ehtnahtretsafsi)gnigareva(
.saerarekraddnarethgirbneewtebseiradnuobprahshtiwsegamiyalpsiD-
.stcejboraelcnudnuoraeniltuoyranibaetaercdnaezilibatsotdesU-
htiwstcejboerusaemotdesU-
Example of an image
- No - Smoothing
- Edge emphasis - Edge extraction (All)
- Edge extraction (horizontal) - Edge extraction (vertical)
3-23
Page 71
Setting Measurement Conditions

[5] Image adjustment

How to set the image adjustment function
Select "IMAGE-ADJ" on the "SELECT OBJECT TYPE COND" screen and press the SET key.
3
Shading correction
This process removes unevenness from images that have gray level unevenness caused by an illumination.
SELECT OBJECT TYPE COND F C1 BRT
OBJECT TYPE COND
TYPE00
TYPE RUN COND IMAGE-ADJ
+
MEA-CND(CAMERA1)
+
MEA-CND(CAMERA2) FINAL NUM.CALC FINAL OUTPUT COND OBJ-TYPE I/O OBJ-TYPE SYS.
TYPE(NEW)
IMAGE-ADJ SCREEN SAVE
1
ADJ.IMG GRAY(CAM1) YES
2
ADJ-COND(CAM1) (TO NEXT SUB-MENU)
3
ADJ.IMG GRAY(CAM2) NO
1
ADJ.IMG GRAY(CAM1)
2
ADJ.COND(CAM1)
3
ADJ.IMG GRAY(CAM2)
4
ADJ.COND(CAM2)
F C1 BRT
NO YES
Adjustment condition
To set the adjustment conditions for gray level corrections, select " ADJ-COND" and then press the SET key to show the sub menu.
Divide a scanned image with the reference image that expresses changes of dark and bright as a whole, and correct the brightness throughout the image.
SUBTRACTING
DECREASING
FILTERING
{(Each gray level of scanned image) X reference gray level} / (Each gray level of reference image)
- Divide 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.
Subtract a scanned image with the reference image that expresses changes of dark and bright 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 an average value, to make a brightness image.
[Max. value filter: Max. gray level of 3 x 3]
- [Average value filter: Average gray level of 3 x 3]
- Use this filter when a brightness distribution image (reference image) for the scanned image cannot be obtained.
ADJ.IMG GRAY SCREEN SAVE F C1 BRT
1
ADJ.MODE SUBTRACTING
2
ADJ.AREA SET (224,208)-(287,271)
3
SET STD.GRAY LV SET (224,208)-(287,271) GRAY(000)
SUBTRACTING DECREASING FILTERING
DetailsCorrection mode
3-24
Page 72
Setting the Conditions for Each Object Type
*
MEA-CND SCREEN COND SAVE
F C1 BRT
NUM-OF-MASK 1 NUM-OF-MASK 2 NUM-OF-MASK 4 BINARY-IMG-MASK POLYGON
1
WINDOW BINARY-IMG-MASK
2
REGISTER NO. 0
3
REGISTER EXIST NO
4
MASK BINARY IMG NO
REGISTER NO.
5
BINARY AREA
MEA-CND SCREEN COND SAVE
F C1 BRT
1
WINDOW BINARY-IMG-MASK
2
REGISTER NO. 0
3
REGISTER EXIST NO
4
MASK BINARY IMG REF-IMG
5
BIN IMG MASK (TO NEXT SUB-MENU)
REGISTER NO.
6
BINARY AREA
NO REF-IMG MANUAL
MEA-CND SCREEN COND SAVE F C1 BRT
1
WINDOW BINARY-IMG-MASK
2
REGISTER NO. 0
3
REGISTER EXIST NO
4
MASK BINARY IMG REF-IMG
5
BIN IMG MASK (TO NEXT SUB-MENU)
REGISTR NO.
6
BIN AREA COND
MASK BINARY IMGCREEN SAVE
F C1 BRT
1
MASK AREA SET (232,216) ~ (279,263)
2
THRESHOLD SET [U.LM255 L.LM100 (0~255) ]
3
MASK INVERT B/W NO
4
MASK NOISE FILTR EXPD. →CONTR.
5
NUM.OF MASK FILTEXPD.0 CONTR.0 (0~5)
NO EXPD.
→
CONTR.
CONTR.
→
EXPD
MASK AREA

[6] Binary image mask

Use the binary image mask when an object to measure by binary conversion cannot be measured using rectangle, circle, or ellipse window. Mask a scanned image (AND) with the registered binary image.
Binary image mask Gray level in the scanned image Gray level output after masking
10to255
(gray level in the scanned image)
00to 255 0 (black fixed)
Measurement programs which are affected by this setting
Area measurement by binary conversion, object counting by binary conversion, object identification by binary conversion
Setting method
1. On the SELECT OBJECT TYPE COND screen, select "MEAS CND" (measurement conditions) and press the SET key. The MEA­CND screen will appear. Select " WINDOW" and press the SET key. Select "BINARY-IMG­MASK" from the popup menu.
0to255
× 
3
15141312111009080706050403020100
2. Highlight the " MASK BINARY IMG" item and press the SET key. A popup menu will appear. Select "REF-IMG" or "MANUAL" and the " BIN IMG MASK" line will appear. Selecting "REF-IMG" See page 3-26 to 27. Selecting "MANUAL" See page 3-28 to 29.
3. Select " BIN IMG MASK" (binary image masking condition) and press the SET key. The, MASK BINARY IMG screen will appear.
4. Here you can set the masking conditions. First move the cursor to " MASK AREA" and press the SET key. Specify and confirm the position and size of a masking area. On the " THRESHOLD" line, 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.
15141312111009080706050403020100
× 
15141312111009080706050403020100
× 
3-25
Page 73
Setting Measurement Conditions
Setting example
When " MASK BINARY IMG" is set to "REF-IMG."
Shown below is an example of how to specify a binary image mask for a star shape.
3
1) Store a binary image mask on the "BINARY IMG MASK" menu (mask setting =
standard) shown above.
1. Specify the mask outline for the object to be measured.
2. For correcting minor positional deviations, store an enlarged image as the binary image mask.
Mask outline
- Positional relation between the stored binary image mask and the object to be measured.
Binary image mask
Star-shaped binary image mask (outside boundary)
Star-shaped object to be measured (inside boundary)
3. Return to the "TYPE MEAS COND" menu. Select "MEAS-COND" in the "5MEAS-BIN-AREA" item
2) Settings on the "TYPE MEAS COND" menu
1. Select "YES" from the popup menu at " REGISTER EXIST."
2. Select " " (00) at the " BINARY AREA" item and press the SET key to bring up the "REG COND" menu.
REGIST COND SCREEN COND SAVE
1
WINDOW BINARY-IMG-MASK
2
REGISTER NO. 0
3
REGISTER EXIST YES
4
MASK BINARY IMG REF-IMG
5
BIN IMG MASK (TO NEXT SUB-MENU)
REGISTR NO.
6
BINARY AREA
SET=SELECT(YES/NO) ESC=BACK SEL=CHNG IMG TRG=FUNC
○
F C1 BRT
YES NO
15141312111009080706050403020100

3-26
Page 74
RECTANGLE CIRCLE 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
1
MEAS SHAPE RECTANGLE
2
MEAS AREA SET (224,208)~(287,271)
3
THRESHOLD SET [U.LM255 L.LM100(0~255) ]
4
INVERT B/W NO
5
MASK SHAPE
6
MASK AREA (224,208)~(287,271)
7
BINARY PROCESS FIXED
8
BINARY NOISE FILT NO
SET=SELECT A MENU ESC=BACK SEL=CHNG IMGTRG=FUNC
MASK REGIST.
BINARY PROCESS
BINRY NOISE FILT
SET=CHNG ESC=BACK SEL=CHNG IMG TRG=FUNC
1
U.LM 255(0~255)
2
L.LM 100(0~255)
THRESHOLD VAL AUTO-REG RESET
F C1 BRT
RECTANGLE RESET RETURN
F C1 BRT
1
UP.L (224,208)
2
LO.R (287,271)
3
MOVE
3) Setting the binary area conditions
Setting the Conditions for Each Object Type
3

1. Specify a measurement area smaller than the mask area and specify the binary conditions.
2. Return to the MAIN OPS MENU.
4) Measure the binary area
Captured image
White dots (six)
Measuring area
Binary mask image (registered in step 1-2)
Image after executing a measurement
- The white dots will be converted to black dots by applying the binary image mask.
3-27
Page 75
Setting Measurement Conditions
When " MASK BINARY IMG" is set to "MANUAL."
Shown below is an example of a binary image mask that matches the following shape (an 8 pointed star).
MEA-CND SCREEN COND SAVE
1
WINDOW BINARY-IMG-MASK
2
REGISTER NO. 0
3
REGISTER EXIST NO
4
MASK BINARY IMG MANUAL
F C1 BRT
NO REF-IMG MANUAL
3
REGISTER NO.
5
BIN AREA COND
× 
15141312111009080706050403020100
1. Select " MASK BINARY IMG" and press the SET key. Select "MANUAL" from the popup menu.
2. Select " BIN IMG MASK" (binary mask conditions) and press the SET key twice.
3. The "MASK BINARY IMG" screen will appear. Select " MASK AREA" and press the SET key twice.
MEA-CND SCREEN COND SAVE F C1 BRT
1
WINDOW BINARY-IMG-MASK
2
REGISTER NO. 0
3
REGISTER EXIST NO
4
MASK BINARY IMG REF-IMG
5
BIN IMG MASK (TO NEXT SUB-MENU)
REGISTR NO.
6
BIN AREA COND
MASK BINARY IMG SCREEN SAVE
1
MASK AREA SET
2
MASK IMVERT B/W NO
3
MASK REGIST. REG DISP
× 
15141312111009080706050403020100
F C1 BRT
4. The "POLYGON" setting screen will appear.
POLYGON RESET MOVE RETURN F C1 BRT
1
POINT01 (255,255)
X:224Y:208
3-28
Page 76
Setting the Conditions for Each Object Type
MASK BINARY IMG SCREEN SAVE
F C1 BRT
1
MASK AREA SET
2
MASK IMVERT B/W NO
3
MASK REGIST. REG DISP
5. Select "0" using the up and down keys and then select "MOVE" using the left and right keys. Finally, press the SET key.
6. Move vertex 02 to 08 a little outside of the first point on the star using the up, down, left, and right keys, and then press the SET key.
MASK BINARY IMGCREEN SAVE
1
PO01T01 (255,255)
2
PO02T01 (254,226)
3
PO03T01 (221,226)
4
PO04T01 (221,251)
5
PO05T01 (274,276)
6
PO06T01 (274,247)
7
PO07T01 (257,247)
8
PO08T01 ()
MASK BINARY IMGCREEN SAVE
1
PO01T01 (255,255)
2
PO02T01 (254,226)
3
PO03T01 (221,226)
4
PO04T01 (221,251)
5
PO05T01 (274,276)
6
PO06T01 (274,247)
7
PO07T01 (257,247)
8
PO08T01 ()
F C1 BRT
3
X:256 Y:240
F C1 BRT
X:124 Y:276
7. After creating a mask area, press the ESC key to return to the "MASK BINARY IMG" screen. Select " MASK REGIST" and press the SET key. The cursor will move to the "REG" 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.
3-29
Page 77
Setting Measurement Conditions

[7] Position correction

Based on the positional deviation data measurement 0 (positional deviation measurement), the correction of the image coordinates is dealt with using measurements 1 to 4.
(1) Correction details
The types of position correction available are: XY correction, angular correction (standard) and angular correction (high precision)
3
Type
The position is adjusted according to the amount of deviation in X and Y at the first point (model 0) detected in measurement 0.
XY correction
Angular correction (standard)
Angular correction (high precision)
[Example of a comparison between standard and high precision angular correction]
There are three correction directions: X axis correction, Y axis correction and X and Y axis correction.
- X axis correction-- Adjusted misalignment in the X axis
- Y axis correction-- 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 detected angular deviation q in rotation [2-point search/2-point edge/1-point search + 1-point edge] from measurement 0. The high precision angular correction settings allows the IV-S30 to display a very precisely corrected image. But, this selection lowers rotation processing speed.
- 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.
Scanned image
Details
Image after correction
An image with a jagged edge
will be created.
An image with smooth edges
will be created.
Scanned image (High precision)(Standard)
q image after angular correction
3-30
Page 78
(2) Operation setting details
NO 1ST STAGE CORRECTION 2ND STAGE CORRECTION
POSI-CORRECT SCREEN COND SAVE F C1 BRT
1
CORRECTION REG. 2ND STAGE CORRECTION
2
MODE(1ST) ANGLE-ADJ.(STANDARD)
3
X CORRECT ADJ.(1ST) YES
4
X CORRECTION REG0(0~7) MDL0
5
Y CORRECT ADJ.(1ST) YES
6
Y CORRECTION REG0(0~7) MDL0
7
ADJUST ANGL.(1ST) YES
8
ADJUST ANGL REG0(0~7) MDL0
9
MODE(2ND) XY-ADJ.
0
X CORRECT ADJ.(2ND) YES
q
X CORRECTION REG0(0~7) MDL0
w
Y CORRECT ADJ.(2ND) YES
e
Y CORRECTION REG0(0~7) MDL0
NO XY-ADJ. ANGLE-ADJ.(STANDARD) ANGLE-ADJ.(HIGH)
NO XY-ADJ.
SET=SELECT A MENU ESC=BACK SEL=CHNG IMG TRG=FUNC
Select the "POSI-CORRECT" condition item on the "SELECT OBJECT TYPE COND" screen and press the SET key to enter the correction.
Setting procedure
Setting the Conditions for Each Object Type
3
Mode 0
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)
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)
(3) Correction example
Example of correcting the first X and Y point
1. Amount of correction (X2-X1, Y2-Y1) specified by measurement 0 (positional deviation measurement)
Coordinates (X1, Y1) of object in the reference image (model 0)
Target object coordinates (X2, Y2)
[Measurement results]
- Detected coordinates: (X2, Y2)
Y2-Y1
- Deviation amount: X2-X1, Y2-Y1
2. Measuring a point using measurement 1
X2-X1
X2-X1
Search area
Y2-Y1
Point
3-31
Page 79
Setting Measurement Conditions
Example of angular correction
1. Detection of the amount of angular deviation (using measurement 0, 2 point search (positional deviation measurement).
- Registration image
Reference image (model 0)
3
Detected coordinates (model 0)
Search area (model 0)
Reference image (model 1)
Detected coordinates (model 1)
Search area (model 1)
- Measurement image
2. Performing measurement 1 to 4 (of distance and angle measurement) on an image that has been rotated around its center by the amount of angular deviation detected in step 1.
- Image that has been rotated around its center in step 1
Detecting the amount of angular deviation
Detected coordinates
θ
Detected coordinates (model 1)
(model 0)
Position of registration image
3-32
Page 80
Setting the Conditions for Each Object Type
SELECT OBFECT TYPE COND F C1 DRK OBJECT TYPE COND
TYPE00
OPS-MENU SAVE COPY PASTE DEL SPECIFY NUMBER TITLE
STR OBJ TITLE SCREEN SAVE
F C1 DRK
OBJECT TYPE COND
TYPE00(AREA)
TYPE RUN COND IMAGE-ADJ MEA-CND(CAMERA1)
MEAS0(POSI-DEVIATION)
IMG PRE-PROC MEAS CND EVALUATION COND DISTANCE&ANGLE COND
+
+
SELECT OBJECT TYPE COND
F C1 BRT
SELECT OBJECT TYPE COND screen

[8] Title registration

A title for a object type number can be entered and saved when the object type number is displayed on the screen.
Purpose
The title is used to make it easier to control the details of the settings for the object type.
Title characters
A maximum of 16 letters and symbols may be entered.
Operation method
Select "OBJECT TYPE COND" on the "MAIN MENU" screen and then select "TYPE00" (the cur­rent type). Then press the "TRG/BRT" key. Select "TITLE" from the popup menu and press the SET key.
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
The title that has been entered will be displayed in the top left corner of the operation screen and "SELECT OBJECT TYPE COND" screen.
+
AREA_
3
ABCDEFGHIJKLM NOPQRSTUVWXYZ 0123456789
--()<>SP ←→DELEND
Operation screen
(TYPE00) AREA
OK 
MEAS MEASURE 0 CAM1 POSI-DEVIATION
XXXX
ms
F C1 DRK V*.**
3-33
Page 81
Setting Measurement Conditions

3-3 Input & Output / System settings

[1] Illuminance (light level) monitor

(1) Purpose
1. Allows the system to monitor changes the lighting of the environment
If the light level exceeds the preset lighting range, it will be regarded as a change in the environment and "OVR ILLM RANGE" will be displayed on the MAIN OPS MENU.
2. Automatic adjustment of the threshold values used for binary conversions can follow
3
changes in the lighting environment.
The threshold value is modified from the user's setting due to changes in the actual brightness measured in the environment.
(2) Applications
Used when the level of illumination changed due to changes in voltage or when the influence of sunlight in the workplace 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 and move the cursor to the upper function menu. Set the image mode to "T" (Through).
OBJ-TYPE SYS. SCREEN SAVE
1
HALT ON NG MEAS YES
2
MNTR LIGHT LVL(CAM1) YES
3
LIGHT LV COND (TO NEXT SUB-BENU)
4
MNTR LIGHT LVL(CAM2) YES
5
LIGHT LV COND (TO NEXT SUB-MENU)
6
MOVE ALL WINDOW (TO NEXT SUB-MENU)
LIGHT LV COND SCREEN SAVE F C1 BRT
1
SIZE Y08(4~32)X08(4~65)
2
POSITION (248,232)
3
THRESHOLD VALUE U.LM255 L.LM000(0~255)
4
REG AVG.GRAY LV EXEC REG.AVG.GRAY=000.0
MEAS.AVG.GRA=000.0
Monitor window
NO YES
F C1 BRT
3-34
SEL=VALUE INPUT ESC=BACK SEL=CHNG IMG TRG=FUNC
Page 82
Setting the Conditions for Each Object Type
4. Select item " SIZE", and item " POSITION", using the up and down keys, and press the SET key. Then, set the size and position of the monitoring window using the direction keys.
- The monitoring window should be placed in a location with medium brightness, which does not contain any objects to be measured.
- The monitor window is a rectangle 4 to 32 pixels tall and 4 to 64 pixels wide (se in multiples of 4 pixels). The monitor window can be moved one pixel at a time.
- The average light level in the monitoring window is displayed on "MEAS.AVG.GRAYS (average measured light level) in item ."
[When monitoring changes in the lighting environment] ... If not, go to item 6.
5. Select item " THRESHOLD VALUE", using the up and down keys, and press the SET key.
- Select the upper and lower limits using the left and right keys, and set the light level range (0 to
255) using the up and down keys. Then, press the SET key.
When the average light level in the monitoring window is out of the preset light level range,
"OVR ILLM. RANGE (light level over range)" will be displayed on the MAIN OPS MENU.
[When the threshold value for binary conversion is automatically modified 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 press the SET key twice. When the SET key is pressed again, the "REG. AVG. GRAYS (average light level)" will be registered.
- This average light level is required when threshold value correction is selected in the binary conversion method.
- If the average light level has not been registered, you will see "error 22: BIN MON. LIGHT LVL NOT SET (the light level check function has not been enabled)."
- The registered light level is the reference value used when threshold values are modified.
- If the current screen is not a frozen image, "CHANGE TO FREEZE MODE (change to freeze)" will be displayed.
8. Move the cursor to the upper function menu by pressing the TRG/BRT key and select the "SAVE" item using the left and right arrow keys. Then press the SET key.
- A message "SAVE DATA? (YES = [SET], NO = [ESC])" will appear on the screen. Press the SET key to save the data.
3
After the measurement monitoring function is turned ON and images have been captured, the lighting monitoring function set above will be active.
3-35
Page 83
Setting Measurement Conditions

[2] Setting the shutter speed

The shutter speed can be set independently for each object type. Since the shutter speed can be set continuously in the range of 1/30 to 1/10,000 of a second, very fine adjustment is possible.
- If you want to measure moving objects and increase the image processing speed, set the shutter speed to around 1/1000 or 1/2000 seconds. However, if you use a faster shutter speed than you need, very bright lights will be necessary, and bright lighting is not economical.
3
- For details about the relationship between the brightness of objects (objects to be measured) and the shutter speed, see IV-S30J User's Manual (Introduction and Hardware) "5-1 [2] Illumination and shutter speed."
[Example]
- When the shutter speed is slow (1/60 of a second)
- When the shutter speed is fast (1/1000 of a second)
The object is frozen on the screen.The object is blurred across the screen.
Setting procedure
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
OBJ-TYPE I/O SCREEN SAVE
1
TRIG CCD START BIN
2
CCD TRIG COND (TO NEXT SUB MENU)
3
SHUTTER SPEED 1/00060(1/30~1/10000)
4
SERIAL OUTPUT ANY
5
CAMNO NO 1(12)
6
CALIBRATION NO
F C1 DRK
to the digit you want, using the left and right keys.
1/ 00060
This cursor will move to the left and right.
3.Set the value using the up and down keys.
4.Repeat steps 2 and 3 to set each digit.
After setting all of the digits, press the SET key.
3-36
Page 84
Setting the Conditions for Each Object Type

[3] Copying

When there are many common parameters between object types, it is most efficient to access those existing sets of parameters in order to copy and then modify them. The parameters of a previously specified object type are copied into another object type, after which they can be modified.
The source of the copy The target of the copy
The measurement conditions of the source object type. (The data is copied from flash memory)
The measurement conditions of the target object type. (The data is used to simplify setting the target object's parameters)
3
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 the SET key.
SELECT OBJECT TYPE COND
OBJECT TYPE COND
+
TYPE00
OPS-MENU SAVE COPY PASTE DEL SPECIFY NUMBER TITLE
SET=TO NEXT SUB-MENU ESC=BACK SEL=CHNG IMG TRG=POPUP
Notes
- Do not disconnect the power while the IV-S30J is copying.
- Once data has been corrupted it will be necessary to start after initializing the setting, all over again. Unless this is done it will not be possible to restart the machine.
- The reference images used for the gray scale search function are not copied with the operation above. Make sure reset them.
F C1 DRK
3-37
Page 85
Setting Measurement Conditions

[4] Halt on NG measurement

You can stop all measurements when an NG image (according to the final evaluation results) occurs while operating the IV-S30J. Select " HALT ON NG MEAS" on the "OBJECT TYPE SYS." menu.
3
OBJ-TYPE SYS. SCREEN SAVE
1
HALT ON NG MEAS YES
2
MNTR LIGHT LVL(CAM1) YES
3
LIGHT LV COND (TO NEXT SUB-BENU)
4
MNTR LIGHT LVL(CAM2) YES
5
LIGHT LV COND (TO NEXT SUB-MENU)
6
MOVE ALL WINDOW (TO NEXT SUB-MENU)
F C1 BRT
NO YES NO(NG MEAS DISP)
11111HALT ON NG MEAS
Description
Even if an NG image (final evaluation result) is detected while
NO
operating the IV-S30J, the system will continue making measurements.
When an NG image is detected (according to the final
YES
evaluation result) while operating the IV-S30J, the controller will stop making measurements.
Even if an NG image (final evaluation result) is detected while
NO (NG MEAS DISP)
operating the IV-S30J, the system will continue making measurements. But, it displays the occurred NG measurements at first.
Shown below is an example of an NG image that occurred during measurement 1.
(Setting whether to stop measurements when an NG occurs)
"No" "Yes"
Wait for trigger input
Processing measurement 0, camera 1
Processing measurement 0, camera 2
NG occurred
Processing measurement 1
Processing measurement 2
Processing measurement 3
Processing measurement 4
- Stops processes of measurements 2 to 4
3-38
Page 86

[5] Window group move

All the window positions set in the measurement programs for the same object type number can be shifted horizontally by a specified amount as a group. [Example of use] Shift the coordinate positions used as data for another object type. (After copying the data between object types, move the windows as a group.) To set the amount, use " MOVE ALL WINDOW" in the" OBJECT TYPE SYS" menu.
Setting the Conditions for Each Object Type
OBJ-TYPE SYS. SCREEN SAVE
1
HALT ON NG MEAS YES
2
MNTR LIGHT LVL(CAM1) YES
3
LIGHT LV COND (TO NEXT SUB-BENU)
4
MNTR LIGHT LVL(CAM2) YES
5
LIGHT LV COND (TO NEXT SUB-MENU)
6
MOVE ALL WINDOW (TO NEXT SUB-MENU)
F C1 BRT
3
1. While " SELECT CAMERA" is selected, press the up and down arrow keys to select either "CAM1" or "CAM2." Then press the SET key.
MOVE ALL WIN SCREEN SAVE F C1 BRT
1
SELECT CAMERA CAM1
2
STR COORD POSI MOVE(256,240) COORDINATES STORED
3
MOVE ALL WINDOW MOVE(256,240) EXEC
2. Select " STR COORD POSI" (store coordinate position) and press the SET key. Then select "MOVE" by using the left and right arrow keys and finally, press the SET key.
3. Move the cursor (solid line) to the original coordinates before the move using the up, down, left, and right keys, and press the SET key.
4. Select "COORDINATES STORED" using the left and right keys, and press the SET key. After that press the ESC key.
The coordinates before the move are now registered.
5. Select " MOVE ALL WINDOW" using the up and down keys and press the SET key. Select "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.
Distance to move A
Coordinates of the original
Coordinates of the new
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 coordinates to the new coordinates. After the move is complete, a "Window group move is complete" message will be displayed.
Distance to move A
Original window
New window
- When some part of the window to be moved will move outside of the image display area, the "Out
of range" message will be displayed together with the measurement number and register number. In this case, select "Continue" or "Halt." If "Continue" is selected, the window will be shifted to the limit within the image display area.
3-39
Page 87
Positional Deviation Measurement

Chapter 4: Positional Deviation Measurement

4-1 Outline

The gray scale search function and edge detection function* make possible measuring
Purpose
Application
positional deviation as well as the absolute position.
- It is also possible to detect the position of sub-pixel units with great accuracy.
- A rotation angle of 360゚can be detected. (When a one point gray search is selected). Used to determine the position of machine parts and substrates.
[Determining the location of the positioning (the fiducial mark) mark that identifies the position of the substrate] (1) 1 point search: Detecting the deviation in position in X and Y directions
Reference image: Center coordinates (X1,Y1)
Inspection Image: Center coordinates (X2,Y2)
[Measured result]
Y2-Y1
Search area
Center coordinates: (X2,Y2) Amount of deviation: X2-X1, Y2-Y1
4
Example
X2-X1
(2) 2 point search: Determining positional deviation in X and Y directions as well
as rotational deviation
Reference image a: Center coordinates (Xa1,Ya1)
Inspection image a: Center coordinates (Xa2,Ya2)
Reference image b: Center coordinates (Xb1,Yb1)
Ya2-Ya1
Inspection image b: Center coordinates (Xb2,Yb2)
θ
Search area (image a)
Xa2-Xa1
Angular deviation:
[Measured results]
- Center coordinates of image a: (Xa2,Ya2)
- Amount of deviation of image a: Xa2-Xa1, Ya2-Ya1
- Center coordinates of image b: (Xb2,Yb2)
- Amount of deviation of image b: Xb2-Xb1, Yb2-Yb1
- Deviation angle: θ
* Gray scale search / edge detection function
Gray scale search: Compares a workpiece image with the 256-level gray-scale
reference image to find an area that matches the reference image.
- See page G-6 of the User’s Manual (Instruction & Hardware).
Edge detection: Finds 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.
θ
Xb2-Xb1
Search area (image b)
Yb2-Yb1
4-1
Page 88
Positional Deviation Measurement
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
+
+
MEMEASUREMENT0 SCREEN COND SAVE
NO POSI-DEVIATION
1
MEAS SELECTION
OBJECT TYPE COND
TYPE00
TYPE RUN COND IMAGE-ADJ MEA-CND(CAMERA1)
MEAS0 (POSI-DEVATION) IMG PRE-PROC MEAS-CND
SELECT OBJECT TYPE COND
+

4-2 Setting operation

Setting the measurement conditions
Select "MAIN COND" -> "OBJECT TYPE COND" -> "TYPE00" ->"MEA CND (CAMERA1) " -> "MEAS0," in that order. On the " MEAS SELECTION" line, select "POSI-DEVIATION" from the
4
popup menu. Press the ESC key to return to the OBJECT TYPE COND (menu tree) screen, and select the "MEAS CND" item to enter the MEAS CND screen.
For details, see "Chapter 8:
Setting examples using the menu tree" in Introduction and Hardware.
Note: "POSI-DEVIATION" (positional deviation) measurement can be specified in the "MEAS0"
(measurement 0) and "MEAS1" (measurement 1) to "MEAS4" (measurement 4) functions. If you choose "MEAS(NEW)," the smallest available measurement number will be chosen automatically ("MEAS1" to "MEAS4").
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.
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.
1
DTECT PRECISION STANDARD
2
REGISTERNO.0(0〜7)
3
MODE

4
DTECT ANGL±15°
5
ANGLE UNIT 10
REGISTERNO.
6
MDL0
7
MDL1
SET=SELECT A MENU FOR ESC=BACK SEL=CHNG IMG TRG=FUNC
1P-SCH
×S×××× × ×
××××××××
edoMnoitceteD sliateD sledomelbasU
)enoN(ON.tcetedtonseoD
HCS-P1
)hcraestniop-1(
HCS-P2
)hcraestniop-2(
EGDE-P1
)egdetniop-1(
.noitceted
EGDE-P2
)egdetniop-2(
EGDE-P1+HCS-P1
dnahcraestniop-1(
)egdetniop-1
4-2
F C1 BRTMEAS CNDSCREEN COND SAVE
egamidennacsehtnitniopenofonoitaivedlanoitisopehttceteD
egamidennacsehtnistniopowtfonoitaivedlanoitisopehttceteD
.hcraesyargagnimrofrepretfa,segamiecnereferowtotderapmoc
.hcraesyargagnimrofrepretfa,egamiecnereferelgnisaotderapmoc
STANDARD
HIGH
NO
15141312111009080706050403020100
1P-SCH 2P-SCH 1P-EDGE 2P-EDGE 1P-SCH+1P-EDGE
NO
±15° ±30° ±45° 360°
 

ylno0ledoM
1dna0ledoM
egamidennacsehtnitniopenofonoitaivedlanoitisopehttceteD
egdegnimrofrepretfa,egamiecnereferelgnisaotderapmoc
egamidennacsehtnistniopowtfonoitaivedlanoitisopehttceteD
.noitcetedegdegnimrofrepretfa,segamiecnereferowtotderapmoc
gnimrofrepretfatniopeno,stniopowtfonoitaivedlanoitisopehttceteD
.noitcetedegdegnimrofrepretfatniopenodnahcraesyarga
ylno0ledoM
1dna0ledoM
1dna0ledoM
Page 89
Positional Deviation Measurement
DTECT ANGL and ANGLE UNIT
When the "1P-SCH" or "1P-SCH + 1P-EDGE" is selected in " MODE," you can specify angle detection.
For details about angle detection, see page 4-12.
Select a detection range on the " DTECT ANGL" line and select the units at " ANGLE UNIT."
REGISTER NO. ( MDL 0, MDL 1)
The specified modes are displayed for each register number on these lines. When a 1-point search or 1-point edge is specified, only " MDL 0" will be available. When a 2-point search, 2-point edge, or 1-point search and 1-point edge is specified, " MDL 1" is also 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
4
REGISTER NO.
6MDL0 7MDL1
00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 SSSEE××× S×EE××××
REGISTER0 : 2P-SCH REGISTER1 : 1P-SCH REGISTER2 : 1P-SCH + 1P-EDGE REGISTER3 : 2P-EDGE REGISTER4 : 1P-EDGE
How to set the register conditions
How to enter the REG-COND setting screen
There are three methods for getting to the REG-COND setting screen.
1) On the MEAS CND setting screen, move the cursor to " MDL 0" or " MDL 1" and press the SET key. The cursor will move into the table. Move the cursor to the "S" or "E" column and press the SET key.
Note: If you press the SET key in the "X"
column, the setting will be invalid.
About "S" See pages 4-4 to 6. About "E" See pages 4-7 to 8.
2) On 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(S)" or "REG­COND(E)" item and press the SET key.
SGray search EEdge detection
×:No setting
MEAS CND SCREEN COND SAVE
1
DTECT PRECISION STANDARD
2
REGISTER NO. 0(0~7)
3
MODE
4
DTECT ANGL NO
REGISTER NO.
5
MDL 0
6
MDL 1
1P-SCH+1P-EDGE
S
F C1 BRT
15141312111009080706050403020100
IMG PRE-PROC REG-COND(S) REG-COND(E) POSITION CORRECTION EVALUATION DST&ANGL NUM-CALC OUT
About "REG-COND(S)"
See pages 4-4 to 6.
About "REG-COND(E) "
See pages 4-7 to 8.
SET=VALUE INPUT ESC=BACK SEL=CHNG IMG TRG=FUNC
4-3
Page 90
Positional Deviation Measurement
4
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 register conditions for a gray search

MEAS SHAPE
Select a window shape to be used for the positional deviation measurement. Select "RECTANGLE," "X-LINE," or "Y-LINE" from the popup menu on the " MEAS SHAPE" line.
rofsetanidroocyficepS
rewoldnatfelreppueht
ELGNATCER
esehtybdenifed
.setanidrooc
ENIL-X
.sixaXehtno
wodniwehT.srenrocthgir aeraralugnatceraeblliw
ehtmorfenilafohtgneL
tniopdneehtottnioptrats
OBJECT TYPE COND
+
  
TYPE00 TYPE01
   
 
   
 
SET=TO NEXT SUB-MENU ESC=BACK SEL=CHNG IMG TRG=POPUP
REG COND
1 2 3 4

TYPE RUN COND IMAGE-ADJ MEA-CND(CAMERA1)
+
+
MEA-CND(CAMERA2) FINAL NUM. CALC FINAL OUTPUT COND OBJ-TYPE I/O
SCREEN CONDSAVEDETAIL
REGISTERNO.0(0〜7)
MEAS SHAPE (MDL0) RECTANGLE
REFIMG ARE (MDL0) SET224.208)(287.271
SEARCH ARE (MDL0)  SET216.200)(295.279
MEAS0(POSI-DEVIATION)
+
IMG PRE-PROC
MEAS CND
REG-COND(S) REG-COND(E)
EVALUATION COND
+
DISTANCE&ANGLE COND NUM-CALC OUT-COND
MEAS(NEW)
1REGISTER NO. 2MEAS SHAPE(MDL0) 3SEARCH AREA(MDL0) 4DTECT MODE(MDL0) 5SEARCH DIR(MDL0) 6THRESHOLDS(MDL0) 7REF COORD(MDL0)
8MEAS SHAPE(MDL1) 9SEARCH AREA(MDL1) 0DTECT MODE(MDL1) qSEARCH DIR(MDL1) wTHRESHOLDS(MDL1) eREF COORD(MDL1)
RECTANGLE X-LINE
Y-LINE
+
Search area
Object to measure
F C1 BRTSELECT OBJECT TYPE COND
F C1 BRT
ehtmorfenilafohtgneL
ENIL-Y
tniopdneehtottnioptrats
.sixaYehtno
REFIMG ARE
Move the cursor to " REFIMG ARE(MDL0)" and press the SET key. When the SET item is highlighted, press the SET key again to bring up the setting screen.
SEL=SELECT A MENU ESC=BACK SEL=CHNG IMG TRG=FUNC
REG COND
REGISTERNO.0(0〜7)
1 2
MEAS SHAPE (MDL0) RECTANGLE
3
REFIMG ARE (MDL0) SET224.208)(287.271
4
SEARCH ARE (MDL0)SET216.200)(295.279

SCREEN CONDSAVEDETAIL
+
Search area
Object to measure
SEL=VALUE INPUT ESC=BACK SEL=CHNG IMG TRG=FUNC
F C1 BRT
4-4
Page 91
RECTANGLE RESET RETURN MDL
0
1
UP.L(224.208)
2
LO.R(287.271)
3
MOVE
4
REFERENCE IMG
SET=MOVE ESC=BACK SEL=CHNG IMG TRG=FUNC
F C1 BRT
Reference image area
Search area
REG-IMG
UP.L
LO.R
X:224 Y:208
Setting screen (RECTANGLE)
SET=MOVE ESC=BACK SEL=CHNG IMG TRG=FUNC
F C1 BRT
Reference image area
Search area
Y-LINE RESET RETURN MDL
0
1
S.PT(194.175)
2
E.PT(194.344)
3
MOVE
4
REFERENCE IMG
X:199 Y:245
Start point
End point
Setting screen (Y-LINE)
SET=MOVE ESC=BACK SEL=CHNG IMG TRG=FUNC
F C1 BRT
Reference image area
Search area
X-LINE RESET RETURN MDL
0
1
S.PT(199.245)
2
E.PT(328.245)
3
MOVE
4
REFERENCE IMG
X:194 Y:344
Start point
End point
Setting screen (X-LINE)
When a rectangle is selected
Specify the upper left and lower right corners of the reference image area. Move the cursor to the " UP.L" and press the SET key. Lines for the X and Y axes will appear on the reference image area (shown as a solid line). Move the X and Y lines to the desired position using the up/down/ left/right arrow keys to set the coordinates for the upper left corner. When correct, press the SET key.
- 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 image.
When a horizontal line is selected
Specify the start and end points on the X axis. Specify the start and end points using the up/ down/left/right arrow keys. The points will move along the X axis (while keeping the same Y coordinate).
Note: Specify a search area longer than the
reference image area. Specifying a shorter search area may cause an error message to be displayed.
Positional Deviation Measurement
4
When a vertical line is selected
Specify the start and end points on the Y axis. Specify the start and end points using the up/ down/left/right arrow keys. The points will move along the Y axis (while keeping the same X coordinate).
Note: Specify a search area longer than the
reference image area. Specifying a shorter search area may cause an error message to be displayed.
4-5
Page 92
Positional Deviation Measurement
4
Register a reference image
After setting the reference image area, store an image in the controller as a reference image. Select " REFERENCE IMG" using the up/ down arrow keys and select "REG" from the popup menu.
HCRSTSARTNOC
)hcraestsartnoc(
)retsiger(GER .egamiecnereferasaegamideyalpsidyltnerrucehterotS
)yalpsid(PSID
RECTANGLE RESET RETURN F C1 BRT
0
MDL
UP.L(224.208)
1 2
LO.R(287.271)
3
MOVE
4
REFERENCE IMG
SET=MOVE ESC=BACK SEL=CHNG IMG TRG=FUNC
CONTRAST SRCH REG DISP
X:224 Y:208
aeraehtrofhcraesyllacitamotua,hcraesyargaotgnignahcretfA
.egamiderutpacehtni)tsartnocmumixam(serutaeftsomehthtiw
ehtgnisusegamiecnereferderetsigerehtfoenoynatceleS
eblliwegamiecnereferdetceleseht,syekworrathgir/tfel/nwod/pu
.neercsehtfothgirrewolehtnideyalpsid
SEARCH ARE
Specify the search area (inside the dotted lines) on the " SEARCH ARE (MDL0)" line, using the same procedures used for setting the reference image area.
If you are selecting a 2-point search, also set the
REG COND
REGISTERNO.0(0〜7)
1 2
MEAS SHAPE (MDL0) RECTANGLE
3
REFIMG ARE (MDL0) SET224.208)(287.271
4
SEARCH ARE (MDL0)SET216.200)(295.279

SCREEN CONDSAVEDETAIL
points the same way as for MDL1.
Object to measure
SEL=VALUE INPUT ESC=BACK SEL=CHNG IMG TRG=FUNC
An example of storing
- This is an example of a 2-point search when the detection shape is a rectangle. Model 1
Model 0
Reference image (model 1)
Reference image
(Model 0)
Search area (model 1)
Search area
(Model 0)
F C1 BRT
+
Search area
Note: When setting the horizontal and vertical lines, specify the line length as follows: The reference image must shorter than the search area lines.
4-6
Page 93
Positional Deviation Measurement
REFIMG
Move the cursor to the function menu on the REG COND screen by pressing the TRG/BRT key. Move the cursor to "DETAIL." Press the SET key on the "REFERENCE IMG" line in the popup menu. The white square on the left will change to a black square. Then, the " REF IMG" item will appear on the screen.
- You can use the same procedures to show "DTECT CRD" (detection coordinates) and "CONTR.PIXL" (contraction pixels) on the screen.
REG COND
REGISTERNO.0(0〜7)
1 2
MEAS SHAPE (MDL0) RECTANGLE
3
REFIMG ARE (MDL0) SET (224.208)(287.271)
4
SEARCH ARE (MDL0)  SET (216.200)(295.279)
5
REFIMG (MDL0) 001(000~001)
6
DTECT CRD (MDL0) CENTER (250.229)
7
CONTR.PIXL (MDL0) 1
SEL=VALUE INPUT ESC=BACK SEL=CHNG IMG TRG=FUNC
SCREEN CONDSAVEDETAIL
※Make □to ■on the popup menu,
the respective item will be added to the "REG COND" menu.
On the " REF 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).
DTECT CRD (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.
F C1 BRT
REFERENCEIMG
DTECT CRD CONTR.PIXL
4
CONTR.PIXL (contraction pixels)
When "RECTANGLE" was selected at " MEAS SHAPE," you can select items 1 to 3 below. When " X-LINE" or "Y-LINE" was selected, you can select items 1 or 2 below. 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.

[2] Setting the register conditions for edge detection

MEAS SHAPE (MDL 1)
Select a measurement shape.
RECTANGLE LINE (straight line) CIRC-L (circle) ELIP-L (ellipse)
Select a pattern to be used for image processing.  See pages 3-4 to 3-8.
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.
REG COND
1
REGISTERNO.0(0〜7)
2
MEAS SHAPE (MDL1) RECTANGLE (NO ARFT)
3
SEARCH ARE (MDL1) SET (224.208)(287.271)
4
DTECT MODE (MDL1)  CHNG POINT
5
SEARCH DIR(MDL1) HORIZ (→)
6
THRESHOLD(MDL1) SET (D:050 E:2 F:04)
7
REF COORD(MDL1) SET KEY(512.480)
SEL=SELECT A MENU ESC=BACK SEL=CHNG IMG TRG=FUNC
SCREEN CONDSAVE
F C1 BRT
RECTANGLE (NO ARFT) RECTANGLE (ARFT) LINE CIRC-L ELIP-L
CHNG POINT DRK→BRT
BRT→DRK
+
CENT(BRT) CENT(DRK)
HORIZ (→) HORIZ (←)
VERT(↓) VERT(↑)
4-7
Page 94
Positional Deviation Measurement
4
When a rectangle is selected
Highlight " UP.L" and press the SET key. The X and Y axes will appear in the detection area. Move the X/Y axes using the up/down/left/right arrow keys to identify the upper left corner. When
Setting screen (RECTANGLE)
RECTANGLE RESET RETURN
0
MDL
UP.L(224.208)
1 2
LO.R(287.271)
3
MOVE
correct, press the SET key.
- To return to the previous coordinates, press the ESC key. Next, highlight " LO.R" and press the SET key. Identify the lower right corner the same way.
DTECT MODE
Select an image processing method for the edges.
CHNG POINT DRK -> BRT BRT -> DRK See page 3-14. CENT (BRT) CENT (DRK)
SET=MOVE ESC=BACK SEL=CHNG IMG TRG=FUNC
SEARCH DIR
Specify a search direction. The direction for searching varies with each detection shape.
When "RECTANGLE" is selected
latnoziroH thgirottfelmorfenilecnereferehtnacS
latnoziroH thgirottfelmorfenilecnereferehtnacS lacitreV mottobotpotmorfenilecnereferehtnacS lacitreV pototmottobmorfenilecnereferehtnacS
F C1 BRT
X:224 Y:208
When "LINE" is selected
tnioptratS tniopdnE tniopdneehtottniopgnitratsehtmorfenilthgiartsagnolanacS
tniopdnE tnioptratS tniopgnitratsehtottniopdneehtmorfenilthgiartsagnolanacS
When "CIRC-L" or "ELIP-L" is selected
noitceridesiwkcolCesiwkcolcecnerefmucricehtdnuoranacS
noitceridesiwkcolc-retnuoC esiwkcolc-retnuocecnerefmucricehtdnuoranacS
For details, see page 3-14.
THRESHOLD
Specify a threshold value for binary conversion.
For details, see page 3-10.
Flat
Edge
width
width
Light level
Density difference
A
B
Automatic setting Select "AUTO-REG" from the upper function menu on the THRESHOLD setting screen. The controller will set the optimum value automatically.
For details, see page 3-15.
REF COORD (reference coordinates)
You can change the reference coordinates to any desired position.
4-8
Page 95
Positional Deviation Measurement
REGISTERNO.
15141312111009080706050403020100
××××××
××××××××
F C1 BRTMEAS CNDSCREEN COND SAVE
SET=SELECT A MENU FOR ESC=BACK SEL=CHNG IMG TRG=FUNC
 
1
DTECT PRECISION STANDARD
2
REGISTERNO.0(0〜7)
3
MODE

1P-SCH
4
DTECT ANGLNO
5
ANGLE UNIT
6
MDL0
7
MDL1
IMG PRE-PROC REG-COND(S) REG-COND(E) POSITION CORRECTION EVALUATION DST&ANGL NUM-CALC OUT
Set the evaluation conditions
How to move to the evaluation condition setting screen
There are two methods for getting to the evaluation condition setting screen.
1) Select "COND" in the upper function menu on the MEAS COND (or REG COND) screen and press the SET key. Select "EVALUATION" on the pop up menu to go to the EVALUAT COND screen.
4
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 will appear.
For details about the evaluation conditions, see
page 3-17.
F C1 DRKSELECT OBJECT TYPE COND
OBJECT TYPE COND
+
  
TYPE00
TYPE RUN COND
 
 
SET=TO NEXT SUB-MENU ESC=BACK SEL=CHNG IMG TRG=POPUP
1REGISTER NO. 0(0~7) [TEST RESULT] [OUTPUT] 2CONDITION SET AUTO(–10%) 3X COORD.(MDL0) 000.0~511.0 X0= NO 4Y COORD.(MDL0) 000.0~479.0 Y0= NO 5x DEVAITE(MDL0) -511.0~+511.0 x0= NO 6y DEVAITE(MDL0) -479.0~+479.0 y0= NO 7MATCH LVL(MDL0) -10000~+10000 M0= NO
8TEST EXEC(WITH-POSI.ADJ WITHOUT-POSI.ADJ)
IMAGE-ADJ MEA-CND(CAMERA1)
+
MEA-CND(CAMERA2) FINAL NUM. CALC FINAL OUTPUT COND OBJ-TYPE I/O OBJ-TYPE SYS.
MEAS0(POSI-DEVIATION)
+
IMG PRE-PROC MEAS CND
REG-COND(S) REG-COND(E)
EVALUATION COND
+
DISTANCE&ANGLE COND
NUM-CALC
OUT-COND
MEAS(NEW)
1REGISTER NO. 2CONDITION SET 3X COORD.(MDL0) 4Y COORD.(MDL0) 5x DEVAITE(MDL0)
6y DEVAITE(MDL0) 7MATCH LVL(MDL0) 8TEST
F C1 BRTEVALUAT COND SCREEN COND SAVE EDIT SEL
SET=VALUE INPUT ESC=BACK SEL=CHNG IMG TRG=FUNC
4-9
Page 96
Positional Deviation Measurement
Numeric calculation setting
- Press the TRG/BRT key to move the cursor to the upper function menu, and highlight "COND" using the left and right arrow keys. Press the SET key to show the popup menu. Select "NUM-CALC" from the popup menu.
- Select "NUM-CALC" on the menu tree. See "Chapter 14: Numerical calculations."
Output condition setting
- Press the TRG/BRT key to move the cursor to the upper function menu, and highlight "COND" using the left and right arrow keys. Press the SET key to display the popup menu. Select "OUT" from the
4
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 dis­played on the screen.
1P-SCH+1P-EDGE
(TYPE00)
OK
MEAS XXXXms MEASURE 0 CAM1 POSI-DEVIATION
F C1 BRT V*.**
Registration number
Detection coordinates in the reference image for model 0
Amount of deviation from the reference image for model 0
Degree of match with the reference image for model 0
Amount of angular deviation Detection coordinates in the
reference image for model 1 Amount of deviation from the
reference image for model 1 Degree of match with the
reference image for model 1
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
X0~6□□□□□□□□  
MNU-CHG MAIN-COND CHG-MEA COND-CHG CHNG-REG SCREEN-CHG CHG-TYPE
Y0~7□□□□□□□□  
READY■
For display examples of measurement results using other modes, see the next page.
4-10
Page 97
The displays for other modes are shown in the next page.
Ë 1-point search
Positional Deviation Measurement
Registration number
Detection coordinates in the reference image for model 0
Amount of deviation from the reference image for model 0 Degree of match with the reference image for model 0
* Rotation angle
* Angle will be displayed when "DTECT ANGL" is set to "YES."
REGST NO. 0(0~7) X0=176.0 OK Y0=322.0 OK x0=+000.0 y0=+000.0 M0=+
10000 OK
B0=+002.6 OK
OK OK
Ë 2-point search
Registration number
Detection coordinates in the reference image for model 0
Amount of deviation from the reference image for model 0 Degree of match with the reference image for model 0
Amount of angular deviation Coordinates in the detect
point for model 1 Amount of deviation in the
detect point for model 1 The number of the detect
point for model 1
REGST NO. 0(0~7) X0=176.0 OK Y0=322.0 OK x0=+000.0 y0=+000.0 M0=+
10000 OK B0=+001.7 OK X1=534.0 Y1=480.0 x1=+001.0 y1=+001.0 K1=1 OK
OK OK
OK OK OK OK
4
Model 1
Model 0
Registration number
Coordinates in the detect point for model 1
Amount of deviation in the detect point for model 1
The number of the detect point for model 1
Registration number
Coordinates in the detect point for model 0
Amount of deviation in the detect point for model 0 The number of the detect point for model 0
Amount of angular deviation Coordinates in the detect
point for model 1 Amount of deviation in the
detect point for model 1 The number of the detect
point for model 1
Ë 1-point edge
REGST NO. 0(0~7) X0=176.0 OK Y0=322.0 OK x0=+000.0 y0=+000.0 K0=1 OK B0=
Ë 2-point edge
REGST NO. 0(0~7) X0=176.0 OK Y0=322.0 OK x0=+000.0 y0=+000.0 K0=1 OK B0=+001.7 OK X1=534.0 OK Y1=480.0 OK x1=+001.0 y1=+001.0 K1=1 OK
OK OK
OK OK
OK OK
4-11
Page 98
Positional Deviation Measurement
Angle detection
You can detect the angle of an object by selecting 1P-SCH (1-point search) in the POSI-DEVIATION item (measurement 0 to 4) .
(1) Angle detection by object shape
There are some objects whose angle cannot be detected, due to the shape of the object and the compression level used for the gray scale search, as shown in the table below.
4
Object shape Difficulty level
The angle cannot be detected.
Angle detection
×
The angle can be detected using a compression level of 2 for the gray scale search.
The angle can be detected.
△
○
- The information given above is true when the measurement conditions are as follows: the size of the reference image to be registered is approximately 64 X 64, and the search size is approximately 100 X 100.
(2) Setting method
On the [MEAS CND] screen, select the "1P-SCH" or "1P-SCH+1P-EDGE" mode on the " MODE" and then select the " DTECT ANGL" item. See page 4-2.
F C1 BRTMEAS CNDSCREEN COND SAVE
1
DTECT PRECISION STANDARD
2
REGISTERNO.0(0〜7)
3
MODE
1 2 3

4
DTECT ANGLNO
5
ANGLE UNIT
REGISTERNO.
6
MDL0
7
MDL1
××××××××
1P-SCH
×S××××× × 
STANDARD
HIGH
NO
15141312111009080706050403020100
1P-SCH 2P-SCH 1P-EDGE 2P-EDGE 1P-SCH+1P-EDGE
 
Note: When the rotation angle detection is set other
than "NO," the "HIGH PRECISION" selection will be invalid. (The detection precision is fixed to the "STANDARD.")
NO
 ±15° ±30° ±45° 360°

SET=SELECT A MENU FOR ESC=BACK SEL=CHNG IMG TRG=FUNC
1. Select the "1P-SCH" or "1P-SCH+1P-EDGE" mode on the " MODE".
2. Select the angle search range (±15˚, ±30˚, ±45˚, ±360˚) on the " DTECT ANGL" item. The larger the angle search range, the slower the processing will be.
3. Select a rotation step size in degrees 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:
elgnanoitatoR detaercegamiecnerefeR
noitceteD
egnar
tinU elgnanoitatoR ytitnauQ
171+,61+,51+,41+,41-,51-,61-,71-53
˚51±
312+,81+,51+,21+,21-,51-,81-,12-51 552+,02+,51+,01+,5+,0,5-,01-,51-,02-,52-11
0151+,01+,0,01-,51-5
To the next page
4-12
Page 99
Positional Deviation Measurement
elgnanoitatoR detaercegamiecnerefeR
-oitceteD
egnarn
˚03±
˚54±
lluF
elgna
4. On the settings for the gray scale search conditions (page 4-4), register the object by surrounding it with a square window, regardless of the shape of the object to be measured.
Example
Image to register
tinU elgnanoitatoR ytitnauQ
243+,23+,03+,82+•,82-,03-,23-,43-53 343+,33+,03+,72+•,72-,03-,33-,63-52 504+,53+,03+,52+•,52-,03-,53-,04-71 624+,63+,03+,42+•,42-,03-,63-,24-51
0103+,02+,01+,0,01-,02-,03-7 315+,84+,54+,24+•,24-,54-,84-,15-53 555+,05+,54+,04+•,04-,54-,05-,55-32
0154+,04+,03+,02+,01+,0,01-,02-,03-,04-,54-11
01081+,071+,061+,051+•,051-,061-,071-63
4
When triggered to store the reference image, the system will store various views of the object in memory by rotating the image, 10 degrees at a time.
When the angle range is set to –360˚ (Rotation angle unit : 10)
Reference image
100 20
. . . . .
-
170180
-
10
5. Specify a search area that is large enough to include various positional deviations of the object.
Reference image area
Search area
6. When starting the measurement, the system will execute a gray scale search of the captured image based on the stored reference images, which were created by rotating the basic image, 10 degrees at a time in step 3 above.
Define the position using the curve interpolation.
Degree of match
Captured image
10 20 30 40 50 60 70
Degree of match curve
Rotation angle
Note: When "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.
4-13
Page 100

Chapter 5: Degree of Match Inspection

5-1 Outline

The gray search function is capable of finding the differences between the non-
Purpose
Applications
defective reference image and the image to be inspected evaluating the degree of match. (The acceptability of the workpiece is evaluated based on its level of similarity to the reference model.)
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
[Checking for label misalignment on package]
Degree of Match Inspection
5
Examples
Reference image for positioning
Reference image for checking
çAcceptable application of label
Search area
for positioning
SERIAL NO. 8F053G26 MODEL
-
IV
S30J
Reference image for positioning
Reference image for checking
çUnacceptable application of label
Search area
for positioning
S30J
-
SERIAL NO.
8F053G26
MODEL
IV
[Measurement results]
- Degree of match compared with the reference image
- Detected coordinates (X/Y) of the measurement image.
- Light level in the measured image (average light level/absolute value of difference)
- Checking sequence
1 A gray search for the reference image for positioning is made. 2 After the position of the reference image for checking is corrected based on
the coordinates of the reference image for positioning found in step 1, the degree of match is determined.
3 If the degree of match of the reference image for checking is low, the label is
regarded as applied incorrectly.
5-1
Loading...