IV-S30J User's Manual
IV-S30J User's Manual
0
Produced in July 2002
IV-S30J
User’s Manual (Function and Operation)
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.
Notes
- 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.
Chapter 1: Setting and Operating Outline
Chapter 2: Setting the Operating and System Conditions
Chapter 3: Setting Measurement Conditions
Chapter 4: Positional Deviation Measurement
Chapter 5: Degree of Match Inspection
Chapter 6: Lead Inspection
Chapter 7: Area Measurement by Binary Conversion
Chapter 8: Object Counting by Binary Conversion
Chapter 9: Object Identification by Binary Conversion
Chapter 10: Existence Inspection by Point Measurement
Chapter 11: Multiple Positional Measurement
Chapter 12: Multiple Degree of Match Inspection
Chapter 13: Distance and Angle Measurement
Chapter 14: Numerical Calculations
Chapter 15: PC Function
Chapter 16: Setting the Input/Output Conditions
Chapter 17: Communication (General Purpose Serial Interface)
Chapter 18: Computer Link
Chapter 19: Troubleshooting
Alphabetical Index
Table of Contents
Chapter 1: Setting and Operating Outline ...................................................... 1-1 to 23
1-1 Setting and operating procedures ................................................................................................ 1-1
1-2 Method for selecting the menu configuration ............................................................................... 1-2
[1] Menu configuration .................................................................................................................... 1-4
[2] Configuration of the setting conditions ....................................................................................... 1-5
[3] Configuration of Set Wizard ....................................................................................................... 1-6
1-3 Description of the Operation screen .......................................................................................... 1-10
1-4 Setting the measurement programs .......................................................................................... 1-13
1-5 Common operations for each menu .......................................................................................... 1-14
[1] Operations to return to the operation screen ........................................................................... 1-14
[2] Saving data .............................................................................................................................. 1-14
1-6 Power ON setting menu ............................................................................................................. 1-15
[1] Operations menu lock .............................................................................................................. 1-15
[2] Change the Japanese or English display mode ....................................................................... 1-15
1-7 Remote keypad (IV-S30RK1) .................................................................................................... 1-16
1-8 Operation flow ............................................................................................................................ 1-17
[1] Power ON and main loop processing ...................................................................................... 1-17
[2] Operation flow after the measurement start input is turned ON. .............................................. 1-19
1-9 Table of controller functions ..................................................................................................... 1-22
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 User’s manual
- Connection of a power supply, input/output terminals (Introduction and Hardware)
and external devices 5-2 to 5-4 Installing, connecting,
and wiring methods
3 Turning ON the power supply (controller and monitor)
Supply power to each device.
4 Environment settings
Set IV-S30J parameters according to the actual hardware environment.
- Setting the Input/Output conditions Chapter 16
- Communication Chapter 17
- Computer link Chapter 18
- Gain/offset adjustment Page 2-15
7 Other settings
User’s Manual
Initialization Self Diagnosis (Introduction and Hardware)
6-8 Option
8 Operation
1-1
Setting and Operating Outline
Select "SET WIZARD" from the "MAIN MENU" and the wizard will show the items IVS30J
needed for each step. You only need to make selections according the instructions SYS-CND
on the screen. Using the wizard, you can establish the minimum required settings OBJECT TYPE COND
SET WIZARD
for making measurements.
EDIT MAIN OPS MENU
OPTION
RETURN NEXT
The steps that the set wizard takes you through are displayed TYPE00
as lists on the "operation chart." At any point you can return to Start
the previous step to make a change if you want to. 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
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
Setting and Operating Outline
1-3
Setting and Operating Outline
( )
(Max. 16 object types)
OBJ-TYPE I/O MEAS03 *2
OBJ-TYPE SYS. MEAS04
IMG PRE-PROC
MEAS CND REG-COND (S)
REG-COND (E)
EVALUATION COND
DISTANCE & ANGLE COND NUM-CALC
OUT-COND
NUM-CALC
TYPE15
OUT-COND
1CHG-TYPE
2STANDARD WIZARD
3OPERATION CHART
1INITIALIZATION
2SELF DIAGNOSIS
1-4
Setting and Operating Outline
Output monitor (2-2), image capture (2-4), message display (2-5), pattern
Operating display (2-6), binary image display (2-7), θ angle correction image display (2-
conditions 8), operation main display (2-9), evaluation change display (2-10), PC monitor
screen (2-11), through display (2-11), extension functions (2-12).
1-5
Setting and Operating Outline
STEP1
SELECT THE MEASUREMENT
START INPUT I/F
1PARALLEL+SERIAL+USB ■
2TRIG CCD START □
RETURN NEXT
STEP3
CORRECT POSITION?
1NO ■
2CAM1 □
3CAM2 □
RETURN NEXT
STEP3
SELECT A CAMERA TO SPECIFY
MEASUREMENT CONDITIONS
1NO REGISTRATION ■ When "2CAM1" or "3CAM2" is selected.
2CAM1 ■
3CAM2 □
STEP4
RETURN NEXT
SELECT AN IMAGE PROCESSING
METHOD
When "1NO REGISTRATION" 1GRAY-SRC PROCESS ■
is selected. 2BINARY PROCESS □
1MEAS POSI-DEVIAT ■
2MEAS MULTI-POSI □
3DETECT DEG-MAGCH LE □
4MEAS MALTI-MATCHES □
5INSPECT LEADS □
6MEASURE POINT DENSI □
RETURN NEXT
1-6
Setting and Operating Outline
1
STEP4
SELECT TYPE OF CALCUATION
BETWEEN IMAGES
1COMPARE IMGS NO
1NUM.OF DTECT 1P
RETURN NEXT
STEP7
COMPARE EVALUATION
CONDITIONS TO MEASUREMENT
RESULTS (YES/NO)
1NO □
2YES ■
RETURN NEXT DETAIL EVALUAT COND SCREEN COND SAVE EDIT SEL F C1 BRT
1-7
Setting and Operating Outline
STEP8
USE SETTING DISTANCE
ANGLE CONDITIONS (YES/NO)
1NO ■
2YES □
STEP8 NO1
LADDER CIRCUIT AND RESULT
OUTPUT BASED ON MESUREMENT NO2
AND CALCULATION RESULTS(
YES/NO) NO3
1NO ■
2YES(MEAS) DETAIL □
RETURN NEXT
STEP8
CALCULATE SETTINGS FOR ALL
MEASUREMENT RESULTS(YES/NO).
1NO ■
2YES □
RETURN NEXT
1-8
Setting and Operating Outline
STEP8
SET LADDER CIRCUIT RESULT
OUTPUT BASED ON ALL
MEASUREMENT AND CALCULATION
RESULTS (YES/NO)
1NO ■
2YES □
RETURN END
1-9
Setting and Operating Outline
MEAS 0000ms
MEASURE 0 CAM1 NO
5 Software version
7 Measurement
setting details
9 READY output
8 I/O relay
X0~6□□□□□□□□ Y0~7□□□□□□□□ READY■
0 Menu display
MNU-CHG MAIN-COND CHG-MEA COND-CHG CHGN-REG SCREEN-CHG CHGTYPE
Select whether to display captured images on the screen as freeze images or through images.
Display
Description
method
Through - Displays the stream of images captured by the camera.
image - Used for adjusting the camera focus and image properties.
Freeze - Displays the single image captured at the start of making measurements.
image - Used to set each of the measurement conditions and operating conditions.
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.
The brightness of the captured image can be set to one of two levels.
Screen
Description
display
Bright Display the captured image without changing its brightness.
Dark Display the captured image at 1/2 the actual brightness
How to select the brightness level
On any screen, except the operation screen, move the cursor to the "F" (freeze) or "T" (through)
position on the upper part of the screen by pressing the SEL key. Then, press the left or right arrow key
to move the cursor to the "BRT" (bright) or "DRK" (dark) indicator. Press the up or down arrow key to
switch between bright and dark.
1-10
Setting and Operating Outline
Time to change CCD exposure time CCD image Image Result output
object type (Shutter operation time) capture time processing time time
MEASURE 0 CAM1 NO
↑ ↑ ↑
Measurement Camera 1 or Measurement
numbers from 0 to 4 camera 2 program name
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
Setting and Operating Outline
A0= A08=
CHNG-REG Change the display of the set of stored details between [A00]
(change registration) - [A07] and [A08] - [A15] using the up and down arrow keys
to to
A072 A072
Displays the screen change selection list. Select a screen
using the up and down arrow keys. OPS-MAIN
SCREEN-CHG Note: The OPS-MAIN, JDG-COND-CHG,and PC-MNTR do PC-MNTR
(change screen) not appear on the popup menu unless "YES" is selected.
for each corresponding item on "TYPE RUN COND" SCREEN-CHG CHG-TYPE
menu. Only the currently available screens are listed.
Displays the object type selection list.
CHG-TYPE (TYPE00)
Select an object type by pressing the up and down keys.
(change the object
This is enabled when Manual Object Type Change is set to This part changes.
type)
"YES."
Moves the image from Camera 1 up and down the screen
CHG-C1 using the up and down arrow keys.
(change the Camera 1 Note: This is enabled when "CAM1&2" is selected in
image position) 1MONITOR OUTPUT on the TYPE RUN COND menu
(operating conditions).
Moves the image from Camera 2 up and down the screen
CHG-C2 using the up and down arrow keys.
(change the Camera 2 Note: This is enabled when "CAM1&2" is selected in
image position) 1MONITOR OUTPUT on the TYPE RUN COND menu
(operation conditions).
Manually move the two crosshair cursors, and measure MANL-MEAS
distance between these two points, as well as coordinate 1CURSOR1-COORD MOVE(224.208)
MANL-MEAS distance on X and Y axes. 2CURSOR2-COORD MOVE(287.271)
(Manual measurement) Note: Unless "MANL-MEAS" is selected on the DIST-BETW-2PT 089.0 +
DIST-BETW-X 063.0
"qEXTENSION FUNC" line in the TYPE RUN COND +
DIST-BETW-Y 063.0
(operation conditions), this screen cannot be displayed.
【PLACE】
1SHORTCUT1 NO
SHORTCUT Displays a short cut screen. 2SHORTCUT2 NO
3SHORTCUT3 NO
1-12
Setting and Operating Outline
MEAS 0000ms
MEASURE 0 CAM1 NO
X0~6□□□□□□□□ Y0~7□□□□□□□□ READY■
MNU-CHG MAIN-COND CHG-MEA COND-CHG CHNG-REG SCREEN-CHG CHGTYPE
(2) Select the "OBJECT TYPE COND" using the up MAIN MENU F C1 BRT
and down arrow keys and press the SET key. IVS30J
SYS-CND
OBJECT TYPE COND
SET WIZARD
EDIT MAIN OPS MENU
OPTION
(3) Move the cursor to the "TYPE(NEW)" item on the SELECT OBJECT TYPE COND F C1 BRT
"OBJECT TYPE COND" line and press the SET OBJECT TYPE COND
key. TYPE00
TYPE(NEW)
(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
Setting and Operating Outline
Menu display
[TYPE RUN COND] menu
SCREEN SAVE F C1 BRT
Operation procedure
[SYS-CND] menu
SCREEN SAVE F C1 BRT
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.
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
Setting and Operating Outline
(TYPE00)AREA1 T.IMG C1 L
LOCK FULL VX.X
OK
MEAS XXXXms
MEASURE 0 CAM1 POSI-DEVIATION "LOCK" will be displayed
on the MAIN OPS MENU
[2] Change the Japanese or English display mode
Change display between Japanese and English. Use the [POWER ON SETTING] menu for the selection.
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.
[POWER ON SETTING] SEL TRG/BRT
1MAIN OPS MENU UNLOCK LOCK
2DISPLAY MODE JAPANESE ENGLISH 4
3 3OPERATION ESC SET
5
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
Setting and Operating Outline
4 SEL key
1 Direction keys
(up, down, left and right)
5 TRG/BRT key
2 SET key
3 ESC key
1-16
Setting and Operating Outline
(Power ON)
Memory check
No
Settings for all types completed
Yes
Transmitting from flash memory to RAM Measurement conditions for
each object type
Obtaining images, capturing
specific lines of an image
ON
ESC key
1-17
Setting and Operating Outline
(Communication processing) No
Data received
Yes
Communication processing
OFF
Measurement start
Main loop
processing
ON
PC calculation PC calculation
Executing measurements
No
Key input
Yes
Process key strokes
Processing on sub-menu
(Menu configuration See page
1-4.)
1-18
Setting and Operating Outline
[2] Operation flow after the measurement start input is turned ON. 1
Start (measurement start input ON)
PC calculation
Parallel output (Y0 to Y15), "READY" OFF
Yes
Execute the light level
monitor function
Yes
Was an error detected?
No
2 (To the next page) 1 (To the next page)
1-19
Setting and Operating Outline
No
Positional correction
Yes
[Measurement programs that can be
Setting the coordinate correction
(*2) selected]
values (X, Y, θ)
- Positional deviation measurement
- Degree of match inspection
Executing measurement 1 - Lead inspection
- Area measurement by binary
conversion
Yes
Was an error detected? - Counting by binary conversion
- Object identification by binary
No conversion
Executing measurement 2 - Point measurement
- Multiple position measurement
- Multiple degree of match inspection
Yes
Was an error detected?
Yes
Was an error detected?
No
No PC calculation
Message display
Yes No
Message display
Error display
Yes
Displaying the measurement results
(values, decisions etc.)
No
Pattern display
Yes
No
Positional correction yes
Yes
Display pattern after correction Display pattern when setting
1-20
Setting and Operating Outline
No Computer link
Serial output
General purpose
General purpose serial output Computer link output
- When the halt NG measurement option is set to "YES" (page 3-38), the controller stops measuring
when an error occurs.
1-21
Setting and Operating Outline
Area measurement by
Area [Maximum 16 windows]
binary conversion
Object counting by Quantity (maximum 3,000 items per window), total area
binary conversion [Maximum 4 windows]
Quantity (maximum 128 per window), total area, area of each object
Object identification by
identified, gravity center, main axis angle, fillet diameter, peripheral length,
binary conversion
center point [Maximum 4 windows]
Number in binary image (maximum 256 points), average density (maximum
Point measurement
128 points)
Number of leads, distance between leads (max., min.), lead width (max.,
Lead inspection
min.), lead length (max., min.) [Maximum 16 windows]
Multiple position Number of objects (max. 128), degree of match, XY coordinate (1-point
inspection search, 1-point edge) [Maximum 4 windows]
Multiple degree of match Number of objects (max. 128), degree of match, XY coordinate, density (1-
inspection point search) [Maximum 4 windows]
* The gray search time is true when the search area is 256 x 256 pixels, the model size is 64 x 64
pixels, and the contraction function is set to 3.
1-22
Setting and Operating Outline
Specifications
Item
IV-S30J 1
Maximum 6 per object type (measurement 0 - camera 1, measurement 0 -
Number of measurement
camera 2, measurements 1 to 4)
programs
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
Window shape 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),
Distance and angle measure angle (3 points, 2 points against horizontal line, 2 points against
measurement vertical line), auxiliary point (center, circle center, gravity center, line over 2
points, crossing point of two straight lines)
Four basic operations (+, -, X, /), root, absolute value, TAN, ATAN,
Arithmetic operation
maximum, minimum, average , total.
Display measuring time, light level monitor function, crosshair cursor
display, change display language between Japanese and English, Run
Other functions
screen lock function, setting menu display "yes/no", change image display
(through/freeze), change image brightness (bright/dark)
Input relays Parallel input: 7 points (X0 to X6)
Micro PC section
General-purpose
RS232C/RS422 (2.4 to 115.2 kbps)
serial interface
Computer link Built-in compatibility with certain SHARP, OMRON, and Mitsubishi models
Image output 1 channel, EIA 525 lines, 2:1 interlace
Number of cameras Maximum of 2
Using the IV-S30RK1 remote keypad and/or the IV-S30SP parameter
Make settings
setting support software
Measu- Internal trigger CCD trigger (using the CCD camera)
rement
start Trigger input (parallel I/F), general-purpose serial I/F, keypad trigger (for
External trigger
input manual measuring)
Interrupt processing
1 point: External trigger (X0)
input
Terminal block
1-23
Setting the Operating and System Conditions
The "TYPE RUN COND" screen will appear. TYPE RUN COND SCREEN SAVE F C1 BRT
2-1
Setting the Operating and System Conditions
(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 Description
CAM1 Display the camera 1 image on the whole screen.
CAM2 Display the camera 2 image on the whole screen.
CAM1&2 Display the camera 1 image on upper half, and the camera 2 image
on lower half.
SERIAL NO.
8F053G26
MODEL
IV-S33MX
SERIAL NO.
image
8F053G26
MODEL
IV-S30J
Camera 1
image
2-2
Setting the Operating and System Conditions
(2) Output monitor switching by parallel input I/O CONDITION SCREEN COND SAVE F C1 BRT
On the operation screen, select "MAIN-COND" -> 1MEAS INP I/F PARALLEL+SERIAL
"SYS-CND" -> "I/O CONDITIONS" in that order.
Move the cursor to the " PARALLEL INP X6" line 2OUT I/F(PARAL.) NO
using up/down arrow keys and press the SET key. 3MANL TYPE CHNG NO
4PARALLEL INP X5 EXT-INP
2
Select "CHNG-IMG-OUT-CAM" on the popup EXT-INP
menu that is displayed and then press the SET key. 5PARALLEL INP X6 CHNG-IMG-OUT-CAM CHNG-IMG-OUT-CAM
6STROBE OUT NO CAM-MEAS
7’READY’ON CAPTURE COMPLETE 2 IMAGES
2-3
Setting the Operating and System Conditions
480 lines
- When the "PARTIAL-IMG" is selected (when there are 240 scan lines): 16.6 ms
Capture partial image
240 lines
2-4
Setting the Operating and System Conditions
Display examples
- When "YES(NUMERIC)" is selected - When "YES(NO NUMERIC)" is selected
(TYPE00)AREA1 F C1 L (TYPE00)AREA1 F C1 L
V*.** V*.**
OK OK
MEAS XXXXms MEAS XXXXms
MEASURE 0 CAM1 POSI-DEVIATION MEASURE 0 CAM1 POSI-DEVIATION
REGST.NO 0(0~7)
X0=176.0 OK
Y0=322.0 OK
x0=+000.0 OK
y0=+000.0 OK
M0=+10000 OK
B0=+001.7 OK
X1=534.0 OK
Y1=480.0 OK
x1=+001.0 OK
y1=+001.0 OK
M1=+09999 OK
Press the
SET key
Press the
ESC key
The menu bar will disappear. The menu bar will be displayed.
2-5
Setting the Operating and System Conditions
Display examples
- When "YES" is selected for PATTERN DISPLAY. - When "NO" is selected for PATTERN DISPLAY
(TYPE00) F C1 L (TYPE00) F C1 L
OK VX.X
OK VX.X
MEAS XXXXms MEAS XXXXms
MEASURE 0 CAM1 POSI-DEVIATION MEASURE 0 CAM1 POSI-DEVIATION
2-6
Setting the Operating and System Conditions
[5] Binary image display TYPE RUN COND SCREEN SAVE F C1 BRT
Select "YES" or "NO" to display a binary image on the 1MONITOR OUTPUT CAM1
operation screen. 2CAPTURE IMG PARTIAL-IMG
Note: When "CAM1&2" is selected on the "MONITOR 3MESSAGE DISPLAY YES(NUMERIC)
4PATTERN DISPLAY
OUTPUT" (page 2-2), the binary image display 5SHOW BINARY IMG
YES
YES YES 2
cannot be selected. 6SHOW θ FIX IMG YES NO
- When "NO" is selected on the " PATTERN 7OPS MAIN DISP YES
8DISP CHG-EVAL NO
DISPLAY," the " SHOW BINARY IMG" item will 9PC-MNTR NO
not appear. 0THROUGH DISPLAY NO
qEXTENSION FUNC. NO
SHOW BINARY
Description
IMG
A binary image will be displayed on
YES the operation screen.
Display examples
- When "YES" is selected for the "5SHOW BINARY IMG" - When "NO" is selected for the "5SHOW BINARY IMG"
(TYPE00) F C1 L (TYPE00) F C1 L
OK VX.X
OK VX.X
2-7
Setting the Operating and System Conditions
[6] θ angle correction image display TYPE RUN COND SCREEN SAVE F C1 BRT
Display examples
Position of
reference image
- When the θ
angle correction
image display
mode has been
set to YES.
- When the θ
angle correction
image display
mode has been
set to NO.
2-8
Setting the Operating and System Conditions
Press the TRG/BRT key to move the cursor to the TYPE RUN COND SCREEN SAVE F C1 BRT
upper function menu. Select "SCREEN" and press the
1MONITOR OUTPUT CAM1
SET key. Then select "OPS-MENU." 2CAPTURE IMG PARTIAL-IMG
OPS-MENU
MAIN
3MESSAGE DISPLAY YES(NUMERIC)
SELECT
4PATTERN DISPLAY YES
RETURN
5SHOW BINARY IMG YES
6SHOW θ FIX IMG YES
7OPS MAIN DISP YES
8DISP CHG-EVAL NO
9PC-MNTR NO
0THROUGH DISPLAY NO
qEXTENSION FUNC. NO
SET key. The main display will then change back to the MEASURE 0 CAM1 POSI-DEVIATION
OPS-MAIN
PC-MNTR
X0∼6 □□□□□□□□ Y0∼7 □□□□□□□□ READY □■
MNU-CHG MAIN-COND CHG-MEA COND-CHG CHNG-REG SCREEN-CHG CHG-TYPE
2-9
Setting the Operating and System Conditions
Press the TRG/BRT key to move the cursor to the TYPE RUN COND SCREEN SAVE F C1 BRT
upper function menu. Select "SCREEN" and press the
1MONITOR OUTPUT CAM1
SET key. Then select "OPS-MENU." 2CAPTURE IMG PARTIAL-IMG
OPS-MENU
MAIN
3MESSAGE DISPLAY YES(NUMERIC)
SELECT
4PATTERN DISPLAY YES
RETURN
5SHOW BINARY IMG YES
6SHOW θ FIX IMG YES
7OPS MAIN DISP YES
8DISP CHG-EVAL NO
9PC-MNTR NO
0THROUGH DISPLAY NO
qEXTENSION FUNC. NO
2-10
Setting the Operating and System Conditions
1 The ON (■) or OFF (□) status of the input relays (X00 to X07) is displayed.
2 The ON (■) or OFF (□) status of the output relays (Y00 to Y15) is displayed.
3 The ON (■) or OFF (□) status of the auxiliary relays (C000 to C127) is displayed.
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
Menu bar Description
Change the output relay address (Y00 to Y15) using the up and down keys
SEL-OUT
(in units of 8 points).
Change the auxiliary relay address (C000 to C127) using the up and down
SEL-AUX
keys (in units of 8 points).
Change the final numerical calculation address (AN00 to AN15) using the
SEL-NUM up and down keys (in units of 8 points).
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 TYPE RUN COND SCREEN SAVE F C1 BRT
(FREEZE or THROUGH) by choosing either "YES" or
1MONITOR OUTPUT CAM1
"NO" on the operation screen. 2CAPTURE IMG PARTIAL-IMG
3MESSAGE DISPLAY YES(NUMERIC)
4PATTERN DISPLAY YES
5SHOW BINARY IMG YES
6SHOW θ FIX IMG YES
THROUGH DISPLAY Description 7OPS MAIN DISP YES
8DISP CHG-EVAL NO
Measurements can be 9PC-MNTR NO
NO 0THROUGH DISPLAY NO YES
made on a frozen image. qEXTENSION FUNC. NO NO
Measurements can be
YES
made on a through image.
2-11
Setting the Operating and System Conditions
Measurement image of
" EXTENSION FUNC." using the OK
up and down keys, and press the MEAS XXXXms
SET key. MEASURE 0 CAM1 POSI DEVIATION
camera 1.
popup menu and press the SET
key.
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.
Measurement image of
where you want it, press the SET Displays two crosshair cursors.
key to confirm the position.
If you select " DISPLAY+CURSOR 2," you TYPE RUN COND SCREEN SAVE F C1 BRT
can display two cursors when you output monitor
images from Cameras 1 and 2. 1MONITOR OUTPUT CAM1
2CAPTURE IMG PARTIAL-IMG
3MESSAGE DISPLAY YES(NUMERIC)
4PATTERN DISPLAY YES
5SHOW BINARY IMG YES
6SHOW θ FIX IMG YES
7OPS MAIN DISP YES
8DISP CHG-EVAL NO
9PC-MNTR NO
0THROUGH DISPLAY NO NO
qEXTENSION FUNC. DISPLAY+CURSOR DISPLAY+CURSOR
wDISPLAY+CURSOR 1 1 1 MANL-MEAS
eCLOSS CURSOR COORD SET (256,240) 2
rDISPLAY+CURSOR 2 NO
2-12
Setting the Operating and System Conditions
3. Move the cursor to the upper function menu TYPE RUN COND SCREEN SAVE F C1 BRT
by pressing the TRG/BRT key and select
1MONITOR OUTPUT CAM1 OPS-MENU
"SCREEN." Then press the SET key. 2CAPTURE IMG PARTIAL-IMG
MAIN
Select "OPS-MENU" on the popup menu 3MESSAGE DISPLAY YES(NUMERIC)
SELECT
and return to the operation screen. 4PATTERN DISPLAY YES
RETURN
5SHOW BINARY IMG YES
6SHOW θ FIX IMG YES
7OPS MAIN DISP YES
8DISP CHG-EVAL NO
9PC-MNTR NO
0THROUGH DISPLAY NO
qEXTENSION FUNC. NO
coordinates and Y coordinates for Cross hair cursor 1 Cross hair cursor 2
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.
2-13
Setting the Operating and System Conditions
On the MAIN MENU, select "SYS-CND" -> "I/O I/O CONDITION SCREEN COND SAVE F C1 BRT
CONDITIONS" -> " MANL TYPE CHNG" in that 1MEAS INP I/F PARALLEL+SERIAL
order and then select "YES" or "NO" on the popup
menu. 2OUT I/F(PARAL.) NO
3MANL TYPE CHNG NO NO
4PARALLEL INP X5 EXT-INP YES
MANL TYPE
Description
CHNG 5PARALLEL INP X6 EXT-INP
6STROBE OUT NO
The type can be manually changed on the 7’READY’ON CAPTURE COMPLETE
operation screen.
YES 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).
2-14
Setting the Operating and System Conditions
Setting method
On the MAIN MENU, select "SYS-CND" -> GAIN-OFFSET SCREEN COND SAVE F C1 BRT
"GAIN OFFSET" and the following message will
1OFFSET (CAM1) +(↑) −(↓) (026)
appear on the screen.
2GAIN (CAM1) +(↑) −(↓) (245)
3OFFSET (CAM2) +(↑) −(↓) (026)
CHANGING A SETUP MAY LEAD TO A 4GAIN (CAM2) +(↑) −(↓) (245)
MACHINE FAILURE. DO YOU CHANGE IT? 5CONTRAST (MNTR) +(↑) −(↓) (055)
(YES=SET, NO=ESC)
SET=VALUE INPUT ESC=BACK SEL=CHNG IMG TRG=FUNC
Press the SET key the "GAIN OFFSET" screen at the right appears.
Gain and offset adjustment Details of adjustment (selection)
The offset for camera 1 is adjusted with the up and down keys.
1OFFSET (CAM1) - 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
2GAIN (CAM1) 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.
3OFFSET (CAM2) - The adjustment procedure is the same as that in Item ①.
The gain for camera 2 is adjusted with the up and down keys.
4GAIN (CAM2) - The adjustment procedure is the same as that in Item ②.
The monitor contrast is adjusted with the up and down keys.
5CONTRAST (MNTR) - 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
Setting the Operating and System Conditions
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 MAIN MENU F C1 BRT
press the SET key.
IVS30J
SYS-CND
OBJECT TYPE COND
SET WIZARD
EDIT MAIN OPS MENU
OPTION
(3) Now the operation screen will appear. Select a OPS-MAIN SCREEN OBJECT SAVE RESET F C1 BRT
block of text you want to edit using the up, down,
left, and right arrow keys, and press the SET key. (TYPE00)SAMPLE00 F C1 DRK ○
A pop up menu will appear and you can select LOCK FULL V*.* ■
from move, enlarge, reduce, and hide. (In this
example, the block of text "OK" is selected.)
OK
MEAS XXXXms
C1=002.2 OK
C2=100.0 OK
MEAS1 MEAS-BIN-AREA MOVE
NG-IMG 00(00)
MAGNIFCATION
- MOVE REDUCTION
Select "MOVE" using the SET key. Now the MEAS PROGRAM NON-DISP
highlighted block of text can be moved using the MEAS RESULT
up, down, left, and right arrow keys. When the text
is in the desired new position, press the SET key
again.
- 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
Setting the Operating and System Conditions
2-4 Option
With the IV-S30J, you can initialize the measurement settings, and run a self-diagnosis from the option
menu.
Setting method 2
1) Display the "OPTION" from the "MAIN MENU." MAIN MENU F C1 BRT
IVS30J
SYS-CND
OBJECT TYPE COND
SET WIZARD
EDIT MAIN OPS MENU
OPTION
2) Select the operation you want, such as OPTION SCREEN SAVE F C1 BRT
" INITIALIZATION" or " SELF DIAGNOSIS." 1INITIALIZATION ALL-INIT INIT-RAM
2SELF DIAGNOSIS EXEC
INITIALIZATION
Select any of the "ALL-INT" (initialize both FROM and RAM), or "INT-RAM" and the following
message will appear.
Press the SET key to start the initialization. The bar shown below will appear and display the
progress of the initialization.
INITIALIZATION
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 OPTION SCREEN SAVE F C1 BRT
SET key twice. The controller will execute a self-
1INITIALIZATION ALL-INIT INIT-RAM
diagnosis and display the results of the
2SELF DIAGNOSIS EXEC
diagnosis, as shown right. If the diagnosis results
are normal, "OK" will be displayed. If the results
are abnormal, "NO" will be displayed. When the diagnosis is complete, the
"DIAGNOSING" display will change to
When the diagnosis is complete, the "COMPLETE DIAGNOSIS ."
TYPE COND OK
REFFERENCE IMG OK
BOOT-PROG OK
SYSTEM-PROG OK
2-17
Setting the Conditions for Each Object Type
Choose a measurement program from the popup menu at MEASUREMENT 1 SCREEN COND SAVE
" MEAS SELECTION" to bring up the "MEAS CND" screen.
For details, see Chapter 8: "Setting Example Using the 1MEAS SELECTION POSI-DEVIATION
Menu Tree" in the Instruction and Hardware.
NO
POSI-DEVIATION
Note: New measurement programs are allocated to "MEAS01" CHK-DEG-MATCH
through "MEAS04." The smallest measurement number INSPECT-LEAD
available (from 1 to 4) will be assigned. "MEAS0" is MEAS-BIN-OBJ
dedicated to positional deviation measurements. LABEL-BIN-OBJ
POINT-MEAS
MULTI-POSI
MULTI MATCHES
3-1
Setting Measurement Conditions
Setting procedure
A general outline of the setting procedures is shown below. For details, see each chapter.
Setting the measurement program MEASURE 0
conditions
MEASURE 1
MEASURE 2 Jump to the next page
MEASURE 3
3 MEASURE 4
Save the settings in the flash memory "SAVE" - See page 1-14
3-2
Setting the Conditions for Each Object Type
When you want to specify the measurement condi- MEAS CND SCREEN COND SAVE F C1 BRT
tions using "POSI-DEVIATION."
1DTECT PRECISION STANDARD
2REGISTER NO 0(0~7)
3MODE 1P-SCH
NO
1P-SCH
2P-SCH
1P-EDGE
2P-EDGE
1P-SCH+1P-EDGE
Set the specific Set the evaluation Set the method for
conditions for each conditions (testing) numeric calculation
measurement program (testing)
3-3
Setting Measurement Conditions
Reference image for gray Positional deviation measurement (gray scale search), degree
scale search and binary of match inspection, lead inspection, multiple position
image matching measurement (gray scale search), and multiple degree of match
Solid lines inspection.
Window containing a Area measurement by binary conversion, object counting by
binary image binary conversion, object identification by binary conversion.
Positional deviation measurement (gray scale search), degree
Gray scale search area of match inspection, lead inspection (criteria search), multiple
detection position measurement (gray scale search) and multiple degree
of match inspection.
Dotted lines Positional deviation measurement (edge detection), multiple
Edge of an area detection position measurement (edge detection).
3-4
Setting the Conditions for Each Object Type
Window specifications
Line type Move Size Minimum Maximum
Reference X x Y (X*Y =
Solid line One pixel at a time In unit of one pixel 16 x 16 (pixel)
image 65536 pixels)
Search area Dotted line One pixel at a time In unit of one pixel 16 x 16 (pixel) 512 x 480 pixels
3-5
Setting Measurement Conditions
(The up and down keys function the (The up and down keys function the
same as in the move item) same as in the move item)
(The left and right keys function the (The left and right keys function the
same as in the move item) same as in the move item)
3-6
Setting the Conditions for Each Object Type
Window specifications
- Horizontal lines
Min. Max.
Line type Move Length
length length
Reference image Solid line Horizontal direction: One pixel at a time In units 8 512
Search area Dotted line Vertical direction: One pixel at a time of pixels pixels pixels
- Vertical lines 3
Min. Max.
Line type Move Length
length length
Reference image Solid line Horizontal direction: One pixel at a time In units 8 480
Search area Dotted line Vertical direction: One pixel at a time of pixels pixels pixels
When setting the horizontal and vertical lines, specify the line length as follows:
The reference image must shorter than the search area lines.
3-7
Setting Measurement Conditions
3-8
Setting the Conditions for Each Object Type
3
MEAS CND REG COND
Menu Description
- STANDARD (standard): Detection precision of 1 pixel unit
level
- HIGH (High precision): Detection precision of 1/10 pixel
unit level
(High precision)
Search coordinates use a
sub-pixel level of precision (1/10)
0 1 2 3 4 5 6 7 8 9
1
2
Reference image
3
4
1DTECT 5
PRECISION (Standard) 6
(detection Search coordinates 7
use a 1 pixel level 8
precision) of precision
9 Degree of
Degree of match
match
- 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."
3-9
Setting Measurement Conditions
Setting the threshold value automatically - Binary area condition (binary image mask) menu of
The binary threshold value can be set the binary area measurement
automatically. THRESHOLD VAL AUTO-REG RESET F C1 DRK
In the binary area condition of each
measurement program, execute the "AUTO 1U.LM 255(0~255)
2L.LM 100(0~255) L LIMIT ONLY
REG" function (lower limit only or upper and
U&L LIMITS
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.
3-10
Setting the Conditions for Each Object Type
Labeling 3 4
(disable window Images 1 and 3 cross over the
boundary) window frame edges and are
measured together with the
areas outside the window frame
edges.
1
Condition: Labeling
2 (in order they are
connected)
Object identification 4
3 (in order of area)
2
4 Island
3-11
Setting Measurement Conditions
Variation in
Note: In order to use the THRESHOLD-
ADJ(threshold adjustment
lighting
3 function), the monitor brightness
functions must be selected to
Threshold correction value Fixed 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.
Variation Correct the threshold value by adding the previously specified threshold
difference value to the light level variation difference.
Threshold value (Measured light level — reference light level) + specified threshold value
adjustment
Variation Correct the threshold value by multiplying the previously threshold value
rate to the light level variation rate.
(Measured light level ÷ reference light level) x specified threshold value
Setting method
Select " THRESHOLD" on the "REG COND" REG COND SCREEN COND SAVE DETAIL F C1 BRT
screen and then change the upper and lower 1MEAS SHAPE RECTANGLE
limit values using the up, down, left, and right 2MEAS AREA SET (224,208)~(287,271)
arrow keys. 3THRESHOLD SET [U.LM255 L.LM100(0~255)]
4INVERT B/W NO
3-12
Setting the Conditions for Each Object Type
Contraction
conversion
Expansion
Binary
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.
Contraction
conversion
Expansion
Binary
- 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.
Setting method
REG COND SCREEN COND SAVE DETAIL F C1 BRT
Select "DETAIL" in the upper function menu on
1REGISTER NO. 00(0∼15)
the REG COND screen, and choose "BINRY 2MEAS SHAPE RECTANGLE
□MASK REGIST.
NOISE FILT" to change the blank box to a filled □BINARY PROCESS
3MEAS AREA SET (224,208)~(287,271)
■BINARY NOISE
box. Then, " BINRY NOISE FILT" will appear 4THRESHOLD SET [U.LM255 L.LM100(0~255)]
5INVERT B/W NO
on the REG COND screen. Press the SET key
on this line and select "EXPD. -> CONTR." or
"CONTR -> EXPD." from the popup menu. NO
6BINARY NOISE FILT EXPD. →CONTR EXPD. →CONTR.
CONTR. →EXPD.
3-13
Setting Measurement Conditions
An example of detecting a point using the edge detection function and user specified
criteria
• Horizontal transition point • Vertical transition point
from light to dark (moving from light to dark (moving
3 from left to right) from top to bottom) Edge Flat
Edge detection width width
point Light
Edge detection point A ↑
Detection
direction
Detection area Brightness Difference
A B level in level
↓
B Dark A Direction B
Detection direction
• Horizontal transition point • Vertical transition point
from light to dark (moving from light to dark (moving
from right to left) from bottom to top) Edge Flat
Light width width
A
Detection
direction
Detection area ↑
Brightness Difference
A B level in level
Edge detection
point ↓
Detection direction B Dark A Direction B
• Center (dark), horizontal (left and right)
Edge detection point
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
Setting the Conditions for Each Object Type
Setting the threshold value automatically - Edge detection menu of the lead inspection
By executing an "AUTO.REG" (automatic THRESHOLD VAL AUTO-REG RESET F C1 BRT
setting) for the edge detection condition in
each measurement program, the IV-S30J can 1GRYS 050(0~255)
2EDGE.W 2(1~8)
automatically detect edges in the 3FLAT.W 04(1~16)
measurement areas, and set the optimum
threshold values automatically (density
difference and edge width). 3
Measurement programs which are affected
by these settings
Positional deviation measurement (edge
detection), lead inspection, multiple position
measurement (edge detection).
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).
3-15
Setting Measurement Conditions
Search in the specified search Find the area having the maximum
area on the captured image features in the reference image
area.
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 MDL 0
1UP.L (224,208)
"CONTRAST SRCH." Finally, press the SET
2LO.R (287,271)
key. 3MOVE
4REFERENCE IMG CONTRAST SRCH
REG
DISP
X:224 Y:208
SET=DECISION ESC=BACK SEL=CHNG IMG TRG=FUNC
3-16
Setting the Conditions for Each Object Type
3-17
Setting Measurement Conditions
Setting method
There are two ways to get to the evaluation condition setting screen.
1) Select "CND" in the upper function menu on MEAS CND SCREEN COND SAVE F C1 BRT
the MEAS CND (or REG COND) screen and 1DTECT PRECISION STANDARD
IMG PRE-PROC
press the SET key. Select "EVALUATION" on 2REGISTER NO. 0(0~7)
REG-COND(S)
the pop up menu to go to the "EVALUAT REG-COND(E)
3MODE 1P-SCH
3 COND" screen. 4DTECT ANGL –15¡
POSITION CORRECTION
EVALUATION
5ANGLE UNIT 10
DST&ANGL
NUM-CALC
REGISTER NO. 0001020304 05 060708 09 101112131415
OUT
6MDL 0 S
7MDL 1
×
2) Move the cursor to the "EVALUATION COND" SELECT OBJECT TYPE COND F C1 BRT
item on the Menu tree screen and press the OBJECT TYPE COND
1REGISTER NO.
SET key. TYPE00
2CONDITION SET
TYPE RUN COND 3X COORD. (BDL0)
IMAGE-ADJ 4Y COORD. (MDL0)
MEA-CND(CAMERA1) 5x DEVIATE (MDL0)
MEAS0(POSI-DEVIATION) 6y DEVIATE (MDL0)
IMG PRE-PROC 7MATCH LVL (MDL0)
MEAS CND 8ANGULAR DEVIATE
REG-COND(S) 9X COORD. (MDL1)
REG-COND(E) 0Y COORD. (MDL1)
EVALUATION COND qx DEVIATE (MDL1)
+ DISTANCE&ANGLE COND wy DEVIATE (MDL1)
NUM-CALC eMATCH LVL (MDL1)
OUT-COND rTEST
POSI-CORRECT
MEAS(NEW)
+ MEA-CND(CAMERA2)
FINAL NUM.CALC
FINAL OUTPUT COND
OBJ-TYPE I/O
3-18
Setting the Conditions for Each Object Type
Press the ESC key to return to the OBJECT TYPE SELECT OBJECT TYPE COND F C1 BRT
COND screen. Then select "IMG PRE-PROC." OBJECT TYPE COND
1COMPARE IMGS
TYPE00
2COMP IMGS COND
TYPE RUN COND 3CHNG GRAY LEVEL
IMAGE-ADJ 4CONTRAST MAGNI
MEA-CND(CAMERA1) 5SPACE FILTER
MEAS0(POSI-DEVIATION) 6NUM.OF FILTER
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)
The "IMG PRE-PROC" screen will appear. IMG PRE-PROC SCREEN COND SAVE F C1 BRT
1COMPARE IMGS NO
For details about "COMPARE IMGS" (compare
images), see page 3-20. 2CHNG GRAY LEVEL NO
For details about "CHNG GRAY LEVEL"
(change gray level), see page 3-22. 3SPACE FILTER NO
3-19
Setting Measurement Conditions
There are two types of calculation: "subtraction" and the "absolute value of the differences."
COMPARE IMGS SCREEN SAVE F C1 BRT
Light level in image 1 (0 to 255) -
Light level in image 2 (0 to 255)
3 Subtraction - Light level after calculation
1CALC.TYPE
2CALC.AREA
NO NO
SET (232,216)-(279,263) SUBI1-T1
However, a result less than 0 will DIFF.ABS|I1-T1|
give a result of 0.
Image A Image B
Light
level 0
Light
level 180
- Subtraction
(Image A - Image B)
- Subtraction
(Image B - Image A)
3-20
Setting the Conditions for Each Object Type
Setting details
1. Select the camera to be used for IMG PRE-PROC SCREEN COND SAVE F C1 BRT
" COMPARE IMGS" from the popup menu. 1COMPARE IMGS CAM1
NO
Then select the " COMP IMGS COND" item CAM1
2COMP IMGS COND (TO NEXT SUB-MENU)
CAM1&2
to get to the setting screen. 3CHNG GRAY LEVEL CONTRAST MAGNI
4CONTRAST MAGNI 00.0TIMES
5SPACE FILTER SMOOTH(AVE)
6NUM.OF FILTER 1(0~5)
3
2. Select " CALC.TYPE" and then set COMPARE IMGS SCREEN SAVE F C1 BRT
" CALC.AREA."
1CALC.TYPE NO
2CALC.AREA SET (232,216)-(279,263)
The list of settings which may be selected at item "1COMPARE IMGS" is as follows.
SELECT
CAMERA 1CALC.TYPE Contents
NO (none) Comparative calculations of differences between images will not be carried out.
CAM 1 None Comparative calculations of differences between images will not be carried out.
(camera 1)
Subtraction I1-T1 The reference image T1 (* 1) is subtracted from the image taken by camera 1.
The absolute value of the The absolute value of the difference is calculated between the reference image
difference between |I1-T1| T1 (* 1) and the image taken by camera 1.
CAM 2 None Comparative calculations of differences between images will not be carried out.
(camera 2) Subtraction I2-T2 The reference image T2 (* 1) is subtracted from the image taken by camera 2.
The absolute value of the The absolute value of the difference is calculated between the reference image
difference between |I2-T2| T2 (* 1) and the image taken by camera 2.
CAM 1&2 Subtraction I1-I2 The image taken by camera 1 is subtracted from the image taken by camera 2.
(cameras Subtraction I2-I1 The image taken by camera 2 is subtracted from the image taken by camera 1.
1 & 2)
(*2) The absolute value of the The absolute value of the difference is calculated between the image taken by
difference between |I2-I2| 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
Setting Measurement Conditions
γ
(positive/negative) 255
Input image gray level
correction
- γ negative correction: used when the mid gray level is too high.
255
Output image gray level
255
Input image gray level
Histogram
widening
a b Zm Zm
0 Gray level 0 Gray level
3-22
Setting the Conditions for Each Object Type
3-23
Setting Measurement Conditions
Shading correction
This process removes unevenness from images IMAGE-ADJ SCREEN SAVE F C1 BRT
that have gray level unevenness caused by an NO
illumination. 1ADJ.IMG GRAY(CAM1) YES YES
2ADJ-COND(CAM1) (TO NEXT SUB-MENU)
3ADJ.IMG GRAY(CAM2) NO
Adjustment condition
To set the adjustment conditions for gray level ADJ.IMG GRAY SCREEN SAVE F C1 BRT
corrections, select " ADJ-COND" and then press 1ADJ.MODE SUBTRACTING
the SET key to show the sub menu. 2ADJ.AREA SET (224,208)-(287,271)
3SET STD.GRAY LV SET (224,208)-(287,271) GRAY(000)
SUBTRACTING
DECREASING
FILTERING
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.
DECREASING {(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.
FILTERING [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.
3-24
Setting the Conditions for Each Object Type
Setting method
1. On the SELECT OBJECT TYPE COND MEA-CND SCREEN COND SAVE *
F C1 BRT
NUM-OF-MASK 1
screen, select "MEAS CND" (measurement
1WINDOW BINARY-IMG-MASK NUM-OF-MASK 2
conditions) and press the SET key. The MEA- 2REGISTER NO. 0 NUM-OF-MASK 4
CND screen will appear. Select " WINDOW" 3REGISTER EXIST NO BINARY-IMG-MASK
and press the SET key. Select "BINARY-IMG- 4MASK BINARY IMG NO POLYGON
MASK" from the popup menu.
0001020304 05 060708 09 101112131415
REGISTER NO.
×
5BINARY AREA
2. Highlight the " MASK BINARY IMG" item MEA-CND SCREEN COND SAVE F C1 BRT
and press the SET key. A popup menu will
1WINDOW BINARY-IMG-MASK
appear. Select "REF-IMG" or "MANUAL" and
2REGISTER NO. 0
the " BIN IMG MASK" line will appear. 3REGISTER EXIST NO NO
Selecting "REF-IMG" See page 3-26 to 27. 4MASK BINARY IMG REF-IMG REF-IMG
Selecting "MANUAL" See page 3-28 to 29. 5BIN IMG MASK (TO NEXT SUB-MENU) MANUAL
REGISTER NO. 0001020304 05 060708 09 101112131415
6BINARY AREA ×
3. Select " BIN IMG MASK" (binary image MEA-CND SCREEN COND SAVE F C1 BRT
masking condition) and press the SET key.
1WINDOW BINARY-IMG-MASK
The, MASK BINARY IMG screen will appear.
2REGISTER NO. 0
3REGISTER EXIST NO
4MASK BINARY IMG REF-IMG
5BIN IMG MASK (TO NEXT SUB-MENU)
4. Here you can set the masking conditions. First MASK BINARY IMGCREEN SAVE F C1 BRT
move the cursor to " MASK AREA" and press
1MASK AREA SET (232,216) ~ (279,263)
the SET key. Specify and confirm the position 2THRESHOLD SET [U.LM255 L.LM100 (0~255) ]
and size of a masking area. On the 3MASK INVERT B/W NO NO
" THRESHOLD" line, adjust the threshold 4MASK NOISE FILTR EXPD. → CONTR. EXPD. → CONTR.
value between 0 and 255. At " MASK 5NUM.OF MASK FILT EXPD.0 CONTR.0 (0~5) CONTR. → EXPD
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” MASK AREA
(number of times to filter) line will appear. Set
the number of times from 0 to 5.
3-25
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.
1) Store a binary image mask on the "BINARY IMG MASK" menu (mask setting =
standard) shown above.
1. Specify the mask outline for the object to be measured.
Mask outline
Star-shaped object to be
measured (inside boundary)
3-26
Setting the Conditions for Each Object Type
■MASK REGIST.
■BINARY PROCESS
■BINRY NOISE FILT
FIXED
THRES-ADJ(VAR-DEFF)
THRES-ADJ(VAR-RATE)
NO
EXPD.→CONTR.
CONTR.→EXPD
1. Specify a measurement area smaller than the mask area and specify the binary conditions.
Measuring area
3-27
Setting Measurement Conditions
3
0001020304 05 060708 09 101112131415
REGISTER NO.
×
5BIN AREA COND
1. Select " MASK BINARY IMG" and press the SET key. Select "MANUAL" from the popup
menu.
2. Select " BIN IMG MASK" (binary mask MEA-CND SCREEN COND SAVE F C1 BRT
conditions) and press the SET key twice.
1WINDOW BINARY-IMG-MASK
2REGISTER NO. 0
3REGISTER EXIST NO
4MASK BINARY IMG REF-IMG
5BIN IMG MASK (TO NEXT SUB-MENU)
3. The "MASK BINARY IMG" screen will MASK BINARY IMG SCREEN SAVE F C1 BRT
appear. Select " MASK AREA" and press 1MASK AREA SET
the SET key twice. 2MASK IMVERT B/W NO
3MASK REGIST. REG DISP
4. The "POLYGON" setting screen will POLYGON RESET MOVE RETURN F C1 BRT
appear.
1POINT01 (255,255)
X:224 Y:208
3-28
Setting the Conditions for Each Object Type
5. Select "0" using the up and down keys and MASK BINARY IMGCREEN SAVE F C1 BRT
then select "MOVE" using the left and right
1PO01T01 (255,255)
keys. Finally, press the SET key.
2PO02T01 (254,226)
3PO03T01 (221,226)
4PO04T01 (221,251)
5PO05T01 (274,276)
6PO06T01 (274,247)
7PO07T01
8PO08T01
(257,247)
()
3
X:256 Y:240
6. Move vertex 02 to 08 a little outside of the MASK BINARY IMGCREEN SAVE F C1 BRT
first point on the star using the up, down,
left, and right keys, and then press the SET 1PO01T01 (255,255)
2PO02T01 (254,226)
key.
3PO03T01 (221,226)
4PO04T01 (221,251)
5PO05T01 (274,276)
6PO06T01 (274,247)
7PO07T01 (257,247)
8PO08T01 ()
X:124 Y:276
7. After creating a mask area, press the ESC MASK BINARY IMG SCREEN SAVE F C1 BRT
key to return to the "MASK BINARY IMG" 1MASK AREA SET
screen. Select " MASK REGIST" and 2MASK IMVERT B/W NO
press the SET key. The cursor will move to 3MASK REGIST. REG DISP
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
Setting Measurement Conditions
3 Type Details
The position is adjusted according to the amount of deviation in X and
Y at the first point (model 0) detected in measurement 0.
There are three correction directions: X axis correction, Y axis
XY correction correction and X and Y axis correction.
- X axis correction-- Adjusted misalignment in the X axis
- Y axis correction-- Adjusted misalignment in the Y axis
The position is adjusted because of a detected angular deviation q in
rotation [2-point search/2-point edge/1-point search + 1-point edge]
Angular correction from measurement 0.
(standard) - When "YES" is selected in the DTECT ANGL item specifying a "1P-
SCH" or a "1P-SCH+1P-EDGE" in measurement 0, the position will be
corrected according to the angle detected.
The position is adjusted because of a detected angular deviation q in
rotation [2-point search/2-point edge/1-point search + 1-point edge]
from measurement 0. The high precision angular correction settings
Angular correction allows the IV-S30 to display a very precisely corrected image. But, this
(high precision) selection lowers rotation processing speed.
- When "YES" is selected in the DTECT ANGL item specifying a "1P-
SCH" or a "1P-SCH+1P-EDGE" in measurement 0, the position will be
corrected according to the angle detected.
will be created.
3-30
Setting the Conditions for Each Object Type
Setting procedure
[Measurement results]
- Detected coordinates: (X2, Y2)
Y2-Y1 - Deviation amount: X2-X1, Y2-Y1
Search area
X2-X1
2. Measuring a point using measurement 1
Y2-Y1
Point
X2-X1
3-31
Setting Measurement Conditions
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)
Detected coordinates
(model 1)
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
3-32
Setting the Conditions for Each Object Type
Purpose
The title is used to make it easier to control the details of the settings for the object type.
Title characters 3
A maximum of 16 letters and symbols may be entered.
Operation method
Select "OBJECT TYPE COND" on the "MAIN SELECT OBFECT TYPE COND F C1 DRK
MENU" screen and then select "TYPE00" (the cur- OBJECT TYPE COND
rent type). Then press the "TRG/BRT" key. Select + TYPE00
"TITLE" from the popup menu and press the SET OPS-MENU
key. SAVE
COPY
PASTE
DEL
SPECIFY NUMBER
TITLE
3-33
Setting Measurement Conditions
(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.
1. Select " MNTR LIGHT LVL (CAM1)" (monitor OBJ-TYPE SYS. SCREEN SAVE F C1 BRT
light level). Select "YES" from the popup menu.
1HALT ON NG MEAS YES NO
Then, the " LIGHT LV COND" item will 2MNTR LIGHT LVL(CAM1) YES YES
appear on the screen. 3LIGHT LV COND (TO NEXT SUB-BENU)
4MNTR LIGHT LVL(CAM2) YES
5LIGHT LV COND (TO NEXT SUB-MENU)
6MOVE ALL WINDOW (TO NEXT SUB-MENU)
2. Select " LIGHT LV COND" and press the SET LIGHT LV COND SCREEN SAVE F C1 BRT
key. The "LIGHT LV COND" screen and
1SIZE Y08(4~32)X08(4~65)
monitoring window will appear.
2POSITION (248,232)
3THRESHOLD VALUE U.LM255 L.LM000(0~255)
3. Press the SEL key and move the cursor to the MEAS.AVG.GRA=000.0
upper function menu. Set the image mode to 4REG AVG.GRAY LV EXEC REG.AVG.GRAY=000.0
"T" (Through).
Monitor window
3-34
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 ." 3
[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.
After the measurement monitoring function is turned ON and images have been captured, the
lighting monitoring function set above will be active.
3-35
Setting Measurement Conditions
The object is blurred across the screen. The object is frozen on 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/ OBJ-TYPE I/O SCREEN SAVE F C1 DRK
10000 seconds (initial value 1/60) for the shutter 1TRIG CCD START BIN
speed. 2CCD TRIG COND (TO NEXT SUB MENU)
1. Move the cursor to the " SHUTTER SPEED" 3SHUTTER SPEED 1/00060(1/30~1/10000)
4SERIAL OUTPUT ANY
item on the OBJECT TYPE I/O using the up
and down keys, and press the SET key. 5CAMNO NO 1(1∼2)
2. Press the SET key again, and move the cursor 6CALIBRATION NO
to the digit you want, using the left and right
keys.
1/ 00060
3-36
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.
Operation procedure
SELECT OBJECT TYPE COND F C1 DRK
On the "MAIN MENU" screen, select "OBJECT
TYPE COND" and then "TYPE00" (current type). At OBJECT TYPE COND
+ TYPE00
this point, press the TRG/BRT key to display the
OPS-MENU
popup menu. Select "COPY" from the popup menu SAVE
and press the SET key. COPY
PASTE
DEL
SPECIFY NUMBER
TITLE
Notes
3-37
Setting Measurement Conditions
"No" "Yes"
Wait for trigger input
Processing measurement 3
Processing measurement 4
3-38
Setting the Conditions for Each Object Type
1. While " SELECT CAMERA" is selected, press MOVE ALL WIN SCREEN SAVE F C1 BRT
the up and down arrow keys to select either
1SELECT CAMERA CAM1
"CAM1" or "CAM2." Then press the SET key. 2STR COORD POSI MOVE(256,240) COORDINATES STORED
3MOVE 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
Coordinates of of the new
the original
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
New window
Original 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
Positional Deviation Measurement
[Measured result]
Y2-Y1 Center coordinates: (X2,Y2)
Amount of deviation: X2-X1, Y2-Y1
Search area
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)
Search area
(image a)
Yb2-Yb1
Xa2-Xa1
Angular deviation: θ
Xb2-Xb1 Search area (image b)
[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.
4-1
Positional Deviation Measurement
DTECT PRECISON
MEAS CND SCREEN COND SAVE F C1 BRT
Select detection precision. You can select one of two
1DTECT PRECISION STANDARD
levels (standard/high), according to your conditions, 2REGISTER NO. 0(0∼7)
STANDARD
HIGH
the desired precision level for detection results, and 3MODE 1P-SCH
4DTECT ANGL ±15°
the detection speed. 5ANGLE UNIT 10 NO
For details, see page 3-9. REGISTER NO.
0001020304 05 060708 0910111213 1415
1P-SCH
6MDL 0 S ××××××× 2P-SCH
7MDL 1 ×××××××× 1P-EDGE
REGISTER NO.
2P-EDGE
Enter a register number. When making positional 1P-SCH+1P-EDGE
deviation measurements, you can select any register
from 0 to 7 (a total of 8 registers).
NO
±15°
MODE
±30°
Select a mode for detection. ±45°
The details of each mode are as follows. 360°
4-2
Positional Deviation Measurement
1) On the MEAS CND setting screen, move the MEAS CND SCREEN COND SAVE F C1 BRT
cursor to " MDL 0" or " MDL 1" and press
the SET key. The cursor will move into the 1DTECT PRECISION STANDARD
2REGISTER NO. 0(0~7)
table. Move the cursor to the "S" or "E" column 3MODE 1P-SCH+1P-EDGE
and press the SET key. 4DTECT ANGL NO
Note: If you press the SET key in the "X"
column, the setting will be invalid. REGISTER NO. 0001020304 05 060708 09 1011 12131415
5MDL 0
S
6MDL 1
About "S" See pages 4-4 to 6.
About "E" See pages 4-7 to 8. IMG PRE-PROC
REG-COND(S)
REG-COND(E)
2) On the MEAS CND setting screen, press the POSITION CORRECTION
TRG/BRT key to move the cursor to the upper EVALUATION
function menu. Select the "COND" item and DST&ANGL
then select the "REG-COND(S)" or "REG- NUM-CALC
COND(E)" item and press the SET key. OUT
4-3
Positional Deviation Measurement
3) On the menu tree, move the cursor to the SELECT OBJECT TYPE COND F C1 BRT
"MEAS CND" item, and press the right arrow OBJECT TYPE COND 1REGISTER NO.
key. The sub menu which contains the "REG- + TYPE00 2MEAS SHAPE(MDL0)
COND(S)" and "REG-COND(E)" items will TYPE01 3SEARCH AREA(MDL0)
TYPE RUN COND 4DTECT MODE(MDL0)
appear. Move the cursor to either of these 5SEARCH DIR(MDL0)
IMAGE-ADJ
items and press the SET key. MEA-CND(CAMERA1) 6THRESHOLDS(MDL0)
+ MEAS0(POSI-DEVIATION) 7REF COORD(MDL0)
8MEAS SHAPE(MDL1)
About "REG-COND(S)" + IMG PRE-PROC
9SEARCH AREA(MDL1)
MEAS CND 0DTECT MODE(MDL1)
See pages 4-4 to 6.
REG-COND(S) qSEARCH DIR(MDL1)
About "REG-COND(E)" REG-COND(E) wTHRESHOLDS(MDL1)
4 See pages 4-7 to 8. EVALUATION COND eREF COORD(MDL1)
+ DISTANCE&ANGLE COND
NUM-CALC
OUT-COND
MEAS(NEW)
+ MEA-CND(CAMERA2)
FINAL NUM. CALC
FINAL OUTPUT COND
OBJ-TYPE I/O
SET=TO NEXT SUB-MENU ESC=BACK SEL=CHNG IMG TRG=POPUP
MEAS SHAPE
Select a window shape to be used for the REG COND SCREEN COND SAVE DETAIL F C1 BRT
positional deviation measurement.
1REGISTER NO. 0(0∼7)
Select "RECTANGLE," "X-LINE," or "Y-LINE" 2MEAS SHAPE (MDL0) RECTANGLE RECTANGLE
from the popup menu on the " MEAS SHAPE" 3REFIMG ARE (MDL0) SET(224.208)∼(287.271) X-LINE
4SEARCH ARE (MDL0) SET(216.200)∼(295.279) Y-LINE
line.
Specify coordinates for
the upper left and lower
right corners. The window
RECTANGLE
will be a rectangular area +
defined by these
coordinates.
Search area
Length of a line from the
Object to measure
X-LINE start point to the end point
on the X axis.
Length of a line from the
Y-LINE start point to the end point SEL=SELECT A MENU ESC=BACK SEL=CHNG IMG TRG=FUNC
on the Y axis.
REFIMG ARE
Move the cursor to " REFIMG ARE(MDL0)" REG COND SCREEN COND SAVE DETAIL F C1 BRT
and press the SET key. When the SET item is
highlighted, press the SET key again to bring up 1REGISTER NO. 0(0∼7)
2MEAS SHAPE (MDL0) RECTANGLE
the setting screen. 3REFIMG ARE (MDL0) SET(224.208)∼(287.271)
4SEARCH ARE (MDL0) SET(216.200)∼(295.279)
Search area
Object to measure
4-4
Positional Deviation Measurement
Specify the start and end points on the X axis. X-LINE RESET RETURN F C1 BRT
MDL 0
Specify the start and end points using the up/ 1S.PT (199.245)
down/left/right arrow keys. The points will move 2E.PT (328.245)
3MOVE
along the X axis (while keeping the same Y 4REFERENCE IMG
coordinate).
Note: Specify a search area longer than the
reference image area. Specifying a Search area
Start point
shorter search area may cause an error
message to be displayed.
X:194 Y:344
Start point
X:199 Y:245
4-5
Positional Deviation Measurement
X:224 Y:208
CONTRAST SRCH After changing to a gray search, automatically search for the area
(contrast search) with the most features (maximum contrast) in the captured image.
REG (register) Store the currently displayed image as a reference image.
Select any one of the registered reference images using the
DISP (display) up/down/left/right arrow keys, the selected reference image will be
displayed in the lower right of the screen.
SEARCH ARE
Specify the search area (inside the dotted lines) REG COND SCREEN COND SAVE DETAIL F C1 BRT
on the " SEARCH ARE (MDL0)" line, using the
1REGISTER NO. 0(0∼7)
same procedures used for setting the reference 2MEAS SHAPE (MDL0) RECTANGLE
image area. 3REFIMG ARE (MDL0) SET(224.208)∼(287.271)
4SEARCH ARE (MDL0) SET(216.200)∼(295.279)
Search area
Object to measure
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)
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
Positional Deviation Measurement
REFIMG
Move the cursor to the function menu on the REG COND SCREEN COND SAVE DETAIL F C1 BRT
REG COND screen by pressing the TRG/BRT
key. Move the cursor to "DETAIL." Press the 1REGISTER NO. 0(0∼7)
2MEAS SHAPE (MDL0) RECTANGLE
SET key on the "REFERENCE IMG" line in the 3REFIMG ARE (MDL0) SET (224.208)∼(287.271)
popup menu. The white square on the left will 4SEARCH ARE (MDL0) SET (216.200)∼(295.279)
change to a black square. Then, the " REF 5REFIMG (MDL0) 001(000~001) ■REFERENCE IMG ※
6DTECT CRD (MDL0) CENTER (250.229) ■DTECT CRD
IMG" item will appear on the screen. 7CONTR.PIXL (MDL0) 1 ■CONTR.PIXL
- You can use the same procedures to show
"DTECT CRD" (detection coordinates) and ※ Make □ to ■ on the popup menu,
"CONTR.PIXL" (contraction pixels) on the the respective item will be added to
4
screen. the "REG COND" menu.
4-7
Positional Deviation Measurement
SEARCH DIR
Specify a search direction. The direction for searching varies with each detection shape.
THRESHOLD
Specify a threshold value for binary conversion.
For details, see page 3-10.
Edge Flat
width width
Light level
Density difference
A B
Automatic setting
Select "AUTO-REG" from the upper function menu on the THRESHOLD setting screen. The
controller will set the optimum value automatically.
For details, see page 3-15.
4-8
Positional Deviation Measurement
1) Select "COND" in the upper function menu on MEAS CND SCREEN COND SAVE F C1 BRT
the MEAS COND (or REG COND) screen 1DTECT PRECISION STANDARD
and press the SET key. Select 2REGISTER NO. 0(0∼7)
3MODE 1P-SCH
"EVALUATION" on the pop up menu to go to 4DTECT ANGL NO IMG PRE-PROC
the EVALUAT COND screen. 5ANGLE UNIT REG-COND(S)
REGISTER NO.
6MDL 0
0001020304 05 060708 09REG-COND(E)
S ×××××××
101112131415
POSITION CORRECTION
4
7MDL 1 ×××××××× EVALUATION
DST&ANGL
NUM-CALC
OUT
2) Move the cursor to the "EVALUATION COND" SELECT OBJECT TYPE COND F C1 DRK
OBJECT TYPE COND
item on the Menu tree screen and press the 1REGISTER NO.
+ TYPE00
SET key. TYPE RUN COND
2CONDITION SET
3X COORD.(MDL0)
IMAGE-ADJ 4Y COORD.(MDL0)
MEA-CND(CAMERA1) 5x DEVAITE(MDL0)
MEAS0(POSI-DEVIATION) 6y DEVAITE(MDL0)
+ IMG PRE-PROC 7MATCH LVL(MDL0)
MEAS CND 8TEST
REG-COND(S)
REG-COND(E)
EVALUATION COND
+ DISTANCE&ANGLE COND
NUM-CALC
OUT-COND
MEAS(NEW)
+ MEA-CND(CAMERA2)
FINAL NUM. CALC
FINAL OUTPUT COND
OBJ-TYPE I/O
OBJ-TYPE SYS.
The "EVALUAT COND" (evaluation conditions) EVALUAT COND SCREEN COND SAVE EDIT SEL F C1 BRT
screen will appear.
1REGISTER NO. 0(0~7) [TEST RESULT] [OUTPUT]
For details about the evaluation conditions, see 2CONDITION SET AUTO(–10%)
page 3-17. 3X COORD.(MDL0) 000.0~511.0 X0= NO
4Y COORD.(MDL0) 000.0~479.0 Y0= NO
5x DEVAITE(MDL0) -511.0~+511.0 x0= NO
6y DEVAITE(MDL0) -479.0~+479.0 y0= NO
7MATCH LVL(MDL0) -10000~+10000 M0= NO
4-9
Positional Deviation Measurement
For display examples of measurement results using other modes, see the next page.
4-10
Positional Deviation Measurement
The displays for other modes are shown in the next page.
Ë 1-point search
Registration number REGST NO. 0(0~7)
Detection coordinates in the X0=176.0 OK
reference image for model 0 Y0=322.0 OK
Amount of deviation from x0=+000.0 OK
the reference image for model 0 y0=+000.0 OK
Degree of match with the
reference image for model 0 M0=+10000 OK 4
* Rotation angle B0=+002.6 OK
Ë 2-point search
Registration number REGST NO. 0(0~7)
Detection coordinates in the X0=176.0 OK
reference image for model 0 Y0=322.0 OK
Amount of deviation from x0=+000.0 OK
the reference image for model 0 y0=+000.0 OK
Degree of match with the Model 1
reference image for model 0 M0=+10000 OK
Amount of angular deviation B0=+001.7 OK
X1=534.0 OK
Coordinates in the detect
point for model 1 Y1=480.0 OK Model 0
Ë 1-point edge
Registration number REGST NO. 0(0~7)
X0=176.0 OK
Coordinates in the detect
point for model 1 Y0=322.0 OK
x0=+000.0 OK
Amount of deviation in the
detect point for model 1 y0=+000.0 OK
The number of the detect K0=1 OK
point for model 1 B0=
Ë 2-point edge
4-11
Positional Deviation Measurement
Angle detection
You can detect the angle of an object by selecting 1P-SCH (1-point search) in the POSI-DEVIATION
item (measurement 0 to 4) .
(1) Angle detection by object shape
There are some objects whose angle cannot be detected, due to the shape of the object and the
compression level used for the gray scale search, as shown in the table below.
Object shape Angle detection Difficulty level
- 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.
MEAS CND SCREEN COND SAVE F C1 BRT
1DTECT PRECISION STANDARD STANDARD
2REGISTER NO. 0(0∼7) HIGH
1 3MODE 1P-SCH
2 4DTECT ANGL NO
3 5ANGLE UNIT NO Note: When the rotation angle detection is set other
0001020304 05 060708 0910111213 1415
1P-SCH
REGISTER NO. than "NO," the "HIGH PRECISION" selection
6MDL 0 S ××××××× 2P-SCH
7MDL 1 ×××××××× 1P-EDGE
will be invalid. (The detection precision is fixed
2P-EDGE
to the "STANDARD.")
1P-SCH+1P-EDGE
NO
±15°
±30°
±45°
360°
4. On the settings for the gray scale search conditions (page 4-4), register the object by surrounding
it with a square window, regardless of the shape of the object to be measured.
Example
Image to register
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 . . . . .
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
4-13
Degree of Match Inspection
SERIAL NO.
8F053G26
IV-S30J
MODEL
SERIAL NO.
8F053G26
MODEL
IV-S30J
Examples
Reference image Reference image
for checking for checking
[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
Degree of Match Inspection
Select "MAIN-COND" -> "OBJECT TYPE COND" SELECT OBJECT TYPE COND F C1 BRT
(menu tree)-> "TYPE00" ->"MEA-CND
OBJECT TYPE COND
(CAMERA1)" -> "MEAS(NEW)," in that order. TYPE00 1MEAS SELECTION
Then press the SET key to bring up the "MEAS1" TYPE RUN COND
IMAGE-ADJ
screen. MEA-CND(CAMERA1)
MEAS0
POSI-CORRECT
MEAS(NEW)
5 ++ MEA-CND(CAMERA2)
FINAL NUM. CALC
FINAL OUTPUT COND
OBJ-TYPE I/0
OBJ-TYPE SYS.
TYPE(NEW)
Move to the " MEAS SELECTION" line on the MEASUREMENT1 SCREEN COND SAVE F C1 BRT
"MEASUREMENT1" screen and select "CHK- 1MEAS SELECTION CHK-DEG-MATCH
DEG-MATCH" from the popup menu. NO
POSI-DEVIATION
CHK-DEG-MATCH
INSPECT-LEAD
MEAS-BIN-AREA
CNT-BIN-OBJ
LABEL-BIN-OBJ
POINT-MEAS
MULTI-POSI
MULTI MATCHES
Press the ESC key to return to the OBJECT TYPE COND (menu tree) screen, and select the "MEAS
CND" item shown under "MEAS01 (CHK-DEG-MATCH)" to go to the MEAS CND screen.
For details, see "Chapter 8: Setting Examples Using the Menu Tree" in the Introduction and
Hardware.
5-2
Degree of Match Inspection
MODE
Select a detection mode.
Detail of each mode are as follows.
MODE Details
NO (None) Does not detect.
1P-SCH Detect the positional deviation of one point in the scanned image
(1-point search) compared to a single reference image, after performing a gray search.
2P-SCH Detect the positional deviation of two points in the scanned image
(2-point search) compared to two reference images, after performing a gray search.
Gray search See page 3-9.
SEARCH
Specify whether or not to use the search function.
MATCHING
Select a density for comparison when inspecting the image. The details are as follows.
Description
Average
Obtain average light level of the image in the area detected using the gray search.
light level
Calculate the difference of the absolute values from the image detected using the
Difference gray search and the reference image. The result is light level difference. By
absolute obtaining this value, you can get an idea of the total change in light level.
value Total light level difference = S (Ni — Nt)
Ni : Light level of the captured image (contraction 3)
Nt : Light level of the reference image (contraction 3)
5-3
Degree of Match Inspection
1) On the "MEAS CND" setting screen, move the MEAS CND SCREEN COND SAVE F C1 BRT
cursor to " MDL 0" or " MDL 1" and press IMG PRE-PROC
the SET key. The cursor will move into the 1DTECT PRECISION STANDARD
2REGISTER NO. 00(0~15) REG-COND
table. Move the cursor to the "S" column and 3MODE 2P-SCH EVALUATION
press the SET key. 4SEARCH YES DST&ANGL
5MATCHING AVG-GRAYS NUM-CALC
Note: If you press the SET key in the "X"
OUT
column, the setting will be invalid. REGISTER NO.
0001020304 05 060708 09 101112131415
6MDL 0
7MDL 1 S × × × × × × × × ×× × × × × ×
5 S × × ×× × × × × × × × × × × ×
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" item and press the SET
key.
3) On the menu tree, move the cursor to the SELECT OBJECT TYPE COND F C1 DRK
"MEAS CND" item, and press the right arrow OBJECT TYPE COND
key. The sub menu which contains the "REG- + TYPE00 1REGISTER NO.
TYPE01 2MEAS SHAPE (MDL0)
COND" items will appear. Move the cursor to TYPE RUN COND 3REFIMG ARE (MDL0)
this item and press the SET key. IMAGE-ADJ 4SEARCH ARE (MDL0)
MEA-CND(CAMERA1) 5REFIMG (MDL0)
MEAS0 6DTECT CRD (MDL0)
POSI-CORRECT 7CONTR.PIXL (MDL0)
MEAS01(CHK-DEG-MATCH) 8MEAS SHAPE (MDL1)
IMG PRE-PROC 9REFIMG ARE (MDL1)
MEAS CND 0SEARCH ARE (MDL1)
REG-COND qREFIMG (MDL1)
EVALUATION COND wDTECT CRD (MDL1)
+ DISTANCE&ANGLE COND eCONTR.PIXL (MDL1)
NUM-CALC
OUT-COND
MEAS(NEW)
+ MEA-CND(CAMERA2)
FINAL NUM. CALC
FINAL OUTPUT COND
OBJ-TYPE I/O
5-4
Degree of Match Inspection
SERIAL NO.
8F053G26
5
MODEL
IV-S30J
axis. Specify the start and end points using X-LINE RESET RETURN F C1 BRT
MDL 0
the up/down/left/right arrow keys. The 1S.PT (199.245)
points will move along the X axis (while 2E.PT (328.245)
3MOVE
keeping the same Y coordinate). 4REFERENCE IMG
SERIAL NO.
8F053G26
Crosshair cursor MODEL
IV-S30J
(detection coordinate)
Solid line (reference line)
Dotted line (search line)
X:194 Y:245
5-5
Degree of Match Inspection
Crosshair cursor
(detection coordinate)
Solid line (reference line)
Dotted line (search line)
SERIAL NO.
8F053G26
MODEL
IV-S30J
X:194 Y:344
SERIAL NO.
8F053G26
MODEL
IV-S30MX
IV-S30J
X:224 Y:208
SEARCH ARE
Specify the search area (inside the dotted
lines) on the " SEARCH ARE (MDL0)" line, RECTANGLE RESET RETURN F C1 BRT
using the same procedures used for setting MDL 0
1UP.L (224.208)
the reference image area. 2LO.R (287.271)
Note: Set the menu for MDL1. Setting 3MOVE
procedures are the same as MDL0.
SERIAL NO.
8F053G26
MODEL
IV-S30MX
IV-S30J
X:224 Y:139
5-6
Degree of Match Inspection
REFIMG
On the " REF IMG (MDL0)" line, select a REG COND SCREEN COND SAVE DETAIL F C1 BRT
reference image from the reference images
1REGISTER NO. 00 (0∼15)
already registered. 2MEAS SHAPE (MDL0) RECTANGLE
Ex. 015 (000 to 026) 3REFIMG ARE (MDL0) SET (131.122)∼(217.201)
Select reference image No. 15 from the 26 4SEARCH ARE (MDL0) SET (119.114∼(224.214)
5REFIMG (MDL0) 15 (000~026)
registered reference images (000 to 026). 6DTECT CRD (MDL0) CENTER (176.164)
Note: This item is displayed only when the 7CONTR.PIXL (MDL0) 1
"REFERENCE IMG" is selected on the
8MEAS SHAPE (MDL1) RECTANGLE
"DETAIL" in the upper function menu. 9REFIMG ARE (MDL1) SET (224.208)∼(372.349)
SERIAL NO.
8F053G26
See page 5-4. 0SEARCH ARE (MDL1) SET (276.259)∼(381.368)
MODEL
IV-S30J
qREFIMG (MDL1) 003 (000~026)
wDTECT CRD (MDL1) CENTER (334.313)
eCONTR.PIXL (MDL1) 3
DTECT CRD (detection coordinates) REG COND SCREEN COND SAVE DETAIL F C1 BRT
Select whether to use the detection
1REGISTER NO. 00 (0∼15)
coordinates as the center of the reference 2MEAS SHAPE (MDL0) RECTANGLE
area or to allow the point to be set freely. 3REFIMG ARE (MDL0) SET (131.122)∼(217.201)
4SEARCH ARE (MDL0) SET (119.114∼(224.214)
Note: This item is displayed only when the 5REFIMG (MDL0) 003 (000~026)
"DTECT COORD" is selected on the 6DTECT CRD (MDL0) CENTER (176.164) CENTER
"DETAIL" in the upper function menu. 7CONTR.PIXL (MDL0) 1 SET
See page 5-4. 8MEAS SHAPE(MDL1) RECTANGLE
9REFIMG ARE (MDL1) SET (224.208)∼(372.349)
SERIAL NO.
8F053G26
0SEARCH ARE (MDL1) SET (276.259)∼(381.368)
MODEL
IV-S30J
qREFIMG (MDL1) 003 (000~026)
wDTECT CRD (MDL1) CENTER (334.313)
eCONTR.PIXL (MDL1) 3
CONTR.PIXL
REG COND SCREEN COND SAVE DETAIL F C1 BRT
Select "CONTR.PIXL" (pixel contraction).
Note: This item is displayed only when the 1REGISTER NO. 00 (0∼15)
2MEAS SHAPE (MDL0) RECTANGLE
"CONTR.PIXEL" is selected on the 3REFIMG ARE (MDL0) SET (131.122)∼(217.201)
"DETAIL" in the upper function menu. 4SEARCH ARE (MDL0) SET (119.114∼(224.214)
See page 5-4. 5REFIMG (MDL0) 003 (000~026)
6DTECT CRD (MDL0) CENTER (176.164)
7CONTR.PIXL (MDL0) 1
For detail about the "CONTR.PIXEL," see
8MEAS SHAPE(MDL1) RECTANGLE
page 3-9. 9REFIMG ARE (MDL1) SET (224.208)∼(372.349)
SERIAL NO.
8F053G26
0SEARCH ARE (MDL1) SET (276.259)∼(381.368)
MODEL
IV-S30J
qREFIMG (MDL1) 003 (000~026)
wDTECT CRD (MDL1) CENTER (334.313)
eCONTR.PIXL (MDL1) 3
5-7
Degree of Match Inspection
1) Select "COND" in the upper function menu on MEAS CND SCREEN COND SAVE F C1 BRT
the "MEAS COND" (or "REG COND") screen
IMG PRE-PROC
and press the SET key. Select 1DTECT PRECISION STANDARD
2REGISTER NO. 00(0~15) REG-COND
"EVALUATION" on the popup menu to go to 3MODE 2P-SCH EVALUATION
the "EVALUAT COND" screen. 4SEARCH YES DST&ANGL
5MATCHING AVG-GRAYS NUM-CALC
OUT
REGISTER NO.
6MDL 0 0001020304 05 060708 09 101112131415
7MDL 1 S ×××××××××××××××
5 ××××××××××××××××
2) Move the cursor to the "EVALUATION COND" SELECT OBJECT TYPE COND F C1 DRK
item on the menu tree screen and press the OBJECT TYPE COND
SET key. + TYPE00 1REGISTER NO.
TYPE01 2CONDITION SET
TYPE RUN COND 3MATCH LVL(MDL0)
IMAGE-ADJ 4XCOORD.(MDL0)
MEA-CND(CAMERA1) 5Y COORD.(MDL0)
MEAS0 6GRAY LVL(MDL0)
POSI-CORRECT 7MATCH LVL(MDL1)
MEAS01(CHK-DEG-MATCH) 8X COORD.(MDL1)
IMG PRE-PROC 9Y COORD.(MDL1)
MEAS CND 0GRAY LVL(MDL1)
REG-COND qTEST
EVALUATION COND
+ DISTANCE&ANGLE COND
NUM-CALC
OUT-COND
MEAS(NEW)
+ MEA-CND(CAMERA2)
FINAL NUM. CALC
FINAL OUTPUT COND
OBJ-TYPE I/O
The "EVALUAT COND" (evaluation conditions) EVALUAT COND SCREEN COND SAVE EDIT SEL F C1 BRT
5-8
Degree of Match Inspection
5-9
Lead Inspection
L0
L1
L2
L3
between leads
K0 K1 K2 K3
- W0 to W3: Lead width
6
Reference line - L0 to L3: Lead length
Examples W0 W1 W2 W3
・Inspection procedure
1 Determine the measurement points (K0 to K3) from the mid points of the
leads and the reference line.
2 Calculate the maximum and minimum distances between the leads (D0 to
D2) on the reference line.
3 Calculate the maximum and minimum lead lengths (L0 to L3), starting from
the measurement points (K0 to K3) and measuring toward the lead measure-
ment limit line.
4 Calculate the maximum and minimum lead widths (W0 to W3) from the meas-
urement points.
6-1
Lead Inspection
Select "MAIN-COND" -> "OBJECT TYPE SELECT OBJECT TYPE COND F C1 BRT
COND" -> "TYPE00" ->"MEA-CND (CAM- OBJECT TYPE COND
ERA1) " -> "MEAS(NEW)," in that order. Then TYPE00 1MEAS SELECTION
press the SET key to bring up the "MEAS1" TYPE RUN COND
IMAGE-ADJ
screen. MEA-CND(CAMERA1)
MEAS0
POSI-CORRECT
MEAS(NEW)
++ MEA-CND(CAMERA2)
FINAL NUM. CALC
FINAL OUTPUT COND
6 OBJ-TYPE I/0
OBJ-TYPE SYS.
TYPE(NEW)
Move to the " MEAS SELECTION" line on MEASUREMENT1 SCREEN COND SAVE F C1 BRT
the "MEASUREMENT1" screen and select 1MEAS SELECTION INSPECT-LEAD
"INSPECT-LEAD" from the popup menu. NO
POSI-DEVIATION
CHK-DEG-MATCH
INSPECT-LEAD
MEAS-BIN-AREA
CNT-BIN-OBJ
LABEL-BIN-OBJ
POINT-MEAS
MULTI-POSI
MULTI MATCHES
Press the ESC key to return to the "OBJECT TYPE COND" (menu tree) screen, and select the
"MEAS CND" item shown under "MEAS01 (INSPECT-LEAD)" to go to the "MEAS CND" screen.
For details, see "Chapter 8: Setting Examples Using the Menu Tree" in Introduction and
Hardware.
6-2
Lead Inspection
REGISTER NO.
16 registers are available for the lead MEAS CND SCREEN COND SAVE F C1 BRT
inspection (Registers 0 to 15).
1REGISTER NO. 00(0∼15) NO
If you want to set the measurement 2REGISTER EXIST YES YES STANDARD
conditions for a different register number, 3DTECT PRECISION STANDARD HIGH
press the SET key to highlight the
register number currently selected. Then REGISTER NO. 0001020304 05 060708 09 101112131415
press the up and down arrow keys to 4MEAS OBJECT ○×××××××××××××××
select the register number whose LEAD LENGTH ××××××××××××××××
measurement conditions you want to set.
Press the SET key to confirm your
selection.
REGISTER EXIST
Select whether to register or not. 6
DTECT PRECISON
Select detection precision. You can
select one of two levels (standard/high), SET=VALUE INPUT ESC=BACK SEL=CHNG IMG TRG=FUNC
according to your conditions, the desired
precision level for detection results, and the detection speed.
For details, see page 3-9.
REGISTER NO. 00 01 02 When item "2REGISTER EXIST" has set "YES," a
4MEAS OBJECT ○○× circle is displayed.
LEAD LENGTH ○×× On the "REG COND" screen, when the "7EXTENSION
X : No setting MEAS" is set to "LEAD-LENGTH," or "BALL-WIDTH," a
circle is displayed.
1) On the MEAS CND setting screen, move MEAS CND SCREEN COND SAVE F C1 BRT
the cursor to " MEAS OBJECT" and
press the SET key. The cursor will move 1REGISTER NO. 00(0∼15)
2REGISTER EXIST YES
into the table. Move the cursor to the "○"
3DTECT PRECISION STANDARD
column and press the SET key.
Note: If you press the SET key in the "X" REGISTER NO. 0001020304 05 060708 09 101112131415
column, the setting will be invalid. 4MEAS OBJECT ○×××××××××××××××
LEAD LENGTH ××××××××××××××××
6-3
Lead Inspection
3) On the menu tree, move the cursor to the SELECT OBJECT TYPE COND F C1 BRT
"MEAS CND" item, and press the right OBJECT TYPE COND
arrow key. The sub menu which contains + TYPE00 1REGISTER NO.
the "REG COND" item will appear. Move TYPE RUN COND 2DTECT SHAPE
IMAGE-ADJ 3SEARCH AREA
the cursor to either of these items and press 4DTECT MODE
MEA-CND (CAMERA1)
the SET key. MEAS0 5SEARCH DIRECT
POSI-CORRECT 6THRESHOLD
MEAS01 (INSPECT-LEAD)
IMG PRE-PROC
MEAS CND
REG-COND
EVALUATION COND
NUM-CALC
OUT-COND
MEAS(NEW)
+ MEA-CND(CAMERA2)
FINAL NUM. CALC
FINAL OUTPUT COND
OBJ-TYPE I/O
6 OBJ-TYPE SYS.
SET=TO NEXT SUB-MENU ESC=BACK SEL=CHNG IMG TRG=POPUP
DTECT SHAPE NO
Select a detection shape. Three shapes LEAD-LENGTH
are available: "RECT(ARTIFACT)," "LINE," BALL-WIDTH
Specify the coordinates of the upper left and lower right corners. The controller
RECT
will detect an edge inside this rectangle. For details about processing artifacts,
(ARTIFACT)
see page 3-15.
Specify the coordinates of the starting and end points. The controller will
LINE
detect an edge along this straight line.
Specify the coordinates of the center and radius. The controller will detect an
CIRC-L
edge inside this circle.
SEARCH AREA
Specify a search area. Move the cursor to this line and press the SET key. The currently SET
item will be highlighted. Press the SET key again to enter the setting screen.
LO.R
6-4
Lead Inspection
DTECT MODE
Select a detection mode.
CENT(DRK) Detect the center of a dark area found by the detection search.
CENT(BRT) Detect the center of a bright area found by the detection search.
Search direction
CENT(BRT) CENT(DRK)
6-5
Lead Inspection
Ë Example of settings
- Example when DTECT MODE (detection mode) is set to "CENT (BRT)" (center dark) and
SEARCH DIRECT (search direction) is set to "HORIZ (horizontal)."
Center point
A B
Brightness Difference in
light
A Direction B
- Example when DTECT MODE (detection mode) is set to "CENT (DRK)" (center dark) and
SEARCH DIRECT (search direction) is set to "HORIZ (horizontal)."
6
A B Center point
Brightness Difference in
light
A Direction B
THRESHOLD
Specify a threshold value. Move the cursor to this line and press the SET key. The currently SET
item will be highlighted. Press the SET key again to enter the setting screen.
Move to each of the following items and press the SET key: " GRYS." (difference of gray level)
" EDGE.W" (edge width), and " FLAT.W" (flat width). The current value for that item will be
highlighted and it can be changed using the up and down keys. After the value is correct, press the
ESC key to confirm it.
The values above can be reset to an appropriate level automatically. Move the cursor to the upper
function menu by pressing the TRG/BRT key and select "AUTO-REG". Then press the SET key to
set the levels automatically.
For details, see page 3-15.
Reference line
Note: This line is only displayed when "RECT" or "LINE" was selected for the "DTECT SHAPE." To
display this line, move the cursor to the upper function menu and select "DETAIL." Press the
SET key and select "EXTENSION MEAS" from the popup menu. Then press the SET key.
6-6
Lead Inspection
1) Select "COND" in the upper function menu MEAS CND SCREEN COND SAVE F C1 BRT
on the "MEAS CND" (or "REG COND")
screen and press the SET key. Select 1REGISTER NO. 00(0∼15)
"EVALUATION" on the pop up menu to go 2REGISTER EXIST YES
3DTECT PRECISION STANDARD
to the "EVALUAT COND" screen.
REGISTER NO. 0001020304 05 060708 09 101112131415
4MEAS OBJECT ○×××××××××××××××
LEAD LENGTH ××××××××××××××××
IMG PRE-PROC
REG-COND
EVALUATION
NUM-CALC 6
OUT
2) Move the cursor to the "EVALUATION SELECT OBJECT TYPE COND F C1 BRT
COND" item on the menu tree screen and OBJECT TYPE COND
press the SET key. + TYPE00 1REGISTER NO.
TYPE RUN COND 2CONDITION SET
IMAGE-ADJ 3NUMBER OF OBJ
MEA-CND (CAMERA1) 4DISTANCE
MEAS0 5LEAD WIDTH
POSI-CORRECT 6LEAD LENGTH
7TEST
MEAS01 (INSRECT-LEAD)
IMG PRE-PROC
+ MEAS CND
EVALUATION COND
NUM-CALC
OUT-COND
MEAS(NEW)
+ MEA-CND(CAMERA2)
FINAL NUM. CALC
FINAL OUTPUT COND
OBJ-TYPE I/O
OBJ-TYPE SYS.
TYPE(NEW)
The "EVALUAT COND" (evaluation conditions) EVALUAT COND SCREEN COND SAVE EDIT SEL F C1 BRT
screen will appear. 1REGISTER NO. 00(0~15) [TEST RESULT] [OUTPUT]
For details about the evaluation conditions, 2CONDITION SET AUTO(±10%)
see page 3-17. 3NUMBER OF OBJ 000~128 K= NO
4DISTANCE 000.0~702.0 D= NO
6-7
Lead Inspection
6-8
Area Measurement by Binary Conversion
[Measurement result]
- The area of the workpiece
Workpiece 7
Examples
- Checking sequence
Capture an image Convert it to binary Measure (area)
7-1
Area Measurement by Binary Conversion
Select "MAIN-COND" -> "OBJECT TYPE COND" SELECT OBJECT TYPE COND F C1 BRT
(menu tree)-> "TYPE00" ->"MEA-CND OBJECT TYPE COND
(CAMERA1)" -> "MEAS(NEW)," in that order. TYPE00 1MEAS SELECTION
Then press the SET key to bring up the "MEAS1" TYPE RUN COND
IMAGE-ADJ
screen. MEA-CND(CAMERA1)
MEAS0
POSI-CORRECT
MEAS1
MEAS(NEW)
++ MEA-CND(CAMERA2)
FINAL NUM. CALC
FINAL OUTPUT COND
OBJ-TYPE I/0
OBJ-TYPE SYS.
TYPE(NEW)
Move to the " MEAS SELECTION" line on the MEASUREMENT1 SCREEN COND SAVE F C1 BRT
"MEASUREMENT1" screen and select "MEAS- 1MEAS SELECTION MEAS-BIN-AREA
BIN-AREA" from the popup menu. NO
POSI-DEVIATION
CHK-DEG-MATCH
INSPECT-LEAD
MEAS-BIN-AREA
CNT-BIN-OBJ
LABEL-BIN-OBJ
POINT-MEAS
MULTI-POSI
MULTI MATCHES
Press the ESC key to return to the OBJECT TYPE COND (menu tree) screen, and select the "MEAS
CND" item shown under "MEAS01(MEAS-BIN-AREA)" to go to the MEA-CND screen.
For details, see "Chapter 8: Setting Examples Using the Menu Tree" in the Introduction and
Hardware.
7-2
Area Measurement by Binary Conversion
REGISTER NO.
Select register number to measure. Number of selectable registers varies with window shape
selected.
NUM-OF-MASK 1 0 to 15
NUM-OF-MASK 2 0 to 7
NUM-OF-MASK 4 0 to 4
BIMARY-IMG-MASK 0 only
POLYGON 0 only
To save the measurement conditions using a different register number, press the SET key and
highlight the number. Change this number by pressing the up and down arrow keys.
REGISTER EXIST
Select whether to register or not.
7-3
Area Measurement by Binary Conversion
1) On the "MEA-CND" setting screen, move the MEA-CND SCREEN COND SAVE F C1 BRT
cursor to the " BIN AREA COND" and
press the SET key. The cursor will move into 1WINDOW NUM-OF-MASK
IMG PRE-PROC
2REGISTER NO. 00(0∼15)
the table. Move the cursor to the "○" column REG COND
3REGISTER EXIST NO EVALUATION
and press the SET key.
NUM-CALC
Note: If you press the SET key in the "X" OUT
column, the setting will be invalid.
REGISTER NO. 0001020304 05 060708 09 101112131415
4BIN AREA COND ○ × × × × × × × × × × × × × × ×
2) On the "MEA-CND" setting screen, press the
TRG/BRT key to move the cursor to the upper
function menu. Select the "COND" item and
then select the "REG COND" item and press
the SET key.
7
3) On the menu tree, move the cursor to the SELECT OBJECT TYPE COND F C1 BRT
"MEAS CND" item, and press the right arrow OBJECT TYPE COND
key. The sub menu which contains the "REG + TYPE00 1REGISTER NO.
TYPE01 2MEAS SHAPE
COND" item will appear. Move the cursor to TYPE RUN COND 3MEAS AREA
this item and press the SET key. IMAGE-ADJ 4THRESHOLD
MEA-CND(CAMERA1) 5INVERT B/W
MEAS0
POSI-DEVIATION
MEAS01(MEAS-BIN-AREA)
IMG PRE-PROC
MEAS CND
REG-COND
EVALUATION COND
NUM-CALC
OUT-COND
MEAS(NEW)
+ MEA-CND(CAMERA2)
FINAL NUM. CALC
FINAL OUTPUT COND
OBJ-TYPE I/O
OBJ-TYPE SYS.
7-4
Area Measurement by Binary Conversion
MEAS SHAPE
Specify shape of measuring range.
Specify the coordinates for the upper left and lower right corners.
RECTANGLE
The measurement area will be the area enclosed by this rectangle.
Specify the center and the radius. The measurement area will be the
CIRCLE
area enclosed by this circle.
Specify the center and the radius. The measurement area will be the
ELLIPSE
area enclosed by this ellipse.
MEAS AREA
Specify a search area.
LO.R
When "CIRCLE" is selected
Specify the center and the radius.
Center
Radius
THRESHOLD
Specify a threshold value.
Move the cursor to " U.LM" and press the SET key. Then move the cursor to " L.LM" and
press the SET key again. The current value will be highlighted for each item. You can increase
or decrease the value by pressing the up and down arrow keys. Press the ESC key to confirm
the value you want.
The values above can be reset to an appropriate level automatically. Move the cursor to the
upper function menu by pressing the TRG/BRT key and select "AUTO-REG". Then press the
SET key to set the levels automatically.
For details, see page 3-15.
INVERT B/W
Select whether to invert the display of black and white inside the measurement area.
7-5
Area Measurement by Binary Conversion
Setting the mask details ● When WINDOW has been set to "NUM-OF- MASK 2"
On the "REG COND" screen, move the cursor MEA-CND SCREEN COND SAVE DETAIL F C1 BRT
to the upper function menu by pressing the
TRG/BRT key. Select "DETAIL" by pressing 1REGISTER NO. 0(0∼7)
2MEAS SHAPE RECTANGLE □MASK REGIST.
the left and right arrow keys and then press the □BINARY PROCESS
3MEAS AREA SET (224,208)∼(287,271)
SET key. On the popup menu, you can select 4THRESHOLD SET [U.LM255 L.LM100(0∼255)] □BINRY NOISE FILT
"MASK REGIST.," "BINARY PROCESS," and 5INVERT B/W NO
"BINRY NOISE FILT." The items selected 6MASK NO. 0(0∼1) NO
here will be displayed on the "MEA-CND" 7MASK SHAPE NO RECTANGLE
menu. CIRCLE
8BIMARY PROCESS FIXED ELLIPSE
9BIMARY NOISE FILT NO
MASK NO. FIXED
Select a mask number. THRES-ADJ(VAR-DIFF)
THRES-ADJ(VAR-RATE)
Note: This line is displayed when "NO. OF
MASK 2" or "NO. OF MASK 4" is
NO
selected at " WINDOW" on the "MEA-
EXPD.→CONTR.
CND" screen. CONTR.→EXPD.
BINARY PROCESS
Select a binary processing method. Move the cursor to "FIXED," "THRES-ADJ (VAR-DIFF)"
{adjustable threshold value (variation difference)}, or "THRES-ADJ (VAR-RATE)" {adjustable
threshold (variation rate)}, and press the SET key to continue.
For details, see page 3-12.
.
BINARY NOISE FILTER
Select a binary noise filter type. Move the cursor to "NO," "EXPD. → CONTR." (expansion →
contraction), or "CONTR. → EXPD" (contraction → expansion), and press the SET key to
continue.
For details, see page 3-13.
Mask area
7-6
Area Measurement by Binary Conversion
2) Move the cursor to the "EVALUATION COND" SELECT OBJECT TYPE COND F C1 BRT
item on the menu tree screen and press the OBJECT TYPE COND
+ TYPE00 1CHNG REG
SET key. 2CONDITION SET
TYPE01
TYPE RUN COND 3REGISTER 00
IMAGE-ADJ 4REGISTER 01
MEA-CND(CAMERA1) 5REGISTER 02
MEAS0 6REGISTER 03
POSI-DEVIATION 7REGISTER 04
MEAS01(MEAS-BIN-AREA) 8REGISTER 05
IMG PRE-PROC 9REGISTER 06
MEAS CND 0REGISTER 07
REG-COND qTEST
EVALUATION COND
NUM-CALC
OUT-COND
MEAS(NEW)
+ MEA-CND(CAMERA2)
FINAL NUM. CALC
FINAL OUTPUT COND
OBJ-TYPE I/O
OBJ-TYPE SYS.
The "EVALUAT COND" (evaluation conditions) EVALUAT COND SCREEN COND SAVE EDIT SEL F C1 BRT
screen will appear. 1CHNG REG [TEST RESULT] [OUTPUT]
For details about the evaluation conditions, 2CONDITION SET AUTO(±10%)
see page 3-17. 3REGISTER 00 000000~245760 A00= NO
4REGISTER 01 000000~245760
5REGISTER 02 000000~245760
6REGISTER 03 000000~245760
7REGISTER 04 000000~245760
8REGISTER 05 000000~245760
9REGISTER 06 000000~245760
0REGISTER 07 000000~245760
qTEST EXEC(WITH-POSI.ADJ WITHOUT-POSI.ADJ)
7-7
Area Measurement by Binary Conversion
7-8
Area Measurement by Binary Conversion
7-9
Object Counting by Binary Conversion
[Measurement result]
- Number of objects/total area
Objects
Examples
- Inspection sequence
8-1
Object Counting by Binary Conversion
Select "MAIN-COND" -> "OBJECT TYPE COND" SELECT OBJECT TYPE COND F C1 BRT
(menu tree)-> "TYPE00" ->"MEA-CND OBJECT TYPE COND
(CAMERA1)" -> "MEAS(NEW)," in that order. TYPE00 1MEAS SELECTION
Then press the SET key to bring up the "MEAS1" TYPE RUN COND
IMAGE-ADJ
screen. 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)
8
SET=WINDOW SET ESC=BACK SEL=CHNG IMG TRG=POPUP
Move to the " MEAS SELECTION" line on the MEASUREMENT1 SCREEN COND SAVE F C1 BRT
"MEASUREMENT1" screen and select "CNT-BIN- 1MEAS SELECTION CNT-BIN-OBJ
OBJ" from the popup menu. NO
POSI-DEVIATION
CHK-DEG-MATCH
INSPECT-LEAD
MEAS-BIN-AREA
CNT-BIN-OBJ
LABEL-BIN-OBJ
POINT-MEAS
MULTI-POSI
MULTI MATCHES
Press the ESC key to return to the OBJECT TYPE COND (menu tree) screen, and select the "MEAS
CND" item shown under "MEAS01 (CNT-BIN-OBJ)" to go to the MEA-CND screen.
For details, see "Chapter 8: Setting Examples Using the Menu Tree" in the Introduction and
Hardware.
8-2
Object Counting by Binary Conversion
REGISTER EXIST
Select whether to register or not.
8-3
Object Counting by Binary Conversion
1) On the "MEA-CND" setting screen, move the MEA-CND SCREEN COND SAVE F C1 BRT
cursor to the " BIN AREA COND" and
press the SET key. The cursor will move into 1WINDOW NORMAL
IMG PRE-PROC
the table. Move the cursor to the "○" column 2REGISTER NO. 0(0∼3)
REG COND
and press the SET key. 3REGISTER EXIST YES EVALUATION
Note: If you press the SET key in the "X" NUM-CALC
OUT
column, the setting will be invalid. REGISTER NO.
4BIN AREA COND 0001020304 05 060708 09 101112131415
3) On the menu tree, move the cursor to the SELECT OBJECT TYPE COND F C1 BRT
"MEAS CND" item, and press the right arrow OBJECT TYPE COND
8 key. The sub menu which contains the "REG + TYPE00
TYPE01
1REGISTER NO.
2MEAS SHAPE
COND" item will appear. Move the cursor to TYPE RUN COND 3MEAS AREA
this item and press the SET key. IMAGE-ADJ 4THRESHOLD
MEA-CND(CAMERA1) 5INVERT B/W
MEAS0
POSI-DEVIATION
MEAS01(CNT-BIN-OBJ)
IMG PRE-PROC
MEAS CND
REG-COND
EVALUATION COND
NUM-CALC
OUT-COND
MEAS(NEW)
+ MEA-CND(CAMERA2)
FINAL NUM. CALC
FINAL OUTPUT COND
OBJ-TYPE I/O
OBJ-TYPE SYS.
1REGISTER NO
2MEAS SHAPE
3MEAS AREA
4THRESHOLD
5INVERT B/W
8-4
Object Counting by Binary Conversion
MEAS SHAPE
Specify shape of measuring range.
Specify the coordinates for the upper left and lower right corners.
RECTANGLE
The measurement area will be the area enclosed by this rectangle.
Specify the center and the radius. The measurement area will be the
CIRCLE
area enclosed by this circle.
Specify the center and the radius. The measurement area will be the
ELLIPSE
area enclosed by this ellipse.
MEAS AREA
Specify a search area.
LO.R
8
When "CIRCLE" is selected
Specify the center and the radius.
Center
Radius
THRESHOLD
Specify a threshold value.
Move the cursor to " U.LM" and press the SET key. Then move the cursor to " L.LM" and
press the SET key again. The current value will be highlighted for each item. You can increase
or decrease the value by pressing the up and down arrow keys. Press the ESC key to confirm
the value you want.
The values above can be reset to an appropriate level automatically. Move the cursor to the
upper function menu by pressing the TRG/BRT key and select "AUTO-REG." Then press the
SET key to set the levels automatically.
For details, see page 3-15.
8-5
Object Counting by Binary Conversion
INVERT B/W
Select whether to invert the display of black and white inside the measurement area.
BINARY PROCESS
Select a binary processing method. Move the cursor to "FIXED," "THRES-ADJ (VAR-DIFF)"
{adjustable threshold value (variation difference)}, or "THRES-ADJ (VAR-RATE)" {adjustable
threshold (variation rate)}, and press the SET key to continue.
For details, see page 3-12.
BOUNDARY PROCESS
Select whether objects crossing the boundary of the window will be "VALID" or "INVALID."
For details, see page 3-11.
AREA FILTER
This function is used to exclude an object from measurement if its area is outside of the upper or
lower limits. Specify a number from 0 to 245760.
8-6
Object Counting by Binary Conversion
The "EVALUAT COND"(evaluation conditions) EVALUAT COND SCREEN COND SAVE EDIT SEL F C1 BRT
screen will appear. 1REGISTER NO. 0(0~3) [TEST RESULT] [OUTPUT]
For details about the evaluation conditions, 2CONDITION SET AUTO(±10%)
see page 3-17. 3NUMBER OF OBJ 0000~3000 K= NO
4TOTAL AREA 000000~245760 A= NO
5TEST EXEC(WITH-POSI.ADJ WITHOUT-POSI.ADJ)
8-8
Object Identification by Binary Conversion
[Measurement of 6 objects]
[Measurement results]
No.1 No.2
- Object identification (labeling
No.3 and numbering), number of
objects present, total area.
Objects - Area, center of gravity, main
No.4 No.5
No.6 axis angle, fillet diameter,
Examples
circumference, and center of
each object (No.1 to No.6).
9
- Inspection sequence
9-1
Object Identification by Binary Conversion
Select "MAIN-COND" -> "OBJECT TYPE COND" SELECT OBJECT TYPE COND F C1 BRT
(menu tree)-> "TYPE00" ->"MEA-CND OBJECT TYPE COND
(CAMERA1)" -> "MEAS(NEW)," in that order. TYPE00 1MEAS SELECTION
Then press the SET key to bring up the "MEAS1" TYPE RUN COND
IMAGE-ADJ
screen. 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)
9 Move to the " MEAS SELECTION" line on the MEASUREMENT1 SCREEN COND SAVE F C1 BRT
"MEASUREMENT1" screen and select "LABEL- 1MEAS SELECTION LABEL-BIN-OBJ
BIN-OBJ" from the popup menu. NO
POSI-DEVIATION
CHK-DEG-MATCH
INSPECT-LEAD
MEAS-BIN-AREA
CNT-BIN-OBJ
LABEL-BIN-OBJ
POINT-MEAS
MULTI-POSI
MULTI MATCHES
Press the ESC key to return to the OBJECT TYPE COND (menu tree) screen, and select the "MEAS
CND" item shown under "MEAS01 (LABEL-BIN-OBJ)" to go to the "MEA-CND" screen.
For details, see "Chapter 8: Setting Examples Using the Menu Tree" in the Introduction and
Hardware.
9-2
Object Identification by Binary Conversion
REGISTER EXIST
Select whether or not to register the measurement conditions. When "YES" is selected, items
to will be displayed on the "MEA-CND" menu.
LABEL ORDER
Set the order for displaying the measured results. Select "SCAN-ORDER," "SIZE-ORDER," or
"CENT-GRVTY-ORDER" and then press the SET key.
Assigns label numbers in the order in which objects were scanned
SCAN-ORDER
(from top to bottom) in the measurement range.
Assigns label numbers by the size of the objects found in the
SIZE-ORDER
measurement range, from largest to smallest.
Assigns label numbers by the of center gravity of the objects found
CENT-GRVTY-ORDER
in the measurement range, from heaviest to lightest.
1 2
Object
identification
Binary (in order of
conversion scanning)
3 Island
Object identification 4
3 (in order of area)
2
4 Island
9-3
Object Identification by Binary Conversion
9-4
Object Identification by Binary Conversion
1) On the "MEA-CND" setting screen, move the MEA-CND SCREEN COND SAVE F C1 BRT
cursor to the " BIN AREA COND" and
1MEAS GRAV CENTER NO IMG PRE-PROC
press the SET key. The cursor will move into
2WINDOW NORMAL REG COND
the table. Move the cursor to the "○" column 3REGISTER NO. 0(0∼3) EVALUATION
and press the SET key. 4REGISTER EXIST YES
DST&ANGL
NUM-CALC
Note: If you press the SET key in the "X" 5LABEL ORDER SCAN-ORDER OUT
column, the setting will be invalid. 6AX.ANGL NO
7FILT NO
8CIRC-L NO
2) On the "MEA-CND" setting screen, press the 9MID-PNT NO
TRG/BRT key to move the cursor to the upper
function menu. Select the "COND" item and
REGISTER NO. 0001020304 05 060708 09 101112131415
then select the "REG COND" item and press
0BIN AREA COND ○ × × ×
the SET key.
3) On the menu tree, move the cursor to the SELECT OBJECT TYPE COND F C1 BRT
"MEAS CND" item, and press the right arrow OBJECT TYPE COND
key. The sub menu which contains the "REG + TYPE00 1REGISTER NO.
TYPE01
COND" item will appear. Move the cursor to TYPE RUN COND
2MEAS SHAPE
3MEAS AREA
9
this item and press the SET key. IMAGE-ADJ 4THRESHOLD
MEA-CND(CAMERA1) 5INVERT B/W
MEAS0
POSI-DEVIATION
MEAS01(LABEL-BIN-OBJ)
IMG PRE-PROC
MEAS CND
REG-COND
EVALUATION COND
NUM-CALC
OUT-COND
MEAS(NEW)
+ MEA-CND(CAMERA2)
FINAL NUM. CALC
FINAL OUTPUT COND
OBJ-TYPE I/O
OBJ-TYPE SYS.
1MEAS SHAPE
2MEAS AREA
3THRESHOLD
4INVERT B/W
9-5
Object Identification by Binary Conversion
MEAS SHAPE
Specify shape of measuring range.
Specify the coordinates for the upper left and lower right corners.
RECTANGLE
The measurement area will be the area enclosed by this rectangle.
Specify the center and the radius. The measurement area will be the
CIRCLE
area enclosed by this circle.
Specify the center and the radius. The measurement area will be the
ELLIPSE
area enclosed by this ellipse.
MEAS AREA
Specify a search area.
LO.R
THRESHOLD
Specify a threshold value.
Move the cursor to " U.LM" and press the SET key. Then move the cursor to " L.LM" and
press the SET key again. The current value will be highlighted for each item. You can increase
or decrease the value by pressing the up and down arrow keys. Press the ESC key to confirm
the value you want.
The values above can be reset to an appropriate level automatically. Move the cursor to the
upper function menu by pressing the TRG/BRT key and select "AUTO-REG". Then press the
SET key to set the levels automatically.
For details, see page 3-15.
INVERT B/W
Select whether to invert the display of black and white inside the measurement area.
MASK NO.
Select a mask number.
Note: This is available when "NORMAL" is selected on the " WINDOW" line.
MASK SHAPE
Select mask shape.
- Select "NO," "RECTANGLE," "CIRCLE," or "ELLIPSE."
- When "BINARY-IMG-MASK" is selected on the " WINDOW" line, this line will not appear,
since this is already selected on the "MASK BINARY IMG" screen.
- When "POLYGON" is selected on the " WINDOW" line, specify the polygonal shape of the
mask.
BINARY PROCESS
Select a binary processing method. Move the cursor to "FIXED," "THRES-ADJ (VAR-DIFF)"
{adjustable threshold value (variation difference)}, or "THRES-ADJ (VAR-RATE)" {adjustable
threshold (variation rate)}, and press the SET key to continue.
For details, see page 3-12.
.
BINARY NOISE FILTER
Select a binary noise filter type. Move the cursor to "NO," "EXPD. → CONTR." (expansion →
contraction), or "CONTR. → EXPD" (contraction → expansion), and press the SET key to
continue.
For details, see page 3-13.
BOUNDARY PROCESS 9
Select whether objects crossing the boundary of the window will be "VALID" or "INVALID."
For details, see page 3-11.
AREA FILTER
This function is used to exclude an object from measurement if its area is outside of the upper or
lower limits. Specify a number from 0 to 245760.
9-7
Object Identification by Binary Conversion
1) Select "COND" in the upper function menu on MEA-CND SCREEN COND SAVE F C1 BRT
the MEA-CND (or REG COND) screen and
1MEAS GRAV CENTER NO IMG PRE-PROC
press the SET key. Select "EVALUATION" on
2WINDOW NORMAL REG COND
the pop up menu to go to the EVALUAT 3REGISTER NO. EVALUATION
0(0∼3)
COND screen. 4REGISTER EXIST NO
DST&ANGL
NUM-CALC
5LABEL ORDER SCAN-ORDER OUT
6AX.ANGL NO
7FILT NO
8CIRC-L NO
9MID-PNT NO
2) Move the cursor to the "EVALUATION COND" SELECT OBJECT TYPE COND F C1 BRT
9 item on the menu tree screen and press the OBJECT TYPE COND
SET key. + TYPE00 1REGISTER NO.
TYPE01 2CONDITION SET
TYPE RUN COND 3NUMBER OF OBJ
IMAGE-ADJ 4TOTAL AREA
MEA-CND(CAMERA1) 5TEST
MEAS0
POSI-DEVIATION
MEAS01(CNT-BIN-OBJ)
IMG PRE-PROC
MEAS CND
REG-COND
EVALUATION COND
NUM-CALC
OUT-COND
MEAS(NEW)
+ MEA-CND(CAMERA2)
FINAL NUM. CALC
FINAL OUTPUT COND
OBJ-TYPE I/O
OBJ-TYPE SYS.
The "EVALUAT COND"(evaluation conditions) EVALUAT COND SCREEN COND SAVE EDIT SEL F C1 BRT
screen will appear.
1REGISTER NO. 0(0~3) [TEST RESULT] [OUTPUT]
For details about the evaluation conditions, 2CONDITION SET AUTO(±10%)
see page 3-19. 3NUMBER OF OBJ 000~128 K= NO
4TOTAL AREA 000000~245760 A= NO
5LABEL NO. 000(0~000)
6OBJECT AREA 000000~245760R= NO
MAIN AXIS ANGL B=
FILLET WIDTH FX=
FY=
PERIPHERAL CR=
MID POINT CX=
CY=
7TEST EXEC(WITH-POSI.ADJ WITHOUT-POSI.ADJ)
9-8
Object Identification by Binary Conversion
9-9
Existence Inspection by Point Measurement
Inspection of 6 points
10-1
Existence Inspection by Point Measurement
Select "MAIN-COND" -> "OBJECT TYPE COND" SELECT OBJECT TYPE COND F C1 BRT
(menu tree)-> "TYPE00" ->"MEA-CND (CAM- OBJECT TYPE COND
ERA1)" -> "MEAS(NEW)," in that order. Then TYPE00 1MEAS SELECTION
press the SET key to bring up the "MEAS1" TYPE RUN COND
IMAGE-ADJ
screen. 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)
Move to the " MEAS SELECTION" line on the MEASUREMENT1 SCREEN COND SAVE F C1 BRT
"MEASUREMENT1" screen and select "POINT- 1MEAS SELECTION POINT-MEAS
MEAS" from the popup menu. NO
10 POSI-DEVIATION
CHK-DEG-MATCH
INSPECT-LEAD
MEAS-BIN-AREA
CNT-BIN-OBJ
LABEL-BIN-OBJ
POINT-MEAS
MULTI-POSI
MULTI MATCHES
Press the ESC key to return to the "OBJECT TYPE COND" (menu tree) screen, and select the "MEAS
CND" item shown under "MEAS01 (POINT-MEAS)" to go to the "MEA-CND" screen.
For details, see "Chapter 8: Setting Examples Using the Menu Tree" in the Introduction and Hard-
ware.
10-2
Existence Inspection by Point Measurement
Select a mode on the " MODE" line. By selecting either "BINARY" or "AVG-GRAYS," the details of
the settings will vary.
When the "BINARY" mode is selected MEA-CND SCREEN COND SAVE F C1 DRK
THRESHOLD
Specify a threshold value. Select this line and press the SET key to enter the "THRESHOLD"
screen. Move the cursor to " U.LM" and " L.LM" each, then press the SET key. The current
value will be highlighted for each item. You can increase or decrease the value by pressing the
up and down arrow keys. Press the ESC key to confirm the value you want.
For details, see page 3-10.
AUTO SETTING
The values above can be reset to an appropriate level automatically. Move the cursor to the 10
upper function menu by pressing the TRG/BRT key and select "AUTO-REG". Then press the
SET key to set the levels automatically.
When the "AVG-GRAYS" mode is selected MEA-CND SCREEN COND SAVE F C1 DRK
1MODE AVG-GRAYS
AVG. GRAY PROC 2AVG.GRAY PROC FIXED FIXED
Select an average gray processing method. GRAY-ADJ(VAR-DIFF)
Select "FIXED," "GRAY-ADJ (VAR-DIFF)," GRAY-ADJ(VAR-RATE)
or "GRAY-ADJ(VAR-RATE)." 3CHNG-REG CHNG-REG
REGISTER NO. 000001002003004 005 006007
4POINT COND × × × × × × × ×
CHNG-REG
Changes the display of the registration numbers for the " POINT COND." 000001 002003004 005 006007
Move the cursor to this line and press the SET key. "CHNG-REG" will be × × × × × × × ×
highlighted. Then, press the up and down arrow keys to change the register
number series shown in the table as follows "000 to 007," "008 to 015,"
008009 010011012 013 014015
"016 to 023," ... up to "248 to 255".
× × × × × × × ×
- If the "BINARY" mode was selected, a maximum of 256 points (0 to 255)
can be registered.
- If the "AVG-GRAYS" mode was selected, a maximum of 128 points (0 to 016017 018019020 021 022023
127) can be registered. × × × × × × × ×
10-3
Existence Inspection by Point Measurement
POINT COND
Points which have been registered are marked with an "O."
- After being registered on the point condition setting screen, an "O" will be displayed in the
corresponding cells.
For details, see next page.
1) On the "MEA-CND" setting screen, move the MEA-CND SCREEN COND SAVE F C1 DRK
cursor to the " POINT COND" and press
the SET key. The cursor will move into the 1MODE BINARY IMG PRE-PROC
2BINARY PROCESS FIXED REG COND
table. Move the cursor to the "X" column and
3THRESHOLD SET [U.LM255 L.LM100(0~255)] EVALUATION
press the SET key. NUM-CALC
Note: After being registered, the "X" mark in a 4CHNG-REG CHNG-REG OUT
corresponding cell is changed to "O." REGISTER NO. 000001002003004 005 006007
5POINT COND × × × × × × × ×
2) On the "MEA-CND" setting screen, press the
TRG/BRT key to move the cursor to the
upper function menu. Select the "COND" item
and then select the "REG COND" item and
press the SET key.
10
SET=SELECT A MENU ESC=BACK SEL=CHNG IMG TRG=FUNC
3) On the menu tree, move the cursor to the SELECT OBJECT TYPE COND F C1 BRT
"MEAS CND" item, and press the right arrow OBJECT TYPE COND
key. The sub menu which contains the "REG + TYPE00 1SIZE
TYPE RUN COND 2EVALUATION
COND" item will appear. Move the cursor to IMAGE-ADJ 3EVAL-SPEC(RATIO %)
this item and press the SET key. MEA-CND(CAMERA1) 4REGISTER NO.
MEAS01(POINT-MEAS)
IMG PRE-PROC
MEAS CND
REG-COND
EVALUATION 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.
10-4
Existence Inspection by Point Measurement
EVALUATION
Set the evaluation condition. Select "MAJORITY," "AND," or "OR."
The details for the evaluation settings are as follows.
2EVALUATION Description
When white occupies more than the specified percentage of pixels in a point,
MAJORITY it is treated as white. Under any other conditions than the above it is treated
as black. The value can be set between 0 and 100%, in units of 1%.
AND When all the pixels are white, this point will be treated as white.
OR When even one pixel is white, this point will be treated as white.
EVAL-SPEC
Select the number and highlight it. Then increase or decrease the number using the up and
down arrow keys. To confirm the new value, press the SET key twice. When the changes are
complete, press the ESC key.
REGISTER NO. 10
When you want to change the number already registered, highlight the number and increase or
decrease the number by pressing the up and down arrow keys. Next, move the cursor to the
"NO" position and press the SET key. A popup menu will appear. Select "YES" on this popup
menu to store this register number.
Specify the position of the point REG COND SCREEN COND SAVE DETAIL F C1 BRT
After storing the register number using
" REGISTER NO.," a point will appear 1SIZE Y08 × X08(2~32)
2EVALUATION MAJORITY
on the screen. Move the cursor on the
3EVAL-SPEC(RATIO %) 050%
" UPPER LEFT" line and press the SET
4REGISTER NO. 000(0~255)YES
key. Then highlight the "MOVE" item and 5UPPER LEFT MOVE(224.208)
press the SET key. Now you can move
the point anywhere on the screen using
the up/down, left/right arrow keys.
10-5
Existence Inspection by Point Measurement
BLOCK ARRANGEMENT
Enter the number of points along the X
(horizontal) and Y (vertical) axes.
BLOCK SPACING
Specify the distance between the points in
the horizontal and vertical rows.
SEL=MOVE ESC=BACK SEL=CHNG IMG TRG=FUNC
10-6
Existence Inspection by Point Measurement
1) Select "COND" in the upper function menu on MEA-CND SCREEN COND SAVE F C1 DRK
the MEA-CND (or REG COND) screen and
press the SET key. Select "EVALUATION" on 1MODE BINARY IMG PRE-PROC
2BINARY PROCESS FIXED RED COND
the pop up menu to go to the EVALUAT
3THRESHOLD SET [U.LM255 L.LM100(0~255)] EVALUATION
COND screen. NUM-CALC
4CHNG-REG CHNG-REG OUT
REGISTER NO. 000001002003004 005 006007
5POINT COND × × × × × × × ×
2) Move the cursor to the "EVALUATION SELECT OBJECT TYPE COND F C1 BRT
COND" item on the menu tree screen and OBJECT TYPE COND
+ TYPE00 1PAGE CHNG
press the SET key. TYPE01 2P001
TYPE RUN COND 3P002
IMAGE-ADJ
MEA-CND(CAMERA1)
4P003
5P004
10
MEAS0 6P005
POSI-CORRECT 7P006
MEAS01(POINT-MEAS) 8P007
IMG PRE-PROC 9P008
MEAS CND 0TEST
REG-COND
EVALUATION COND
NUM-CALC
OUT-COND
MEAS(NEW)
+ MEA-CND(CAMERA2)
FINAL NUM. CALC
FINAL OUTPUT COND
OBJ-TYPE I/O
OBJ-TYPE SYS.
10-7
Existence Inspection by Point Measurement
10-8
Existence Inspection by Point Measurement
OK
MEAS XXXXms
MEASUREMENT 1 POINT-MEAS 10
P000=115 OK
P001=120 OK
P002=114 OK
P003=118 OK
P004=116 OK
P005=115 OK
P006=
P007=
10-9
Multiple Positional Measurement
Applica- Measure the position of workpieces with a complicated light level that cannot be converted
tion into binary images.
● Gray search
Reference image
Four workpieces
detected
[Measurement results]
- Number of images detected
- Coordinates and degree of match detected for each image
● Edge detection
11
Example
[Measurement results]
- Number of images detected
- Coordinates detected
L1 L2 L3
This is useful for obtaining the distance between the coordinates of a position.
- L1 to L3 can be calculated by measuring distances and angles.
11-1
Multiple Positional Measurement
Select "MAIN-COND" -> "OBJECT TYPE COND" SELECT OBJECT TYPE COND F C1 BRT
(menu tree)-> "TYPE00" ->"MEA-CND OBJECT TYPE COND
(CAMERA1)" -> "MEAS(NEW)," in that order. TYPE00 1MEAS SELECTION
Then press the SET key to bring up the "MEAS1" TYPE RUN COND
IMAGE-ADJ
screen. 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)
Move to the " MEAS SELECTION" line on the MEASUREMENT1 SCREEN COND SAVE F C1 BRT
"MEASUREMENT1" screen and select "MULTI- 1MEAS SELECTION MULTI-POSI
POSI" from the popup menu. NO
POSI-DEVIATION
CHK-DEG-MATCH
INSPECT-LEAD
MEAS-BIN-AREA
11 CNT-BIN-OBJ
LABEL-BIN-OBJ
POINT-MEAS
MULTI-POSI
MULTI MATCHES
Press the ESC key to return to the "OBJECT TYPE COND" (menu tree) screen, and select the
"MEAS CND" item shown under "MEAS01 (MULTI-POSI)" to go to the "MEAS CND" screen.
For details, see "Chapter 8: Setting Examples Using the Menu Tree" in the Introduction and
Hardware.
11-2
Multiple Positional Measurement
11-3
Multiple Positional Measurement
1) On the "MEAS CND" setting screen, move the MEAS CND SCREEN COND SAVE F C1 DRK
cursor to " DTECT OBJECT" and press the
1DTECT PRECISION STANDARD
SET key. The cursor will move into the table. 2REGISTER NO. 0(0~3)
Move the cursor to the "S" or "E" column and 3MODE GRAY-SRC
press the SET key. 4DETECT ORDER SCAN-ORDER
3) On the menu tree, move the cursor to the SELECT OBJECT TYPE COND F C1 DRK
"MEAS CND" item, and press the right arrow OBJECT TYPE COND
11 key. The sub menu which contains the "REG- TYPE00 1REGISTER NO.
COND(S)" and "REG-COND(E)" items will TYPE RUN COND
appear. Move the cursor to either of these IMAGE-ADJ
items and press the SET key. MEA-CND(CAMERA1)
MEAS0
POSI-CORRECT
About "REG-COND(S)" MEAS01(MULTI-POSI)
IMG PRE-PROC
See pages 11-5 to 7. MEAS CND
REG-COND(S)
About "REG-COND(E)" REG-COND(E)
EVALUATION COND
See pages 11-7 to 9. + DISTANCE&ANGLE COND
NUM-CALC
OUT-COND
MEAS(NEW)
+ MEA-CND(CAMERA2)
FINAL NUM. CALC
FINAL OUTPUT COND
OBJ-TYPE I/O
OBJ TYPE SYS.
11-4
Multiple Positional Measurement
Object to measure
Search area
Search direct
Set the coordinates for " UP.L" and " LO.R." RECTANGLE RESET RETURN F C1 BRT
The rectangle inside the solid lines is the
1UP.L (224.208)
reference image. 2LO.R (287.271)
3MOVE
4REFERENCE IMG
11
X:224 Y:208
X:224 Y:208
11-5
Multiple Positional Measurement
SEARCH ARE
Specify the search area (inside the dotted lines) on the " SEARCH AREA (MDL0)" line, using the
same procedures used for setting the reference image area.
■An example
Object to measure
11
Search area
DTECT COORD (detection coordinates) REG COND SCREEN COND SAVE DETAIL F C1 BRT
Select whether to use the detection coordinates
1REGISTER NO. 0(0∼3)
as the center of the reference area or to allow 2REFERENCE IMG 015(000~026)
the point to be set freely. 3REF-IMG AREA SET (224.208)∼(287.271)
4SEARCH AREA SET (216.200)∼(295.279)
5DTECT COORD CENTER (234.219) CENTER
CONTR.PIXEL (contraction pixels) 6CONTR.PIXEL 3 SET
7MATCH LVL(CONTR) +05000
1: Search the image in units of 2 pixels. 8MATCH LVL +07000
2: Search the image in units of 4 pixels.
3: Search the image in units of 8 pixels.
11-6
Multiple Positional Measurement
MEAS SHAPE
Select a measurement shape. REG COND SCREEN COND SAVE F C1 BRT
11-7
Multiple Positional Measurement
SEARCH AREA
Select " SEARCH AREA" and press the SET key to go to the setting screen.
DTECT MODE
Select an image processing method for the
edges.
CHNG POINT
DRK → BRT X:224 Y:208
BRT → DRK See page 3-14. SET=MOVE ESC=BACK SEL=CHNG IMG TRG=FUNC
CENT (BRT)
CENT (DRK)
SEARCH DIRECT
Specify a search direction. The direction for searching varies with each detection shape.
11-8
Multiple Positional Measurement
Light level
Density difference
A B
Automatic setting
Select "AUTO-REG" from the upper function COORD
menu on the THRESHOLD setting screen. The
controller will set the optimum value
SET=CHNG ESC=BACK SEL=CHNG IMG TRG=FUNC
automatically.
Example of register
Shown below is an example detected with " MEAS SHAPE" set to "LINE," and " DETECT
MODE" set to "CHNG POINT."
11
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 MEAS CND SCREEN COND SAVE F C1 BRT
the "MEAS COND (or REG COND)" screen 1DTECT PRECISION STANDARD
and press the SET key. Select "EVALUATION" 2REGISTER NO. 0(0∼3)
on the pop up menu to go to the "EVALUAT 3MODE GRAY-SRC
4DTECT ORDER SCAN-ORDER
COND" screen.
REGISTER NO. 0001020304 05 060708 09101112131415
5DTECT OBJECT S
IMG PRE-PROC
REG-COND(S)
REG-COND(E)
EVALUATION
DST&ANGL
NUM-CALC
OUT
11-9
Multiple Positional Measurement
2) Move the cursor to the "EVALUATION COND" SELECT OBJECT TYPE COND F C1 DRK
item on the Menu tree screen and press the OBJECT TYPE COND
SET key. TYPE00 1REGISTER NO.
TYPE RUN COND 2CONDITION SET
IMAGE-ADJ 3NUMBER OF OBJ
4DTECT NUMBER
MEA-CND(CAMERA1)
5MATCH LVL
MEASO
6TEST
POSI-CORRECT
MEAS01(MULTI-POSI)
IMG PRE-PROC
MEAS CND
REG-COND(S)
REG-COND(E)
EVALUATION COND
+ DISTANCE&ANGLE COND
NUM-CALC
OUT-COND
MEAS(NEW)
+ MEA-CND(CAMERA2)
FINAL NUM. CALC
FINAL OUTPUT COND
OBJ-TYPE I/O
OBJ TYPE SYS.
- When "GRAY-SRC" is selected on line " EVALUAT COND SCREEN COND SAVE EDIT SEL F C1 BRT
MODE." 1REGISTER NO. 0(0~3) [TEST RESULT] [OUTPUT]
2CONDITION SET AUTO(–10%)
3NUMBER OF OBJ 000~128 K= NO
4DTECT NUMBER 000~(0~000)
5MATCH LVL -10000~+1000 M0= NO
X COORD. X0=
Y COORD. Y0=
6TEST EXEC(WITH-POSI.ADJ WITHOUT-POSI.ADJ)
11
- When "EDGE DTECT" is selected on line " EVALUAT COND SCREEN COND SAVE EDIT SEL F C1 BRT
MODE." 1REGISTER NO. 0(0~3) [TEST RESULT] [OUTPUT]
2CONDITION SET AUTO(–10%)
3NUMBER OF OBJ 000~128 K= NO
4DTECT NUMBER 000~(0~000)
X COORD. X0=
Y COORD. Y0=
5TEST EXEC(WITH-POSI.ADJ WITHOUT-POSI.ADJ)
11-10
Multiple Positional Measurement
* 1 The detection order can be set to either "SCAN-ORDER " or "MATCH LVL" on item "4DETECT
ORDER" on the "MEAS CND" screen. - See page 11-3.
* 2 The inspection number corresponds to the image of the solid line.
11-11
Multiple Degree of Match Inspection
Applica- Inspect (or count) workpieces that have complicated light level and cannot be converted
tion into binary images.
Reference image
[Measurement results]
- Number of images detected
- Degree of match, density (average/absolute difference), and detected coordinates
12
12-1
Multiple Degree of Match Inspection
Select "MAIN-COND" -> "OBJECT TYPE COND" SELECT OBJECT TYPE COND F C1 BRT
(menu tree)-> "TYPE00" ->"MEA-CND OBJECT TYPE COND
(CAMERA1)" -> "MEAS(NEW)," in that order. TYPE00 1MEAS SELECTION
Then press the SET key to bring up the "MEAS1" TYPE RUN COND
IMAGE-ADJ
screen. 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)
Move to the " MEAS SELECTION" line on the MEASUREMENT1 SCREEN COND SAVE F C1 BRT
"MEASUREMENT1" screen and select "MULTI 1MEAS SELECTION MULTI MATCHES
MATCHES" from the popup menu. NO
POSI-DEVIATION
CHK-DEG-MATCH
INSPECT-LEAD
MEAS-BIN-AREA
CNT-BIN-OBJ
LABEL-BIN-OBJ
POINT-MEAS
MULTI-POSI
12 MULTI MATCHES
Press the ESC key to return to the "OBJECT TYPE COND" (menu tree) screen, and select the "MEAS
CND" item shown under "MEAS01 (MULTI MATCHES)" to go to the "MEAS CND" screen.
For details, see "Chapter 8: Setting Examples Using the Menu Tree" in the Introduction and
Hardware.
12-2
Multiple Degree of Match Inspection
MATCHING
Select a density for comparison when inspecting the image. The details are as follows.
Description
Average
Obtain average light level of the image in the area detected using the gray search.
light level
Calculate the difference of the absolute values from the image detected using the
Difference gray search and the reference image. The result is light level difference. By
absolute obtaining this value, you can get an idea of the total change in light level.
value Total light level difference = Σ(Ni — Nt)
Ni : Light level of the captured image (contraction 3)
Nt : Light level of the reference image (contraction 3)
DETECT ORDER
Select "SCAN-ORDER" or "MATCH LVL" on the " DETECT ORDER" line.
12
SCAN-ORDER (in the order scanned): Searches in the order scanned.
MATCH LVL (degree of match): Searches by comparing levels with the reference image.
DTECT OBJECT
"S" will be displayed for the objects to be detected.
00 01 02 03
S × × ×
12-3
Multiple Degree of Match Inspection
1) On the "MEAS CND" setting screen, move MEAS CND SCREEN COND SAVE F C1 DRK
the cursor to the " DETECT OBJECT" and IMG PRE-PROC
press the SET key. The cursor will move into 1DTECT PRECISION STANDARD
2REGISTER NO. 0(0~3) REG-COND
the table. Move the cursor to the "S" column 3MODE NO EVALUATION
and press the SET key. 4MATCHING AVG-GRAYS DST&ANGL
Note: If you press the SET key in the "X" 5DETECT ORDER SCAN-ORDER NUM-CALC
column, the setting will be invalid. OUT
3) On the menu tree, move the cursor to the SELECT OBJECT TYPE COND F C1 BRT
"MEAS CND" item, and press the right arrow OBJECT TYPE COND
key. The sub menu which contains the "REG + TYPE00 1REGISTER NO.
TYPE RUN COND
COND" item will appear. Move the cursor to IMAGE-ADJ
this item and press the SET key. MEA-CND(CAMERA1)
MEAS0
POSI-CORRECT
MEAS01(MULTI MATCHES)
IMG PRE-PROC
MEAS CND
REG-COND
12 EVALUATION COND
+ DISTANCE&ANGLE COND
NUM-CALC
OUT-COND
MEAS(NEW)
+ MEA-CND(CAMERA2)
FINAL NUM. CALC
FINAL OUTPUT COND
OBJ-TYPE I/O
OBJ-TYPE SYS.
12-4
Multiple Degree of Match Inspection
Set the coordinates for " UP.L" and " RECTANGLE RESET RETURN F C1 BRT
LO.R." The rectangle inside the solid lines is MDL 0
the reference image. 1UP.L (224.208)
2LO.R (287.271)
3MOVE
4REFERENCE IMG
X:224 Y:208
X:224 Y:208
12
SET=DECISION ESC=BACK SEL=CHNG IMG TRG=FUNC
12-5
Multiple Degree of Match Inspection
SEARCH AREA
Specify the search area (inside the dotted lines) on the " SEARCH AREA" line, using the same
procedures used for setting the reference image area.
■An example
Object to measure
Search area
DTECT COORD (detection coordinates) REG COND SCREEN COND SAVE DETAIL F C1 BRT
Select whether to use the detection
coordinates as the center of the reference 1REGISTER NO. 0(0∼3)
2REFERENCE IMG 015(000~026)
area or to allow the point to be set freely. 3REF-IMG AREA SET (224.208)∼(287.271)
4SEARCH AREA SET (216.200)∼(295.279)
5DTECT COORD CENTER (223.241) CENTER
CENTER: The center of the rectangular area 6CONTR.PIXEL 3 SET
will automatically be used for the 7MATCH LVL(CONTR) +05000
detection coordinates. 8MATCH LVL +07000
MATCH LVL
Specify a degree of match used for detection in the original images of the contracted images that
were detected in the search at line " MATCH LVL" (detects original images which are larger
than the specified value).
12-6
Multiple Degree of Match Inspection
1) Select "COND" in the upper function menu on MEAS CND SCREEN COND SAVE F C1 BRT
the "MEAS COND (or REG COND)" screen IMG PRE-PROC
and press the SET key. Select 1DTECT PRECISION STANDARD
2REGISTER NO. 0(0~3) REG-COND
"EVALUATION" on the pop up menu to go to 3MODE YES EVALUATION
the "EVALUAT COND" screen. 4MATCHING AVG-GRAYS DST&ANGL
5DETECT ORDER SCAN-ORDER NUM-CALC
OUT
2) Move the cursor to the "EVALUATION COND" SELECT OBJECT TYPE COND F C1 BRT
item on the menu tree screen and press the OBJECT TYPE COND
SET key. + TYPE00 1REGISTER NO.
TYPE RUN COND 2CONDITION SET
IMAGE-ADJ 3NUMBER OF OBJ
MEA-CND(CAMERA1) 4DTECT NUMBER
MEAS0 5MATCH LVL
POSI-CORRECT 6GRAY LVL
MEAS01(MULTI MATCHES) 7TEST
IMG PRE-PROC
MEAS CND
REG-COND
EVALUATION COND
+ DISTANCE&ANGLE COND
NUM-CALC 12
OUT-COND
MEAS(NEW)
+ MEA-CND(CAMERA2)
FINAL NUM. CALC
FINAL OUTPUT COND
OBJ-TYPE I/O
OBJ-TYPE SYS.
The "EVALUAT COND"(evaluation conditions) EVALUAT COND SCREEN COND SAVE EDIT SEL F C1 BRT
screen will appear. 1REGISTER NO. 0(0~3) [TEST RESULT] [OUTPUT]
For details about the evaluation conditions, 2CONDITION SET AUTO(–10%)
see page 3-17. 3NUMBER OF OBJ 000~128 K= NO
4DTECT NUMBER 000~(0~000)
5MATCH LVL -10000~+1000 M0= NO
6GRAY LVL 000.0~255.0 G0= NO
X COORD. X0=
Y COORD. Y0=
7TEST EXEC(WITH-POSI.ADJ WITHOUT-POSI.ADJ)
12-7
Multiple Degree of Match Inspection
12-8
Distance and Angle Measurement
The distance and angle of the centers of the detected points can be measured using
the center detection function and the edge detection function in a gray scale search
and the center of gravity detection function, which is a part of the labeling process.
Purpose - This function can measure the following distances and angles: distance between two
points, X coordinate distance, Y coordinate distance, the angle between three points,
the horizontal angle of two points, and the vertical angle of two points.
- The following points and lines can be set: center point, circle center point, gravity
center, point where two straight lines cross, line passing through two points.
Applications Measurement for installed electronic components
[Measuring an IC package]
Reference image a
Search area
(reference image b)
Examples Search area
(reference
image a)
Reference image b
Reference images a and b are recorded when the crosshair cursor is placed on
the edge of the IC package.
- Measuring sequence
1 Obtain the center points of images a and b by running a 2 point gray scale
search.
2 Determine the distance between the two center points. 13
- For details about measuring the distance between two points, X coordinate distance, and Y
coordinate distance manually, see the MANL-MEAS (manual measurement) section (page 2-13) for
the crosshair cursor display.
13-1
Distance and Angle Measurement
Move to the " MEAS SELECTION" line on the MEASUREMENT1 SCREEN COND SAVE F C1 DRK
"MEASUREMENT1" screen and select any of 1MEAS SELECTION CHK-DEG-MATCH NO
"POSI-DEVIATION," "CHK-DEG-MATCH," POSI-DEVIATION
"LABEL-BIN-OBJ," "MULTI-POSI," or "MULTI CHK-DEG-MATCH
INSPECT-LEAD
MATCHES" from the popup menu. MEAS-BIN-AREA
For details, see "Chapter 8: Setting Examples CNT-BIN-OBJ
LABEL-BIN-OBJ
Using the Menu Tree" in the Introduction and POINT-MEAS
Hardware. MULTI-POSI
MULTI MATCHES
13
13-2
Distance and Angle Measurement
1) On the "MEASUREMENT 1", "MEAS CND", or MEASUREMENT 1 SCREEN COND SAVE F C1 BRT
"REG COND" screen, press the TRG/BRG
key to move the cursor to the upper function 1MEAS SELECTION POSI-DEVEATION
IMG PRE-PROC
menu. Select "COND' using the left and right MEAS
keys and press the SET key. Select EVALUATION
"DST&ANGL" from the popup menu. DST&ANGL
NUM-CALC
OUT
2) On the SELECT OBJECT TYPE COND SELECT OBJECT TYPE COND F C1 BRT
screen, select "TYPE00" -> "MEA- OBJECT TYPE COND
CND(CAMERA1)" -> "MEAS01(POSI- TYPE00
DEVIATION)" -> "DISTANCE&ANGLE TYPE RUN COND
IMAGE-ADJ
COND," in that order. MEA-CND(CAMERA1)
MEAS0
POSI-CORRECT
MEAS01(POSI-DEVIATION)
IMG PRE-PROC
+ MEAS CND
EVALUATION COND
+ DISTANCE&ANGLE COND
NUM-CALC
OUT-COND
Setting the distance and angle conditions DIST&AGL COND SCREEN COND SAVE F C1 BRT
13-3
Distance and Angle Measurement
(1) When "AUX" is selected. DIST&AGL COND SCREEN COND SAVE F C1 BRT
1OBJ AUX NO
AUXILIARY NO. 2AUXILIARY NO. 01(0~15) MID-PNT
Enter a register number. The register numbers 3AUXILIARY CIRC-C CIRC-C
available are 0 to 15. 4COND.1 REG NO MDL 0 GRAV
5COND.2 REG NO MDL 0 LINE-2P
6COND.3 REG NO MDL 0 INTERSECTN
+ Slope ( )
In this system, the X [TEST RESULT] [OUTPUT]
480
13-4
Distance and Angle Measurement
A B
A: Enter a register number from one of the measurement programs already registered.
B: Select a model: 0 or 1.
RUN A TEST
Press the SET key to execute a test.
13
13-5
Distance and Angle Measurement
The distance
The distance between X
between X
coordinates (|X2-X1|)
coordinates
COND. 1 COND. 2
Specify conditions for the distance that were selected in the " DISTANCE" item.
DISTANCE EVALUAT
Specify judgment conditions for distance.
[TEST RESULT]: When executing a test from the " RUN A TEST" line the result will be
displayed here.
[OUTPUT]: Specify a destination for the output of test results: "NO," "Y," or "C."
RUN A TEST
Press the SET key to execute a test.
13-6
Distance and Angle Measurement
clockwise direction.
When a 2-point horizontal angle is
specified, relative to the horizontal
line, the line from point 2 that Point 2
ANGL EVALUATION
Specify judgment conditions for angle.
[TEST RESULT]: When executing a test from the " RUN A TEST" line the result will be
displayed here.
[OUTPUT]: Specify a destination for the output of test results: "NO," "Y," or "C."
RUN A TEST
Press the SET key to execute a test.
13-7
Distance and Angle Measurement
13-8
Numerical Calculations
1) Select "MAIN COND" -> "OBJECT TYPE SELECT OBJECT TYPE COND F C1 DRK
COND" (menu tree) -> "TYPE00" -> "MEA- OBJECT TYPE COND
CND (CAMERA1)" -> "MEAS(NEW)," in that TYPE00 1MEAS SELECTION
order. On the " MEAS SELECTION" line, TYPE RUN COND
IMAGE-ADJ
select any of the measurement programs. MEA-CND(CAMERA1)
Note: When " MEAS SELECTION" is left set MEAS0
POSI-CORRECT
to "NO," you cannot specify a numerical MEAS(NEW)
calculation function. ++ MEA-CND(CAMERA2)
FINAL NUM. CALC
FINAL OUTPUT COND
OBJ-TYPE I/0
OBJ-TYPE SYS.
TYPE(NEW)
On either the MEAS CND, or REG-COND When the position deviation measurement is
screen, press the TRG/BRT key to move the selected
cursor to the upper function menu. Select MEASUREMENT1 SCREEN COND SAVE F C1 DRK
"COND" and then from the popup menu, select 1MEAS SELECTION POSI-DEVIATION IMG PRE-PROC
the "NUM-CALC" item. MEAS
EVALUATION
Note: The items shown in the popup menu will DST&ANGL
vary with the measurement program NUM-CALC
OUT
selected.
2) Open the sub menu for "MEAS0" or "MEAS1" SELECT OBJECT TYPE COND F C1 BRT
on the menu tree, and select "NUM-CALC." OBJECT TYPE COND
TYPE00 N00
Then press the SET key.
TYPE RUN COND
IMAGE-ADJ N01
MEA-CND(CAMERA1) 14
MEAS0(POSI-DEVIATION) N02
IMG PRE-PROC
+ MEAS CND N03
EVALUATION COND
+ DISTANCE&ANGLE COND N04
NUM-CALC
OUT-COND N05
POSI-CORRECT
MEAS(NEW) N06
+ MEA-CND(CAMERA2)
FINAL NUM.CALC N07
FINAL OUTPUT COND
OBJ-TYPE I/O
OBJ-TYPE SYS.
Note
- Numeric calculation errors (deviation from the exact value) after digitizing the image
Since the IV-S30J` uses 64-bit, floating-point arithmetic operations in its calculations, small
quantization errors may occur when converting the images into numbers.
14-1
Numerical Calculations
Setting details
The setting details and procedures for numerical calculations are the same for all measurement
programs with the exception of the point measurement program. In this section we explain the use of
the numerical calculations menu [NUMERIC CALC] for positional measurements.
"CHG-CALC"
Move the cursor to the "CHG-CALC" item. - [NUMERIC CALC] screen on positional deviation
Each time you press the SET key the display measurement
in the left most column will alternate between NUMERIC CALC SCREEN COND SAVE F C1 BRT
"AN00 to AN07" and "AN08 to AN15." [N00-N07]
C F E D
CHG-CALC
1RUN A TEST (SET KEY)
RUN A TEST TYPE FORMULA
Pressing the SET key will store the setting N00 C +0000002.0000
details as well as run a test
The numerical results of the tests will be N01 X 0X0*N00 Y0
+0000400.0000∼+0000410.0000 +0000406.0000 OK
displayed at position [F] and the OK or NG
N02
judgment will be displayed at position [E]. A
N03 CRD-X B
A: TYPE CRD-Y OBJECT TYPE
Select the type of data being calculated. N04 DEV-x CALC RESULT
The details displayed for each measuring DEV-y CNST
N05 MATCH M SUM
program.
ANGL-B AVG
See page 14-5 to 14-8. N06
NUM-CAL[NC] CBP
CNST[C] CBM
N07
NO DEL
SET=EXEC ESC=BACK SEL=CHNG IMG TRG=FUNC
B: FORMULA
Select the formula to apply. Select formula using the left and right arrow keys and enter
numerical values using the up and down arrow keys.
The details displayed for "FORMULA" will depend on the "TYPE" selected.
Item selections Selection on line
CRD-X, CRD-Y, DEV-x, DEV-y, OBJECT TYPE, CALC RESULT, CNST, SUM, AVG, CBP,
MATCH M, ANGL B CBM, DEL
NUM-CAL [NC] ABS, SQRT, TAN, ATAN, MAX, MIN, DEL
For details about the items that can be selected with other measurement programs, see
pages 14-5 to 14-8.
C: UPR&LOW LIMIT
14 Enter the upper and lower limits for making a judgment.
D: OUTPUT
Setting the output of the calculation results. Select an output target: "NO," "Y," or "C."
The output can be set to Y0 to Y7 or C000 to C107.
- The number of styles may be set as follows, depending on the selections made in items A and
B.
OBJECT TYPE Model 0 Model 1
CRD [X Y] 00X0 to 07X0 / 00Y0 to 07Y0 00X1 to 07X1 / 00Y1 to 07Y1
DEV [x y] 0x0 to 7x0 / 0y0 to 7y0 0x1 to 7x1 / 0y1 to 7y1 Corresponds to
page 14-4.
MATCH [M] 00M0 to 07M0 00M1 to 07M1
ANGL [B] 0B to 7B
ABS / SQRT / TAN / ATAN (00 to 14) These are the
NUM-CAL [NC] same as for the
MAX/MIN (00 to 14)
other
CNST [C] -9999999.9999 to +9999999.9999 measurement
The numbers from 00 to 07 in front of the characters are registration programs.
14-2
Numerical Calculations
Enter the upper and lower limits UPR & LOW LIMIT
Not done
All recording is finished
Done
Previous menu "RETURN"
Output error
An error will be output if there are too many digits as well as if there is an attempt to divide by zero.
Order of calculation
The calculation results are produced in order, from N00 to N15.
Measurement program
Input types Symbol Positional deviation Degree of mat ch
Lead inspection
measur ement inspection
Model 0: 0M0 to 7M0 Model 0: 00M0 to 15M0
Degree of match M
Model 1: 0M1 to 7M1 Model 1: 00M1 to 15M1
Coodinate X
Model 0: 0X0 to 7X0
Model 1: 0X1 to 7X1
Model 0: 00X0 to 15X0
Model 1: 00X1 to 15X1
14
Model 0: 0Y0 to 7Y0 Model 0: 00Y0 to 15Y0
Coodinate Y
Model 1: 0Y1 to 7Y1 Model 1: 00Y1 to 15Y1
Model 0: 0x0 to 7x0
Deviation x
Model 1: 0x1 to 7x1
Model 0: 0y0 to 7y0
Deviation y
Model 1: 0y1 to 7y1
Model 0: 0B0 to 7B0
Angle B
Model 1: 0B1 to 7B1
Model 0: 00G0 to 15G0
Light level G
Model 1: 00G1 to 15G1
Number of objects K 00K to 31K
MAX: MXD 00MXD to 15MXD
Distance
MIN: MND 00MND to 15MND
MAX: MXW 00MXW to 15MXW
Lead width
MIN: MNW 00MNW to 15MNW
14-3
Numerical Calculations
Measurement program
Input types Symbol BGA/CSP Area measurement by binary Counting quantities
inspection conversion by binary conversion
Number of masks= 1: 00A to 15A
Total area A 0A to 3A Number of masks= 2: 0A to 7A 0A to 3A
Number of masks= 4: 0A to 3A
Number of objects K 0K to 3K 0K to 3K
MAX: MXR 0MXR to 3MXR
Area of each label
MIN: MNR 0MNR to 3MNR
Distance between MAX: XDX 0XDX to 3XDX
gravity centers X MIN: NDX 0NDX to 3NDX
Distance between MAX: XDY 0XDY to 3XDY
gravity centers Y MIN: NDY 0NDY to 3NDY
MAX: XFX 0XFX to 3XFX
Fellet diameter X
MIN: NFX 0NFX to 3NFX
MAX: XFY 0XFY to 3XFY
Fellet diameter Y
MIN: NFY 0NFY to 3NFY
Numerical
calculation result N N0 to N15 N0 to N15 N0 to N15
Measurement program
Input types Symbol Label measurement by
Point measur ement
binary conversion
Total area A 0A to 3A
Number of objects K 0K to 3K
14 Counting white
WC (Count all the objects registered)
objects
Number of (Corresponds to the whole number
RC
registers of registers)
Numerical N N0 to N15 N0 to N15
calculation results
14-4
Numerical Calculations
N06
14-5
Numerical Calculations
N04
N05
N06
N07
14
14-6
Numerical Calculations
[N00-N07] [N00-N07]
CHG-CALC CHG-CALC
1RUN A TEST (SET KEY) 1RUN A TEST (SET KEY)
N03
CNST[C] +0000000,000
N05
14-7
Numerical Calculations
N05
N06
N07
14
14-8
Numerical Calculations
How to display the final numerical calculation SELECT OBJECT TYPE COND F C2 BRT
screen. OBJECT TYPE COND AN00
Open the sub menu for "TYPExx" on the menu tree TYPE00
and select "FINAL NUM. CALC." Then press the TYPE RUN COND AN01
SET key. IMAGE-ADJ
+ MEA-CND(CAMERA1) AN02
+ MEA-CND(CAMERA2)
AN03
FINAL NUM.CALC
FINAL OUTPUT COND
AN04
OBJ-TYPE I/O
OBJ-TYPE SYS.
AN05
TYPE(NEW)
AN06
AN07
AN01 AN 0X0*N00 Y0
+0000400.0000∼+0000410.0000 +0000406.0000 OK
AN02
A
B
AN03 MEAS-CAL-RESULT[N]
A-CAL-RESULT[AN] OBJECT TYPE
AN04 NUM-CAL[NC] CNST
CNST[C] SUM
AN05 NO AVG
CBP
AN06
CBM 14
DEL
AN07
14-9
Numerical Calculations
"CHG-CALC"
Move the cursor to the "CHG-CALC" item. Each time you press the SET key the display in the
left most column will alternate between "AN00 to AN07" and "AN08 to AN15."
RUN A TEST
Pressing the SET key will store the setting details as well as run a test
The numerical results of the tests will be displayed at position [F] and the OK or NG judgment
will be displayed at position [E].
A: TYPE
Select the type of data being calculated.
B: FORMULA
A number of style settings are used. The style type is selected using the left and right keys and
the numerical values are entered using the up and down keys.
The details displayed for "FORMULA" will depend on the "TYPE" selected.
Selected of type Formula
MEAS-CAL-RESULT[N] OBJECT TYPE, CNST, SUM, AVG, CBP,
A-CAL-RESULT[AN] CBM, DEL
NUM-CAL[NC] ABS, SQRT, TAN, ATAN, MAX, MIN, DEL
CNST[C] +0000000,000 (second line is not displayed)
Note: When "SUM" (total) or "AVG" (average) is selected for calculating the results, specify the
range from 0 to 15.
C: UPR&LOW LIMIT
Enter the upper and lower limits for making a judgment
D: OUTPUT
Setting the output of the calculation results.
Based on the settings at items "TYPE" and "FORMULA," the number of styles may be entered
as follows.
OBJECT TYPE Number of styles
01N00 to 01N15 (Calculation result for measurement 0, camera 1: N00 to 15)
02N00 to 02N15 (Calculation result for measurement 0, camera 2: N00 to 15)
MEAS-CAL-RESULT [N]
10N00 to 10N15 (Calculation result for measurement 1: N00 to 15)
(Results of the calculations
20N00 to 20N15 (Calculation result for measurement 2: N00 to 15)
for measurements)
30N00 to 30N15 (Calculation result for measurement 3: N00 to 15)
14 40N00 to 40N15 (Calculation result for measurement 4: N00 to 15)
A-CAL-RESULT [AN]
(Results of final calculations) AN00 to AN15
NUM-CAL [NC] ABS / SQRT / TAN / ATAN (00 to 15)
(Numerical calculations) MAX/MIN (00 to 15)
CNST [C] (Constant) -9999999.99 to +9999999.99
14-10
Numerical Calculations
N06
"01X0" is referring to the X coordinate of
register number 01 (image 1) and model 0. N07
14-11
Numerical Calculations
Press the SET key, the cursor will move to the right. Press the SET key again and a popup
menu will appear. Select the "-" and press the SET key.
- The cursor will appear to the right of the "-." Press the SET key and a popup menu will appear.
Select a "TYPE" and press the SET key.
00X0 will be displayed in the formula field.
N00 X 01X0−00X0
+0000000.00∼+0000000.00
00x0 refers to the X coordinate of the detection point in model 0, stored in register NO.00 (image
0).
3. Move the cursor to the 2nd line using the up and down arrow keys and set the upper limit value
using the left and right arrow keys. Then press the SET key. Then select a digit to change using
the left and right arrow keys. Repeat this procedure to set the value to +160.0000 and then press
the SET key.
+0000000.0000~+0000160.0000
Upper limit
Move the cursor to the lower limit using the left and right keys, and press the SET key. Select a
digit using the left and right keys Enter the number +140.00 using the up and down keys, and
press the SET key.
+0000140.0000~+0000160.0000
Lower limit
+0000140.0000 to +0000160.0000 will be displayed in the lower and upper limit fields.
4. Move the cursor to the "N01" line and the "TYPE" column using the up/down keys.
- As described in steps 2 to 3, enter 01Y0 to 00Y0 in the formula field, and inter +0000090.0000
to +0000095.0000 in the upper and lower limit fields.
N00 X 01X0−00X0
+0000140.00∼+0000160.00
N01 Y 01Y0−00Y0
+0000090.00∼+0000095.00
5. Move the cursor to the " RUN A TEST" item using the up and down keys, and press the SET
key.
Press the SET key once more. Then the settings will be stored, and the test will be executed.
The evaluation result (OK/NG) of the calculations will be displayed.
N00 X 01X0−00X0
+0000140.00∼+0000160.00 +0000147.00 OK
N01 Y 01Y0−00Y0
+0000090.00∼+0000095.00 +0000091.00 OK
14
OK: When the test result based on the calculations is within the specified range
NG: When the test result based on the calculations is outside of the specified range
14-12
Numerical Calculations
1. On the "MEA CND" setting screen, press the MEA CND SCREEN COND SAVE F C1 DRK
TRG/BRT key to move the cursor to the upper
function menu. Select the "COND" item and 1DTECT PRECISION STANDARD
2REGISTER NO. 00(0~15) IMG PRE-PROC
then select the "OUT" item and press the SET REG COND
3MODE 1P-SCH
key. 4SEARCH EVALUATION
YES
DST&ANGL
5MATCHING AVG-GRAYS
NUM-CALC
OUT
REGISTER NO. 0001020304 05 060708 09 101112131415
6MDL 0 S ×××××××××××××××
7MDL 1 ××××××××××××××××
2. Select the "INPUT00" line and row 0. Then OUTPUT COND SCREEN SAVE F C1 BRT
press the SET key. Select "NUM-CAL[NC]"
Column No.
from the popup menu and press the SET key.
0 1 2 3 4 5 6 7 OUT
INPUT00
LOGIC
INPUT01 MATCH M
LOGIC CRD-X
INPUT02 CRD-Y
LOGIC LVL G
INPUT03 NUM-CAL[NC]
3. Move the cursor to the "LOGIC" line on the DEL
LOGIC AUX.RLY-C
same row and press the SET key. Select " " INPUT04
from the popup menu and press the SET key. LOGIC
INPUT05
The logical condition will be displayed in the left most column of the LOGIC row under INPUT 0.
[PAGE0] 0 1 2 3 4 5 6 7 OUTPUT
INPUT0 N00
LOGIC
- N00 refers to the N00 calculation result, that was entered on the "NUMERIC CALC" screen.
4. Select the "INPUT00" line and row 1. Then press the SET key. Set "NUM-CAL[NC]" using the
same procedures as in Steps 2 and 3 above. Since "N00" will appear first, press the SET key
and change "N00" to "N01," using the up/down/left/right arrow keys.
[PAGE0] 0 1 2 3 4 5 6 7 OUTPUT
INPUT0 N00 N01
LOGIC
5. Move the cursor to the "OUT" row using the left and right arrow keys, and press the SET key. 14
Select "AUX-RLY" from the popup menu and press the SET key.
6. A list of auxiliary relays will be displayed. Select "C000" using the up and down arrow keys and
press the SET key.
AUX-RLY Use place
The output coil for INPUT 0 will be displayed.
[PAGE0] 0 1 2 3 4 5 6 7 OUTPUT C000 MEAS1/OUTPUT COND
C000 C001 NO
INPUT0 N00 N01
C002 NO
LOGIC C003 NO
C004 NO
7. Press the ESC key to move to the "MEA-CND" setting screen. C005 NO
C006 NO
C007 NO
14-13
Numerical Calculations
2. Move the cursor to "INPUT00" and row 0, and OUTPUT COND SCREEN SAVE F C1 BRT
press the SET key. Select "AUX. RLY-C."
from the popup menu and press the SET key.
0 1 2 3 4 5 6 7 OUT
INPUT00
LOGIC
INPUT01 AUX.RLY-C OUTPUT Y
LOGIC EXT-INP X AUX.RLY-C
INPUT02 TMR TM TMR TM
LOGIC CNTR CN CNTR CN
INPUT03 DEL
AN
LOGIC
OUTPUT Y
INPUT04
LOGIC
INPUT05
LOGIC
INPUT06
LOGIC
INPUT07
LOGIC
The following logical symbol will be displayed in the left most column of INPUT 0.
[PAGE0] 0 1 2 3 4 5 6 7 OUTPUT
INPUT0 C000
LOGIC
3. Move the cursor to the "OUT" row using the left and right arrow keys, and press the SET key.
14 Select "OUTPUT Y" from the popup menu and press the SET key.
4. Now, a list of the Y outputs will be displayed. Select "Y0" using the up and down arrow keys, and
press the SET key.
The output coil for INPUT 0 will be displayed.
[PAGE0] 0 1 2 3 4 5 6 7 OUTPUT Y OUTPUT Use place
INPUT0 C000 Y00
Y0 FINAL OUTPUT COND
LOGIC Y1 NO
Y2 NO
5. Press the TRG/BRT key to move the cursor to the upper function Y3 NO
menu. Then select "SCREEN" and press the SET key. Select "OPS- Y4 NO
MENU" from the popup menu and press the SET key. Y5 NO
Select the operation screen. Y6 NO
Y7 NO
14-14
Numerical Calculations
(TYPE00) F C1 BRT
V*.**
OK
MEAS XXXXms
MEASUREMENT 1 CHK-DEG-MATCH
REGISTER N00(0~15)
M0=+09735 OK
X0= 090.0 OK
Y0= 092.0 OK
G0= 018.0 OK
If the difference in the X and Y coordinates is within the range set on the numeric
calculation menu, Y0 will be turned ON, and a filled box will be displayed. If the
difference is not within the range, Y0 will be turned OFF, and an empty box will be
displayed.
N00 N01 C000
Output conditions - If the result is within the range,
N00 and N01 will be turned ON
Y00
(OK), the auxiliary relay C000
C000
will be turned ON, and output
Final output conditions Y00 will be turned ON.
14
14-15
PC Function
Input refresh
Output refresh
C000
15-1
PC Function
Notes
- 128 auxiliary relays, C000 to C127, can be set. However, identical auxiliary relay numbers
cannot be used for measurement 0 using camera 1, and measurement 0 using camera 2, or
for measurement 1, measurement 2, measurement 3 and measurement 4.
- The auxiliary relays C110 to C127 are special relays. The special relays are used on the PC
scan cycle ladder circuit. Do not use them for the measurement processing cycle ladder
circuit.
15-2
PC Function
15
15-3
PC Function
(2) How to specify the input conditions for ladder circuit diagrams
1. While "CHANGE INPUT" is selected, each OUTPUT COND SCREEN SAVE F C1 BRT
press of the SET key will change the display in INPUT00-07
CHANGE INPUT Column No. 0 to 7
the left most row. The display will cycle
through the following choices: "INPUT00 to 0 1 2 3 4 5 6 7 OUT
INPUT00 00M0
INPUT07," "INPUT08 to INPUT15," and LOGIC
"INPUT16 to INPUT19." When the input group INPUT01
LOGIC
you want is displayed, press the down arrow MATCH M
INPUT02 Row No.
key to move the cursor to the ladder circuit LOGIC CRD-X
display section. INPUT03 CRD-Y Ladder circuit
LOGIC DEV-x display area
INPUT04
2. Move the cursor to a line number (INPUTxx) LOGIC
DEV-y
and a row using the up/down/left/right arrow ANGL-B
INPUT05
NUM-CAL[NC]
keys, and press the SET key. Select a type to LOGIC
INPUT06 AUX.RLY-C
input from the popup menu.
LOGIC
The input types for each measurement INPUT07 This display varies with each
program are shown on pages 16-6 to 16-7. LOGIC measurement program.
- Page 16-9 to 16-10.
Note: "00M0" means the following:
SET=SELECT TYPE SEC=BACK SEL=CHNG IMG TRG=FUNC
MATCH M0 (0~1)
00M0
- CRD-X (0~1)
- CRD-Y (0~1)
- DEV-x0 (0~1)
- DEV-y0 (0~1)
- ANGL-B0 (0~1)
- NUM-CAL[NC]00 (0~15)
- AUX.RLY-C000 (0~127)
3. After selecting an input type, press the SET OUTPUT COND SCREEN SAVE F C1 BRT
key and move the cursor to a logic line. INPUT00-07
CHANGE INPUT
0 1 2 3 4 5 6 7 OUT
INPUT00 00M0
LOGIC
INPUT01
LOGIC
INPUT02
LOGIC
INPUT03
15 LOGIC
INPUT04
LOGIC
INPUT05
LOGIC DEL
INPUT06
LOGIC
INPUT07
LOGIC
15-4
PC Function
4. Press the SET key and select a logic symbol from the popup menu.
Logic symbol Function
a contact on a series circuit (ON, when the evaluation result is OK)
(3) How to specify the output conditions for ladder circuit diagrams
Move the cursor to the "OUT" row for the desired OUTPUT COND SCREEN SAVE F C1 BRT
line number and press the SET key. Press the
INPUT00-07
SET key while the cursor is on "AUX-RLY" and CHANGE INPUT
select the auxiliary relays you want to use from 0 1 2 3 4 5 6 7 OUT
the table that is displayed. INPUT00 00M0
LOGIC
Note: Only the lines which have a specified input INPUT01
AUX-RLY
signal can be selected for output. LOGIC
AUX-RLY Use place
INPUT02
LOGIC
Creation example: C000 NO
INPUT03
0 1 2 3 4 5 6 7 OUT C001 NO
LOGIC
INPUT00 00M0 C000 C002 NO
INPUT04
LOGIC C003 NO
LOGIC
INPUT05 C004 NO
LOGIC C005 NO
INPUT06 C006 NO
LOGIC C007 NO
INPUT07
Creation example:
0 1 2 3 4 5 6 7 OUT
INPUT0 00M0 C001 C000
LOGIC
INPUT1 0X0
LOGIC
INPUT2 N01 N02 C001
15
LOGIC
INPUT3 N03 N04
LOGIC
Note: Output relays cannot be used in series on a ladder circuit. Change circuit a to circuit b.
Circuit a Circuit b
15-5
PC Function
Angle B 0B to 7B
Measurement program
Kind of input Symbol
Symbol Area measurement Object counting Object
by binary conversion by binary identification by
conversion binary conversion
Number of masks=1: 00A to 15A
Total area A Number of masks=2: 0A to 7A 0A to 3A 0A to 3A
Number of masks=4: 0A to 3A
Number of objects K 0K to 3K 0K to 3K
15 Area of each 0R000 to 0R127
label R …3R000 to 3R127
Fillet diameter X FX
Fillet diameter Y FY
Distance between
gravity centers X DX
Distance between
gravity centers Y DY
Numerical
calculation results N N0 to N15 N0 to N15 N0 to N15
Auxiliary relay C C000 to C127
15-6
PC Function
Measurement program
Kind of input Symbol
Multiple positions measurement Multiple degree of match inspections
Number of objects K 0K to 3K 0K to 3K
Numerical calculation results N N0 to N15 N0 to N15
Auxiliary relay C C000 to C127
15
15-7
PC Function
15-8
PC Function
INPUT00-07 INPUT00-07
CHANGE INPUT CHANGE INPUT
0 1 2 3 4 5 6 7 OUT 0 1 2 3 4 5 6 7 OUT
INPUT00 INPUT00
LOGIC MATCH M LOGIC OBJ-K
INPUT01 CRD-X INPUT01 DST-D
LOGIC CRD-Y LOGIC LEAD WIDTH W
INPUT02 LVL G INPUT02 LEAD LENGTH L
LOGIC NUM-CAL[NC] LOGIC NUM-CAL[NC]
INPUT03 INPUT03
AUX.RLY-C AUX.RLY-C
LOGIC LOGIC
INPUT04 INPUT04
LOGIC LOGIC
INPUT05 INPUT05
LOGIC LOGIC
INPUT06 INPUT06
LOGIC LOGIC
INPUT07 INPUT07
LOGIC LOGIC
SET=SELECT TYPE SEC=BACK SEL=CHNG IMG TRG=FUNC SET=SELECT TYPE SEC=BACK SEL=CHNG IMG TRG=FUNC
INPUT00-07
CHANGE INPUT
0 1 2 3 4 5 6 7 OUT
INPUT00
LOGIC TOTAL-AREA-A
INPUT01 NUM-CAL[NC]
LOGIC AUX.RLY-C
INPUT02
LOGIC
INPUT03
LOGIC
INPUT04
LOGIC
INPUT05
LOGIC
INPUT06
LOGIC
INPUT07
LOGIC 15
SET=SELECT TYPE SEC=BACK SEL=CHNG IMG TRG=FUNC
15-9
PC Function
(5) Object counting by binary conversion (6) Object identification by binary conversion
OUTPUT COND SCREEN SAVE F C1 BRT OUTPUT COND SCREEN SAVE F C1 BRT
INPUT00-07 INPUT00-07
CHANGE INPUT CHANGE INPUT
0 1 2 3 4 5 6 7 OUT 0 1 2 3 4 5 6 7 OUT
INPUT00 INPUT00
LOGIC TOTAL-AREA-A LOGIC TOTAL-AREA-A
INPUT01 OBJ-K INPUT01 OBJ-K
LOGIC NUM-CAL[NC] LOGIC OBJECT-AREA-R
INPUT02 AUX.RLY-C INPUT02 NUM-CAL[NC]
LOGIC LOGIC AUX.RLY-C
INPUT03 INPUT03
LOGIC LOGIC
INPUT04 INPUT04
LOGIC LOGIC
INPUT05 INPUT05
LOGIC LOGIC
INPUT06 INPUT06
LOGIC LOGIC
INPUT07 INPUT07
LOGIC LOGIC
SET=SELECT TYPE SEC=BACK SEL=CHNG IMG TRG=FUNC SET=SELECT TYPE SEC=BACK SEL=CHNG IMG TRG=FUNC
INPUT00-07 INPUT00-07
CHANGE INPUT CHANGE INPUT
0 1 2 3 4 5 6 7 OUT 0 1 2 3 4 5 6 7 OUT
INPUT00 INPUT00
LOGIC BIN-PNT-P LOGIC AVG-GRAY G
INPUT01 NUM-CAL[NC] INPUT01 NUM-CAL[NC]
LOGIC AUX.RLY-C LOGIC AUX.RLY-C
INPUT02 INPUT02
LOGIC LOGIC
INPUT03 INPUT03
LOGIC LOGIC
INPUT04 INPUT04
(8) Multiple positional measurement (9) Multiple degree of match inspections
OUTPUT COND SCREEN SAVE F C1 BRT OUTPUT COND SCREEN SAVE F C1 BRT
INPUT00-07 INPUT00-07
CHANGE INPUT CHANGE INPUT
0 1 2 3 4 5 6 7 OUT 0 1 2 3 4 5 6 7 OUT
INPUT00 INPUT00
LOGIC OBJ-K LOGIC OBJ-K
INPUT01 NUM-CAL[NC] INPUT01 NUM-CAL[NC]
LOGIC AUX.RLY-C LOGIC AUX.RLY-C
INPUT02 INPUT02
LOGIC LOGIC
15 INPUT03 INPUT03
LOGIC LOGIC
INPUT00-07
CHANGE INPUT
0 1 2 3 4 5 6 7 OUT
INPUT00
LOGIC AUX-H
INPUT01 DST-D
LOGIC ANGL-B
INPUT02 NUM-CAL[NC]
LOGIC AUX.RLY-C
INPUT03
LOGIC
INPUT04
LOGIC
INPUT05
LOGIC
15-10
PC Function
[3] Procedure for creating the final output conditions in a ladder circuit
This section describes the ladder circuit creation procedures for each object type number.
2. The "OUTPUT COND" screen will appear. OUTPUT COND SCREEN SAVE F C1 BRT
INPUT00-07
CHANGE INPUT
0 1 2 3 4 5 6 7 OUT
INPUT00
LOGIC
INPUT01
LOGIC
INPUT02
LOGIC
INPUT03
LOGIC
INPUT04
LOGIC
INPUT05
LOGIC
INPUT06
LOGIC
INPUT07
LOGIC
15
15-11
PC Function
(2) How to specify the input conditions for ladder circuit diagrams
1. While "CHANGE INPUT" is selected, each OUTPUT COND SCREEN SAVE F C1 BRT
press of the SET key will change the display in INPUT00-07
the left most row. The display will cycle CHANGE INPUT Column No. 0 to 7
3. After selecting an input type, press the SET OUTPUT COND SCREEN SAVE F C1 BRT
key and move the cursor to a logic line. INPUT00-07
CHANGE INPUT
4. Press the SET key and select a logic symbol 0 1 2 3 4 5 6 7 OUT
INPUT00 00M0
from the popup menu. LOGIC
INPUT01
LOGIC
INPUT02
LOGIC
INPUT03
LOGIC
INPUT04
LOGIC
INPUT05
LOGIC DEL
INPUT06
LOGIC
INPUT07
LOGIC
15-12
PC Function
(3) How to specify the output conditions for ladder circuit diagrams
Move the cursor to "OUT" and press the SET key. Select a target for the output signals from the
popup menu. Detail of the registration table that will appear varies, depending on the target selected
for output.
When "OUTPUT Y" is selected When "AUX.RLY-C" is selected
OUTPUT COND SCREEN SAVE F C1 BRT OUTPUT COND SCREEN SAVE F C1 BRT
INPUT00-07 INPUT00-07
CHANGE INPUT CHANGE INPUT
0 1 2 3 4 5 6 7 OUT 0 1 2 3 4 5 6 7 OUT
INPUT00 00M0 INPUT00 00M0
LOGIC LOGIC OUTPUT Y
INPUT01 OUTPUT Y INPUT01
AUX-RLY-C
LOGIC AUX-RLY-C LOGIC Y OUTPUT Use place
AUX-RLY Use place TMR TM
INPUT02 TMR TM INPUT02
LOGIC CNTR CN
LOGIC Y0 NO CNTR CN C000 NO
INPUT03 DEL
INPUT03 Y1 NO DEL C001 NO
LOGIC LOGIC
Y2 NO C002 NO
INPUT04 INPUT04
Y3 NO C003 NO
LOGIC LOGIC
Y4 NO C004 NO
INPUT05 INPUT05
Y5 NO LOGIC C005 NO
LOGIC
Y6 NO INPUT06 C006 NO
INPUT06
Y7 NO LOGIC C007 NO
LOGIC
INPUT07 INPUT07
LOGIC LOGIC
SET=SELECT OUTPUT RELAY SEC=BACK SEL=CHNG IMG TRG=FUNC SET=SELECT OUTPUT RELAY SEC=BACK SEL=CHNG IMG TRG=FUNC
INPUT00-07 INPUT00-07
CHANGE INPUT CHANGE INPUT
0 1 2 3 4 5 6 7 OUT 0 1 2 3 4 5 6 7 OUT
INPUT00 00M0 INPUT00 00M0
LOGIC OUTPUT Y LOGIC OUTPUT Y
INPUT01 INPUT01
AUX-RLY-C AUX-RLY-C
LOGIC TM TIME REG Use place LOGIC TM TIME REG Use place
TMR TM TMR TM
INPUT02 INPUT02
LOGIC CNTR CN CNTR CN
TM0 NO LOGIC CN0 NO
INPUT03 DEL INPUT03 DEL
TM1 NO CN1 NO
LOGIC LOGIC
TM2 NO CN2 NO
INPUT04 INPUT04
TM3 NO CN3 NO
LOGIC LOGIC
TM4 NO CN4 NO
INPUT05 INPUT05
LOGIC TM5 NO CN5 NO
LOGIC
INPUT06 TM6 NO CN6 NO
INPUT06
LOGIC TM7 NO LOGIC CN7 NO
INPUT07 INPUT07
LOGIC LOGIC
SET=SELECT OUTPUT RELAY SEC=BACK SEL=CHNG IMG TRG=FUNC SET=SELECT OUTPUT RELAY SEC=BACK SEL=CHNG IMG TRG=FUNC
15
Creation example:
0 1 2 3 4 5 6 7 OUT
INPUT00 00M0 C000
LOGIC
15-13
PC Function
Kind of Data
output memory Function
signal No.
External Y0 to Y7 Output to the parallel I/F, general purpose serial I/F and computer link.
output
instructions Y8 to Y15 Output to the general purpose serial I/F or computer link
A timer terminal will be turned ON for a set amount of time (set value
000 to 999, unit 10 ms) after the timer instruction is input.
(Decrementing type)
When the timer instruction input is turned OFF, the timer terminal will
be turned OFF.
[Ex.] C001 TM0 Timer instruction
Timer 0250 Timer set value
TM0 to TM7 (2.5 sec.)
instructions TM0 Y00
Output instruction
(external output)
Timer terminal
TM0
[Y00]
While the counter reset relay is OFF, if a counter instruction input is
cycled from OFF to ON, the number of times you set (set value 000
to 999), the counter terminal will be turned ON. (Decrementing type)
When the counter reset relay is turned ON, the counter terminal is
turned OFF.
Create a circuit to turn the counter reset relay ON and OFF on the
row following a row that containing a counter instruction.
[Ex.]
C002 CN0 Counter instruction
Counter 0003 Counter set value
instructions CN0 to CN7 X5 C120
Resetting the CN0
CN0 Y01
Output instruction
(external output)
Counter terminal
X5
[C120]
C002 1 2 3 4 5
CN0
[Y01]
Deletion The output relay on the row where the cursor is located will be deleted.
- See page 16-8 for details about the auxiliary relays C000 to C127.
15
15-14
PC Function
Create a ladder circuit for the page numbers registered in step (1), repeating the operations in
steps (2) and (3).
0 1 2 3 4 5 6 7 OUT
INPUT0 C000 C001 Y00
LOGIC
INPUT1 X0
LOGIC
INPUT2 C001 X1 TM0
LOGIC 0150
INPUT3 TM0 Y01
LOGIC
Note: Output relays cannot be used in series on a ladder circuit. Change circuit a to
circuit b.
Circuit a Circuit b
15
15-15
PC Function
Object to be measured
+ Reference image
registration window
Search area
+
+
(2) Output conditions and ladder circuit for measurement 0 using camera 1
When the X coordinate, Y coordinate and degree of match are within acceptable ranges, the
auxiliary relay C000 is turned ON.
00X0 00Y0 00M0 C000
OK
Coordi- Coordi- Degree
nate X nate Y of match
15-16
PC Function
READY
External output
(Y00)
(2) Circuit for controlling the ON time of the external output using the timer
C119 TM0
0010 10ms×10=100ms
Measurement
termination
C119 C000 TM0 Y00
NG output
OK
READY
100ms
External output
(Y00)
(3) An example of a circuit that can output a signal when the IV-S30 is operating normally.
C110 Y00
Output while operation is normal
Normally OFF
Y00
The system will restart automatically
if it detects a system error.
15-17
PC Function
Menu bar
The other data displayed is the same as on the operation screen. See page 1-10.
15
15-18
Setting the Input/Output Conditions
When you want to select the " PARALLEL I/O CONDITION SCREEN COND SAVE F C1 BRT
+SERIAL" on the "MEAS INP I/F" line.
1MEAS INP I/F PARALLEL+SERIAL NO
PC-LINK
MEAS INP I/F 2OUT I/F(PARAL.) NO
NO
SERIAL
Select "PARALLEL+SERIAL" for the 3MANL TYPE CHNG NO
YES
interface, in order to allow an external device 4PARALLEL INP X5 EXT-INP EXT-INP
to provide trigger signals for the IV-S30J. REG REF
5PARALLEL INP X6 EXT-INP COMRARE-IMGS
6STROBE OUT NO AREA EVAL CORECT
7’READY’ON CAPTURE COMPLETE
EXT-INP
NO
CHNG-IMG-OUT-CAM
Y0 CAM-MEAS
CAPTURE COMPLETE
Y1 2 IMAGES
MEAS-COMPLETE
Y2
Y3
Y4
Y5
Y6
Y7 16
SET=SELECT A MENU ESC=BACK SEL=CHNG IMG TRG=FUNC
16-1
Setting the Input/Output Conditions
OUT I/F(PARAL.)
Select a signal output interface, in order to output the measured results externally. The choices
are: "NO," "PC-LINK" or "SERIAL."
NO No connection. (No output.)
PC-LINK Connect to the parallel input on a programmable controller.
SERIAL Connect to a standard serial port.
PARALLEL INP X5
Select the type of input terminal (INPUT) X5.
External input: The PC function uses the terminal as an external input
EXT-INP
signal. -See Chapter 15.
When X5 is turned from OFF to ON, and gray search is selected, the
reference image will be registered in the SDRAM. When edge
detection is selected, the reference coordinates will also be registered.
- To store the reference image in flash memory
Select the SAVE key on any sub menu or use a general purpose
serial command.
- Available measurement programs (gray scale search) Positional
REG REF deviation measurement, the degree of match
inspection, multiple positions measurement, multiple degree of match
inspections for register No. 0, model 0
- Applicable measurement program (edge detection) Positional
deviation measurement
- If a reference image has not been specified, an "UNABLE
REGISTER REF.IMG" (X5 reference image register error (code3E))
will occur.
On the operation screen, when parallel input X5 is turned ON, the
COMPARE-IMGS controller will transfer a previously registered reference image into its
flash memory for use in performing calculations that compare images.
Total area evaluation correction
- When X5 is ON, the upper and lower limits for the total area
AREA EVAL CORECT evaluation conditions will be corrected automatically.
- Measurement programs: Area measurement, object counting, and
object identification by binary conversion
16
16-2
Setting the Input/Output Conditions
PARALLEL INP X6
Select the type of input terminal (INPUT) X6.
Input/output condition Setting details
The PC function uses the terminal as an external input signal.
EXT-INP
- See Chapter 15.
- Every time X6 is switched from OFF to ON, the selected camera will
change. - page 2-4.
CHNG-IMG-OUT-CAM - When the object type measurement condition is "CAMERA 1" only.
"CAMERA 2" only, you are not allowed to change the camera used for
output.
- On starting a measurement, if X6 is OFF "CAMERA 1" will execute the
CAM-MEAS
measurement, and if X6 is ON Camera 2 will execute the measurement.
- Before starting a measurement, you must set the following parameters.
- MEASURE 0 CAMERA 1 conditions
Measurement execution: = Gray scale search conditions
- MEASURE 1 CAMERA 2 conditions
= Area conditions (dummy)
Image selection: Camera 1 and 2 are through modes.
- When "2 IMAGES (overlap)" is selected, overlap processing will be
executed according to the following timing.
Note: Even if "2 IMAGES (overlap)" has not been selected, and regardless
of which mode Camera 1 and Camera 2 are in, when a trigger (X0:
2 IMAGES Manual trigger) is received, the measurement will be executed.
Overlap input X6
STROBE OUT
When the strobe output setting is specified as "Y*" and the shutter is opened, the output (Y*)
will be turned ON. When the shutter is closed, the output will be turned OFF.
Y*= Y0 to Y7
Note: When you want to use the strobe output, specify a shutter speed between 1/30 and
1/250 seconds.
Shutter Minimum 4 ms
(1/250 sec.) 16
Strobe output
(Y*) Maximum
2 ms
'READY'ON
Set the time to turn ON the READY output signal.
(When the measurement start input source is set to parallel, the object type change signal will
also be parallel, and results will be output as parallel signals.)
When the controller stops capturing the image, the READY
At the end of an image capture
signal turns ON.
When the controller stops measuring, the READY signal turns
At the end of a measurement
ON.
16-3
Setting the Input/Output Conditions
When you want to select the "TRIG CCD START" on the "MEAS INP I/F" line.
The display details and items offered for selection on line will depend on the selections made on
the " START CCD SAMPL" line.
When "AUTO(EDGE or LEVEL)" is selected I/O CONDITION SCREEN COND SAVE F C1 BRT
NO
EXT-INP EXT-INP
Y0
CHNG-IMG-OUT-CAM REG REF
Y1 CAM-MEAS COMRARE-IMGS
Y2 2 IMAGES AREA EVAL CORECT
Y3
Y4
Y5
Y6
Y7
NO
EXT-INP EXT-INP
Y0 REG REF
CHNG-IMG-OUT-CAM
Y1 CAM-MEAS COMRARE-IMGS
Y2 2 IMAGES AREA EVAL CORECT
Y3
Y4
Y5
Y6
Y7
NO
Y0 EXT-INP EXT-INP
CHNG-IMG-OUT-CAM REG REF
Y1
CAM-MEAS COMRARE-IMGS
Y2 2 IMAGES AREA EVAL CORECT
Y3
Y4
Y5
Y6
Y7
The details of the individual items on the "I/O CONDITION" menu are the same as described on
pages 16-1 to 16-3.
16-4
Setting the Input/Output Conditions
The time required to change object types is calculated differently according to the type of
measurement start input I/O, as follows:
16
16-5
Setting the Input/Output Conditions
(1) Measurement start input = parallel, object type change = parallel, result output = parallel
Controller
Power supply
POWER
OUTPUT
(24 V DC)
- The conditions for outputting the results to the output signals Y0 to Y7 are set by the PC function. (See
"Chapter 15 PC Function.")
■ Time chart
10 ms
or more
Measurement
start input
(X0)
10 ms 10 ms
or more or more
Type selection
input
READY output
When you set the READY Image
ON signal to "CAPTURE End of the measurement
Image capture disposition
COMPLETE."
- See page 16-3.
Note: When the READY signal is turned ON, the measurement start input will be enabled. To detect the
end of the measurement, you have to create a ladder circuit pointing at the Y output for auxiliary
relay C119 (end of the measurement).
C119 Y00
16-6
Setting the Input/Output Conditions
(2) Measurement start input = parallel, object type change = parallel, result output = computer
Iink/parallel
■ Setting order 1 (→ 2) ■ Configuration example
[I/O CONDITIONS] Camera 1 (image capturing)
PARALLEL+SERIAL
1MEAS INP I/F TRIG CCD START Camera 2 (image capturing)
Monitor
2OUT I/F(PARAL.) NO
PC-LINK Remote keypad Data
SERIAL (Computer link)
Controller
POWER
OUTPUT
Power supply
INPUT
- The data in a specified block No., set in item " SET SERIAL BLOCK" on the "OBJ-TYPE I/O"
screen, will be output through the computer link. See page 16-23.
■ Time chart 10 ms
or more
Measurement
start input
(X0) 10 ms 10 ms
or more or more
Type selection
input
See page
16-5.
Specified object type number Specified object type number
READY output
(While measuring or setting = L)
a READY signal is turned ON at the
conclusion of the result output.
Terminate
measurement
(C119)
Measurement result is valid at the end
of a measurement
Result Result
Computer link output output output
When a Sharp PC is used, a write enable command (EWR) is transmitted from the IV-S30J to the
PC in the following cases.
- When the power is applied to the IV-S30J.
- When a write mode nonconformity error (code 10(H)) occurs after a result write command (WRG)
is transmitted (when the power is disconnected from the PC).
- When the output method is changed from the "OUT I/F (PARAL.)" to the "COMPUTER LINK."
16-7
Setting the Input/Output Conditions
(3) Measurement start input = parallel, object type change = parallel, result output = general
purpose serial/parallel
■ Setting order 1 (→ 2) ■ Configuration example
[I/O CONDITIONS] Camera 1 (image capturing)
1MEAS INP I/F PARALLEL+SERIAL
TRIG CCD START Camera 2 (image capturing)
Monitor
2OUT I/F(PARAL.) NO
Personal computer
PC-LINK
SERIAL Data
Controller
POWER
OUTPUT
- The data in a block No., set in item " SET SERIAL BLOCK" on the "OBJ-TYPE I/O" screen, will
be output from the IV-S30J to the personal computer. See page 16-23.
Time chart
10 ms
or more
Measurement
start input
(X0) 10 ms 10 ms
or more or more
Type selection
input
See page
16-5.
Specified object type number Specified object type number
READY output
(While measuring or setting = L)
a READY signal is turned ON at the
conclusion of the result output.
Terminate
measurement
(C119)
Measurement result is valid at the end
of a measurement
Result Result
Serial output output output
Note - Result output: The data to be sent to the personal computer will be response of
general-purpose serial command (code 11(H)).
16-8
Setting the Input/Output Conditions
(4) Measurement start input = general-purpose serial, object type change = general-purpose
serial, result output = general-purpose serial/parallel
Personal computer
Command, response
Monitor
Controller
POWER
OUTPUT
- See Chapter 17: Communications (General Purpose Serial Interface for details about the
measurement execution commands (codes 10,11,12 and 14(H)).
■ Time chart
5 ms
or less
Result Result
Serial output output
Measurement READY signal is Measurement
trigger turned ON at the trigger
command conclusion of the command
result output.
READY output
(While measuring or setting = L)
Terminate
measurement
(C119)
Measurement result is
valid at the end of a
measurement
P P P P P P Halt PC operation P P P P P P P P P P P P Halt PC operation P P P P P
PC calculation C C C C C C during measurement C C C C C C C C C C C C during measurement C C C C C
condition
When the object type is changed, Parallel output is valid for PC
all Y output and auxiliary relays turn OFF. control after the measurement
result is determined.
Parallel output
(Y0 to Y7) Result output Result output
16
16-9
Setting the Input/Output Conditions
(5) Measurement start input = CCD trigger, start sampling = parallel, object type change =
parallel, result output = parallel
■ Setting order 1 → 2 (→ 3) ■ Configuration example
Camera 1 (image capturing + CCD trigger)
1MEAS INP I/F PARALLEL+SERIAL
TRIG CCD START
Camera 2 (image capturing) Monitor
Controller
POWER
Power supply
OUTPUT
3OUT I/F(PARAL.)
IV-S3*M 0V READY COM Y7 Y6 Y5 Y4 Y3 Y2 Y1 Y0
COM +24V X7 X6 X5 X4 X3 X2 X1 X0
NO
INPUT
(24 VDC)
PC-LINK Start sampling input
SERIAL Warning lamp X0
(photo sensor or
External output proximity sensor)
(Y0 to Y7)
Type selection switch
-See page 16-5.
Note 1: When the settings listed in section "16-3 CCD trigger" have not been made, a "CCD TRIG NOT
SET. (error 34)" will occur.
Note 2: Start sampling input (X0)
1. Sampling will be performed while this terminal is ON. When it is turned OFF, the sampling
will stop.
During sampling, O will flash in the upper right corner of the operation screen.
2. After the measurement is terminated, the sampling will be restarted when the X0 terminal
is changed from OFF to ON.
■ Time chart
Measurement
start input
(X0) Start accd sampling by turning ON
measurement start input (X0). Halt CCD
sampling by
CCD trigger turning OFF
cycle measurement
start input
(X0).
Type selection
input
See page Specified object type number
16-5.
16-10
Setting the Input/Output Conditions
(6) Measurement start input = CCD trigger, start sampling = parallel, object type change =
parallel, result output = computer link/parallel
When the start sampling input (X0) is turned ON, the CCD trigger is enabled. (Sampling starts)
■ Setting order 1 → 2 (→ 3) ■ Configuration example
1MEAS INP I/F Camera 1 (image capturing + CCD trigger)
PARALLEL+SERIAL
TRIG CCD START
Camera 2 (image capturing)
Monitor
2START CCD SAMPL AUTO(EDGE)
AUTO(LEVEL) Remote keypad Data
PARALLEL (Computer link)
SERIAL
REMOTE RS232C/RS422 CAMERA2 CAMERA1 VIDEO
Controller
USB
X5
Y5
X4
Y4
X3
Y3
X2
Y2
X1
Y1
X0
Y0
INPUT
Note 1: When the settings listed in section "16-3 CCD trigger" have not been made, a "CCD TRIG
NOT SET. (error 34)" will occur.
Note 2: Start sampling input (X0)
1. Sampling will be performed while this input terminal is ON. When it is turned OFF, the
sampling will stop. During sampling, O will flash in the upper right corner of the operation
screen.
2. After the measurement is terminated, the sampling will be restarted when the X0 terminal
is changed from OFF to ON.
■ Time chart
Measurement
start input
(X0) Halt CCD
Start CCD sampling by turning ON sampling by
measurement start input (X0). turning OFF
measurement
CCD trigger start input
(X0).
cycle
Type selection
input Specified object type number
See page
16-5. Result Result
output output
Computer link
Terminate
measurement 16
(C119)
Measurement result is valid at the
end of a measurement
When a Sharp PC is used, a write enable command (EWR) is transmitted from the IV-S30J to the
PC in the following cases.
- When the power is applied to the IV-S30J.
- When a write mode nonconformity error (code 10(H)) occurs after a result write command (WRG)
is transmitted (when the power is disconnected from the PC).
- When the output method is changed from the "OUT I/F (PARAL.)" to the "COMPUTER LINK."
16-11
Setting the Input/Output Conditions
(7) Measurement start input = CCD trigger, start sampling = parallel, object type change =
parallel, result output = general purpose serial/parallel
When the start sampling input (X0) is turned ON, the CCD trigger is enabled. (Sampling starts)
■ Setting order 1 → 2 (→ 3) ■ Configuration example
1MEAS INP I/F Camera 1 (image capturing + CCD trigger)
PARALLEL+SERIAL
TRIG CCD START
Camera 2 (image capturing)
Monitor
2START CCD SAMPL AUTO(EDGE) Personal
AUTO(LEVEL) computer Object type change,
PARALLEL data
SERIAL
REMOTE RS232C/RS422 CAMERA2 CAMERA1 VIDEO
USB
Controller
3OUT I/F(PARAL.) NO POWER
X5
Y5
X4
Y4
X3
Y3
X2
Y2
X1
Y1
X0
Y0
INPUT
Note 1: When the settings listed in section "16-3 CCD trigger" have not been made, a "CCD TRIG
NOT SET. (error 34)" will occur.
Note 2: Start sampling input (X0)
1. Sampling will be performed while this input terminal is ON. When it is turned OFF, the
sampling will stop.
During sampling, O will flash in the upper right corner of the operation screen.
2. After the measurement is terminated, sampling will be restarted when the X0
terminal is changed from OFF to ON.
■ Time chart
Measurement
start input
(X0)
Start CCD sampling by turning ON Halt CCD
measurement start input . sampling by
turning OFF
CCD trigger measurement
cycle start input
(X0).
Terminate
measurement
(C119)
Measurement result is valid at the
end of a measurement
Note: Result output: The data in the block No., set in item " SET SERIAL BLOCK" on the "OBJ-
TYPE I/O" screen, will be transmitted to the personal computer. See page 16-23.
16-12
Setting the Input/Output Conditions
(8) Measurement start input = CCD trigger, start sampling, object type change = general purpose
serial, result output = general purpose serial/parallel
The CCD trigger is enabled after a measurement execution command is entered.
■ Setting order 1 → 2 ■ Configuration example
Controller
POWER
OUTPUT
- See Chapter 17 for details about the measurement execution commands (codes 10, 11, 12 and
14(H)).
- When one of the measurement execution commands (codes 10, 11, 12 and 14(H)) is normally
received during sampling, the sampling will stop.
Note: When the settings listed in section "16-3 CCD trigger" have not been made, a "CCD TRIG
NOT SET. (error 34)" will occur.
■ Time chart
Measurement Measurement Measurement Measurement
trigger Result trigger Result trigger trigger
Serial command output output command command
command
Start CCD
sampling by
turning ON
measurement
start input
CCD trigger
cycle Stop CCD sampling
by measurement
command.
CCD trigger
Black White Black
window
(not highlighted)
Trigger Trigger
READY output READY signal is turned ON
at the conclusion
(While measuring of the result output.
or setting = L)
Terminate
measurement
(C119)
Measurement result is valid at the
16
end of a measurement
When the object type is changed, Parallel output is valid for PC control after
all Y output and auxiliary relays the measurement result is determined.
turn OFF.
Parallel output
Result output Result output
Note: Result output: The data in the block No., set in item " SET SERIAL BLOCK" on the
"OBJ-TYPE I/O" screen, will be transmitted to the personal computer. See page 16-
23.
16-13
Setting the Input/Output Conditions
(9) Measurement start input = CCD trigger, start sampling = auto, object type change, result
output = parallel
■ Setting order 1 → 2 (→ 3) ■ Configuration example
1MEAS INP I/F PARALLEL+SERIAL Camera 1 (image capturing + CCD trigger)
TRIG CCD START
Camera 2 (image capturing) Monitor
2START CCD SAMPL AUTO(EDGE)
AUTO(LEVEL) Remote key pad
Select one of
these. PARALLEL
SERIAL
REMOTE RS232C/RS422 CAMERA2 CAMERA1 VIDEO
USB
Controller
3OUTPUT OBJ TYPE PARALLEL
POWER
OUTPUT
Black White
Work
CCD trigger
Edge
Measurement
Level
■ Time chart (when auto mode (edge) is selected for as the CCD sampling start)
Restarts CCD sampling automatically after
measurement is completed.
CCD trigger
cycle
Type selection
input Specified object type number
See page
16-5.
READY output
(While measuring
or setting = L)
When the object type is changed, all Y Parallel output is valid for PC control after
output and auxiliary relays turn OFF. the measurement result is determined.
Parallel output
(Y0 to Y7) Result output Result output
16-14
Setting the Input/Output Conditions
■ Time chart (when auto mode (level) is selected for as the CCD sampling start)
Restarts CCD sampling automatically after
measurement is completed.
CCD trigger
cycle
Type selection
input Specified object type number
See page
16-5.
CCD trigger
Black White Black White Black
window
(not highlighted)
Trigger Trigger Trigger
READY output
(While measuring
or setting = L)
Measurement result
is valid at the end of
a measurement
PC calculation P P P P Halt PC operation P Halt PC operation P P P P Halt PC operation P P P P P
condition C C C C during measurement C during measurement C C C C during measurement C C C C C
When the object type is Parallel output is valid for PC control after
changed, all Y output and the measurement result is determined.
auxiliary relays turn OFF.
Parallel output
(Y0 to Y7) Result output Result output Result output
16
16-15
Setting the Input/Output Conditions
(10) Measurement start input = CCD trigger, start sampling = auto, object type change = general
purpose serial, result output = general purpose serial/parallel
The general purpose serial command (code 55(H)) is used to change the object type.
■ Setting order 1 → 2 (→ 3) ■ Configuration example
1MEAS INP I/F PARALLEL+SERIAL Camera 1 (image capturing + CCD trigger)
TRIG CCD START
Camera 2 (image capturing)
2START CCD SAMPL AUTO(EDGE)
AUTO(LEVEL) Personal computer
Select one of
these. PARALLEL Data
SERIAL Monitor
Black White
Work
CCD trigger
Edge
Measurement
Level
16
16-16
Setting the Input/Output Conditions
■ Time chart (when auto mode (edge) is selected for as the CCD sampling start)
Restarts CCD sampling automatically after
measurement is completed.
CCD trigger
cycle
When a trigger signal is input during
sending object type change command,
this command will be invalid.
Serial Result Result
Type output Type output
Terminate
measurement
(C119)
Measurement result is valid at the end of
a measurement
When the object type is changed, Parallel output is valid for PC control after
all Y output and auxiliary relays turn OFF. the measurement result is determined.
Parallel output
(Y0 to Y7) Result output Result output
Note: Result output; The data in the block No., set in item "5SET SERIAL BLOCK" on the "OBJ-
TYPE I/O" screen, will be transmitted to the personal computer. - See page 16-23.
■ Time chart (when auto mode (level) is selected for as the CCD sampling start)
Restarts CCD sampling automatically
after measurement is completed.
CCD trigger
cycle
When a trigger signal is input during
sending object type change command,
this command will be invalid.
Serial Result Result
Type output Type output
Terminate
measurement
(C119)
Measurement result is valid
at the end of a measurement
16-17
Setting the Input/Output Conditions
Edge detection Detects edge with gray search function, and the measurement is started.
- The trigger window can be set in any position for each object type.
In the past, the position of an external sensor had to be adjusted every time the object type was
changed. However, since this function eliminates the necessity of physical position adjustments, the
changeover time can be reduced.
Object type 1 Object type 2
Feeding direction Feeding direction
Trigger window
- The internal CCD trigger can be used with camera 1. (It cannot be used with camera 2.)
- An image that can be used to set the sample window conditions is obtained when the display mode
is switched from the through mode to the freeze mode.
16-18
Setting the Input/Output Conditions
Setting methods
TRIG CCD START OBJ-TYPE I/O SCREEN SAVE F C1 BRT
Select a triggering method for the CCD camera
1TRIG CCD START NO
used to capture images. The choices are: "BIN," 2CCD TRIG COND (TO NEXT SUB-MENU) BIN
"AVG-GRAYS," "GRAY-SRC," and "EDGE 3SHUTTER SPEED AVG-GRAYS
DTECT." 4SERIAL OUTPUT GRAY-SRC
EDGE DTECT
For details, see page 16-18. 5CAM NO
Then the " CCD TRIG COND" line will appear. 6CALIBRATION
EVALUATION
Select an evaluation condition, "MAJORITY", "AND," or "OR," from the popup menu.
2EVALUATION Description
Based on the number of pixels in an area, the controller will decide that the whole
area is white if the specified percentage of pixels in that area is white. If the
16
percentage of white pixels is less than this amount, the area will be treated as
MAJORITY
black.
Specify the percentage (%), from 0 to 100% (in units of one percent) in the
"3EVAL-SPEC (RATIO%)" item.
AND Treat as white only when all of the pixels in an area are white.
OR Treat as white if one or more of the pixels in an area is white.
EVAL-SPEC(RATIO %)
when "MAJORITY" is selected on the " EVALUATION" line, enter the ratio % used to determine
the color of an area.
UP.L COORD
Specify the upper left corner coordinates of the CCD trigger window. By changing these values, the
position of the CCD trigger window will be moved.
16-19
Setting the Input/Output Conditions
INVERT B/W
(2) When "GRAY-SRC" is selected on the " TRIG CCD TRIG COND SCREEN SAVE F C1 BRT
CCD START" line. 1REF-IMG AREA SET (224.208)∼(287.271)
REF-IMG AREA 2SEARCH AREA SET (216.200)∼(295.279)
SEARCH AREA 3DIRECT CRD CENTER (255.239)
For details, see 4CONTR.PIXEL 3
DETECT CRD 5MATCH LEVEL +07000~+10000
pages 5-5 to 5-7.
CONTR. PIXEL
MATCH LEVEL
Specify the range for the degree of match
While " MATCH LEVEL" is selected, press the
SET key. The five digits for the lower limit will be
highlighted. Change the number using the up and
down arrow keys.
To change the value of individual digits, press the
SET key again. The cursor will move to the left
most digit. Adjust the value of each digit using the
up/down/left/right arrow keys.
When the value is correct, press the SET key. All SEL=WINDOW SET ESC=BACK SEL=CHNG IMG TRG=FUNC
five digits will be highlighted again.
Then, press the left or right arrow key to move the cursor to the next five digits, which are the upper
limit. Adjust this number the same way.
(3) When "EDGE DTECT" is selected on the " TRIG CCD TRIG COND SCREEN SAVE F C1 BRT
CCD START" line.
1SEARCH AREA SET (224.208)∼(287.271)
SEARCH AREA 2DTECT MODE CHNG POINT
DTECT MODE For details, see 3SEARCH DIRECT HORIZ (→)
SEARCH DIRECT 4THRESHOLD VAL SET (D:050 E:2 F:04)
pages 11-7 to 11-9.
THRESHOLD VAL
16
16-20
Setting the Input/Output Conditions
Set the items to match the communication conditions of the other device.
Select "MAIN COND" -> "SYS-CND" -> SELECT SYSTEM COND F C1 BRT
"COMM.SET," in that order. SYS-CND
I/O CONDITIONS 1COMM.STANDARD
COMM.SET 2BAUDRATE(k.bps)
COMPUTER LINK 3NO. OF DATE BITS
GAIN-OFFSET 4PARITY CHECK
5NO. OF STOP BITS
6STATION NO.
How to set the communication settings COMM.SET SCREEN COND SAVE F C1 BRT
Adjust each item to match the equipment used
to communicate. 1COMM.STANDARD RS232C RS232C
2BAUDRATE(k.bps) 115.2 RS422:4LINE
3NO. OF DATE BITS 7BIT 7BIT RS422:2LINE
COMM. STANDARD 4PARITY CHECK EVEN 8BIT
Select "RS232C," "RS422:4LINE," or 5NO. OF STOP BITS 2BIT
EVEN 2.4
"RS422:2LINE." 6STATION NO. 00(0~7F)
ODD 4.8
NO 9.6
2BIT
19.2
BAUDRATE (kbps) 1BIT
38.4
Set the communication speed: 2.4 Kbps, 4.8 57.6
115.2
Kbps, 9.6 Kbps, 19.2 Kbps, 38.4 Kbps, 57.6
Kbps, or 115.2 Kbps.
PARITY CHECK
Select "EVEN," "ODD," or "NO." SET=SELECT A MENU ESC=BACK SEL=CHNG IMG TRG=FUNC
STATION NO.
Select the station number for communication using the up and down arrow keys.
16-21
Setting the Input/Output Conditions
How to set up a computer link COMPUTER LINK SCREEN COND SAVE F C1 BRT
PC MANUFACTURER, STATION NO., 1PC MANUFACTURER SHARP(COMMPORT)
WRITE TOP ADRS 2STATION NO. 01
The details for " PC MANUFACTURER," 3WRITE TOP ADRS 09000
STATION NO.," and " WRITE TOP SHARP(COMMPORT)
SHARP(LINK-MDL)
ADRS" are as follows.
MITSUBISHI
Item Setting range OMRON
YOKOGAWA
- Sharp: 00 to 37(8) *
Station No. - Mitsubishi: 00 to 31
- OMRON: 00 to 31
- Yokogawa: 01 to 32
- Sharp: 09000 to 99776
Write address - Mitsubishi: D0000 to D9999
(max. 512 bytes)
- OMRON: DM0000 to DM9999
- Yokogawa: D00001 to D16384
* In this book, octal notation is indicated by adding(8)
CONTROL PROC. , BLK WRT COMMAND COMPUTER LINK SCREEN COND SAVE F C1 BRT
When "MITSUBISHI" is selected on the " PC
1PC MANUFACTURER MITSUBISHI
MANUFACTURER" line, specify 2STATION NO. 00
" CONTROL PROC." and " BLK WRT 3WRITE TOP ADRS D0000
COMMAND." 4CONTROL PROC. FORM1 FORM1
5BLK WRT COMMAND WW WW FORM4
Menu Setting details QW
See "Chapter 18: Computer Link" for applicable models made by these manufacturers.
Note 1: Use an even address as the write start address.
Note 2: When 512 bytes are used for a write register on a Sharp model, select a write start address
from the following addresses.
09000, 19000, 29000, 39000, 49000, 59000, 69000, 79000, 89000 , 99000
16-22
Setting the Input/Output Conditions
* 2 Set the result top write address in item " WRITE TOP ADRS" on the "COMPUTER LINK" screen.
See the preceding page.
* 3 The top address to which the data in the specified blocks will be written is obtained by adding 512
bytes to the result top write address.
16-23
Setting the Input/Output Conditions
(2) When the measurement is started by a CCD trigger or a parallel I/F signal and the results are
output by a general purpose serial I/F signal
When the IV-S30J responds, data in a specified block is output after the output data (block 0) from the
measurement No. 0 to 4, in response to the measurement run command 2 (processing code 11(H)).
1
■ Response
Measurement 1
Measurement 2
Measurement 3
Measurement 4
Object Output evaluation Measurement 0
type results
: 1 1 RC RC
(H) (L) Y0 Y1 … Y15 Camera 1 Camera 2
Measurement 0
Data from Data from Data from Data from Data in the
Camera 1 Camera 2 measurement 1 measurement 2 measurement 3 measurement 4 specified SC SC CR
data 2 data 2 data 2 data 2 data 2 data 2 block (H) (L)
2. The "OBJ-TYPE I/O" screen will appear. Move OBJ-TYPE I/O SCREEN SAVE F C1 BRT
the cursor to " SERIAL OUTPUT" and press 1TRIG CCD START NO
the SET key. A popup menu will appear.
Select "BLOCK-ASSIGN" and press the SET 2SHUTTER SPEED 1/00060(1/30~1/10000) ANY
3SERIAL OUTPUT BLOCK-ASSIGN BLOCK-ASSIGN
key. 4SET SERIAL BLOCK BLOCK00 MEAS0 CAM1
5CAM NO 1(1~2)
6CALIBRATION NO
16
16-24
Setting the Input/Output Conditions
3. The " SET SERIAL BLOCK" line will appear. OBJ-TYPE I/O SCREEN SAVE F C1 BRT
Select this line and press the SET key. Enter the
1TRIG CCD START NO
block No., measurement No. and camera No. of
the measurement data to be output, using the left, 2SHUTTER SPEED 1/00060(1/30~1/10000)
right, up and down keys. 3SERIAL OUTPUT BLOCK-ASSIGN
4SET SERIAL BLOCK BLOCK00 MEAS0 CAM1
- Specify a block number to be returned in 5CAM NO 1(1~2)
addition to block 0 (00). If block 00 is specified, 6CALIBRATION NO
data from block 00 will not be returned a second
time. After the settings are complete, press the
SET key.
16
16-25
Setting the Input/Output Conditions
2. The "OBJ-TYPE I/O" screen will appear. Move OBJ-TYPE I/O SCREEN SAVE F C1 BRT
the cursor to " SERIAL OUTPUT" and press 1TRIG CCD START NO
the SET key. A popup menu will appear.
Select "ANY" and press the SET key. 2SHUTTER SPEED 1/00060(1/30~1/10000)
3SERIAL OUTPUT ANY ANY
BLOCK-ASSIGN
4CAM NO 1(1~2)
5CALIBRATION NO
16
SET=SELECT A MENU ESC=BACK SEL=CHNG IMG TRG=FUNC
16-26
Setting the Input/Output Conditions
- The "EVALUATION COND" screen for - The "NUMERIC CALC" or "FINAL NUM.
individual measurement program CALC" screen for individual measurement
EVALUAT COND SCREEN SAVE F C1 BRT program
[SERIAL OUTPUT] NUMERIC CALC SCRREN SAVE F C1 BRT
1X COORD(MDL0) NO NO [SERIAL OUTPUT]
2Y COORD(MDL0) NO YES 1OUTPUT NO
3x DEVIATE(MDL0) NO
4y DEVIATE(MDL0) NO
5MATCH LVL(MDL0) NO
6ANGULAR DEVIATE NO
7X COORD(MD1) NO
(When the numerical calculation condition
8Y COORD(MDL1) NO
menu is displayed)
9x DEVIATE(MDL1) NO
0y DEVIATE(MDL1) NO
qMATCH LVL(MDL1) NO
(To measure an object's "distance" on the distance and angle condition menu)
16
16-27
Setting the Input/Output Conditions
3) Move the cursor to the "OBJ-TYPE I/O" line SELECT OBJECT TYPE COND F C1 BRT
and press the SET key.
OBJECT TYPE COND
TYPE00 1TRIG CCD START
TYPE RUN COND 2CCD TRIG COND
IMAGE-ADJ 3SHUTTER SPEED
+ MEA-CND(CAMERA1) 4SERIAL OUTPUT
+ MEA-CND(CAMERA2) 5SET SERIAL BLOCK
6CAM NO
FINAL NUM.CALC 7CALIBRATION
FINAL OUTPUT COND 8CALIBRATION
OBJ-TYPE I/O
OBJ-TYPE SYS.
+ TYPE01
TYPE(NEW)
4) On the "OBJ-TYPE I/O" setting screen, move OBJ-TYPE I/O SCREEN SAVE F C1 BRT
the cursor to the " CALIBRATION" line and 1TRIG CCD START BIN
press the SET key twice, to bring up the sub- 2CCD TRIG COND (TO NEXT SUB-MENU)
menu. 3SHUTTER SPEED 1/00060(1/30~1/10000)
4SERIAL OUTPUT BLOCK-ASSIGN
Note: Depending on settings for the " TRIG 5SET SERIAL BLOCK BLOCK00 MEAS0 CAM1
CCD START" and " SERIAL 6CAM NO 1(1~2) NO
7CALIBRATION MANUAL MANUAL
OUTPUT" items, the number of the 8CALIBRATION (TO NEXT SUB-MENU) EDGE DTECT
"CALIBRATION" line will vary between
and .
16
When "MANUAL" is selected on the "CALIBRATION" line
1. Move the cursor to " CURSOR1-COORD" and press the SET key.
16-28
Setting the Input/Output Conditions
2. While the cursor is on the " CROSS CLOSS CURSOR RESET RETURN F C1 BRT
CURSOR" line on the CROSS CURSOR
screen, press the SET key. Move the
crosshair cursor to the tick marks on the ruler 1CLOSS CURSOR (256.240)
40 30 20 10
X:256 Y:200
3. Then move the cursor on the CROSS CLOSS CURSOR RESET RETURN F C1 BRT
CURSOR screen to the " CUSOR2-
COORD" line and set coordinate 2 using the
same procedure. 1CLOSS CURSOR (143.200)
40 30 20 10
X:143 Y:200
4. Select the " SCALE" line and enter the actual value of the distance between coordinates 1 and
2. In this example, the distance is 10 mm. Therefore, enter "10."
5. Select the " SCALE(UNIT)" line and select the unit of distance between coordinates 1 and 2. In
this example, select "mm."
6. Select the " REG" (register) line and while the cursor is on "EXEC" (execute) press the SET
key again. The controller will be calibrated to read "1 pixel = 1 mm."
16
16-29
Setting the Input/Output Conditions
Setting the register conditions for edge detec- REG COND SCREEN COND SAVE DATAIL F C1 BRT
Light level
Density difference
A B
Automatic setting
Select "AUTO-REG" from the upper function menu on the THRESHOLD setting screen. The
controller will set the optimum value automatically.
SCALE
Enter the actual value of the distance between coordinates 1 and 2. In this example, the distance
is 10 mm. Therefore, enter "10."
SCALE (UNIT)
Select unit of distance between coordinates 1 and 2. In this example, select "mm."
REG (register)
While the cursor is on "EXEC" (execute) press the SET key again. The controller will be
calibrated to treat 1 pixel = 1 mm.
16
16-30
Setting the Input/Output Conditions
6) Using the CBP value that was set in the calibration function, you can execute numeric
calculations.
SELECT OBJECT TYPE COND F C1 BRT
1. Press the ESC key twice to show the menu
OBJECT TYPE COND
tree. Select the "NUM-CALC" line for the
TYPE00
same object type and measurement TYPE RUN COND
N00
number, and press the SET key. IMAGE-ADJ
N01
MEA-CND(CAMERA1)
MEAS0
N02
POSI-CORRECT
+ MEAS01(POSI-DEVIATION)
N03
MEAS02(POSI-DEVIATION)
IMG PRE-PROC
N04
+ MEAS CND
EVALUATION COND
N05
+ DISTANCE&ANGLE COND
NUM-CALC
N06
OUT-COND
MEAS(NEW)
N07
+ 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
2. Relay numbers N00 to N07 are displayed NUMERIC CALC SCREEN COND SAVE F C1 BRT
【N08-N15】
on the first screen. To display relay
CHG-CALC
numbers N08 to N15, press the SET key 1RUN A TEST (SET KEY)
while the cursor is on the "CHG-CALC" TYPE FORMULA
item. N00
N01
N12
N03
N04
N05
N06
N07
3. On the "NUMERIC CALC" screen, use the NUMERIC CALC SCREEN COND SAVE F C1 BRT
up and down arrow keys to move the cursor 【N00-N07】
CHG-CALC
to a cell in the "TYPE" column on the
1RUN A TEST (SET KEY)
desired relay number line. Press the SET
TYPE FORMULA
key. A popup menu will appear and you can
select the calculation result you want to
N00
CRD-X 16
CRD-Y
output. In this example, select "DEV -x" N01 DEV-x
(deviation on the X-axis) DEV-y
N12 MATCH M
ANGL-B
N03 NUM-CAL [NC]
CNST [C]
N04 NO
N05
N06
N07
16-31
Setting the Input/Output Conditions
4. Next, move the cursor to the "FORMULA" NUMERIC CALC SCREEN COND SAVE F C1 BRT
column and press the SET key. Another 【N00-N07】
popup menu will appear allowing you to CHG-CALC
select the type of formula you want to use 1RUN A TEST (SET KEY)
N05
N06
N07
5. After completing these settings, deviation on X-axis will be output as a CBP value (in unit of
mm).
16
16-32
Communication (General Purpose Serial Interface)
Cate- Processing
Code Functions
gory description
Measurement - Executes all measurement programs for a specified object type.
execution 10 (You can make measurements by specifying a camera.)
function 1 - Outputs the ladder results (Y0 to 15).
Executing measurement
Shown below is the relationship of each selection when code 10 to 14 are specified is shown below.
The conditions below are what is shown when the "PARALLEL+SERIAL" is selected on the " MEAS
INP I/F" on the "I/O CONDITIONS" selection screen.
Measurement Output
Serial output Object type change
start selection
General purpose
--- Command codes 10 to 12 Command codes 10 to 12
serial port
None --- Parallel
17
SHARP/MITSUBISHI/
Computer link Parallel
Parallel port OMRON/YOKOGAWA
General-purpose Response output from
Parallel
serial command codes 11
17-1
Communication (General Purpose Serial Interface)
The conditions below are what is shown when the "TRIG CCD START" is selected on the " MEAS
INP I/F" on the "I/O CONDITIONS” selection screen.
Measurement Output
Serial output Object type change
start selection
Parallel port --- Parallel
Auto General purpose Response output from
Command codes 55
serial port command codes 11
None --- Parallel
SHARP/MITSUBISHI/
Computer link Parallel
Parallel port OMRON/YOKOGAWA
General-purpose Response output from
Parallel
serial port command codes 11
General-purpose Command codes 10 to
--- Command codes 10 to 12
serial port 12
Cate-
Processing function Code Function
gory
Operation lock Read 50 - Read lock/unlock condition of the operation screen.
status Set 51 - Set lock/unlock for the operation screen.
English or Read 52 - Read the status from the English or Japanese display.
Japanese display Set 53 - Enter a change on the English or Japanese display.
- Read an object type number to measure when the
Read 54
Object type measurement start input is turned ON.
number - Assign an object type number to be executed when the
Set 55
measurement start input is turned ON.
- Read the image status being monitored
Individual conditions
Read 56
(Output: Through/freeze, Brightness: Full/half).
Image status
- Change the status of the image being monitored
Set 57
(Output: Through/freeze, Brightness: Full/half).
- Read the status of the camera outputting an image for
Read 58
Output image the specified object type.
camera - Set the status of the camera that is outputting an image
Set 59
for the specified object type.
- Read the shutter speed setting for the specified object
Read 5A
Shutter speed type.
Set 5B - Set shutter speed for the specified object type.
- Measurement program: Registers reference images for
the specified object type and measurement number
Register a
Assign 5E (register No. 0 only).
reference image
- Image calculation: Registers reference images used for
image calculations of the specified object type.
- Set all settable conditions to their initial values (global
Initialize all 60 conditions, all object type conditions, and reference
images).
- Check the controller for a hardware error.
Self-diagnostic 68 Items to check: VRAM (read after write), SDRAM (read
after write), etc.
Reset 69 - Reset the controller (the same as a power reset operation).
Manual measurement Read 70 - Read the coordinates detected by manual measurement.
17 coordinates Set 71 - Set the coordinates for manual measurement.
17-2
Communication (General Purpose Serial Interface)
Measuring Personal
computer
2 Transmitting a response
(measurement data, etc.)
- You can specify the response block on the "OBJECT TYPE I/O" screen see page 16-23.
æ Select the measurement start method = CCD trigger, start sampling & output results =
general purpose serial
IV-S30J
1 Inputting a trigger CCD camera or
(Start sampling CCD trigger.) programmable controller
(for each object type)
2 CCD trigger
CCD camera
Measuring
3 Transmitting
a response Personal computer or
(Command 11, programmable controller
measurement data, etc.)
17
17-3
Communication (General Purpose Serial Interface)
IV-S30J
(for each object type)
1 Receiving a command
(Packet = 0: Measurement execution)
Measuring
2 Transmitting a response
(Measurement codes, measurement data, etc.) Personal
computer
1 Receiving a command
(Packet = 1: No measurement execution)
2 Transmitting a response
(Next measurement codes, measurement data, etc.)
:
:
3 MEASUREMENT 2 F Quit
4 MEASUREMENT 3
IV-S30J
1 Receiving a command
Operating
Personal
computer
17 2 Transmitting a response
17-4
Communication (General Purpose Serial Interface)
Command Station
: No. * * * * ............... * * SC
SC CR
H L
Terminator
Header
*2
*1 Processing *2 *4
Station Text Checksum code
code
No.
Response Station
: No. * * RC * * ............... * * SC SC CR
RC
H L H L
Header
*3 *2
*1 Termination Text Terminator
Station
code *4
No. *2
Checksum code
Processing code
*1 Station No.: 00 to 7F(H)
*2 Processing code and text
- They depend on the contents of communication. - See pages 17-1 and 17-7 and after.
- On abnormal termination, no text is provided.
*3 Termination code(H)
The termination code is a 2-digit hexadecimal number.
- When an output is sent through the general purpose serial I/F, 00(H) is sent on normal
termination.
- On abnormal termination, a code other than 00(H) is sent. - See page 19-3.
*4 Checksum code (SCH and SCL)
To improve the reliability of the transmitted data, in addition to a parity check, error detection by a
checksum is used for error detection.
When the IV-S30J does not need to complete a checksum for error detection, use an @ (at sign:
ASCII code 40(H)) in each of the checksum codes SCH and SCL included in the command.
Command Station
: No. * * * * ............... * * SC SC CR
H L
Terminator
Header
Station Processing
No. Text Checksum code
code
17
Value increment range
for checksum
Response Station
: No. RC
* * RC * * .............. * * SC SC CR
H L H L
Header
17-5
Communication (General Purpose Serial Interface)
Ex. 1 Command for the measurement Ex. 2 Command for the measurement
execution function 1 (code 10(H)) execution function 7 (code 1A(H))
Station Station
: No. 1 0 0 1 C 2 CR : No. 1 A 1 6 4 0 1 6 E CR
Note
- This manual uses the following notation to represent addresses and set values.
Octal number .......................... (8) Ex. 377(8)
Decimal number ...................... None Ex. 255
Hexadecimal number ............. (H) Ex. FF(H)
17
17-6
Communication (General Purpose Serial Interface)
Execution
Station Object
camera
No. type
: 1 0 SC SC CR
(H) (L)
Ë Response
Object Final output
Execution
Station
camera
No. type evaluation result
: 1 0 RC RC Y0 Y1 … Y15 SC SC CR
(H) (L) (H) (L)
Object
camera
: No. type
1 1 SC SC CR
(H) (L)
1
Ë Response
Measure-
Execution
Measure-
Measure-
Measure-
Camera 1
Camera 2
evaluation result
camera
No. type
ment 1
ment 2
ment 3
ment 4
: 1 1 RC RC
Y0 Y1 … Y15
(H) (L)
Measurement 0
Data on Data on Data on Data on
Camera 1 Camera 2 measure- measure- measure- measure- SC SC CR
data 2 data 2 ment 1 2 ment 2 2 ment 3 2 ment 4 2 (H) (L)
17-7
Communication (General Purpose Serial Interface)
Execution
Station
Measure-
Block
No. SC SC CR CAMERA 1: 0, MEASURE 0 CAMERA 2: 1, and
camera
ment
No. type
: 1 2 MEASUREMENT 1 to 4: 2 to 5)
(H) (L)
- Block → Specified block from which the data of a
■ Response specified measurement function will be output.
Final Output
Execution
Station Object
evaluation result Specified
camera
No. type
: 1 2 RC RC Y0 Y1 … Y15 block data SC SC CR
(H) (L) 1 (H) (L)
Station
camera
No. type
: 1 4 1 SC SC CR
(H) (L)
■ Response
Execution
Station Object
ment code
Measure-
camera
- → 0: Execute/read, 1: Read
- Object type → Object type to measure: 00 to 3F
- Execution camera number → 0: Both camera 1 and 2; 1: Camera 1 only; 2: Camera 2 only
- Measurement code (response)
Measurement Setting Measurement Setting
code code
3 MEASUREMENT 2 F Quit
4 MEASUREMENT 3
17-8
Communication (General Purpose Serial Interface)
Ë Response
Object Final output
Execution
Station
camera
No. type evaluation result
: 2 0 RC RC Y0 Y1 … Y15 SC SC CR
(H) (L) (H) (L)
- Object type → Object type for which the measurement was executed: 00 to 3F
- Executed camera number → 0: Both camera 1 and 2; 1: Camera 1 only; 2: Camera 2 only
- Final output evaluation result (Y0 to Y15) → 0: NG or unspecified, 1: OK
1
Ë Response
Measure-
Final output
Execution
Object ment 0
Measure-
Measure-
Measure-
Measure-
Camera 1
Camera 2
evaluation result
camera
type
ment 1
ment 2
ment 3
ment 4
: 2 1 RC RC
Y0 Y1 … Y15
(H) (L)
- Object type → Object type for which the measurement was executed: 00 to 3F
- Executed camera number → 0: Both camera 1 and 2; 1: Camera 1 only; 2: Camera 2 only
- Final Output evaluation result (Y0 to Y15) → 0: NG or unspecified, 1: OK
- 1 → Measurement programs 0 to 4
0 = none, 1 = positional deviation measurement, 2 = degree of match inspection,
3 = lead inspection, 5 = area measurement by binary
conversion, 6 = object counting by binary conversion, 7 = object identification by
binary conversion, 8 = point measurement, 9 = multiple positions measurement,
A = multiple degree of inspections 17
- 2 → Measurement data
Only the data in block 0 of a measurement program is output.
17-9
Communication (General Purpose Serial Interface)
Measure-
Block
ment
No. type SC SC CR
: 2 2
(H) (L)
■ Response
Final output
Execution
Station Object
evaluation result Specified
camera
No. type
: 2 2 RC RC Y0 Y1 … Y15 block data SC SC CR
(H) (L) 1 (H) (L)
- Object type → Object type for which the measurement was executed: 00 to 3F
- Executed camera number → 0: Both camera 1 and 2; 1: Camera 1 only; 2: Camera 2 only
- Final Output evaluation result (Y0 to Y15) → 0: NG or unspecified, 1: OK
- 1 → Specified block data
Station
Measure-
Station Object
ment code
Measure-
camera
- Object type → Object type for which the measurement was executed: 00 to 3F
- Executed camera number → 0: Both camera 1 and 2; 1: Camera 1 only; 2: Camera 2 only
3 MEASUREMENT 2
17
4 MEASUREMENT 3
17-10
Communication (General Purpose Serial Interface)
Execution
Station
camera
: No. 2 8 SC SC CR
(H) (L)
Ë Response
Station Object Illuminance
Result
No. type
: 2 8 RC RC SC SC CR
102 101 100 10-1 (H) (L)
(H) (L)
Station
camera
: No. 2 9 SC SC CR
(H) (L)
Ë Response
Station Object Corrected Reference
Result
- Object type → Object type for which the measurement was executed: 00 to 3F
- Result → 0: NG, 1: OK
- Corrected light level → Corrected light level (–0 to 255.0)
- Reference light level → Light level used as the criterion (0 to 255.0)
17
17-11
Communication (General Purpose Serial Interface)
Ë Command
Station 1→Operation screen lock
No. 0 : Lock OFF
Set
: 5 1 1 SC SC CR 1 : Lock ON
(H) (L)
operation
screen lock 51
Ë Response
status
Station
No.
: 5 1 RC RC SC SC CR
(H) (L) (H) (L)
Ë Command
Station
No.
: 5 2 SC SC CR
Read from the (H) (L)
English or 52
Japanese Ë Response
display Station 1→English or Japanese display
No.
: 5 2 1 0 : Japanese
Individual conditions
RC RC SC SC CR
(H) (L) (H) (L) 1 : English
Ë Command
Station 1→English or Japanese display
No. 0 : Japanese
: 5 3 1 SC SC CR 1 : English
Set items on (H) (L)
the English or
53
Japanese Ë Response
display
Station
No.
: 5 3 RC RC SC SC CR
(H) (L) (H) (L)
Ë Command
Station
: No.
5 4 SC SC CR
Read object (H) (L)
type number 54
Ë Response
Station Object
1→Type number(00 to 3F)
17 : No.
5 4 RC RC
type
SC SC CR
(H) (L) (H) (L)
Ë Command
Station Object
No. type 1→Type number(00 to 3F)
: 5 5 SC SC CR
Assign object (H) (L)
type number 55
Ë Response
Station
No.
: 5 5 RC RC SC SC CR
(H) (L) (H) (L)
17-12
Communication (General Purpose Serial Interface)
Brightness
Station
Output
No. 0 : Full
: 5 6 RC RC SC SC CR 1 : Half
(H) (L) (H) (L)
Ë Command
Brightness
Station
1→Output
Output
No.
: 5 7 SC SC CR 0 : Freeze
Set the image (H) (L) 1 : Through
status 57
Ë Response
2→Light
Station
No. 0 : Full
: 5 7 RC RC SC SC CR 1 : Half
(H) (L) (H) (L)
1 2
(H) (L) (H) (L)
0 X1 0 X2
Ë Command
Station
No. 1→Shutter speed
: 5 A SC SC CR (001E to 2710(H) : 1/30 to 1/10000)
Read the (H) (L)
shutter speed 5A
for each object Ë Response
type Station Shutter speed
No.
: 5 A RC RC SC SC CR
(H) (L) (H) (L)
Ë Command 17
Station Shutter speed
No.
: 5 B SC SC CR
Set the shutter (H) (L)
speed for each 5B
Ë Response
object type
Station
No. 1→Shutter speed
: 5 B RC RC SC SC CR (001E to 2710(H) : 1/30 to 1/10000)
(H) (L) (H) (L)
17-13
Communication (General Purpose Serial Interface)
Process
Process function code Communication format
Ë Command
Station
Measure-
1Object
ment No.
Individual conditions
Ë Command
Station
: No.
6 0 1 SC SC CR 1→Initialize memory
(H) (L) 0 : Flash memory and RAM
Initialize all 1 : RAM
60
parameters Ë Response
Station
No.
: 6 0 RC RC SC SC CR
(H) (L) (H) (L)
Ë Command
Station
No.
: 6 8 SC SC CR
(H) (L)
Self diagnosis 68
Ë Response
Station
No.
: 6 8 RC RC SC SC CR
(H) (L) (H) (L)
Ë Command
Station
No.
: 6 9 SC SC CR
(H) (L)
Reset 69
Ë Response
Station
No.
: 6 9 RC RC SC SC CR
(H) (L) (H) (L)
17
17-14
Communication (General Purpose Serial Interface)
Process
Process function code Communication format
Ë Command
1 → X coordinate 0X of the 0th detection
Station
No. (000 to IFF(H)) : 0 to 0511
: 7 0 SC SC CR 2 → Y coordinate 0Y of the 0th detection
(H) (L) (000 to IDF(H)) : 0 to 479
Read the
3 → X coordinate 1X of the 1st detection
manual
measurement 70 (000 to IFE(H)) : 0 to 511
coordinates 4 → Y coordinate 1Y of the 1st detection
Ë Response (000 to IDF(H)) : 0 to 479
Station 1 2 3 4
No.
: 7 0 RC RC SC SC CR
(H) (L) (H) (L)
Ë Command
Station 1 2 3 4
No.
: 7 1 SC SC CR
(H) (L)
Set the manual
measurement Ë Response 1 → X coordinate 0X of the 0th detection
71
coordinates Station (000 to IFF(H)) : 0 to 0511
: No. 2 → Y coordinate 0Y of the 0th detection
7 1 RC RC SC SC CR
(H) (L) (H) (L) (000 to IDF(H)) : 0 to 479
3 → X coordinate 1X of the 1st detection
(000 to IFE(H)) : 0 to 511
4 → Y coordinate 1Y of the 1st detection
(000 to IDF(H)) : 0 to 479
17
17-15
Communication (General Purpose Serial Interface)
Execution
Station Object
ment code
Measure-
camera
type
: No. 2 4 RC RC Any numerical data SC SC CR
(H) (L) (H) (L)
[Ex.] A numerical data of the any setting when outputting coordinate X and coordinate Y with the
positional deviation measurements.
Registration 0 Registration 0 Registration N Registration 0 Registration N
, 0 2 (Model 0) (Model 1) : (Model 1) , 0 3 (Model 0) : (Model 1)
Area measurement
match inspections
binary conversion
Multiple degree of
Multiple positions
identification by
Degree of match
Object counting
measurement
measurement
measurement
conversion
conversion
inspection
inspection
Positional
deviation
by binary
by binary
Object
Output
No. of
Point
bytes
code
Lead
Kind of output
Degree of match 01 2 O O
Coordinate X 02 2 O O
Coordinate Y 03 2 O O
Coordinate deviation X 04 2 O
Coordinate deviation Y 05 2 O
Angle 06 2 O
Average light level 1 07 2 O
Number of objects 08 2 O O O O O
MAX. 09 2 O
Distance
MIN. 0A 2 O
MAX. 0B 2 O
Lead width
MIN. 0C 2 O
Lead length/ MAX. 0D 2 O
lead width 2 MIN. 0E 2
Total area 10 4 O O O
CUR. 11 O
Area of each
MAX. 12 4
label
MIN. 13
17 CTR. OF
X coordinate 14 O
of gravity GRAVITY
center/Distan- MAX. 15 2
ce between DIST.
gravity MIN.
centers X DIST. 16
Y coordinate CTR. OF 17 O
of gravity GRAVITY
center/Distan- MAX.
18 2
ce between DIST.
gravity MIN.
centers Y DIST. 19
17-16
Communication (General Purpose Serial Interface)
Object identification by
Area measurement by
Positional deviation
Object counting by
binary conversion
Multiple positions
match inspections
binary conversion
binary conversion
Multiple degree of
Degree of match
measurement
measurement
measurement
Output code
No. of bytes
inspection
inspection
Point
Lead
Kind of output
CUR. 1A O
Fillet diameter
X MAX. 1B 2
MIN. 1C
CUR. 1D O
Fillet diameter MAX. 1E 2
Y
MIN. 1F
Main axis angle 20 2 O
Perimeter 21 4 O
Degree of match 22 2 O O
Coordinate X 23 2 O O
Coordinate Y 24 2 O O
Average light level 1(total 25 2 O
of light level differences)
Average light level 2 28 1 O
Black and white 29 1 O
Counting white objects 2A 2 O
Number of registers 2B 2 O
Center point X 2C 2 O
Center point Y 2D 2 O
17-17
Computer Link
18
18-1
Computer Link
IV-S30J
1 Enter measurement start signal.
CCD camera or PC
Measuring
(CCD trigger/parallel)
PC
3 Receive a completion response.
2,3: Computer link
The block of measurement data to be written from the IV-S30J to the PC, in step , can be specified on
the "OBJ-TYPE I/O" screen.
See page 16-23.
18
18-2
Computer Link
18-3
Computer Link
*1 When the termination code is 08(H) (received an error response), the error code is contained in the
appended information. (Example: 0A(H) on a Sharp PC = parity error)
*2 Measurement number when outputting the results
00(H) = Measurement 0, Camera 1, 01(H) = Measurement 0, Camera 2, 02(H) = Measurement 1,
03(H) = Measurement 2, 04(H) = Measurement 3, 05(H) = Measurement 4
*3 Result output (Y0 to Y15)
H (09005) L (09004)
Bit 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0
18-4
Computer Link
Lead inspection
Area measurement by binary conversion 0
18-8
Object counting by binary conversion 0
Object identification (labeling) by binary conversion 0 18-8 to 10
0, 1 (when binary
processing is selected)
Point measurement 18-11 to 12
0 to 4 (when average
density is selected)0 to 4
Multiple positional measurement 0 to 4
18-13
Multiple degree of match inspections 0 to 4
Distance and angle measurement 58 18-14
Numerical calculation 51 18-15
18
18-5
Computer Link
[2] Contents of the measurement result block (for each measurement function)
(1) Positional deviation measurement
0 8 2 0 0 5 2 8 0 F A 0 0 E B 0 F F 7 6
X Y X Y Angular
Center coordinates Center coordinates deviation
of 1st point of 2nd point
Registration No. 0
- These data are in hexadecimal. They are converted to the actual decimal measurements as shown
below.
Data Decimal Measurement
(hexadecimal) number result (value)
Center coordinates X 820 2080 208.0
of 1st point
Y 528 1320 132.0
Center coordinates X FA0 4000 400.0
of 2nd point Y EB0 3760 376.0
Angular deviation FF76 —138 —13.8
Note: If a registration number has not been used yet, the data for the next registered number will be
brought forward.
18-6
Computer Link
No. of Decimal
Block Item Sign (+/-) bytes point (digit)
1st X None 2 1
point Y
None 2 1
Registration Coordinate X
2nd None 2 1
No. 0
point Y 2
None 1
1
Average 1st point None 2 1
light level 2nd point 2 1
None
Registration Registration No. 1 to 15 contain the same data as the registration
No. 1 to 15 No. 0.
No. of Decimal
Block Item Sign (+/-) bytes point (digit)
Maximum None 2 1
Minimum None 2 1
Distance
NG No. None 2 None
No. of NG None 2 None
Maximum None 2 1
Lead Minimum None 2 1
Registration
No. 0 width NG No. None 2 None
1
No. of NG None 2 None
Maximum None 2 1
Lead Minimum None 2 1
length NG No. None 2 None
No. of NG None 2 None 18
Registration Registration No. 1 to 15 contain the same data as the
No. 1 to 15 registration No. 0.
18-7
Computer Link
40 Label 0 to 31
Label No. 0 to 127 contain
41 Registration Label 32 to 63 the same
42 No. 3 Label 64 to 95 data as the label No. 0 of
block 10.
43 Label 96 to 127
18-8
Computer Link
18
18-9
Computer Link
18
18-10
Computer Link
: : :
Evaluation 0 = NG
None 1 None
Registration information 1 = OK
No. 248 to 255 Black and white 0 = black
None 1 None
information 1 = white
Note: If a point number has not been used yet, the data for the next registered number will be
brought forward.
- When an item does not have data in 2 byte units, the data will be increment (scrolled up) in units of
two bytes.
[Ex.] When "NO" data is registered at memory locations 16 to 31, the data at memory locations 32
and on are moved down to locations 16 and on.
Data Contents
FA F A
White/black 1 1 1 1 1 0 1 0
White/ FA (H) Point No. P7 P6 P5 P4 P3 P2 P1 P0
information
black White/black White White White White White Black White Black
information
0: black, 1: white
18
18-11
Computer Link
18
18-12
Computer Link
18-13
Computer Link
18
18-14
Computer Link
18
18-15
Computer Link
- Data that are set to "NO" output do not output any signal (scrolled up).
- Set the next page for details about the output codes (type, number of bytes, related measurement
programs)
Ex.: Output data examples when the "SERIAL OUTPUT" column is set to "YES."
Measurement item
Output when SERIAL
SHARP Mitsubishi OMRON Details
data OUTPUT is set to
"YES"
09014 L L 00 0100(H): 00 = fixed value
D0006 DM0006
09015 H H 01 01 = output code (degree of match)
09016 L L 78
D0007 DM0007 2678(H): 9848(D) = 98.48% Register 0 (degree of
09017 H H 26
09020 L L 00 0200(H): 00 = fixed value match, coordinate X,
D0008 DM0008 coordinate Y
09021 H H 02 02 = output code (X coordinate)
deviation) for
09022 L L 92
D0009 DM0009 0992(H): 2450(D) = 245.0 (coordinate value) measurement 1
09023 H H 09 (position deviation
09024 L L 00 0005(H): 00 = fixed value,05 = output code measurement)
D0010 DM0010
09025 H H 05 (coordinate Y deviation)
09026 L L FA
D00011 DM00011 00FA(H): 250(D) = 25.0 (deviation value)
09027 H H 00
09030 L L 01 Register 0 (degree of
18 09031
D00012
H
DM00012
H 00
0001(H): 00 = fixed value
01 = output code (degree of match) match) for
measurement 3
09032 L L 28 (degree of match
D00013 DM00013 2628(H): 9752(D) = 97.52%
09033 H H 26 inspection)
18-16
Computer Link
Area measure-ment
Multiple positions
Degree of match
cation by binary
Object identifi-
measurement
measurement
measurement
inspections
conversion
conversion
conversion
inspection
inspection
by binary
Output
No. of
bytes
Point
Lead
code
Kind of output
Degree of match 01 2 O O
Coordinate X 02 2 O O
Coordinate Y 03 2 O O
Coordinate deviation X 04 2 O
Coordinate deviation Y 05 2 O
Angle 06 2 O
Average light level 1 07 2 O
Number of object 08 2 O O O O O
MAX. 09 2 O
Distance
MIN. 0A 2 O
MAX. 0B 2 O
Lead width
MIN. 0C 2 O
Lead length/ MAX. 0D 2 O
lead width 2 MIN. 0E 2
Total area 10 4 O O O
CUR. 11 O
Area of each
MAX. 12 4
label
MIN. 13
X coordinate CTR. OF 14 O
of gravity GRAVITY
center/Distan- MAX. 15 2
ce between DIST.
gravity MIN.
centers X 16
DIST.
Y coordinate CTR. OF 17 O
of gravity GRAVITY
center/Distan- MAX. 18 2
ce between DIST.
gravity MIN.
centers Y 19
DIST.
CUR. 1A O
Fillet diameter MAX. 1B 2
X
MIN. 1C
CUR. 1D O
Fillet diameter MAX. 1E 2
Y
MIN. 1F
18
18-17
Computer Link
match inspections
Multiple degree of
Multiple positions
Degree of match
cation by binary
Object counting
ment by binary
Object identifi-
Area measure-
measurement
measurement
measurement
conversion
conversion
conversion
inspection
inspection
Positional
deviation
by binary
Output
No. of
bytes
code
Lead
Point
Kind of output
18
18-18
Computer Link
18-6 Interface
The interface between the IV-S30J and a programmable controller from each manufacturer is
described below.
Programmable
IV-S30J
controller
18
18-19
Computer Link
7 6 5 4 3 2 1 0
#236
In the initial state, addresses #236 and #237 are set to 000.
7 6 5 4 3 2 1 0
#234
18-20
Computer Link
Set to 00(H).
7 6 5 4 3 2 1 0
#236 Set bits D0 to D5 in memory address #236.
18-21
Computer Link
7 6 5 4 3 2 1 0
#226
Set to (001(8))
In the initial state, addresses #226 and #227 are set to 000.
When a JW-21CM or JW-10CM is used
Set the switches (SW0 to SW4 and SW7) on the module as shown below.
Switch Setting Set value
SW0 Command mode 4
SW1 Station No. (upper bit)
01 to 37(8)
SW2 Station No. (lower bit)
SW3-1 Invalid OFF
SW3-2 4-wire system ON
SW3-3 Invalid OFF
SW3-4 Odd parity (OFF), even parity (ON) OFF or ON OFF or ON
SW4 Transmission speed (k bit/sec) 19.2 (0) or 9.6 (1) 0 or 1
SW7 With a termination resistance ON
18-22
Computer Link
(3) Connections
When a JW-22CU or JW-70CUH/100CUH is used
1. Communication through the RS-232C port JW-22CU
Communication connector on JW-70CUH/100CUH
the IV-S30J (RS232C/RS422) (Communication port)
Pin No. Signal name Pin No. Signal name
Connector
shield FG 1 FG
3 SD 3 RD
2 RD 2 SD
5 SG 7 SG
12 Short-circuit
14 terminal
15 m or less
RS-232C
2. Communication through the RS-422 port (4-wire system) JW-22CU
Communication connector on JW-70CUH/100CUH
the IV-S30J (RS232C/RS422) (Communication port)
Pin No. Signal name Pin No. Signal name
4 TA 12 RD (+)
7 TB 13 RD (-)
8 RA 10 SD (+)
9 RB 11 SD (-)
Connector
shield FG 1 FG
Shielded, twisted-pair cable
1 km or less
RS-422
When a JW-32CUH/33CUH or JW-32CUH1/33CUH1/33CUH2/33CUH3 is used
1. Communication through the RS-232C port
JW-32CUH/33CUH
JW-32CUH1/33CUH1
Communication connector on /33CUH2/33CUH3
the IV-S30J (RS232C/RS422) (PG/COMM2 port)
Pin No. Signal name Pin No. Signal name
Connector
shield FG 1 FG
3 SD 4 RD
2 RD 2 SD
5 SG 7 SG
15 m or less
RS-232C
2. Communication through the RS-422 port (4-wire system)
JW-32CUH/33CUH
JW-32CUH1/33CUH1
/33CUH2/33CUH3
Communication connector on PG/COMM1 port
the IV-S30J (RS232C/RS422) PG/COMM2 port
Pin No. Signal name Pin No. Signal name
4 TA 9 RD (+)
7 TB 10 RD (-) 18
8 RA 3 SD (+)
9 RB 11 SD (-)
Connector
shield FG 1 FG
Shielded, twisted-pair cable
1 km or less
RS-422
18-23
Computer Link
1 km or less
RS-422 (2-wire system)
2. When the MMI port is used
JW-1324K/1342K/1424K
Communication connector on /1442K/1624K/1642K
the IV-S30J (RS232C/RS422) (MMI port)
Pin No. Signal name Pin No. Signal name
4 TA 2 RX
7 TB 7 /RX
8 RA 3 TX
9 RB 8 /TX
Connector
shield FG 4 PG/COM
5 GND
Shielded, twisted-pair cable
1 km or less
RS-422 (4-wire system)
When a Z-311J/312J is used
1. Communication through the RS-232C port
Communication connector on Z-311J/312J
the IV-S30J (RS232C/RS422) (Communication port CN3)
Pin No. Signal name Pin No. Signal name
Connector
shield FG 1 FG
3 SD 3 RDc
2 RD 2 TDc
5 SG 7 GND
6 Short-circuit
terminal
8
15m or less
RS-232C
2. Communication through the RS-422 port (4-wire system)
Communication connector on Z-311J/312J
the IV-S30J (RS232C/RS422) (Terminal block TC1)
Pin No. Signal name Pin No. Signal name
4 TA 3 RD
18 7 TB 4 /RD
8 RA 1 TD
9 RB 2 /TD
Connector
shield FG 5 FG
Shielded, twisted-pair cable
1 km or less
RS-422
18-24
Computer Link
1 km or less
RS-422 (4-wire system)
1 km or less
RS-422 (2-wire system)
18
18-25
Computer Link
Item Description
Transmission control procedure mode
Format 1fi 1
(RS-232C)
Station No. 00 to 31
Transmission speed (kbit/sec) 19.2, 9.6
Parity None, odd, even
Data bit 7/8 bits (ASCII)
Transmission code
Stop bit 1, 2 bits
Checksum Executed
Writing while running Possible
Switch setting
Ex.: To set as shown below:
Mode: RS-232C, Station No.: 00, Transmission speed: 19.2 K bytes/sec.
Parity: Even, Data bit: 7 bits, Stop bit: 2 bits
- DIP switches
SW11 to 13 SW14 to 24
OFF ON
18
18-26
Computer Link
Note: To write data from the IV-S30J to a Mitsubishi PC, use the WW/QW write command. The
range that can be written using the write command WW/QW is D0000 to D1023/D000000 to
D008191, due to the limitation of Mitsubishi PCs. The write all address can be set within the
range of limitation for Mitsubishi PCs.
See page 16-22.
18
18-27
Computer Link
(3) Connections
Shown below are the connections with a calculator link module.
Example of RS-232C connection
Calculator link module
Communication connector on In case of 25 In case of 9
the IV-S30J (RS232C/RS422) pins connector pins connector
Signal Shielded cable Signal
Pin No. Pin No. Pin No. name
name
Connector
shield FG FG 1 FG
2 RD 2 3 SD
3 SD 3 2 RD
4 7 RS
5 8 CS
20 4 DTR
6 6 DSR
5 SG 7 5 SG
15m or less
RS-232C
Remarks
- For RS-232C communications, create the sequence program shown below in order to set "no
CD terminal check" for the CD terminal check setting. For details, see the instruction manual
for Mitsubishi’s calculator link module.
Xn7
TOP n1 H10B K1 K1
18-28
Computer Link
Remarks
- Start the OMRON PC in the monitor mode when turning ON the power. If the OMRON PC is
started in any other mode, a computer link error will occur.
The operation mode is specified using the following items for each support tool: The initial mode
setting switch on the memory module, or the monitor mode rising bits of the system setting
(FUN49) instruction.
* Enter the unit number of the IV-S30J, as a component of CV500-LK201 system. When
communication port 1 is used, the unit number is fixed at 00, and when communication port 2 is
used, any number (00 to 31) can be used.
18-29
Computer Link
Note: The IV-S30J uses [DM area write] command of C mode command. Concerning the limitation
of address settings, see OMRON's PC manual.
(3) Connections
Example of RS-232C communication
C500-LK203
C200-LK201 CV500-LK201
CV500-LK201 (Communication port 2)
(Communication port 1) CV CPU module
Communication connector on
the IV-S30J (RS232C/RS422)
Signal Shielded cable Signal
Pin No. Pin No. Pin No. name
name
Connector Connector
shield FG 1 hood FG
2 RD 2 2 SD
3 SD 3 3 RD
4 4 RS
5 5 CS
5 SG 7 9 SG
15m or less
RS-232C
Communication connector on
the IV-S30J (RS232C/RS422) Calculator link
Shielded, twisted-pair cable module
Pin No. Signal name
Signal name
Connector
shield FG FG
4 TA RDB(SD+)
7 TB RDA(SD-)
8 RA SDB(RD+)
9 RB SDA(RD-)
RS
CS
1 km max. Pin numbers vary with
RS-422 (4-line system) the module to be used
18
18-30
Computer Link
Communication
Y0 Y1 Y2 Y3 Y4 Y5 Y6 Y7 READY C(−)
Output module
OUTPUT
port
Execution of measurement
1 Output a start signal.
Output relay Description
00040 Start output
2 Write data into the register.
Write
Data (H) Description
register
*1 09000 00 Termination code (normal termination) 3 Transmit completion
09001 - response.
09002 01 Object type No. (1)
09003 -
09004 01 Result output Y0 to Y15
09005 00 (Only Y0 is OK.)
Measurement 0 using camera 1:
09006 01
Positional deviation measurement
Measurement function of
09007 00
measurement 0 using camera 2 (none)
Measurement function of
09010 00
measurement 1 (none)
Measurement function of * In this example, the write start
09011 00
measurement 2 (none) address has been set to 09000.
Measurement function of
09012 00
measurement3 (none)
Measurement function of
09013 00
measurement4 (none)
09014 40
X 1st point
09015 06
(center
09016 E0
Y coordinates) Output data
09017 06 from
09020 98 measurem-
X 2nd point
09021 0D ent 1 using
(center
09022 90
Y
camera
coordinates) 1(block 1) 18
09023 06
09024 00
Angular deviation
09025 00
Note 1: The PC must be write enabled. A Mitsubishi, OMRON, or Yokogawa PC will operate in the
same manner, but use different PC register and relay addresses.
Note 2: If the PC has not been connected to the object type input (parallel) on the IV-S30J, the object
type No. is set to 0. To set different types, first enter the object type numbers (parallel) using
the type input terminals on the IV-S30J.
18-31
Computer Link
Power ON
N
15 second interval
Y
Camera
starts operation N
(00040 = ON)
Y
Starting the time-out detection timer
Y
Time-out
Y
Normal termination
N
* Transferring the result
output (Y0 to Y15)
from registers 09004 N
and 09005 to Error occurs.
addresses ]0412 and
]0413 Y
Turning ON relay
00010 Turning ON relay 00013
Outputting Y0
Error recovery N
(00041 = ON)
Outputting Y1 Y
18
18-32
Computer Link
(3) Program
07377 TMR
0050
1
000
00040 00000
2
00007
F-008
377
4
OCT 09000
T001 04107
6
00007 Fc012
09000
7
CMP 000
07357 04100
8
07356 04101
10
04100 F-000w
09004
11
XFER ]0412
00013
18
18-33
Computer Link
Normal termination
04100
OK
Y0, Y1
18
18-34
Troubleshooting
Phenomenon Checks
1. Make sure that the power cord has been connected properly
The power is not turned ON. to the DC power terminal block on the IV-S30J.
(The power lamp on the IV-
S30J does not light.) 2. Make sure that the proper supply voltage is available and has
not dropped.
After the power is first turned 1. Make sure that the monitor cable has been connected
ON, no images or characters correctly.
are displayed on the monitor. 2. Make sure that the offset and gain are adjusted properly.
After the power is first turned 1. Make sure that the message display and pattern display
ON, no characters are modes are not set to the non-display mode. Make sure that
displayed on the monitor. the title field is not filled with spaces.
1. The operation screen is always displayed in the freeze mode.
Change the mode to the through mode on the lower menu
section.*
2. Make sure that the lens iris is not closed.
After the power is first turned
ON, no image is displayed on 3. Make sure that the shutter speed has not been increased.
the monitor, or the image on 4. Check the lens for contamination.
the display is abnormal. 5. Check the CCD light receiving surface for contamination.
6. Make sure that the lens focus has been adjusted properly.
7. Make sure that the lighting equipment is providing adequate
illumination.
1. Make sure that the monitor screen is not too bright or dark.
The background is completely
(Changes in brightness cannot be sensed.)
white (or black) even after the
- Adjust the lens aperture or the illumination of the light
shutter speed is changed.
source.
Operations cannot be carried 1. Make sure that the remote key pad cable has been correctly
out using the remote key pad. connected to the IV-S30J.
1. Make sure that the communication cable has been correctly
connected.
2. Make sure that each terminal of the communication cable is
properly connected.
3. Make sure that the communication conditions (standard,
General purpose serial speed, and parity check) in the personal computer conform to
communications cannot be those of the IV-S30J.
performed. 4. Check the cable for disconnection and the connectors for
contact failure.
5. Make sure that you waited about 15 seconds after you turned
ON the power.
6.
Make sure that the operation screen is displayed on the 19
screen.
* You can change to the through mode screen using the "TYPE
RUN COND" screen.
- Continued on the following page -
19-1
Troubleshooting
Phenomenon Checks
1. Make sure that the communication cable has been correctly
connected.
2. Make sure that the communication cable route does not run
near electrically noisy devices.
3. Make sure that each terminal of the camera cables is properly
connected.
Communications through a Make sure that the communication conditions (standard,
4.
computer link cannot be speed, and parity check) in the personal computer conform to
established. those of the IV-S30J.
5. Make sure that a compatible model, the station No. and result
write start address have been set correctly.
6. Make sure that you waited about 15 seconds after you turned
ON the power.
Make sure that the operation screen is displayed on the
7.
screen.
1. Make sure that measurement can be started by using the key
pad to send a trigger signal.
2. Make sure that the camera cables have been correctly
connected.
Measurement does not start Make sure that the device to send a trigger signal have been
3.
even when a start trigger is properly connected to the input terminals on the IV-S30J main
given. housing.
4. Make sure that you waited about 15 seconds after you turned
ON the power.
Make sure that the operation screen is displayed on the
5.
screen.
1. Make sure that the camera cables have been correctly
connected.
2. Make sure that the devices have been properly connected to
Measurement results are not the input terminals on the IV-S30J main housing.
output. 3. Make sure that you waited about 15 seconds after you turned
ON the power.
4. Make sure that the operation screen is displayed on the
screen.
1. Make sure that the lighting equipment does not flicker.
2. Make sure that the lens has not fogged up.
3. Check the lens for contamination.
Measurement results are Make sure that the focus ring has not turned. (Make sure that
4.
unstable, or NG results occur the camera lock screw has been secured.)
frequently. 5. Check whether the camera position has changed.
6. Make sure that the illuminance monitor window has been set
to the intermediate illumination.
7. Make sure that the criteria have been set properly.
19
19-2
Troubleshooting
08 programmable controller. (Communications are the monitor. Take the proper measures
performed normally.) according to the error code (different models
use different codes).
- Make sure the power supply of the
programmable controller and check the
A time-out has occurred during communication
09 connections of the cables.
through the computer link.
- Check the communication conditions and
computer link settings.
Start address error (larger than the end
0A Check the address.
address)
10 SDRAM error
Replace the IV-S30J itself.
11 Flash memory error
Hardware errors
19-3
Troubleshooting
Termi-
nation
code Cause Remedy
(H)
29 Overflow (numerical calculation)
2A No numerical calculation setting
2B No label (camera adjustment)
2C The search area is smaller than the reference image.
2D Equivalent label exceeded
2E Edge center point exceeded (lead inspection)
Unable to make a numerical calculation (point
2F measurement)
30 Coordinates range exceeded (distance/angle
measurement)
31 The lines are parallel (at the same angle) (cross point of
two straight lines)
Divide by "0" (center of circle, vertically bisector,
32 distance between point and line)
33 The two points are the same (two points on a straight
line)
34 The CCD trigger has not been registered.
The CCD trigger is not being sampled by a serial
35 interface signal.
36 The SIO trigger has not been set.
37 A start point has not been set. (Distance/angle
measurement)
38 The auxiliary point conditions are not thoroughly
specified. (Distance/angle measurement)
Processing errors
19-4
Troubleshooting
Termi-
nation
code Cause Remedy
(H)
4A No output data
Processing errors
19
19-5
Troubleshooting
[3] Maintenance
Check the equipment for the following items.
(2) Checks
- Check the illumination from the lighting equipment.
- Make sure that the monitor screen is in focus and that the aperture setting is proper.
- Check the cable insulation for breaks, and make sure that the cable connectors are not loose.
- Carefully wipe dust off the lens with a soft, dry cloth.
- If dust has landed on the CCD surfaces of this camera, wipe them with a clean cotton swab soaked
in isopropyl alcohol. Move the cotton swab lightly and slowly in one direction. Change cotton swabs
frequently. Do not clean more than one CCD surface with one cotton swab.
Front view
(view A) of the CCD When an IV-S30C1 is used
(3) When measurement errors and/or evaluation errors occur frequently, check:
- The illumination of the lighting equipment and lamps.
- The inspection object is within the window.
- The cables for looseness or disconnection.
- The lens for dirt and dust.
- The lens focus and aperture have not changed.
- The power is being supplied normally, and
- The parameters you set have been stored.
(If the parameters have changed, reset the parameters from the beginning.)
19
19-6
Alphabetical Index
[A]
Absolute value of the differences ..................................................................................................... 3-20
ALL-INIT (total initialization) ............................................................................................................. 2-22
AND (evaluation) .............................................................................................................................. 10-5
Angle detection (DTECT ANGL) ....................................................................................................... 4-12
Angular correction (standard/high precision) .................................................................................... 3-30
Area measurement by binary conversion ........................................................................................... 8-1
Artifact processing ............................................................................................................................ 3-15
Automatic setting (threshold value) .................................................................................................. 3-11
AUTO-REG (condition setting) ......................................................................................................... 3-15
Average light level method ............................................................................................................. 16-18
[B]
Binary area conditions ...................................................................................................................... 3-27
Binary image display .......................................................................................................................... 2-7
Binary image mask ........................................................................................................................... 3-25
Binary method ................................................................................................................................ 16-18
Binary processing (fixed/threshold value correction) ........................................................................ 3-12
BLK WRT COMMAND (block write command) .............................................................................. 16-22
[C]
Calibrating the IV-S30J ................................................................................................................... 16-28
Camera settings ............................................................................................................................... 2-17
CAMERA TYPE ................................................................................................................................ 2-17
Causes of termination codes (when an error occurs) and remedies ................................................ 19-3
CCD trigger ..................................................................................................................................... 16-18
Change camera display mode ............................................................................................................ 2-3
Change the Japanese or English display mode ............................................................................... 1-15
CHG-C1 (change camera 1) ............................................................................................................. 1-12
CHG-C2 (change camera 2) ............................................................................................................. 1-12
CHG-MEA (change measurement) .................................................................................................. 1-12
CHG-TYPE (change object type) ..................................................................................................... 1-12
CHNG-REG (change registration) .................................................................................................... 1-12
Circle window ..................................................................................................................................... 3-5
Common operations for each menu ................................................................................................. 1-14
Communication (general purpose serial interface) ........................................................................... 17-1
Communication format ..................................................................................................................... 17-5
Comparative calculations between images ...................................................................................... 3-20
Compatible models ........................................................................................................................... 18-1
Computer link output ...................................................................................................................... 16-23
Computer link setting ...................................................................................................................... 16-22
Computer link ................................................................................................................................... 18-1
Configuration of set wizard ................................................................................................................. 1-6
Configuration of the setting conditions ............................................................................................... 1-5 I
Connection with a Mitsubishi PC .................................................................................................... 18-26
Connection with a Sharp PC .......................................................................................................... 18-20
I-1
Connection with an OMRON PC .................................................................................................... 18-29
Contents of the measurement result block (for each measurement function) .................................. 18-6
CONTR. PIXL (pixel contraction) ........................................................................................................ 4-7
Contrast magnification rate ............................................................................................................... 3-22
Contrast search (reference image) ................................................................................................... 3-16
Copying ............................................................................................................................................ 3-37
Crosshair cursor display .......................................................................................................... 2-12, 2-13
[D]
Data flow .................................................................................................................................. 17-3, 18-2
Data in specified blocks .................................................................................................................. 16-23
Data length ..................................................................................................................................... 18-19
Degree of match inspection ................................................................................................................ 5-1
Description of the operation screen .................................................................................................. 1-10
Detection precision ............................................................................................................................. 3-9
DISPLAY MODE ............................................................................................................................... 1-15
Distance and angle measurement .................................................................................................... 13-1
[E]
Edge detection condition .................................................................................................................... 4-7
Edge detection .................................................................................................................................. 3-14
Edge emphasis ................................................................................................................................. 3-23
Edge extraction ................................................................................................................................. 3-23
Editing operation screen ................................................................................................................... 2-21
Eliminating binary noise ............................................................................................... 3-13, 7-6, 8-6, 9-7
Elliptical window ................................................................................................................................. 3-7
Evaluation change display ................................................................................................................ 2-10
Evaluation conditions ........................................................................................................................ 3-17
Evaluation condition measurement
- Area measurement by binary conversion ......................................................................................... 7-6
Degree of match inspection .............................................................................................................. 5-8
Lead inspection ................................................................................................................................ 6-4
Multiple degree of match inspection ............................................................................................... 12-7
Multiple positional measurement .................................................................................................... 11-9
Object counting by binary conversion ............................................................................................... 8-7
Object identification (labeling) by binary conversion ........................................................................ 9-8
Point measurements ....................................................................................................................... 10-7
- Positional deviation measurement ................................................................................................... 4-9
Examples of a final output conditions ladder circuit ........................................................................ 15-17
Existence inspection by point measurement .................................................................................... 10-1
Expansion/contraction method of elimination noise in binary images .............................................. 3-13
Extension functions .......................................................................................................................... 2-12
External synchronization .................................................................................................................. 2-19
[F]
Final numerical calculations ............................................................................................................. 14-9
I Final output conditions .................................................................................................................... 15-11
Flow chart ....................................................................................................................................... 18-32
Full .................................................................................................................................................... 2-18
I-2
Full+half ............................................................................................................................................ 2-18
[G]
Gain/offset adjustment ...................................................................................................................... 2-15
General purpose serial output ........................................................................................................ 16-21
Gray level change ............................................................................................................................. 3-22
Gray scale processing ........................................................................................................................ 3-9
Gray scale search
- Degree of match inspection .............................................................................................................. 5-3
Multiple positional measurements .................................................................................................. 11-3
- Positional deviation measurements .................................................................................................. 4-4
[H]
Half ................................................................................................................................................... 2-18
Halt on NG measurement ................................................................................................................. 3-38
Histogram widening .......................................................................................................................... 3-22
Horizontal edge ................................................................................................................................ 3-23
Horizontal line ..................................................................................................................................... 3-6
How to display NG images ............................................................................................................... 1-19
How to enter the setting screen .......................................................................................................... 3-1
[I]
Illuminance (light level) monitor ........................................................................................................ 3-34
Image adjustment ............................................................................................................................. 3-24
Image capture ..................................................................................................................................... 2-4
Image pre-processing ....................................................................................................................... 3-19
Image settings .................................................................................................................................... 3-9
Individual numerical calculations for each measuring program ........................................................ 14-1
Initialization ..................................................................................................................... 2-22, 17-2, 17-4
Input & output / system settings ....................................................................................................... 3-34
Interface .......................................................................................................................................... 18-19
Internal synchronization .................................................................................................................... 2-19
[L]
Ladder circuit program creation ........................................................................................................ 15-3
Lead Inspection .................................................................................................................................. 6-1
List of processing functions .............................................................................................................. 17-1
LOCK (menu display) ....................................................................................................................... 1-15
Lock the menu display ...................................................................................................................... 1-15
[M]
MAIN OPS MENU ............................................................................................................................ 1-15
Maintenance ..................................................................................................................................... 19-6
MANL-MEAS (manual measurement) ..................................................................................... 1-12, 2-13
Manually setting the object type ....................................................................................................... 2-14
Mask setting ................................................................................................................ 3-26, 7-6, 8-6, 9-7
Measurement conditions I
- Area measurement by binary conversion ......................................................................................... 7-2
Degree of match inspection .............................................................................................................. 5-2
I-3
Distance and angle measurement .................................................................................................. 11-2
Lead inspection ................................................................................................................................ 6-2
Multiple degree of match inspection ............................................................................................... 12-2
Multiple position measurement ....................................................................................................... 11-2
Object counting by binary conversion ............................................................................................... 8-2
Object identification (labeling) by binary conversion ........................................................................ 9-2
Point measurements ....................................................................................................................... 10-2
- Positional deviation measurement ................................................................................................... 4-2
MEA-CND (measurement conditions) ................................................................................................ 1-5
Measurement data blocks ................................................................................................................ 18-5
Measurement processing cycle ........................................................................................................ 15-2
Measurement start input and result output settings .......................................................................... 16-5
Measurement start input interface ........................................................................................... 16-1, 16-4
Measurement start input ................................................................................................................... 16-4
Menu bar ................................................................................................................................. 1-11, 1-12
Menu configuration ............................................................................................................................. 1-4
Message display ................................................................................................................................. 2-5
Method for selecting the menu configuration ...................................................................................... 1-2
Mid emphasis ................................................................................................................................... 3-22
Monitor output ..................................................................................................................................... 2-2
Multiple degree of match inspection ................................................................................................. 12-1
Multiple positional measurements .................................................................................................... 11-1
[N]
NEXT-NG (display next NG image) .................................................................................................. 1-22
NG image display screen ................................................................................................................. 1-19
NG image display .................................................................................................................... 1-19 to 23
Number of blocks .............................................................................................................................. 18-5
Numeric calculation
- Area measurement by binary conversion ................................................................................ 7-8, 14-6
Degree of match inspection ..................................................................................................... 5-9, 14-5
Distance and angle measurement ......................................................................................... 13-8, 14-8
Lead inspection ....................................................................................................................... 6-8, 14-5
Multiple degree of match inspection ...................................................................................... 12-8, 14-7
Multiple position measurement ............................................................................................ 11-10, 14-7
Object counting by binary conversion ...................................................................................... 8-8, 14-6
Object identification (labeling) by binary conversion ............................................................... 9-9, 14-6
Point measurements .............................................................................................................. 10-8, 14-7
- Positional deviation measurement ........................................................................................ 4-10, 14-2
Numerical calculation conditions ...................................................................................................... 14-1
Numerical calculations (setting examples) ....................................................................................... 14-2
Numerical calculations ...................................................................................................................... 14-1
[O]
Object counting by binary conversion ................................................................................................. 8-1
Object identification and numbering function (labeling) .................................................................... 3-11
I Object Identification by binary conversion .......................................................................................... 9-1
Operation cycle ................................................................................................................................. 15-1
Operation flow after the measurement start input is turned ON. ...................................................... 1-26
I-4
Operation flow .................................................................................................................................. 1-24
Operation main display ....................................................................................................................... 2-9
Operation screen .............................................................................................................................. 1-10
Operation set menu ............................................................................................................................ 2-1
Operations menu lock ....................................................................................................................... 1-15
Operations to return to the operation screen .................................................................................... 1-14
Operation settings
- Area measurement by binary conversion ......................................................................................... 7-2
Degree of match inspection .............................................................................................................. 5-2
Distance and angle measurement .................................................................................................. 13-2
Lead inspection ................................................................................................................................ 6-2
Multiple degree of match inspection ............................................................................................... 12-2
Multiple positional measurements .................................................................................................. 11-2
Object counting by binary conversion ............................................................................................... 8-2
Object identification (labeling) by binary conversion ........................................................................ 9-2
Point measurements ....................................................................................................................... 10-2
- Positional deviation measurement ................................................................................................... 4-2
Option ............................................................................................................................................... 2-22
OR (evaluation) ................................................................................................................................ 10-5
Output conditions
- Area measurement by binary conversion ................................................................................ 7-8, 15-9
Degree of match inspection ..................................................................................................... 5-9, 15-9
Distance and angle measurement ....................................................................................... 13-8, 15-10
Lead inspection ....................................................................................................................... 6-8, 15-9
Multiple degree of match inspection .................................................................................... 12-8, 15-10
Multiple positional measurements ..................................................................................... 11-10, 15-10
Object counting by binary conversion .................................................................................... 8-8, 15-10
Object identification (labeling) by binary conversion ............................................................. 9-9, 15-10
Point measurements ............................................................................................................ 10-8, 15-10
- Positional deviation measurement ........................................................................................ 4-10, 15-4
Output block assignment ................................................................................................................ 16-23
Output code ......................................................................................................................... 17-16, 18-17
Output conditions .............................................................................................................................. 15-3
Output monitor .................................................................................................................................... 2-1
[P]
Parallel input X5 ............................................................................................................................... 16-2
Parallel input X6 ............................................................................................................................... 16-3
Parity check .................................................................................................................................... 16-21
Pattern display .................................................................................................................................... 2-6
Pattern settings ................................................................................................................................... 3-4
PC Function ...................................................................................................................................... 15-1
PC monitor screen ................................................................................................................. 2-11, 15-18
PC scan cycle ................................................................................................................................... 15-2
Pixel contraction ................................................................................................................................. 3-9
Point condition .................................................................................................................................. 10-4
Point measurement .......................................................................................................................... 10-1 I
Polygonal window ............................................................................................................................... 3-8
Position correction ............................................................................................................................ 3-30
I-5
Positional deviation measurement ...................................................................................................... 4-1
Power ON and main loop processing ............................................................................................... 1-24
Power ON setting menu ................................................................................................................... 1-15
Pre-processing ................................................................................................................................. 3-19
Processing functions ........................................................................................................................ 17-7
Program examples (shape and positional deviation inspection) .................................................... 15-16
Program examples ......................................................................................................................... 18-31
[R]
RAM initialization .............................................................................................................................. 2-22
Reading result ......................................................................................................................... 17-1, 17-9
READY'ON (I/O conditions) .............................................................................................................. 16-3
Rectangular window ........................................................................................................................... 3-4
RE-EXAM-NG (re-examine NG) ....................................................................................................... 1-22
Reference image ................................................................................................................................ 4-5
Register coordinate position (window group move) .......................................................................... 3-39
Register a reference image ................................................................................................................ 4-6
Register setting ................................................................................................................................. 18-3
Remote keypad (IV-S30RK1) ........................................................................................................... 1-16
Remote keypad specifications .......................................................................................................... 1-16
Reset ................................................................................................................................................ 17-2
RESET (condition settings) .............................................................................................................. 3-15
Result output .................................................................................................................................... 16-5
Reference image (masking) ............................................................................................................. 3-17
[S]
SAVE ................................................................................................................................................ 1-12
Saving data ....................................................................................................................................... 1-14
Select "ANY" for the serial output ................................................................................................... 16-26
Select "YES" or "NO" for output data.............................................................................................. 16-27
SELECT CAMERA ........................................................................................................................... 2-17
Select output ..................................................................................................................................... 14-3
Self-diagnosis ................................................................................................................................... 2-22
Serial output ........................................................................................................................ 16-23, 16-26
Set serial block ............................................................................................................................... 16-25
Set wizard ........................................................................................................................................... 1-2
Setting (operating) procedure ......................................................................................................... 16-24
Setting and operating outline .............................................................................................................. 1-1
Setting and operating procedures ...................................................................................................... 1-1
Setting any data output ................................................................................................................... 16-26
Setting distance and angle condition ................................................................................................ 13-2
Setting examples ............................................................................................................................ 14-11
Setting for serial communications ................................................................................................... 16-21
Setting items for the IV-S30J .......................................................................................................... 18-19
Setting measurement conditions ........................................................................................................ 3-1
Setting numerical data of any output measuring ............................................................................ 17-16
I Setting reference image area ...................................................................................................... 4-4 to 5
Setting the conditions for each object type ......................................................................................... 3-1
Setting the data output ................................................................................................................... 16-26
I-6
Setting the input/output conditions ................................................................................................... 16-1
Setting the measurement programs ................................................................................................. 1-13
Setting the operating and system conditions ...................................................................................... 2-1
Setting the operating conditions ......................................................................................................... 2-1
Setting the shutter speed .................................................................................................................. 3-36
Setting the system conditions ........................................................................................................... 2-14
Setting window boundaries ............................................................................................................... 3-11
Shading correction ............................................................................................................................ 3-24
Shutter speed ................................................................................................................................... 3-37
Smoothing (median, average) .......................................................................................................... 3-23
Space filter ........................................................................................................................................ 3-23
Specifications for any output data .................................................................................................. 18-16
Station No. ...................................................................................................................................... 16-22
STROBE OUT (strobe output) .......................................................................................................... 16-3
Subtraction ....................................................................................................................................... 3-24
Symptoms and checks ..................................................................................................................... 19-1
SYS-CND (system conditions) ........................................................................................................... 1-5
[T]
Table of controller functions ............................................................................................................. 1-29
Termination code .............................................................................................................................. 19-3
Threshold value automatic setting (edge detection) ......................................................................... 3-15
Threshold value automatic setting (gray scale search) .................................................................... 3-10
Threshold value correction ............................................................................................................... 3-12
Threshold value setting .................................................................................................................... 3-10
Through display ................................................................................................................................ 2-11
Title registration ................................................................................................................................ 3-33
Troubleshooting ................................................................................................................................ 19-1
[V]
Variation difference ........................................................................................................................... 3-12
Variation rate .................................................................................................................................... 3-12
Vertical edge ..................................................................................................................................... 3-23
Vertical line ......................................................................................................................................... 3-6
[W]
Window group move ......................................................................................................................... 3-39
Window shape selection and settings ................................................................................................ 3-4
Write address ................................................................................................................................. 16-22
[X]
XY correction .................................................................................................................................... 3-30
[γ]
γ (positive/negative) .......................................................................................................................... 3-22
[θ] I
θ angle correction image display ........................................................................................................ 2-8
I-7