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 typeMajor subjectsHow 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.
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
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
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.
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
STORETHISSETTINGASA
SAMPLEINTHEWIZARD?
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.
*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."
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.
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.
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 0CAM1NO
↑↑↑
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.
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 barDescriptionDisplay 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.
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.
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 MENUUNLOCK 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
1Direction 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."
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 (1point 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 camerasMaximum of 2
Measurement
start
input
Terminal block
Power voltage/consumption24 VDC (±10 %) 7 W
Counters
Parallel interface
General-purpose
serial interface
Computer link
Image output
Make settings
Internal triggerCCD trigger (using the CCD camera)
External trigger
Interrupt processing
input
Inputs
Common for input1 point: + common
Output9 points: 1 READY,8user settable logical outputs (Y0 to Y7)
Common for output1 point: + common
Power supply2 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)
θ angle correction image display
Operation main display2-9
Evaluation change display2-10
PC monitor screen2-11
Through display2-11
Extension function2-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 SAVEF C1 BRT
1
MONITOR OUTPUTCAM1
2
CAPTURE IMGPARTIAL-IMG
3
MESSAGE DISPLAYYES(NUMERIC)
4
PATTERN DISPLAYYES
5
SHOW BINARY IMGYES
6
SHOW θ FIX IMGYES
7
OPS MAIN DISPYES
8
DISP CHG-EVALNO
9
PC-MNTRNO
0
THROUGH DISPLAYNO
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 SAVEF C1 BRT
1
MONITOR OUTPUTCAM1
2
CAPTURE IMGPARTIAL-IMG
3
MESSAGE DISPLAYYES(NUMERIC)
4
PATTERN DISPLAYYES
5
SHOW BINARY IMGYES
6
SHOW θ FIX IMGYES
7
OPS MAIN DISPYES
8
DISP CHG-EVALNO
9
PC-MNTRNO
0
THROUGH DISPLAYNO
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/FPARALLEL+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 OUTNO
7
’READY’ONCAPTURE 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 SAVEF C1 BRT
1
MONITOR OUTPUTCAM1
2
CAPTURE IMGPARTIAL-IMG
3
MESSAGE DISPLAYYES(NUMERIC)
4
PATTERN DISPLAYYES
5
SHOW BINARY IMGYES
6
SHOW θ FIX IMGYES
7
OPS MAIN DISPYES
8
DISP CHG-EVALNO
9
PC-MNTRNO
0
THROUGH DISPLAYNO
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
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 SAVEF C1 BRT
1
MONITOR OUTPUTCAM1
2
CAPTURE IMGPARTIAL-IMG
3
MESSAGE DISPLAYYES(NUMERIC)
4
PATTERN DISPLAYYES
5
SHOW BINARY IMGYES
6
SHOW θ FIX IMGYES
7
OPS MAIN DISPYES
8
DISP CHG-EVALNO
9
PC-MNTRNO
0
THROUGH DISPLAYNO
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.0OK
Y0=322.0OK
x0=+000.0OK
y0=+000.0OK
M0=+10000 OK
B0=+001.7OK
X1=534.0OK
Y1=480.0OK
x1=+001.0OK
y1=+001.0OK
M1=+09999 OK
X0~6Y0~7READY
Description
F C1 L
VX.X
TYPE RUN COND SCREEN SAVEF C1 BRT
1
MONITOR OUTPUTCAM1
2
CAPTURE IMGPARTIAL-IMG
3
MESSAGE DISPLAYYES(NUMERIC)
4
PATTERN DISPLAYYES
5
SHOW BINARY IMGYES
6
SHOW θ FIX IMGYES
7
OPS MAIN DISPYES
8
DISP CHG-EVALNO
9
PC-MNTRNO
0
THROUGH DISPLAYNO
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.0OK
Y0=322.0OK
x0=+000.0OK
y0=+000.0OK
M0=+10000 OK
B0=+001.7OK
X1=534.0OK
Y1=480.0OK
x1=+001.0OK
y1=+001.0OK
M1=+09999 OK
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 SAVEF C1 BRT
1
MONITOR OUTPUTCAM1
2
CAPTURE IMGPARTIAL-IMG
3
MESSAGE DISPLAYYES(NUMERIC)
4
PATTERN DISPLAYYES
5
SHOW BINARY IMGYES
6
SHOW θ FIX IMGYES
7
OPS MAIN DISPYES
8
DISP CHG-EVALNO
9
PC-MNTRNO
0
THROUGH DISPLAYNO
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 "PCMNTR" screens), this item should be selected to return
to the main display from other screens. On the "TYPE
RUN COND" screen, select "OPS MAIN DISP" and
then "YES" on the popup menu. That will return you to
the main operation screen.
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 SAVEF C1 BRT
1
MONITOR OUTPUTCAM1
2
CAPTURE IMGPARTIAL-IMG
3
MESSAGE DISPLAYYES(NUMERIC)
4
PATTERN DISPLAYYES
5
SHOW BINARY IMGYES
6
SHOW θ FIX IMGYES
7
OPS MAIN DISPYES
8
DISP CHG-EVALNO
9
PC-MNTRNO
0
THROUGH DISPLAYNO
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 JDGCOND-CHG and PC-MNTR screens).
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 SAVEF C1 BRT
1
MONITOR OUTPUTCAM1
2
CAPTURE IMGPARTIAL-IMG
3
MESSAGE DISPLAYYES(NUMERIC)
4
PATTERN DISPLAYYES
5
SHOW BINARY IMGYES
6
SHOW θ FIX IMGYES
7
OPS MAIN DISPYES
8
DISP CHG-EVALYES
9
PC-MNTRNO
0
THROUGH DISPLAYNO
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. "JDGCOND 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 SAVEF C1 BRT
1
MONITOR OUTPUTCAM1
2
CAPTURE IMGPARTIAL-IMG
3
MESSAGE DISPLAYYES(NUMERIC)
4
PATTERN DISPLAYYES
5
SHOW BINARY IMGYES
6
SHOW θ FIX IMGYES
7
OPS MAIN DISPYES
8
DISP CHG-EVALNO
9
PC-MNTRNO
0
THROUGH DISPLAYNO
q
EXTENSION FUNC.NO
(TYPE00)
MEAS 0000ms
MEASURE 0 CAM1 NO
Display evaluation condition
change menu while in operation
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
LOCKFULLV*.**
C1=002.2OK
C2=100.0OK
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 SAVEF C1 BRT
1
MONITOR OUTPUTCAM1
2
CAPTURE IMGPARTIAL-IMG
3
MESSAGE DISPLAYYES(NUMERIC)
4
PATTERN DISPLAYYES
5
SHOW BINARY IMGYES
6
SHOW θ FIX IMGYES
7
OPS MAIN DISPYES
8
DISP CHG-EVALNO
9
PC-MNTRNO
0
THROUGH DISPLAYNO
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.
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 SAVEF C1 BRT
1
MONITOR OUTPUTCAM1
2
CAPTURE IMGPARTIAL-IMG
3
MESSAGE DISPLAYYES(NUMERIC)
4
PATTERN DISPLAYYES
5
SHOW BINARY IMGYES
6
SHOW θ FIX IMGYES
7
OPS MAIN DISPYES
8
DISP CHG-EVALNO
9
PC-MNTRNO
0
THROUGH DISPLAYNO
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 SAVEF C1 BRT
1
MONITOR OUTPUTCAM1
2
CAPTURE IMGPARTIAL-IMG
3
MESSAGE DISPLAYYES(NUMERIC)
4
PATTERN DISPLAYYES
5
SHOW BINARY IMGYES
6
SHOW θ FIX IMGYES
7
OPS MAIN DISPYES
8
DISP CHG-EVALNO
9
PC-MNTRNO
0
THROUGH DISPLAYNO
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 MENUF 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/FPARALLEL+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 OUTNO
7
’READY’ONCAPTURE 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.
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."
OPTIONSCREEN SAVEF C1 BRT
1
INITIALIZATION
SELF DIAGNOSISEXEC
2
ALL-INITINIT-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 selfdiagnosis and display the results of the
diagnosis, as shown right. If the diagnosis results
OPTIONSCREEN SAVEF C1 BRT
1
INITIALIZATION
SELF DIAGNOSISEXEC
2
ALL-INITINIT-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 ."
VRAMOK
SDRAMOK
TYPE COND
REFFERENCE IMGOK
BOOT-PROGOK
SYSTEM-PROGOK
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 SELECTIONPOSI-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 conditions using "POSI-DEVIATION."
MEAS CND SCREEN COND SAVEF C1 BRT
1
DTECT PRECISION STANDARD
2
REGISTER NO0(0~7)
3
MODE1P-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 NO0(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.
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 point3. 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 typeMoveLength
Reference image Solid line
Search areaDotted 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 typeMoveLength
Reference image Solid line
Search areaDotted 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.
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
MenuDescription
- 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 detectionPoint 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.LM255(0~255)
2
L.LM100(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) itemDetails of correction
Threshold value
adjustment
Variation
difference
Variation
rate
Note:InordertousetheTHRESHOLD-
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 SHAPERECTANGLE
2
MEAS AREASET (224,208)~(287,271)
3
THRESHOLDSET [U.LM255 L.LM100(0~255)]
4
INVERT B/WNO
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(0〜15)
2
MEAS SHAPERECTANGLE
3
MEAS AREASET (224,208)~(287,271)
4
THRESHOLDSET [U.LM255 L.LM100(0~255)]
5
INVERT B/WNO
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
DirectionB
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
GRYS050(0~255)
2
EDGE.W 2(1~8)
3
FLAT.W04(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
1REGISTER00(0˜15)[TEST RESULT] [OUTPUT]
2CONDITION SET RESET AUTO(
3
●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 output), Y0 to 7 (output on these relays), or C000 to C127 (output on
these secondary relays), in the output 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 resulting measurement values and the
evaluation (OK or NG) will be displayed.
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
MODE1P-SCH
4
DTECT ANGL–15¡
5
ANGLE UNIT10
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,
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 specified.
Press the ESC key to return to the OBJECT TYPE
COND screen. Then select "IMG PRE-PROC."
MEASUREMENT 1 SCREEN COND SAVE
1
MEAS SELECTIONPOSI-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 SAVEF C1 BRT
1
COMPARE IMGSNO
2
CHNG GRAY LEVELNO
3
SPACE FILTERNO
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 SAVEF 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 SAVEF C1 BRT
1
COMPARE IMGSCAM1
2
COMP IMGS COND (TO NEXT SUB-MENU)
3
CHNG GRAY LEVEL CONTRAST MAGNI
4
CONTRAST MAGNI 00.0TIMES
5
SPACE FILTERSMOOTH(AVE)
6
NUM.OF FILTER1(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.TYPENO
2
CALC.AREASET(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 "INCRSM" (mid emphasis) functions.
3
IMG PRE-PROC SCREEN COND SAVEF C1 BRT
1
COMPARE IMGSNO
2
CHNG GRAY LEVELNO
3
SPACE FILTERNO
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 levelGray 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."
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 CONDF 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.
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 2550 (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 MEACND screen will appear. Select "WINDOW"
and press the SET key. Select "BINARY-IMGMASK" 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
WINDOWBINARY-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 SHAPERECTANGLE
2
MEAS AREASET (224,208)~(287,271)
3
THRESHOLDSET [U.LM255 L.LM100(0~255) ]
4
INVERT B/WNO
5
MASK SHAPE
6
MASK AREA(224,208)~(287,271)
7
BINARY PROCESSFIXED
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.LM255(0~255)
2
L.LM100(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
WINDOWBINARY-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 SAVEF C1 BRT
1
WINDOWBINARY-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 AREASET
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 RETURNF C1 BRT
1
POINT01(255,255)
X:224Y:208
3-28
Page 76
Setting the Conditions for Each Object Type
MASK BINARY IMG SCREEN SAVE
F C1 BRT
1
MASK AREASET
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
- When "YES" is selected in the DTECT ANGL item specifying a "1PSCH" 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 "1PSCH" 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 SAVEF C1 BRT
1
CORRECTION REG.2ND STAGE CORRECTION
2
MODE(1ST)ANGLE-ADJ.(STANDARD)
3
X CORRECT ADJ.(1ST) YES
4
X CORRECTIONREG0(0~7) MDL0
5
Y CORRECT ADJ.(1ST) YES
6
Y CORRECTIONREG0(0~7) MDL0
7
ADJUST ANGL.(1ST)YES
8
ADJUST ANGLREG0(0~7) MDL0
9
MODE(2ND)XY-ADJ.
0
X CORRECT ADJ.(2ND) YES
q
X CORRECTIONREG0(0~7) MDL0
w
Y CORRECT ADJ.(2ND) YES
e
Y CORRECTIONREG0(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
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 current 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 MEASYES
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 SAVEF C1 BRT
1
SIZEY08(4~32)X08(4~65)
2
POSITION(248,232)
3
THRESHOLD VALUE U.LM255 L.LM000(0~255)
4
REG AVG.GRAY LVEXEC 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 OUTPUTANY
5
CAMNONO 1(1〜2)
6
CALIBRATIONNO
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 copyThe 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 MEASYES
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 MEASYES
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 SAVEF C1 BRT
1
SELECT CAMERACAM1
2
STR COORD POSIMOVE(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
REGISTERNO.0(0〜7)
3
MODE
4
DTECT ANGL±15°
5
ANGLE UNIT10
REGISTERNO.
6
MDL0
7
MDL1
SET=SELECT A MENU FOR ESC=BACK SEL=CHNG IMG TRG=FUNC
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.
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 "REGCOND(E)" item and press the SET key.
S:Gray search
E:Edge detection
×:No setting
MEAS CNDSCREEN 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 "REGCOND(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
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
REGISTERNO.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)
SCREEN CONDSAVEDETAIL
+
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.
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
REGISTERNO.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)
SCREEN CONDSAVEDETAIL
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
REGISTERNO.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 CONDSAVEDETAIL
※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
REFERENCEIMG
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
REGISTERNO.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 CONDSAVE
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.
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
REGISTERNO.
15141312111009080706050403020100
×S××××××
××××××××
F C1 BRTMEAS CNDSCREEN COND SAVE
SET=SELECT A MENU FOR ESC=BACK SEL=CHNG IMG TRG=FUNC
1
DTECT PRECISION STANDARD
2
REGISTERNO.0(0〜7)
3
MODE
1P-SCH
4
DTECT ANGLNO
5
ANGLE UNIT
6
MDL0
7
MDL1
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
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 displayed 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
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 shapeDifficulty 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 CNDSCREEN COND SAVE
1
DTECT PRECISION STANDARD
2
REGISTERNO.0(0〜7)
3
MODE
1
2
3
4
DTECT ANGLNO
5
ANGLE UNIT
REGISTERNO.
6
MDL0
7
MDL1
××××××××
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:
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.
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
10020
. . .. .
-
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...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.