Datasheet F160-2 Datasheet (OMRON)

Page 1
MANUAL 3:
EXPERT MENU
OPERATION MANUAL
Vision Sensor
F160-2
Cat. No. Z173-E1-01A
Page 2
READ AND UNDERSTAND THIS DOCUMENT
Please read and understand this document before using the products. Please consult your OMRON representative if you have any questions or comments.
WARRANTY
OMRON’s exclusive warranty is that the products are free from defects in materials and workmanship for a period of one year (or other period if specified) from date of sale by OMRON.
OMRON MAKES NO WARRANTY OR REPRESENTATION, EXPRESS OR IMPLIED, REGARDING NON-INFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR PARTICULAR PURPOSE OF THE PRODUCTS. ANY BUYER OR USER ACKNOWLEDGES THAT THE BUYER OR USER ALONE HAS DETERMINED THAT THE PRODUCTS WILL SUITABLY MEET THE REQUIREMENTS OF THEIR INTENDED USE. OMRON DISCLAIMS ALL OTHER WARRANTIES, EXPRESS OR IMPLIED.
LIMITATIONS OF LIABILITY
OMRON SHALL NOT BE RESPONSIBLE FOR SPECIAL, INDIRECT, OR CONSEQUENTIAL DAMAGES, LOSS OF PROFITS OR COMMERCIAL LOSS IN ANY WAY CONNECTED WITH THE PRODUCTS, WHETHER SUCH CLAIM IS BASED ON CONTRACT, WARRANTY, NEGLIGENCE, OR STRICT LIABILITY.
In no event shall responsibility of OMRON for any act exceed the individual price of the product on which liability is asserted.
IN NO EVENT SHALL OMRON BE RESPONSIBLE FOR WARRANTY, REPAIR, OR OTHER CLAIMS REGARDING THE PRODUCTS UNLESS OMRON’S ANALYSIS CONFIRMS THAT THE PRODUCTS WERE PROPERLY HANDLED, STORED, INSTALLED, AND MAINTAINED AND NOT SUBJECT TO CONTAMINATION, ABUSE, MISUSE, OR INAPPROPRIATE MODIFICATION OR REPAIR.
SUITABILITY FOR USE
OMRON shall not be responsible for conformity with any standards, codes, or regulations that apply to the combination of products in the customer’s application or use of the product.
At the customer’s request, OMRON will provide applicable third party certification documents identifying ratings and limitations of use that apply to the products. This information by itself is not sufficient for a complete determination of the suitability of the products in combination with the end product, machine, system, or other application or use.
The following are some examples of applications for which particular attention must be given. This is not intended to be an exhaustive list of all possible uses of the products, nor is it intended to imply that the uses listed may be suitable for the products:
• Outdoor use, uses involving potential chemical contamination or electrical interference, or conditions or uses not described in this document.
• Nuclear energy control systems, combustion systems, railroad systems, aviation systems, medical equipment, amusement machines, vehicles, safety equipment, and installations subject to separate industry or government regulations.
• Systems, machines, and equipment that could present a risk to life or property.
Please know and observe all prohibitions of use applicable to the products.
Page 3
NEVER USE THE PRODUCTS FOR AN APPLICATION INVOLVING SERIOUS RISK TO LIFE OR PROPERTY WITHOUT ENSURING THAT THE SYSTEM AS A WHOLE HAS BEEN DESIGNED TO ADDRESS THE RISKS, AND THAT THE OMRON PRODUCT IS PROPERLY RATED AND INSTALLED FOR THE INTENDED USE WITHIN THE OVERALL EQUIPMENT OR SYSTEM.
PERFORMANCE DATA
Performance data given in this document is provided as a guide for the user in determining suitability and does not constitute a warranty. It may represent the result of OMRON’s test conditions, and the users must correlate it to actual application requirements. Actual performance is subject to the OMRON Warranty and Limitations of Liability.
CHANGE IN SPECIFICATIONS
Product specifications and accessories may be changed at any time based on improvements and other reasons.
It is our practice to change model numbers when published ratings or features are changed, or when significant construction changes are made. However, some specifications of the product may be changed without any notice. When in doubt, special model numbers may be assigned to fix or establish key specifications for your application on your request. Please consult with your OMRON representative at any time to confirm actual specifications of purchased products.
DIMENSIONS AND WEIGHTS
Dimensions and weights are nominal and are not to be used for manufacturing purposes, even when tolerances are shown.
ERRORS AND OMISSIONS
The information in this document has been carefully checked and is believed to be accurate; however, no responsibility is assumed for clerical, typographical, or proofreading errors, or omissions.
PROGRAMMABLE PRODUCTS
OMRON shall not be responsible for the user’s programming of a programmable product, or any consequence thereof.
COPYRIGHT AND COPY PERMISSION
This document shall not be copied for sales or promotions without permission.
This document is protected by copyright and is intended solely for use in conjunction with the product. Please notify us before copying or reproducing this document in any manner, for any other purpose. If
copying or transmitting this document to another, please copy or transmit it in its entirety.
Page 4
F160-2 Vision Sensor
Manual 3: Expert Menu Operation Manual
Revised July 2004
Page 5
iv
Page 6
Notice:
OMRON products are manufactured for use according to proper procedures by a qualified opera­tor and only for the purposes described in this manual.
The following conventions are used to indicate and classify precautions in this manual. Always heed the information provided with them. Failure to heed precautions can result in injury to people or damage to property.
!DANGER Indicates an imminently hazardous situation which, if not avoided, will result in
death or serious injury.
!WARNING Indicates a potentially hazardous situation which, if not avoided, could result in
death or serious injury.
!Caution Indicates a potentially hazardous situation which, if not avoided, may result in
minor or moderate injury, or property damage.
OMRON Product References
All OMRON products are capitalized in this manual. The word “Unit” is also capitalized when it refers to an OMRON product, regardless of whether or not it appears in the proper name of the product.
Visual Aids
The following headings appear in the left column of the manual to help you locate different types of information.
Note Indicates information of particular interest for efficient and convenient opera-
tion of the product.
1,2,3... 1. Indicates lists of one sort or another, such as procedures, checklists, etc.
Precaution Indicates information required to take full advantage of the functions and per-
formance of the product. Incorrect application methods may result in the loss of damage or damage to the product. Read and follow all precautionary infor­mation.
CHECK Indicates points that are important in using product functions or in application
procedures.
TwoCa mera Indicates information required when using a 2-camera system.
SeeAlso Indicates where to find related information.
HELP Indicates information helpful in operation, such as the definition of terms.
OMRON, 2003
All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or trans­mitted, in any form, or by any means, mechanical, electronic, photocopying, recording, or otherwise, without the prior written permission of OMRON. No patent liability is assumed with respect to the use of the information contained herein. Moreover, because OMRON is constantly striving to improve its high-quality products, the information contained in this manual is subject to change without notice. Every precaution has been taken in the preparation of this manual. Nevertheless, OMRON assumes no responsibility for errors or omissions. Neither is any liability assumed for damages resulting from the use of the information contained in this publica­tion.
v
Page 7
Page 8
TABLE OF CONTENTS
SECTION 1
Expert Menu Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1-1 Special Features of the Expert Menu. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1-2 Types and Features of Measurement Methods . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1-3 Compatibility with Conversational Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
1-4 Operational Flow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
1-5 Menus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
SECTION 2
Basic Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
2-1 Starting the F160 and Displaying Images . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
2-2 Menu Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
2-3 Two-camera Unit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
2-4 Setting Inspection Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
2-5 Run Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
2-6 Saving Settings and Exiting the F160 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
SECTION 3
Selecting and Setting Measurement Methods . . . . . . . . . . . . . 67
3-1 Area (Variable Box). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
3-2 Defect (Variable Box) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
3-3 Gravity and Axis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
3-4 OCR for 1 Character . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100
3-5 Classification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104
3-6 Surface Defects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
3-7 Density Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119
3-8 Edge Pitch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
3-9 Edge Position. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128
3-10 Edge Width . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137
3-11 Gray Search and Precise Search . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
3-12 Flexible Search . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155
3-13 Labeling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163
3-14 Relative Search . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 172
3-15 Rotation Search . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 180
SECTION 4
Detailed Setting Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . 191
4-1 Calibration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 193
4-2 Position Displacement Compensation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205
4-3 Details on Expressions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 219
vii
Page 9
TABLE OF CONTENTS
4-4 Display Details. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 233
4-5 Display Strings. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235
4-6 Displaying Measurements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 238
4-7 Displaying Judgements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 241
4-8 Displaying Measurement Region Names . . . . . . . . . . . . . . . . . . . . . . . . . . . . 245
4-9 Displaying Measurement Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 246
4-10 Displaying Fixed Figures. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 248
4-11 Displaying Results (Lines, Boxes, Circles, and Cursors) . . . . . . . . . . . . . . . . 250
4-12 Editing Measurement Regions and Position Compensation Regions . . . . . . . 253
SECTION 5
Other Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 259
5-1 Changing Scenes and Scene Groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 260
5-2 Backing Up Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 266
5-3 Checking Image Density Distribution: Line Brightness . . . . . . . . . . . . . . . . . 276
5-4 Checking I/O Status with External Devices . . . . . . . . . . . . . . . . . . . . . . . . . . 278
5-5 Memory Card Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 281
SECTION 6
System Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 291
6-1 Entering System Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 292
6-2 Camera Settings. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 293
6-3 Measurement Result Output Destinations. . . . . . . . . . . . . . . . . . . . . . . . . . . . 294
6-4 Screen Display and Monitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 298
6-5 Customizing Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 309
6-6 Setting Conditions for Saving Measurement Images . . . . . . . . . . . . . . . . . . . 318
6-7 Using BUSY Signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 322
6-8 Selecting Items to be Shown in Overall Judgements. . . . . . . . . . . . . . . . . . . . 323
6-9 Setting Startup Conditions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 324
6-10 Setting the Calendar Date and Time (Date/Time) . . . . . . . . . . . . . . . . . . . . . . 325
6-11 Checking System Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 325
6-12 Changing to Conversational Menus. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 327
SECTION 7
Appendix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 329
7-1 Terminology. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 330
7-2 Character Codes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 331
7-3 Troubleshooting. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 332
7-4 FAQ. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 336
viii
Page 10
TABLE OF CONTENTS
Index. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 337
Revision History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 345
ix
Page 11
Page 12

About this Manual:

This manual describes setup procedures for the F160 Vision Sensor and it includes the sec­tions described below.
This is one of four manuals used to operate the F160. Refer to the following table for the contents of each manual.
Manual Contents Cat. No.
1: Setup Manual Provides information on system hardware and installa-
tion. Be sure to read this manual first.
2: Conversational
Menu Operation Manual
3: Expert Menu
Operation Manual
4: Communications
Reference Man­ual
Please read the above manuals carefully and be sure you understand the information pro­vided before attempting to install or operate the F160.
Section 1 Expert Menu Features explains the features of the Expert Menu mode and its compatibility with the Conversational Menu mode.
Section 2 Basic Operations describes the basic operations of the Expert Menus. Section 3 Selecting and Setting Measurement Methods explains the measurement
methods provided by the Expert Menu (except for the gravity and area measurement method, which is explained in Section 2).
Section 4 Detailed Setting Operations explains in more detail the basic setting operations for the Expert Menus that were explained in Section 2.
Section 5 Other Functions describes additional functions such as changing the measure­ment setup or backing up data.
Section 6 System Settings describes how to set conditions related to the system environ- ment.
Section 7 Appendix provides information on terminology, character codes, troubleshooting, and answers to FAQs.
Describes operation of the F160 using the Conversa­tional Menus. The Conversational Menus enable the sim­plest operation based on registered images of acceptable and unacceptable products.
Describes operation of the F160 using the Expert Menus. The Expert Menu enable application of all F160 capabili­ties, including setting region images and criteria.
Describes the communications settings and communica­tions protocol used to transfer data through the parallel interface or serial interface.
Z170
Z171
Z173
Z172
!WARNING Failure to read and understand the information provided in this manual may result in per-
sonal injury or death, damage to the product, or product failure. Please read each section in its entirety and be sure you understand the information provided in the section and related sections before attempting any of the procedures or operations given.
xi
Page 13
Page 14
SECTION 1
Expert Menu Features
This section explains the features of the Expert Menu mode and its compatibility with the Conversational Menu mode.
1-1 Special Features of the Expert Menu. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1-2 Types and Features of Measurement Methods . . . . . . . . . . . . . . . . . . . . . . . . 4
1-2-1 Measurement Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1-2-2 Features of Measurement Methods . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1-3 Compatibility with Conversational Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
1-4 Operational Flow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
1-5 Menus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
1-5-1 Menus for One Camera . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
1-5-2 Menus for Two Cameras . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
1
Page 15
Special Features of the Expert Menu Section 1-1

1-1 Special Features of the Expert Menu

Seventeen Measurement Methods for Various Detection Needs
Select the measurement method according to application.
Complicated detection is also possible, by combining multiple measurement methods and with detailed settings.
• Area (var. box)
• Defect (var. box)
• Gravity and area (See note.)
• Gravity and axis (See note.)
• OCR for 1 chara
• Classification
• Defect
• Density data
• Edge pitch
• Edge position (See note.)
• Edge width
• Gray search (See note.)
• Precise search
• Flexible search
• Labeling (See note.)
• Relative search
• Rotation search (See note.) Note Position displacement compensation is also supported for these
measurement methods.
Two-camera Operation
If two Cameras are connected, detection can be performed from two directions and the field of vision can be split in two.
SeeAlso Refer to page 32.
Smooth Setup Changes
Scenes can be used to change between up to 32 types of measurement set­ups. Simply change the scene to change to a different measurement setup. A 128-MB Memory Card can be used to store up to 1,024 scenes.
SeeAlso Refer to page 260.
Flexible Settings for Data Output to External Devices
In addition to simply outputting measurement results, expressions or arith­metic functions can be set to output special data, such as the distance between two regions or the maximum measurement value.
2
Page 16
Special Features of the Expert Menu Section 1-1
SeeAlso
Refer to page 219.
Up to 35 Screens of NG Measurement Object Images
Past defects can be checked on screen.
Saved images are cleared when the power is turned OFF.
Images can be saved as bitmaps, which are useful when creating reports or operating procedures.
SeeAlso Refer to page 318.
Customizing
Customize Screens
SeeAlso Refer to page 233.
• Messages displayed on screen can be changed for easier comprehension of the measurement and its purpose.
0.Scn 0 OK 67ms
Individual region
0.Gray search
Judge : OK Correlation : 92 Position X : 200.000 Position Y : 140.000
MON
Freeze
Customize
Scene names can be changed according to the measurement details (See note.).
0.LABEL
Individual region
0.Presence
Judge : OK Correleation : 92 Position X : 200.000 Position Y : 140.000
Measurement region names can be changed to suit the measurement. (See note.)
MON
OK 67ms
Freeze
3
Page 17
Types and Features of Measurement Methods Section 1-2
• The display method for the measurement results can also be changed as required.
Fixed figures, such as lines, can always be displayed. (Useful as a guide to the position of the measurement object.)
0.LABEL
Difference from standard : 20
Use suitable characters.
MON
OK 67ms
Figures can be displayed at detection position A display cursor is displayed at the label detection position in this example.
Freeze
Measurement value displayed in suitable position.
Customize Operations
SeeAlso Refer to page 309.
• Access can be limited by using a password to prevent incorrect operation.
• Frequently-used operations can be allocated to the Console Keys, allow­ing faster, one-touch operation.

1-2 Types and Features of Measurement Methods

Various measurement methods can be selected according to the application and measurement details. The possible applications for some measurement methods is much wider depending on the way the method is used. In this sec­tion, however, only the most typical applications are described.
1-2-1 Measurement Methods
The Expert Menu has 17 types of measurement.
• Area (variable box)
• Defect (variable box)
• Gravity and area
• Gravity and axis
• OCR for 1 character
• Classification
• Defect
• Density data
• Edge pitch
• Edge position
• Edge width
• Gray search
• Precise search
• Flexible search
• Labeling
• Relative search
• Rotation search
4
Page 18
Types and Features of Measurement Methods Section 1-2
Guide to Selecting Measurement Methods
Measurement target Example
measurement
methods
Size (area) Gravity and area
Area (var. box)
Typical application
examples
Detect presence (expiration dates, parts, etc.)
Detect adhesive coatings. Detect caulking of metal parts.
Position Center of gravity coor-
dinates (Processing time: Short)
Any particular coordi­nates (Processing time: Long)
Dimensions Edge position
(X,Y)
(X,Y)
Gravity and area Robot handling.
Position PCBs.
Gray search Precise search
Robot handling. Position PCBs.
Flexible search
Detect dimensions of molded
Edge width
products (e.g., width of tiles or paper, length of bolts, internal diameter of PCB holes.)
Position displacement Relative search Detect position displacement
(printing, labels, etc.) Fluid volume checks. Detect insufficient tightening of
caps.
Shape (correlation) Gray search
Precise search Flexible search
Angle Gravity and axis
Rotation search
Number Edge pitch
1234
Labeling
Detect foreign items in pack­ages.
Discriminate between direc­tions (parts, marks, etc.)
Detect rotary switch position (angle).
Detect number of pins (IC, connectors, etc.)
Detect detached wiring cables. Detect number of gears.
Defect Defect
Defect (var. box)
Detect marks on sheeting. Detect defects and burrs on
molded products. Check pinholes. Detect impurities in fluids. Examine exterior of chip parts.
Brightness Density data Detect foreign objects.
Detect presence.
Characters OCR for 1 character Read lot number.
Classification Classification Discriminate between grades,
e.g., on fruit boxes.
5
Page 19
Types and Features of Measurement Methods Section 1-2
1-2-2 Features of Measurement Methods
Area (Var. Box)
Use an area (variable box) measurement to adjust the measurement region (a box) for measurement objects with varying sizes or positions and find their size and center of gravity.
The upper, lower, left, and right edges of the measurement object are found.
Upper edge
Measurement region
Measurement region
SeeAlso Refer to page 7 for information on Gravity and Area.
Defect (Var. Box)
Left edge
Lower edge
With the edges detected, the F160 can determine where the measurement object is. Even if the size and position of the measurement object changes, the F160 can move the measurement region appropriately.
Once the edges have been found, the image is converted to a binary image and the area and center of gravity of the measurement region are found.
Use a defect (variable box) measurement to adjust the measurement region (a box) for measurement objects with varying sizes or positions and find defects.
The edges are found in the same way as for Area (var. box) and the measure­ment region is moved as required.
Once the edges have been found, the defects inside the measurement region are detected.
Right edge
Measurement region
SeeAlso Refer to page 9 for information on Defect.
Gravity and Area
6
Use a gravity and area measurement to find the size and position (center of gravity) of a measurement object.
Page 20
Types and Features of Measurement Methods Section 1-2
The image read by the Camera is a 256-gradation image. This is converted to a binary image made up of black and white pixels. The F160 focusses on the white areas only and performs measurement.
Measurement region
Center of gravity of the white pixels
No. of white pixels = area
Area The area is the number of white pixels in the measurement region.
Center of Gravity
HELP Refer to page 330 for information on the center of gravity.
CHECK When a gravity and area measurement is used, an object will receive an OK
CHECK Use an area (var. box) measurement for measurement objects with varying
Gravity and Axis
The center of gravity is the center of the area of white pixel. When the white pixel area of the region forms a square, the center of gravity is the intersection of the lines from diagonal corners.
judgement if the number of white pixels is the same as the OK setting, even if the shape is different. To distinguish shapes, use a gray search, precise search, or flexible search.
measurement region sizes or positions.
Use a gravity and axis measurement to find the angle of a measurement object.
This measurement method also calculates the axis angle, in addition to the binary center of gravity and area calculations described previously.
Measurement region
Axis angle
q
Center of gravity of white pixels
No. of white pixels = area
Axis Angle The axis angle is the angle of the major axis of an ellipse that is diagrammati-
cally equivalent to the area occupied by the white pixels.
CHECK More processing time is required to calculate the axis angle. To simply find the
area and center of gravity, use a gravity and area measurement.
7
Page 21
Types and Features of Measurement Methods Section 1-2
OCR for 1 Character
Use an OCR for 1 character measurement to recognize alphanumeric charac­ters and special symbols. The F160 provides a dictionary, so no models need to be registered.
The F160 recognizes two candidates, 1st candidate and 2nd candidate, from the dictionary, that are most similar to the character image in the measurement region.
If the density deviation is not greater than the set value, the image is recog­nized as having no pattern (no detectable marks).
Measurement region
5
1st candidate: 5 2nd candidate: S
CHECK An expression can be set to output the character code of the recognized char-
acter to an external device. The output when no pattern is detected is the underscore (_) character code.
Classification
Use a classification measurement to classify products, for example, on a line for a variety of products.
A model is registered beforehand that will serve as the classification reference. Up to 36 types of models can be registered to index numbers 0 to 35.
When the printing quality or shape of the model is inconsistent, register multi­ple models to the same index number. Up to 5 models can be registered to the same index number.
A registered to 0 C registered to 2B registered to 1
A
CHECK When multiple models are registered to the same index number, the F160
B
automatically creates auxiliary models between the models that are regis­tered. If the auxiliary models are added to the registered models when searches are performed, stable searches are possible even if there are varia­tions between the registered models. You can select whether or not to use auxiliary models in searches. Refer to page 331 for information on auxiliary models.
Model registraion
0
A
A
1
B
C
B
2
C
C 3 4 5 6 7
SFT+- ¯:Switch
Model (Up to 5 models can be registered)
Index 0 to index 35
8
Page 22
Types and Features of Measurement Methods Section 1-2
The F160 outputs the number of the index for the model that most resembles the image. If there is no model that resembles the image, NG is output. Once that data has been received by the external device, the product can be classi­fied at the next processing stage.
Searches for the model with the highest correlation.
Defect
A
Camera
0
Outputs the index number.
B
C
12
CHECK Expressions must be set to output data to an external device.
Use a defect measurement to detect defects in unpatterned measurement objects.
This method checks for surface defects by measuring variations in density. The shape of the measurement region can be chosen from arc, box, circumfer­ence, or line.
Measurement region
Defect
CHECK The measurement object cannot be measured correctly if there is a pattern or
CHECK Use a defect (variable box) measurement for measurement objects with vary-
Density Data
marks on the object. This method uses variations in density, so if there is a pattern or marks within the measurement region it will be detected as a defect. To measure areas with patterns or marks, use a gray search, precise search, or flexible search. Refer to page 11.
ing measurement region sizes or positions.
Use a density data measurement to detect the presence of a measurement object.
Example: Detecting the Presence of Electronic Parts
Set two measurement regions, one for the part location and one for the back­ground. The density average of each is measured and the difference is used to check if the part is present. If the part is present, the density difference with the background will be large. If the part is not present, the density difference will be small.
9
Page 23
Types and Features of Measurement Methods Section 1-2
The difference in density is compared, so there will be little influence on the measurement if the overall image is dark due to deteriorated lighting.
OK product NG product (no part)
Average density: 30
CHECK Use expressions to set the judgement conditions for density difference and OK
Edge Pitch
CHECK To find only the width of the measurement object, use an edge width measure-
Part
Background
Average density: 190Average density: 200 Average density: 200
Density difference: 170
Density difference: 10
(part present)/NG (part missing).
Use an edge pitch measurement to find the number of edges (number of con­nector pins, etc.) in a measurement object.
In addition to finding the number of edges, this method can be used to find the pitch and width.
Edge
No. of edges Pitch
(Distance between midpoints)
ment.
Edge Position
10
Use an edge position measurement to find the coordinates of the edge of the measurement object.
Page 24
Types and Features of Measurement Methods Section 1-2
The edge is found by density changes within the measurement region. Set the search direction and color changes for each region.
Meaurement region
Want to find the X coordinate of this edge.
Direction: Color: Light Dark
Edge Width
Use an edge width measurement to find the width of the measurement object. This method finds two edges in one measurement region and calculates the
width.
Measurement region
Edge 1
Width
Edge 2
Gray Search, Precise Search, and Flexible Search
Use these measurement methods to distinguish between shapes of measure­ment objects or to find the position (search coordinates) of a measurement object.
Register a reference image pattern as the model.
When a model is registered, the center position of the model is registered as the search coordinates. (These search coordinates can be changed.)
Search coordinates
Register as the model
(change to a suitable position)
11
Page 25
Types and Features of Measurement Methods Section 1-2
The part of an input image that is most similar to the model is found, the degree of similarity is expressed with a correlation value, and the search coor­dinates (X, Y) are found.
Correlation : 95 Search coordinates: (180, 291)
Search
Correlation : 52 Search coordinates: (260, 143)
Search
Labeling
HELP Refer to page 330 for information on density images.
HELP Refer to page 331 for information on models.
HELP Refer to page 330 for information on correlations.
With a precise search, the position is obtained in sub-pixel units. The position accuracy is higher but the processing time is longer than that for a gray search measurement.
Use a flexible search, where multiple models can be registered, for measure­ment objects with inconsistent shapes that give unstable measurements.
Use a labeling measurement to count how many labels there are in a mea­surement region and to find the area and center of gravity of a specified label.
HELP Labels are areas of white pixels in a binary image.
HELP Labeling is the process where a different number is given to each extracted
label.
12
Page 26
Types and Features of Measurement Methods Section 1-2
Images read by the Camera are converted to binary images and the white pix­els are extracted as labels. (Any value can be set to the judgement values to determine what area of white pixels becomes a label.)
Measurement region
Labels are extracted and the area and gravity coordinates found.
The extracted labels are sorted by area or center of gravity, and numbers are allocated to each label.
Example: Sort by area in descending order
Relative Search
Rotation Search
012
Use a relative search measurement to find the position of marks, holes, or other features in relation to the reference position.
Register two image patterns as models, one for the reference position and one for the measurement position. The part of an input image that is most similar to the model is found, and the correlation with the model, and the relative posi­tion and distance between the 2 output points is obtained.
Width X
Distance R
Width Y
Reference position
Measurement position
Use a rotation search measurement to find the angle and position of a mea­surement object.
Register a model that will serve as the reference image pattern. When a model is registered, the registered status of the measurement object becomes 0
° and
13
Page 27
Compatibility with Conversational Menu Section 1-3
the center position of the model becomes the search coordinates. (The search coordinates can be changed.)
Model
A
The angle of the measurement object is found in relation to the reference image (model) for the input image.
Angle
A

1-3 Compatibility with Conversational Menu

Scene Data (Detection Conditions)
Scene data
Conversational
Menus
Set the detection conditions. Add or adjust the conditions.
The detection conditions set in Conversational Menu mode can be used in Expert Menu mode to make detailed adjustments. Once the conditions have been adjusted with the Expert Menu, you can return to the Conversational Menu mode and perform measurements using these adjusted conditions.
Region conditions that have been changed or added in the Expert Menu mode cannot be readjusted using the Conversational Menu mode.
Expert
Menus
Execute measurement. Register new regions to the
Conversational
Menus
Execute measurements.
scenes added or changed using the Expert Menus.
You cannot change the scene regions added or changed using the Expert Menus.
14
Page 28
Operational Flow Section 1-4
System Data The data set using the Conversational Menu mode is used as is.
System data
Conversational
Menus
Expert Menus

1-4 Operational Flow

Turn ON the power.
Preparations for Detection
Starting the Expert Menus. Refer to page 22. See Starting the F160 and Dis­playing Images.
SeeAlso Refer to page 34 for information on setting detection conditions. Refer to this
Setting Detection Conditions
section to learn about the basic operational flow from setting detection condi­tions to executing measurements.
1. Enter Set Mode. Refer to page 34. See 2-4-1 STEP 1: Entering Set Mode.
2. Adjust the Camera image. Refer to page 38. See 2-4-2 STEP 2: Adjusting
Images.
3. Set position displacement compensation if necessary. Refer to page 47. See 2-4-3 STEP 3: Position Compensation. See page 205 for details on position compensation.
4. Select and set the measurement method (Gravity and area). Refer to page 48. See 2-4-4 STEP 4: Measurement Region.
Select the measurement method appropriate to the measurement goal. Refer to page 67. See SECTION 3 Selecting and Setting Measurement
Methods.
Area (var. box), page 70
Defect (var. box), page 82 Gravity and axis, page 92
OCR for 1 character, page 100
Classification, page 104 Defect, page 114
Density data, page 119
Edge pitch, page 123 Edge position, page 128
Edge width, page 137
Gray search, page 147 Precise search, page 147
Flexible search, page 155
Labeling, page 163
Conversational
Menus
Only those items that are part of the Conversational Menu system data can be used. (Other data returns to the default settings.)
15
Page 29
Menus Section 1-5
Relative search, page 172
Rotation search, page 180
5. Setting output details if necessary. Refer to page 59. See 2-4-5 STEP 5: Output Expressions See page 219 for details on output expressions.
6. Changing the screen for measurement if necessary. Refer to page 60. See 2-4-6 STEP 6: Display. See page 233 for details on display.
Confirming Settings and Executing
Perform tests and start measurements. Refer to page 60. See 2-4-7 STEP 7: Monitor Mode and Run Mode.
Troubleshooting
HELP When an error message has been displayed on the screen, refer to page 332
Troubleshooting.
HELP If you have a question, refer to page 336 FAQ.
HELP If you don’t understand a term, refer to page 330 Te rmi no l ogy.
Changing and Deleting Settings
Copy, clear, and change names of measurement methods. Refer to page 235. See Editing Measurement Regions and Position Compensation Regions.
Saving Settings
1. Save detection conditions. Refer to page 65. See Saving Settings and Ex­iting the F160.
2. Back up image, system, and scene data. Refer to page 266 for information on how to back up settings.
Application Setting Operations
1. Set conditions by model type. Refer to page 260. See Changing Scenes and Scene Groups for information on scene and scene-group functions.
2. Set system environment conditions. Refer to page 291. See System Set­tings.
3. Initialize the set detection conditions. Refer to page 260. See Changing Scenes and Scene Groups for information on scene and scene group func-
tions.
4. Set communications specifications and I/O format for communications with external devices. Refer to the Communications Reference Manual.
Additional Functions
1. Use Memory Cards if required. Refer to page 281. See Memory Card Op­erations.
2. Check communications status with external devices if required. Refer to page 278. See Checking I/O Status with External Devices (I/O Monitor).

1-5 Menus

1-5-1 Menus for One Camera
The structure of the menus is shown on the following pages.
16
Page 30
Menus Section 1-5
P. 260
Scn (0 to 31)
*1
*1
The structure of the
SET Menu will change when two cameras are connected. Refer to the next section for details.
AdjustSET
Position
Measurement
(0 to 31)
Expression
Display (0 to 31)
Shutter Speed
Light control
Filtering order (Position)
Filtering (Position)
BGS levels (Position)
Filtering order (Measurement)
Filtering (Measurement)
BGS levels (Measurement)
Calibration
1st region
(P0, P1)
1st direction
2nd region
(P2, P3)
2nd direction
Area (var. box)
Defect (var. box)
Gravity and area
Gravity and axis
OCR for 1 chara
Classification
Defect
Density data
Edge pitch
Edge position
Edge width
Gray search
Precise search
Flexible search
Labeling
Relative search
Rotation search
Variable
Data
Judge
P. 233
P. 3 8
P. 3 9
P. 4 2
P. 4 3
P. 4 5
P. 4 2
P. 4 3
P. 4 5
P.000
Sampling input
Specifying point
Specifying coordinate axis
Parameter input
Reference parameter
P. 2 0 6
P. 2 0 6
P. 2 0 6
*2
P. 2 0 6
P. 7 0
P. 8 2
Gravity and area
Gravity and axis
Edge position
Gray search
Labeling
Rotation search
Same as 1st region.
*2
P. 193
P. 198
P. 200
P. 202
P. 204
P. 5 0
P. 9 2
P. 128
P. 147
P. 163
P. 180
P. 5 0
P. 9 2
P. 1 0 0
P. 1 0 4
P. 1 1 4
P. 1 1 9
P. 1 2 3
P. 1 2 8
P. 1 3 7
P. 1 4 7
P. 1 4 7
P. 1 5 5
P. 1 6 3
P. 1 7 2
P. 1 8 0
P. 2 1 9
P. 2 2 0
P. 2 2 0
17
Page 31
Menus Section 1-5
P. 6 0
MON
P. 6 3
RUN
SYS
Camera settings
P. 2 9 3
Communications Serial
Normal
Host Link
Parallel
Output
Output device
Serial
Memory card
Display
Display settings
Monitor
Designate colors
Make colors
Operation settings
Measurement control
Switch menu
Startup mode
Date/Time
P. 3 1 8
P. 3 2 7
P. 3 2 4
P. 3 2 5
Set key operation
Display capture
Setting menu masking
Processing item masking
Save at switch Scn Group
Password
System information
Memory capacity
Version
P. 294
P. 295
P. 296
P. 298
P. 305
P. 306
P. 307
P. 309
P. 312
P. 314
P. 315
P. 315
P. 316
P. 325
P. 326
Refer to
Communications Reference Manual
.
18
TOOL
SAVE
P. 6 5
System data
Load (Serial)
Save (Serial)
Load (Memory card)
Save (Memory card)
Scn Group data (Same as System Data.)
Scene data
System + Scn Group data
Image data
Memory card
Clear image
Line brightness
I/O monitor
P. 2 6 6
P. 2 6 6
(Same as System Data.)
P. 2 6 6
(Same as System Data.)
P. 2 6 6
(Same as System Data.)
Copy file
P. 3 2 1
P. 2 7 6
File operation
Drive status
Serial
Parallel
P. 269
P. 267
P. 274
P. 272
P. 284
P. 281
P. 288
P. 278
P. 280
Page 32
Menus Section 1-5
1-5-2 Menus for Two Cameras
Camera 0
Adjust 0SET
Position 0
Measurement 0
(0 to 15)
Shutter Speed
Light control
Filtering order (Position)
Filtering (Position)
BGS levels (Position)
Filtering order (Measurement)
Filtering (Measurement)
BGS levels (Measurement)
Calibration
1st region
(P0, P1)
1st direction
2nd region
*2
(P2, P3)
2nd direction
Area (var. box)
Defect (var. box)
Gravity and area
Gravity and axis
OCR for 1 chara
Classification
Defect
Density data
Edge pitch
Edge position
Edge width
Gray search
Precise search
Flexible search
Labeling
Relative search
Rotation search
P. 3 8
P. 3 9
P. 4 2
P. 4 3
P. 4 5
P. 4 2
P. 4 3
P. 4 5
P.000
P. 206
P. 206
P. 206
P. 206
P. 7 0
P. 8 2
P. 5 0
P. 9 2
P. 100
P. 104
P. 114
P. 119
P. 123
P. 128
P. 137
P. 147
P. 147
P. 155
P. 163
P. 172
P. 180
Sampling input
Specifying point
Specifying coordinate axis
Parameter input
Reference parameter
Gravity and area
Gravity and axis
Edge position
Gray search
Labeling
Rotation search
Same as 1st region.
*2
P. 193
P. 198
P. 200
P. 202
P. 204
P. 5 0
P. 9 2
P. 128
P. 147
P. 163
P. 180
19
Page 33
Menus Section 1-5
Camera 1
Camera 0 and 1
Adjust 1
Position 1
Measurement 1
(16 to 31)
Expression
Display (0 to 31)
(Same as Adjust 0.)
3rd region
(P4, P5)
3rd direction
4th region
(P6, P7)
4th direction
(Same as Measurement 0.)
Variable
Data
Judge
P. 2 3 3
*2
*2
P. 206
P. 206
P. 206
P. 206
P. 219
P. 220 P. 220
Same as 1st region.
*2
20
Page 34
SECTION 2
Basic Operations
This section describes the basic operations of the Expert Menus.
2-1 Starting the F160 and Displaying Images . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
2-1-1 Starting the Expert Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
2-1-2 Displaying Images and Focussing. . . . . . . . . . . . . . . . . . . . . . . . . . . 23
2-2 Menu Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
2-2-1 Input Devices. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
2-2-2 Screen Displays. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
2-2-3 Menu Tree . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
2-2-4 Drawing a Region . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
2-2-5 Inputting Values. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
2-2-6 Inputting Characters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
2-3 Two-camera Unit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
2-3-1 Two-camera Menus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
2-4 Setting Inspection Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
2-4-1 STEP 1: Entering Set Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
2-4-2 STEP 2: Adjusting Images . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
2-4-3 STEP 3: Position Compensation . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
2-4-4 STEP 4: Measurement Region . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
2-4-5 STEP 5: Output Expressions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
2-4-6 STEP 6: Display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
2-4-7 STEP 7: Monitor Mode and Run Mode . . . . . . . . . . . . . . . . . . . . . . 60
2-5 Run Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
2-5-1 Entering Run Mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
2-5-2 Performing Measurement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
2-6 Saving Settings and Exiting the F160 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
21
Page 35
Starting the F160 and Displaying Images Section 2-1

2-1 Starting the F160 and Displaying Images

This section describes how to start the F160 Expert Menus and how to display images on the monitor. Refer to the displayed image when adjusting the Cam­era position and focus.
2-1-1 Starting the Expert Menu
1. Check that the basic F160 components have been connected properly.
F160
F1
F1
F1
SHIFT
ENT
F1
F1
F1
TRIGESC
F1
F1
F1
Console
Camera
Power supply
POWER
SYNC
Monitor
CHECK Before connecting components or wiring power supply lines and grounding
wires, be sure to refer to the relevant section in the Setup Manual. Refer to Setup Manual.
2. Turn ON the power supply to the Monitor.
3. Turn ON the power supply on the F160. The Select Menus Screen will be displayed.
Select Menus
Conversational Menus
End
4. Move the cursor from End to Conversational Menus and press the ENT Key.
The menu selections will be displayed.
Select Menus
22
Conversational Menus
Conversational Menus
Expert Menus
Page 36
Starting the F160 and Displaying Images Section 2-1
5. Move the cursor to Expert Menus and press the ENT Key.
6. Select END. After a short pause, the Camera Settings Screen will be displayed.
Camera settings
Camera : F160-S1 Intelligent Lighting 0 : Out of use Intelligent Lighting 1 : Out of use
End
SeeAlso Refer to page 293 for information on the Camera Settings Screen.
7. Set the Camera that is connected.
8. When using Intelligent Lighting, set the model.
9. Select END. The Basic Screen for the Expert Menu will be displayed.
0.Scn 0 MON
---- ---ms
Freeze
CHECK When the settings have been completed, it is useful to use Startup Mode when
actually operating the F160. Startup Mode is used to set the startup conditions (display screen) when the F160 is next started. For example, set the F160 to start in Run Mode. This will allow measurements to be started immediately and will make day-to-day operations easier. Refer to page 324.
CHECK You can select whether or not to display the Select Menus or Camera Settings
Screens when starting the F160. Refer to page 324.
2-1-2 Displaying Images and Focussing
1. Check that the inspection object is displayed on the monitor screen.
0.Scn 0 MON
---- ---ms
Freeze
23
Page 37
Menu Operations Section 2-2
If it is not displayed, change the display image from freeze to through dis­play and adjust the position of the inspection object so that it appears in the center of the monitor screen.
Adjusting the position of the inspection object.
CHECK Press SHIFT+ESC Keys. The screen for changing the display image will
be displayed.
2. Focus the Camera.
• Cameras with a light source (including Intelligent Lighting) have lenses with a fixed focal point. Adjust the Camera position based on the position­ing distances in the Setup Manual to focus the Camera.
CHECK The light level for Intelligent Lighting can be adjusted from the F160. Refer
to page 39.
• When using a Camera Unit, turn the focus ring to focus the Camera.
CHECK Change the shutter speed when the object is moving quickly causing the
image to be blurred. Refer to page 38.

2-2 Menu Operations

2-2-1 Input Devices
Menu operations are performed from either the Console or the serial interface.
F160-KP Console
ESC (escape) Key
Function Keys
F1
to
SHIFT Key
SHIFT
ESC
F9
ENT (enter) Key
SHIFT
ENT
F1
F2
F4
F5
F7
F8
ENT
TRIGESC
F3
TRIG (trigger) Key
TRIG
F6
F9
F150-KP Console
ESC (escape) Key
ESC
SHIFT Key
SHIFT
TRIG (trigger) Key
TRIG
ESC TRIG
SHIFT
F150-KP
CONSOLE
ENT (enter) Key
ENT
Up, Down, Left, and Right Keys
ENT
24
Page 38
Menu Operations Section 2-2
Key Function
ESC: Escape Key Returns the user to the previous menu display or operation.
TRIG: Trigger Key Star ts object measurement.
ENT: Enter Key Executes a function or sets a value.
Note: On the F160-KP, also functions as a Cursor Key.
SHIFT Key Must be pressed in combination with another key to have any
Up, Down, Left, and Right Keys
Function Keys Functions can be assigned to function keys F1 to F8. Refer to
effect. Specific functions are assigned to combinations of the SHIFT Key and other keys for specific screens.
The Up and Down Keys are used to move the cursor up and down and also to set values. The Up Key will increase a value by 1 and the Down Key will decrease a value by 1. Hold down the Up or Down Key to quickly increase or decrease a value.
The Left and Right Keys are used to move the cursor left or right.
page 309. The display can be captured using F9. Refer to page 312.
CHECK
Menu operations can be performed from a personal computer via a serial interface. Refer to the Communications Reference Manual.
2-2-2 Screen Displays
The F160 is operated by selecting functions displayed on the screen. Familiar­ize yourself with each function before operating the F160.
Scene Number
There are 32 screens. Setting different measurement conditions for each one allows easy switching between different setups.
Cursor Keys
The cursor is moved to the desired function by pressing the Cursor Keys.
Functions
The available functions are displayed on the menus.
0.Scn 0 =SET=
AdjustD
Position
Measurement Expression Display
Mode
The current operating mode is displayed.
Displayed Image The type of image being displayed is shown.
Refer to page 319.
Through
Key Operations
Displays special key combinations at the bottom of the screen where available.
25
Page 39
Menu Operations Section 2-2
Mode
Display Meaning
SET Used to set the inspection conditions.
MON (Monitor) Used to check whether inspections are being performed correctly
RUN Performs inspection. The measurement results are output to an
SYS (System) Used to set system conditions for the F160.
TOOL Used to save settings and images to a computer as backup.
SAVE Used to saves data to flash memory. If new settings have been
under the set inspection conditions. The measurement results are displayed on the monitor only. The results cannot be output to external devices.
external device via the parallel interface or RS-232C interface.
made, be sure to save the data before quitting.
2-2-3 Menu Tree
F160 menus are hierarchical. The cursor is moved to the required functions to set measurement conditions. Use the following procedure to move around the menu tree.
1. Move the cursor to the desired function in Set Mode using the Up, Down, Left, and Right Keys.
0.Scn 0 =SET=
Adjust
Position
Measurement Expression Display
2. Press the ENT Key.
In this example, the cursor will move to the Position Menu.
0.Scn 0 =SET= Position
Adjust
Position
Measurement Expression Display
1st region
1st direction 2nd region 2nd direction
3. Repeat step 2 to move to lower levels.
Press the ESC Key to move the display to the previous menu level.
Triangle Mark Items with an inverted triangle after them have a list of alternatives. The
method for selecting the alternatives is given here.
26
Page 40
Menu Operations Section 2-2
1. Move the cursor to the item to be set. In this example, a Camera alternative will be selected.
Camera settings
Camera : F160-S2 Intelligent Lighting 0 : Out of use Intelligent Lighting 1 : Out of use
End
2. Press the ENT Key. The selections will be displayed.
Camera settings
Camera : F150-S1A
Intelligent Lighting 0 :
F150-S1A
Out of use
F160-S1
Intelligent Lighting 1 :
F160-S2
Out of use
Others
End
3. Move the cursor to the desired selection using the Up and Down Keys.
4. Press the ENT Key.
The selected setting will be entered.
Camera settings
Camera :
F150-S1A
Intelligent Lighting 0 : Out of use Intelligent Lighting 1 : Out of use
End
27
Page 41
Menu Operations Section 2-2
2-2-4 Drawing a Region
Use the following method to draw model regions and measurement regions. Move the cursor with the Up, Down, Left and Right Keys. Use these keys together with the SHIFT Key to move the cursor quickly. Press the ENT Key at the desired positions and press the ESC Key to undo the setting.
Measurement
item
Gravity and area
Gravity and axis
Gray search Precise search Density data Relative search Rotation search Labeling Classification Defect (region) Flexible search
Measure-
ment
region
selection
Box
Ellipse
Circle
The whole region moves.
The whole region moves.
The whole region moves.
The lower right
coordinates move.
ENT
ESC
The lower right
coordinates move.
ENT
ESC
The circumference changes.
ENT
ESC
Drawing method
ENT
The figure is set.
ENT
The figure is set.
ENT
The figure is set.
Edge position Edge pitch Edge width OCR for 1
chara Area (var. box) Defect (var.
box)
Circum­ference
Polygon
The whole region moves.
Specify the first point.
The circumference changes.
ENT
ESC
Specify the second point.
ENT
ESC
The width changes.
ENT
ESC
Specify the third and other points.
ENT
ESC
(Up to 10 points can be specified.)
ENT
Press the ENTKey twice.
ENT
The figure is set.
The figure is set.
Box Specify two opposite corner points. Refer to the drawing method for “box” shown
above.
28
Page 42
Menu Operations Section 2-2
Measurement
item
Defect Line
Measure-
region
selection
ment
The whole region moves.
ENT
The length changes.
Drawing method
The width changes.
ENT
ENT
The figure is set.
ESC
Arc
Circum­ference
Region Up to 3 shapes (rectangle, ellipse, circle, circumference, or polygon) can be com-
The whole region moves.
Specify the center, diameter, and thickness.
bined. Refer to the drawing methods for each shown above.
ENT
ESC
ESC
The end point moves.
ESC
The mid-point moves.
ENT
ESC
ENT
ESC
The width changes.
ENT
The figure is set.
Drawing Mode For many measurement methods, up to 3 figures can be combined to draw a
measurement region. Select either the OR or NOT drawing mode.
Drawing
mode
OR Use this mode to draw a shape as a model or measurement region.
NOT Use to delete part of a region.
Function
In this example, the gray area will be the measurement region. Regions with complicated shapes can be drawn and areas can be omitted
from the measurement region by combining figures.
Figure 3 (drawn using OR)
2-2-5 Inputting Values
This section explains how to input values when setting measurement condi­tions or communications specifications.
Figure 1 (drawn using OR)
Figure 2 (drawn using NOT)
29
Page 43
Menu Operations Section 2-2
y
1. Move the cursor to the item for which a value is to be changed.
Judgement conditions
Area : 2035.000 [ 2000.000 : 247808.000] Gravity X : 180.000 [ 0.000 : 511.000] Gravity Y : 250.000 [ 0.000 : 483.000]
End
2. Press the ENT Key.
The cursor will change to a cursor the size of a single digit.
Judgement conditions
Area : 2035.000 [ 2000.000 : 0247808.000] Gravity X : 180.000 [ 0.000 : 511.000] Gravity Y : 250.000 [ 0.000 : 483.000]
End
3. Move the cursor to the digit to be changed. Use the Left and Right Keys to move the cursor.
4. Change the value.
Use the Up Key to increase the value. Use the Down Key to decrease the value.
30
Judgement conditions
Area : 2035.000 [ 2000.000 : 0047808.000] Gravity X : 180.000 [ 0.000 : 511.000] Gravit
Y : 250.000
0
5. Repeat these steps to change other values.
6. Press the ENT Key.
The values will be set.
Judgement conditions
Area : 2035.000 [ 2000.000 : 25000.000] Gravity X : 180.000 [ 0.000 : 511.000] Gravity Y : 250.000 [ 0.000 : 483.000]
End
Page 44
Menu Operations Section 2-2
2-2-6 Inputting Characters
This section explains how to input characters. The software keyboard shown below is displayed on the screen where characters are input.
ABCDEF GH I J K MN OPQRSTUVWXYZ
abcdef gh i j k lmn opq rs tuvwxy z
0123456789. ­#$
SPC
%
DEL
()^ BSBSINS
`
L
-
END
1. Move the cursor to the character to be input.
cursor Cursor
[
ABCDEF GH I J K MN OPQRSTUVWXYZ abcdef gh i j k lmn opq rs tuvwxy z
0123456789. ­%
#$ SPC DEL BS INS
2. Press the ENT Key. The character is set and the I cursor moves one space to the right.
These characters can be input.
Inserts a space.
SPC
Deletes 1character to the right of the I cursor.
()^
DEL
Deletes 1character to the left of the I cursor. Switches between insert (default)/overwrite.
INS
Moves the I cursor to the left. Moves the I cursor to the right. Ends character input.
END
L
!
`
←→
-
END
!
]
3. Repeat these steps to input more characters.
4. Once all required characters have been input, move the cursor to END.
()^
%
DEL BS
]
L
!
`
←→
-
END
Ins.
[LABEL
ABCDEF GH I J K MN OPQRSTUVWXYZ abcdef gh i j k lmn opq rs tuvwxy z
0123456789. ­#$ SPC INS
ENT:Select
5. Press the ENT Key.
The characters will be set.
CHECK Characters can be input from a personal computer via a serial interface. Refer
to the Communications Reference Manual.
31
Page 45
Two-camera Unit Section 2-3

2-3 Two-camera Unit

Using the Two-camera Unit, two Cameras can be connected to the F160 to enable obtaining two images simultaneously.
Synchronized Images from Different Directions
Example: Checking Boxes from Both Ends
Measurement can be performed for boxes from both ends simultaneously using two Cameras. A Sync Sensor is required.
Prevention Function for Mutual Light Interference
If a Camera with Intelligent Lighting (F160-SLC20/SLC50 or F150-SLC20/ SLC50) or a Camera with a Light Source (F150-SL20A/SL50A) is used, there is a slight difference in the time at which the light sources for the two Cameras come ON (first Camera 0 then Camera 1). Therefore, there is no mutual light interference.
32
F160
Page 46
Two-camera Unit Section 2-3
Measuring Large Objects with One Controller
Example: Positioning PWB
Using two Cameras, the field of vision can be split in two and the coordinates of positioning markings can be obtained.
Programmable controller (master)
Actuator
2-3-1 Two-camera Menus
When entering Set Mode for a scene for which the inspection conditions have not been set, the screen for selecting the Camera mode will be displayed. The default menu configuration is for one-Camera operation. For two-Camera operation, change the Camera setting to Camera 0+1 and select the image type (Frame/Field).
SeeAlso Refer to page 34.
Camera mode
Actuator
Control data output
Positioning data output
F160
Camera : Frame/Field : Frame image
End
Camera0+1
Number of input lines
33
Page 47
Setting Inspection Conditions Section 2-4
CHECK
Changing Camera Mode after Making Settings
When Field has been selected, check whether measurements can be per­formed correctly.
To display the screen for setting the Camera mode, press the SHIFT+ENT Keys from the Set Mode screen.
0.Scn 0 =SET=
Adjust 0
Position 0 Measurement 0 Adjust 1 Position 1 Measurement 1 Expression Display
S+ENT:Camera mode
CHECK Once the settings have been changed, save the settings to flash memory.
Then restart the F160 and set the measurement conditions.

2-4 Setting Inspection Conditions

This section explains how to set inspection conditions using the Expert Menus and the basic steps before starting inspections. Gravity and area measure­ment will be used as an example.
2-4-1 STEP 1: Entering Set Mode
To set the inspection conditions, it is first necessary to enter Set Mode. When entering Set Mode for a scene for which the inspection conditions have
not been set, the screen for selecting the Camera mode will be displayed. The menu configuration varies with the Camera mode.
34
SeeAlso Refer to page 34 for information on changing the Camera mode when settings
have been completed.
CHECK When Intelligent Lighting is connected, set the lighting format to be used
before entering Set Mode. Refer to page 293
Page 48
Setting Inspection Conditions Section 2-4
Item Selections Meaning
Camera Camera 0
Frame/Field Frame image
Number of input lines
(default) Camera 1 Camera 0+1
(default)
Field (high speed)
12 to 484 lines (default: 484 lines)
.
Select the connector number to which the Camera to be used is connected. When measuring with two Cameras, select Camera 0+1.
CHECK If the Camera setting is changed, the image adjustment settings are
Measures using frame images.
Measures images in fields. The processing time can be reduced but the accu­racy of the measurement will be reduced because the measurement is per­formed on an image with low resolution in the vertical direction. been selected, check whether measurements can be performed correctly.
This setting is only possible when the F160-S2 is connected. It determines the range of the image obtained from the Camera. The time taken to obtain images can be reduced by specifying an appropriate range with this setting. It is useful when performing inspections on measurement objects that lie within a certain fixed range.
Images of the specified number of lines are displayed at the top of the monitor screen. Set the regions for the various processing items so that they lie within the displayed range. Coordinate values for measurement results are displayed using the values for the position in the monitor display. When the number of input lines is changed, the calibration settings must also be changed accordingly.
initialized.
When Field has
Specified range Displayed image
10 lines
282 lines
282 lihes
CHECK The following tables show the relationship between the number of input lines
setting and the image capture time (i.e., the time taken to obtain an image).
Frames Fields
Number of input
lines
484 16.7 ms 484 8.3 ms
432 14.8 ms 384 7.1 ms
402 13.8 ms 324 6.2 ms
372 12.9 ms 264 5.2 ms
342 11.9 ms 204 4.3 ms
312 11.0 ms 144 3.3 ms
282 10.0 ms 84 2.4 ms
252 9.1 ms 60 2.0 ms
222 8.1 ms 24 1.4 ms
192 7.1 ms
162 6.2 ms
132 5.2 ms
102 4.3 ms
72 3.3 ms
42 2.4 ms
12 1.4 ms
Note The above figures do not include the shutter time.
Capture time
(See note.)
Number of input
lines
Capture time
(See note.)
35
Page 49
Setting Inspection Conditions Section 2-4
HELP
Frame/Field
Frame and field are units of image information. Frame images consist of odd-number and even-number fields.
Field images
Even Odd
Images showing alternate lines
Resolution: 512 (H) x 242 (V) Resolution: 512 (H) x 242 (V)
One frame image is created when two field images are combined.
Frame image
Resolution: 512 (H) x 484 (V)
1. Display the Basic Screen, move the cursor to MON, and press the ENT Key.
0.Scn 0 MON
SET
MON RUN SYS TOOL SAVE
---- ---ms
36
Freeze
2. Select SET.
The Camera mode Settings Screen will be displayed for scenes without set inspection conditions.
Camera mode
Camera : Frame/Field : Frame image
End
Camera0
Number of input lines
3. Set each item and press the ENT Key.
CHECK When measuring with two Cameras, select Camera 0+1 as the Camera
setting. If the number of input lines needs to be set, go to step 4.
If the number of input lines does not need to be set, go to step 7.
Page 50
Setting Inspection Conditions Section 2-4
4. Select Number of input lines.
The Camera and Frame/Field settings will be registered and the screen for the setting the number of input lines will be displayed.
Number of input lines
484 lines???
432 lines 402 lines 372 lines 342 lines 312 lines 282 lines 252 lines
↑ ↓
←→: Switch camera
5. Select the desired number of input lines using the Up and Down Keys. When the selection has been made, the setting range will be displayed with dotted lines.
CHECK When setting for two Cameras, Camera 0’s image is displayed. If neces-
sary, Camera 1’s image can be selected using the Right and Left Keys.
6. Press the ENT Key. The screen for step 3 is returned.
Camera mode
Camera : Frame/Field : Frame image
End
7. Select End.
The initial screen for Set Mode will be displayed.
Using One Camera
0.Scn 0 =SET=
Adjust
Position Measurement Expression Display
Camera0
Number of input lines
S+ENT:Camera mode
37
Page 51
Setting Inspection Conditions Section 2-4
Using Two Cameras
For Camera 0 For Camera 1
0.Scn 0 =SET=
Adjust 0
Position 0 Measurement 0 Adjust 1 Position 1 Measurement 1 Expression Display
S+ENT:Camera mode
Changing Camera Mode
To display the screen for setting the Camera mode, press the
SHIFT+ENT Keys from the Set Mode screen.
after Making Settings
0.Scn 0 =SET=
Adjust 0
Position 0 Measurement 0 Adjust 1 Position 1 Measurement 1 Expression Display
S+ENT:Camera mode
CHECK Once the settings have been changed, save the settings to flash memory.
Then restart the F160 and set the measurement conditions.
2-4-2 STEP 2: Adjusting Images
To facilitate accurate and efficient inspections, images are adjusted for clearer display of the section to be inspected.
TwoCa mera Adjust 0 is displayed for Camera 0 and Adjust 1 appears for Camera 1.
2-4-2-1 Shutter Speed
Change the shutter speed when the object is moving quickly, causing the image to be blurred.
For F150-S1A Cameras
Object movement
Slow
Fast
38
Shutter speed
1/100 s 1/500 s
1/2000 s
1/10000 s
(Default setting: 1/2000 s)
For F160-S1, F160-S2 Cameras
Object movement
Slow
Fast
Shutter speed
1/120 s 1/200 s
1/500 s 1/1000 s 1/2000 s 1/4000 s 1/8000 s
1/20000 s
(Default setting: 1/2000 s)
Page 52
Setting Inspection Conditions Section 2-4
TwoCa mera
When using two Cameras, shutter speed can be set independently for each Camera. The shutter speed can be changed from the menu for F150-S1A, F160-S1, and F160-S2 Cameras only.
1. Select Adjust/Shutter speed.
0.Scn 0 =SET= Adjust
Shutter Speed
Light control Filtering order(Position) Filtering(Position) BGS levels(Position) Filtering order(Measurement) Filtering(Measurement) BGS levels(Measurement) Calibration
The shutter speed selections will be displayed.
Shutter Speed
1/120s 1/200s
1/500s 1/1000s
1/2000s
1/4000s 1/8000s
1/20000s
2. Select the shutter speed while monitoring the image.
3. Press the ENT Key.
The setting will be registered and the screen in (1.) will return.
2-4-2-2 Light Control
When using Cameras with Intelligent Lighting, the light level can be adjusted from the F160. Before using Intelligent Lighting, be sure to change the settings in SYS/Camera settings.
SeeAlso Refer to page 293.
TwoCa mera Light levels for Intelligent Lighting can be adjusted for each Camera. The light
level set at Adjust 0/Light Control 0 is for Camera 0 and the light level set at Adjust 1/Light Control 1 is for Camera 1.
CHECK If the shutter speed is faster than 1/2,000 s, changing the light level may not
affect the brightness. Intelligent Lighting emits pulse lighting in synchronization with the shutter speed. The light level is adjusted by changing the pulse width. If the light level is at its maximum setting of 7, the pulse width is approximately 450 µs, which is almost the same as the shutter interval setting of 1/2,000 s. Therefore, setting the shutter speed to a setting faster than 1/2,000 s may have no effect when the light level setting is high. For example, if the shutter speed is set to 1/4,000 s, light level settings will be effective only up to level 4, as shown in the diagram below.
Light level: 7 (maximum setting; approx. 450 µs)
Light level: 4 (approx. 260 µs)
Light emission time
Shutter interval
Light level adjustment effective
Light level adjustment not effective
39
Page 53
Setting Inspection Conditions Section 2-4
CHECK
Intelligent Lighting cannot be used with the F160-S2 unless the Camera mode/ Number of input lines setting is set to 484.
Intelligent Lighting Screen
B. Light volume
Light control(LTC20)
Lighting pattern 1
50000
A. Segment displays
C. Sample lighting pattern number
Segment Display
As viewed from this perspective
F150-LTC20 F160-LTC20
B A
E
C
D
Lighting can be adjusted for 5 areas.
F150-LTC50 F160-LTC50
E A
DH
BF
C G
Lighting can be adjusted for 8 areas.
CHECK The measurement points are displayed with thick lines. The brightness
depends on the set light level. Refer to page 40.
Displaying Light Levels
The light level for each segment is displayed in a 5- or 8-digit value, with each digit representing the light level of one of the segments. The light levels are displayed from 0 to 7, with 0 indicating that the light is OFF. The higher the set­ting, the higher the light level.
F150-LTC20 F160-LTC20
3 3 3 3 3
Segment A level Segment B level
Segment E level Segment D level
Segment C level
Segment A level Segment B level Segment C level Segment D level
Sample Lighting Patterns
There are 15 sample lighting patterns registered in the F160.
SeeAlso Refer to page 40.
Adjustment Method 1: Sample Lighting Patterns
There are 15 lighting patterns registered in the F160. The lighting can be set simply by going through the different patterns in order and selecting the one that gives the clearest image. Use the SHIFT+Left and Right Keys to switch between sample patterns.
F150-LTC50 F160-LTC50
3 3 3 3 3 3 3 3
Segment H level Segment G level Segment F level Segment E level
40
Page 54
Setting Inspection Conditions Section 2-4
F150-LTC20, F160-LTC20
Not lit
@ Lit (maximum light level)
Pattern
LIght level Pattern
No.
1 4 7 10 13
50000
Light level Pattern
No.
07070 22727 00070 52222
Light level Pattern
No.
Light level Pattern
No.
Light level
No.
2 5 8 11 14
3 6 9 12 15
03333 27272 07000 00007 17777
07777 00707 00700 51111 27777
F150-LTC50, F160-LTC50
Pattern
Light level Pattern
No.
1471013
77777777
2581114
44440000
3691215
77770000
Light level Pattern
No.
00004444
00007777
70707070
Light level Pattern
No.
07070707
70000000
07000000
Light level Pattern
No.
00700000
00070000
00007000
Light level
No.
00000700
00000070
00000007
Adjustment Method 2: Adjusting Light Levels by Segment
The light level for each segment can be set separately to a value between 0 and 7. The setting “0” represents the unlit state, and the higher the setting value the higher the light level. Light levels can also be set by adjusting the light levels for the sections separately after selecting a sample lighting pattern.
Use the Left and Right Keys to select the section to be adjusted and use the Up and Down Keys to adjust the light level.
F150-LTC20, F160-LTC20
F150-LTC50, F160-LTC50
41
Page 55
Setting Inspection Conditions Section 2-4
1. Select Adjust/Light control.
0.Scn 0 =SET= Adjust Shutter Speed
Light control
Filtering order(Position) Filtering(Position) BGS levels(Position) Filtering order(Measurement) Filtering(Measurement) BGS levels(Measurement) Calibration
The settings screen for light control will be displayed.
Light control(LTC20)
Lighting pattern 5: 27272
SFT+←→:Sample ←→:Segment :Light volume
2. Switch the sample pattern lighting level using the SHIFT+Left/Right Keys.
A graphic showing the lighting level will be displayed.
Light control(LTC20)
SFT+←→:Sample ←→:Segment :Light volume
CHECK For fine adjustment of light levels, move to the desired digit using the Right
and Left Keys and adjust the light level using the Up and Down Keys.
3. Press the ENT Key. The setting will be registered and the screen in (1.) will return.
2-4-2-3 Filtering Order
The processing order for filtering and BGS levels can be selected. This pro­cessing order can be set separately for position compensation and measure­ment item.
The cursor can be moved on the image to see the effects of filtering.
Lighting pattern: 27272
42
Page 56
Setting Inspection Conditions Section 2-4
TwoCa mera
The filtering order can be selected for each Camera separately. The filtering order set at Adjust 0/Filtering Order 0 is for Camera 0 and the filtering order set at Adjust 1/Filtering Order 1 is for Camera 1.
1. Select Adjust/Filtering order (Measurement).
0.Scn 0 =SET= Adjust Shutter Speed
Light control Filtering order(Position)
Filtering(Position) BGS levels(Position)
Filtering order(Measurement)
Filtering(Measurement) BGS levels(Measurement) Calibration
The settings screen for filtering order will be displayed.
Filtering order(Measurement)
Filtering BGS levels
BGS levels Filtering
2. Select the filtering order while monitoring the image.
3. Press the ENT Key.
The setting will be registered and the screen in (1.) will return.
2-4-2-4 Filtering
The image read by the Camera can be manipulated to create an image that is easier to measure by using the 8 filtering methods: Smoothing, dilation, ero­sion, median, edge enhancement, vertical edge extraction, horizontal edge extraction, and edge extraction. The filtering can be set separately for position compensation and measurement.
The cursor can be moved on the image to see the effects of filtering.
TwoCa mera The filtering order can be selected for each Camera. The filtering order set
with Filtering Order @ under Adjust 0 is for Camera 0 and the filtering order set with Filtering Order @ under Adjust 1 is for Camera 1.
Filtering Target Function Example
OFF --- --- ---
Smoothing Measurement objects
with slight surface irregu­larity
Dilation White measurement
objects with black noise
Reduces the irregularity through smoothing. Select either weak or strong smoothing.
Increases white to elimi­nate black noise.
application
Stable searches
Removal of noise from measurement objects
43
Page 57
Setting Inspection Conditions Section 2-4
CHECK
Filtering Target Function Example
Erosion Black measurement
Median Measurement objects
Edge enhancement
Vertical edge extraction
Horizontal edge extrac­tion
Edge extrac­tion
objects with white noise
with slight surface irregu­larity
Blurred measurement objects (e.g., due to light­ing changes)
Measurement objects dif­ficult to extract due to bad image contrast
Measurement objects dif­ficult to extract due to bad image contrast
Measurement objects dif­ficult to extract due to bad image contrast
Reduces white to elimi­nate the white noise.
Reduces surface irregu­larities while maintaining the contour.
Enhances edges between bright and dark regions.
Extracts the vertical edges (light and dark) of an image.
Extracts the horizontal edges (light and dark) of an image.
Extracts the vertical edges (light and dark) of an image.
application
Removal of noise from measurement objects
Edge position­ing (with no reduction in accuracy)
Edge position­ing
Defect inspec­tion (using binary pro­cessing)
Defect inspec­tion (using binary pro­cessing)
Defect inspec­tion (using binary pro­cessing)
Filter Size
When the Camera mode is set to Frame Image, the strength of the filtering can be selected.
3 × 35 × 5
Weak Strong
+ The image changes each time these keys are pressed.
SHIFT
ENT
SeeAlso Refer to page 33 for information on how to check and change Camera modes.
1. Select Adjust/Filtering (Measurement).
0.Scn 0 =SET= Adjust
Shutter Speed Light control
Fitering order(Position) Filtering(Position) BGS levels(Position) Filtering order(Measurement)
Filtering(Measurement)
BGS levels(Measurement) Calibration
The settings screen for filtering will be displayed.
44
Page 58
Setting Inspection Conditions Section 2-4
If the Camera mode is set to Frame Image, the filter size will be displayed in the top right-hand corner of the screen.
Filtering(Measurement)
OFF
Weak smooting Strong smoothing Dilate Erosion Median Exhance edges Extract vertical edges
S+←→:Switch S+ENT:Filter size
2. Select the filtering method while monitoring the image.
Press the SHIFT + ENT Keys to change the filter size.
Size5 × 5
CHECK If the image is difficult to see with the Filtering Menu, press the SHIFT+Left/
Right Keys. The background will become transparent.
3. Press the ENT Key to save the selection.
The setting will be registered and the screen in (1.) will return.
CHECK When filtering is applied to an image, values corresponding to the zone around
the edges of the screen will be undefined. Be sure to set the measurement range to that this zone is not included in the range.
10 pixels
282 pixels
Screen size
512 pixels
484 pixels
Valid range: (0,0) to (511,483)
The example below shows the effect of filtering F160-S2 images when the number of input lines is not set to 484. (282 is the setting used in the example.)
Screen size
512 pixels
484 pixels
Screen with 5×5 filter applied
2 pixels 1 pixel
Valid range: (2,2) to (509,481)
Screen with 5×5 filter applied
2 pixels
Screen with 3×3 filter applied
Valid range: (1,1) to (510,482)
Screen with 3×3 filter applied
1 pixel
Valid range: (0,0) to (511,291)
2-4-2-5 Background Suppression
Background suppression (BGS) excludes the background of the measurement object from the measurement process for easier measurement. BGS can be set separately for position compensation and measurement.
Set the upper and lower limits of the BGS density while monitoring the image. BGS changes image areas with densities below the lower limit to 0, and image
areas with densities above the upper limit to 255. Image areas with densities
Valid range: (2,12) to (509,289)
Valid range: (1,1) to (510,290)
45
Page 59
Setting Inspection Conditions Section 2-4
between the lower and upper limits are graded from 0 to 255 so that only images with densities between the lower and upper limits are measured.
Example: Lower limit set to 100 and upper limit set to 220
Measurement object
Background
Measurement density
Upper limit: 220
Lower limit: 100
Background density (cut)
255
0
• Images with densities set to less than 100 are not measured and the den­sity becomes 0.
• Only images with densities between 100 and 220 are measured and the images are graded between 0 and 255.
TwoCa mera The BGS settings can be set separately for each Camera. The BGS levels set
in Adjust 0/BGS Levels @ are for Camera 0 and Adjust 1/BGS Levels @ are for Camera 1.
1. Select Adjust/Filtering (Measurement).
0.Scn 0 =SET= Adjust Shutter Speed Light control
Filtering order(Position) Filtering(Position) BGS levels(Position) Filtering order(Measurement) Filtering(Measurement)
BGS levels(Measurement)
Calibration
46
The settings screen for BGS levels will be displayed.
BGS levels
Upper [255 ] Lower [ 0 ]
OK
:Move ←→:Change
2. Move the cursor to the upper value and use the Left and Right Keys to ad­just the value.
Right Key: Increases the lowest digit by one.
SHIFT+Right Keys: Increases the value in 10s.
Left Key: Reduces the lowest digit by one. SHIFT+Left Keys: Decreases the value in 10s.
Up and Down Keys: Switches between setting items.
3. Use the same method to change the lower value.
4. Select OK.
Page 60
Setting Inspection Conditions Section 2-4
The settings will be registered and the screen in (1.) will return.
2-4-2-6 Calibration
Calibration can be set to output the measurement results in physical units. Set the relationship between the physical coordinates and the camera coordi-
nates to convert the measurement results from pixels to physical units, such as µm, mm, or cm.
This section gives an outline only. Refer to SECTION 4 Detailed Setting Oper- ations (page 193) for details on calibration.
CHECK To output measurement results in physical units, set Coordinate mode/Calibra-
tion to ON for each measurement item.
If Calibration remains set to OFF, the default settings will remain, and mea- surements using the Camera coordinates will be output.
2-4-3 STEP 3: Position Compensation
The position displacement compensation function is used when the position and orientation of measurement objects are not consistent. By using this func­tion, the displacement between the reference position and the current position is obtained, and this displacement is compensated for in measurements.
This section gives an outlined only. Refer to SECTION 4 Detailed Setting Operations (page 205) for details on position compensation.
Reference Position
The measurement region and measurement object are in the correct posi­tions.
Measurement region
Measurement object
47
Page 61
Setting Inspection Conditions Section 2-4
Measurement Object Displaced
Without compensation, measurement is performed with "A" outside the measurement region.
By making position displacement compensation settings...
Measurement is performed after the image is returned to the reference position.
In either case, measurement is performed with "A" in the measurement region.
Measurement is performed after the measurement region is moved to compensate for the displacement.
2-4-4 STEP 4: Measurement Region
The measurement region is drawn on an image of an acceptable measure­ment object and the judgement conditions are set. The process will be explained in this section using the setting operations for a Gravity and Area measurement as an example.
TwoCa mera If Camera 0+1 is selected at Camera mode/Camera, Measurement 0 will be
2-4-4-1 Selecting Region Numbers
displayed for Camera 0 and Measurement 1 will be displayed for Camera 1. Refer to page 33.
The F160 supports 32 measurement regions and 17 measurement methods. The measurement method can be set separately for each region.
TwoCa mera If two Cameras are used, there are 16 regions (0 to 15) for Measurement 0
and 16 regions (16 to 31) for Measurement 1.
48
Page 62
Setting Inspection Conditions Section 2-4
Example: Using Two Measurement Regions
Region 0 Drawn using Defect (Circum) to check for surface defects.
Region 1 Drawn with Gray Search to check that the printed markings are correct and there are no missing parts.
1. Select Measurement region.
0.Scn 0 =SET=
Adjust Position
Measurement
Expression Display
S+ENT:Camera mode
The screen for selecting the region number will be displayed.
0.Scn 0 =SET= Measurement
0.
1.
2.
3.
4.
5.
6.
7.
S+ESC:Edit
2. Select the desired region number.
CHECK If the image is difficult to see with the list of region numbers, press the
SHIFT+Right Keys. The background to the list of region numbers will be­come transparent.
49
Page 63
Setting Inspection Conditions Section 2-4
The alternative measurement methods will be displayed.
0.Scn 0 =SET= Measurement
0.
Area(var. box)
1.
Defect(var. box)
2.
Gravity and area
3.
Gravity and axis
4.
OCR for 1 chara
5.
Classification
6.
Defect
7.
Density data
↑ ↓
↑ ↓
S+ESC:Edit
3. Select the measurement method. In this example a Gravity and Area measurement will be used.
4. Press the ENT Key.
The gravity and area measurement will be registered.
0.Scn 0 =SET= Measurement
0.Gravity and area
1.
2.
3.
4.
5.
6.
7.
CHECK If you are already familiar with the flow of operations, make operation settings
for each measurement method. Refer to page 67.
2-4-4-2 Measuring Binary Center of Gravity and Area
Density images taken by the Camera are converted to binary images, made up of black and white pixels. The F160 performs measurements on the size (area) and position (center of gravity) of the area occupied by the white pixels.
SeeAlso Refer to page 6.
Operational Flow
STEP 1
Set the binary level.
STEP 2
Use the Fill profile function.
STEP 3
Draw the measure­ment region.
STEP 1: Setting the Binary Level
Set the level for converting 256-gradation images into binary images. The F160 performs measurement for the white pixels. Therefore, make the settings so that the measurement object is white.
STEP 4
Re-register reference values.
STEP 5
Set judgement conditions.
(If required)(If required) (If required)
STEP 6
Set pixel skipping.
STEP 7
Set coordinate mode.
50
Page 64
Setting Inspection Conditions Section 2-4
1. Move the cursor to Gravity and area and press the ENT Key.
0.Scn 0 =SET= Measurement
Gravity and area
0.
1.
2.
3.
4.
5.
6.
7.
S+ESC:Edit
CHECK If the image is difficult to see with the list of region numbers, press the
SHIFT+Right Keys. The background to the list of region numbers will be­come transparent.
The initial screen for Gravity and area will be displayed.
0.Gravity and area
Binary
Measurement conditions Region Reference registration Judgement conditions Detailed conditions Coordinate mode
2. Select Binary. The settings screen for binary levels will be displayed.
Lower limit Upper limit
Binary level
:Move ←→:Change
Auto The F160 automatically sets the binary level
Upper [255] Lower [128]
Reverse
Auto OK
Reverse
Reverses dark and
clear in the display
3. Move the cursor to the upper limit and use the Left and Right Keys to change the value.
Right Key: Increases the lowest digit by one.
SHIFT+Right Keys: Increases the value in 10s.
Left Key: Decreases the lowest digit by one. SHIFT+Left Keys: Decreases the value in 10s.
Up and Down Keys: Switches between setting items.
4. Use the same method to change the lower value.
51
Page 65
Setting Inspection Conditions Section 2-4
CHECK
Set the upper and lower limits to make the measurement object white.
Make the measurement object white.
Binary level
:Move ←→:Change
Upper[255] Lower[128]
Reverse Auto OK
5. Select OK.
The settings will be registered and the screen in (2.) will return.
CHECK It is also possible to set the binary level so that measurement is performed
only for an intermediate density range.
STEP 2: Using the Fill Profile Function (Setting Judgement Conditions)
The fill profile function is set when the exterior of the measurement object is being measured.
Turn ON the fill profile function to measure the whole area between the start point (black pixels to white) and the end point (white pixels to black) in the measurement region as white pixels. The default setting for this function is OFF.
Measurement region
52
Start point End point
This area will be measured as white pixels.
Example
Fill profile: ONInput image
Measurement region
When a White-pixel Section Encroaches on the Measurement Region
Fill profile: ONInput image
Not recognized as start point because change from white to black.
Page 66
Setting Inspection Conditions Section 2-4
Measuring Open-form Measurement Objects
The measurement result changes depending on the orientation of the measurement object.
Fill profile: ONInput image
1. Select Measurement conditions.
0.Gravity and area
Binary
Measurement conditions
Region Reference registration Judgement conditions Detailed conditions Coordinate mode
The screen for setting the measurement conditions will be displayed.
Measurement conditions
Fill profile: OFF
2. Select either ON or OFF.
3. Select End.
The setting will be registered and the screen in (1.) will return.
STEP 3: Drawing Measurement Regions
When a measurement region is drawn, measurement is performed for the dis­played image and the results are registered as the reference values (area and center of gravity). This position becomes the reference position for position compensation, so be sure to place the measurement object in the correct posi­tion before drawing the measurement region.
CHECK Regions can be created by combining up to 3 different figures. Regions with
difficult shapes can be drawn and sections not to be measured can be left out of the region by combining different figures.
End
53
Page 67
Setting Inspection Conditions Section 2-4
1. Select Region.
0.Gravity and area
Binary Measurement conditions
Region
Reference registration Judgement conditions Detailed conditions Coordinate mode
The Region Settings Screen will be displayed.
Region
New
Box
E
OR
Ellipse
NOT
Circle Circumference Polygon
2. Select New.
3. Select the shape of the desired figure.
4. Select the desired drawing mode (OR/NOT).
SeeAlso Refer to page 28 for methods for drawing regions.
An arrow cursor will appear.
Up to three figures (0, 1, and 2) can be drawn.
Region
[0] 375,341
5. Draw the region with the shape selected.
The figure will be registered.
Region
Add
Figure0 End
Once three figures have been drawn,
Add
will no longer be displayed.
54
Page 68
Setting Inspection Conditions Section 2-4
6. If additional figures are to be drawn, select Add.
7. Repeat steps 3 to 5 as necessary to create the desired shape.
8. After drawing is completed, select End.
The measurement region will be registered and the screen in (1.) will re­turn.
The center of gravity (marked by an arrow cursor) and the measurement region will be displayed.
Figure 1 (drawn using OR)
Figure 21 (drawn using NOT)
Figure 3 (drawn using OR)
CHECK Figures drawn using OR mode are displayed with solid lines and figures drawn
using NOT mode are displayed with dotted lines.
Correcting or Clearing Figures
1. In the screen for step 6 above, select the figure to be changed or cleared using the Up and Down Keys and press the ENT Key.
Figure 0
Region Add
Figure0
Figure1 End
Figure 1
The figure for the figure number selected using the cursor will be displayed with solid lines. The selections Correct and Clear will be displayed.
Correct
Clear
2. Select either Correct or Clear and press the ENT Key. If Correct is selected, the cursor will be displayed. Correct the size and po-
sition of the figure as desired. If Clear is selected, the selected figure will be cleared.
STEP 4: Re-registering Reference Values
This operation is performed when only the reference values are to be re-regis­tered.
When a measurement region is drawn, the measurement is performed for the displayed image and the results are registered as the reference values. If the re-registering function explained here is used, only the reference values for the image currently displayed will be registered. The area and center of gravity are registered for the reference values.
CHECK The reference position can be changed to enable the following function when
Region is selected.
55
Page 69
Setting Inspection Conditions Section 2-4
Inspecting Positions from a Specified Point
Once the reference values (area and center of gravity) have been obtained for the image currently displayed, the reference position is changed to an suitable point. Position inspection can be performed by calculating the difference between this reference position and the measurement position.
Measurement position (gravity)
Reference position
changed to suitable point
CHECK When the measurement region is changed, the reference values return to the
default settings.
1. Select Reference registration.
0.Gravity and area
Binary Measurement conditions Region
Reference registration
Judgement conditions Detailed conditions Coordinate mode
A cursor will appear at the position of the center of gravity.
Reference position Measurement region
Reference registration
ENT:OK ↓ ←→:Move
2. To change the position, use the Up/Down and Right/Left Keys to move the cursor.
3. Press the ENT Key to confirm the setting.
The setting will be registered and the screen in (1.) will return.
251,184
56
Page 70
Setting Inspection Conditions Section 2-4
STEP 5: Setting the Judgement Conditions
Make settings for the area and center of gravity.
Judgement conditions
Area : 2035.000 [ 0.000 : 247808.000] Gravity X : 180.000 [ 0.000 : 511.000] Gravity Y : 250.000 [ 0.000 : 483.000]
End
: Measurement results for the displayed image. Use these values as a reference for setting upper and lower limits.
Range for an OK judgement.
Area range (0 to 9,999,999.999)
Range of movement of the measurement object in the X direction (9,999.999 to 9,999.999) Range of movement of the measurement object in the Y direction (9,999.999 to 9,999.999)
1. Select Judgement conditions.
0.Gravity and area
Binary Measurement conditions Region Reference registration
Judgement conditions
Detailed conditions Coordinate mode
The Judgement Conditions Settings Screen will be displayed.
Judgement conditions
Area : 2035.000 [ 2000.000 : 247808.000] Gravity X : 180.000 [ 0.000 : 511.000] Gravity Y : 250.000 [ 0.000 : 483.000]
2. Change the settings.
SeeAlso Refer to page 29 for details on inputting values.
3. Select End.
The settings will be registered and the screen in (1.) will return.
STEP 6: Changing Pixel Skipping
To shorten measurement processing time, change the number of pixels to be skipped. The greater the skipping setting, the shorter the processing time. However, the accuracy of the measurement will decrease.
Once the skipping setting has been changed, perform a measurement and confirm that measurement can be performed correctly.
End
57
Page 71
Setting Inspection Conditions Section 2-4
Skipping X and Skipping Y
Set how many pixels to skip in the measurement region during measurement. The default setting is 1, which means that all of the measurement region will be measured.
Pixel
Skipping Y
Skipping X
1. Select Detailed conditions.
0.Gravity and area
Binary Region Reference registration Judgement conditions
Detailed conditions
Coordinate mode
The Detailed Conditions Settings Screen will be displayed.
Detailed conditions
Skipping X: [ 1] Skipping Y: [ 1]
End
58
2. Set the number of pixels to skip.
SeeAlso Refer to page 29 for details on inputting values.
3. Select End. The setting will be registered and the screen in (1.) will return.
Page 72
Setting Inspection Conditions Section 2-4
STEP 7: Setting the Coordinate Mode
Select the type of coordinates.
Before scroll: Output made using the coordinate values
Coordinate mode
Output coordinate: After scroll Calibration : OFF
End
The default settings are marked with asterisks.*
After scroll*: Output made using the coordinate values
ON : Output made using coordinate values set using calibration. OFF*: Output made using Camera coordinate values.
before position displacement compensation.
after position displacement compensation.
Refer to page 205 for position compensation.
Refer to page 330 for differences between output coordinates.
Refer to page 193 for information on calibration.
CHECK If the coordinate mode is changed after the judgement conditions have been
set, the measurement results will change also. Change the judgement condi­tions to enable correct measurement.
1. Select Coordinate mode.
0.Gravity and area
Binary Measurement conditions Region Reference registration Judgement conditions Detailed conditions
Coordinate mode
The Coordinate Mode Settings Screen will be displayed.
Coordinate mode
Output coordinate : After scroll Calibration : OFF
End
2. Make the settings for each item.
3. Select End.
The settings will be registered and the screen in (1.) will return.
2-4-5 STEP 5: Output Expressions
This section explains how to set the contents of outputs made to external devices via serial or parallel interfaces. Output is only made when measure­ments are executed in Run Mode. No output is made to external devices when measurements are executed in Monitor Mode.
Even without setting output expressions, the overall judgement of the drawn region will be output to the OR signal of the parallel interface.
This section gives an outline only. Refer to SECTION 4 Detailed Setting Operations (page 219) for details on output expressions.
59
Page 73
Setting Inspection Conditions Section 2-4
CHECK
Select the destinations for data output under SYS/Output settings. Refer to page 294.
2-4-6 STEP 6: Display
Figures, characters, data, and other information can be added to the screen display in Monitor and Run Modes. Up to 32 pieces of information can be added for each scene.
This section gives an outline only. Refer to SECTION 4 Detailed Setting Operations (page 233) for display details.
CHECK The same settings are used by both Camera 0 and Camera 1. Separate set-
tings cannot be made for each Camera.
2-4-7 STEP 7: Monitor Mode and Run Mode
This section explains how to check if measurements are being correctly per­formed with the set measurement conditions using Monitor Mode, and how to make actual measurements using Run Mode.
2-4-7-1 Entering Monitor Mode
Use the following procedure to check that measurements are being correctly performed with the set measurement conditions.
CHECK The key allocations for the Console Keys used to make input can be changed.
In the following explanations, it is assumed that the key allocations are at the default settings. If they are not, adapt the procedure accordingly. Refer to page 309.
Entering Monitor Mode from Set Mode
1. Display the Set Mode Screen.
0.Scn 0 =SET=
Adjust
Position
Measurement Expression Display
2. Press the ESC Key to leave Set Mode and enter Monitor Mode.
0.Scn 0 MON
---- ---ms
Freeze
60
Page 74
Setting Inspection Conditions Section 2-4
Entering Monitor Mode from Run Mode
1. Move the cursor to RUN and press the ENT Key. The mode selections will be displayed.
0.Scn 0 MON SET
MON
RUN SYS TOOL SAVE
---- ---ms
Freeze
2. Select MON to enter Monitor Mode.
2-4-7-2 Test Measurement
Use the following procedure to execute measurements according to the condi­tions set for the scene currently displayed. The test is completed internally by the F160 and the measurement results are not output via serial or parallel interfaces. The measurement commands can be input, however, via serial or parallel interfaces.
SeeAlso Refer to the Communications Reference Manual for details.
1. Press the TRIG Key on the Console or input the measurement command from an external device.
Measurement timeOverall judgement
0.Scn 0 MON
OK 67ms
Freeze
Measurement will be executed and the measurement results displayed on the screen.
Measurement Time
The time taken for the measurement will be displayed.
CHECK Compared to freeze displays, the measurement time for through displays will
be up to 20 ms longer for frames and 10 ms longer for fields when F160-S1, F160-S2 Cameras are used.
Overall Judgement
The overall judgement will be NG if there is an NG in one or more measure­ment regions, position compensations, or output expressions.
CHECK The items to be included in the overall judgement can be set individually. Refer
to page 323.
TwoCa mera If the camera mode is Camera 0+1, switch between Camera 0 images and
Camera 1 images by pressing the Up/Down Keys. Refer to page 33.
61
Page 75
Setting Inspection Conditions Section 2-4
CHECK
Press the SHIFT + Up/Down Keys to display the stored images in order. Refer to page 319.
Camera 0 image
Cam 0 Freeze
Camera 1 image
Cam 1 Freeze
CHECK Measurement images can be stored. Up to 35 screens can be stored in mem-
ory. Once 35 screens have been stored, the existing screens will be overwrit­ten in order starting with the oldest. Move to SYS/Measurement control and change the conditions for Image storage. To store NG images only, select Only NG, and to store images regardless of the judgement result, select All
. Refer
to page 318.
CHECK Measurement can be repeated for stored images. Display the desired stored
image using the SHIFT+Up/Down Keys and press SHIFT+TRIG Keys to exe­cute measurement. Measurement can also be repeated for freeze images without re-inputting the image using the SHIFT+TRIG Keys. This feature can be used after judgement conditions have been changed to check that the new conditions are appropriate.
2-4-7-3 Changing Display Results
The information displayed on the screen can be changed. The judgement con­ditions can be changed while monitoring detailed measurement values.
This section gives an outline only. Refer to SECTION 6 System Settings (page 300) for details.
1. Press the SHIFT+ESC Keys.
The Display Settings Screen will be displayed.
Display settings
Display image :
Freeze
Display results :
Compensated image : ON Scene/mode menu : ON Overall judgement : ON Processing time : ON
2. Move the cursor to Display results and press the ENT Key.
62
None
End
Page 76
Run Mode Section 2-5
Change the settings as required.
Display settings
Display image
Position compensation
Display results Compensated image Scene/mode Overall judgement Processing tim
All results of regions
All positions of regions
Individual region
Individual variable
End
None
All variables
All data

2-5 Run Mode

2-5-1 Entering Run Mode
You can test whether or not correct measurement can be performed with the set measurement conditions.
CHECK The key allocations for the Console Keys can be changed from MON and RUN
screens. In the following explanation, it is assumed that the key allocations are at the default settings. If they are not, adapt the procedure accordingly. Refer to page 309.
1. Move the cursor to MON and press the ENT Key.
0.Scn 0 MON SET MON
RUN
SYS TOOL SAVE
2. Select RUN to enter Run Mode. The mode selections will be displayed.
2-5-2 Performing Measurement
Use the following procedure to execute measurement according to the condi­tions set for the scene currently displayed. The measurement results will be output to external devices as well.
OK 67ms
Freeze
63
Page 77
Run Mode Section 2-5
Press the TRIG Key on the Console or input the measurement command from an external device.
Overall judgement
0.Scn 0 MON
Measurement will be executed and the measurement results will be displayed on the screen.
Measurement Time
The time taken for the measurement will be displayed.
Measurement result
OK 67ms
Freeze
CHECK Compared to freeze display, the measurement time for through display will be
up to 20 ms longer for frames and 10 ms longer for fields when F160-S1, F160-S2 Cameras are used.
Overall Judgement
The overall judgement will be NG if there is an NG in one or more measure­ment regions, position compensations, or output expressions.
CHECK The items to be included in the overall judgement can be set individually. Refer
to page 323.
CHECK Various commands can be input from an external device in addition to the
measurement command.
Input Commands
Via the parallel interface (Refer to the Communications Reference Manu­al.)
Via the serial interface port using normal communications (Refer to the Communications Reference Manual.)
Via the serial interface port using Host Link communications (Refer to the Communications Reference Manual.)
CHECK Measurement results can also be output to external devices.
Output Formats
Via the parallel interface (Refer to the Communications Reference Manu­al.)
Via the serial interface port using normal communications (Refer to the Communications Reference Manual.)
Via the serial interface port using Host Link communications (Refer to the Communications Reference Manual.)
CHECK Measured images can be stored. Up to 35 screens can be stored in memory.
Once 35 screens have been stored, the existing screens will be overwritten in order starting with the oldest. Move to SYS/Measurement control and change the conditions for Image storage. To store NG images only, select Only NG, and to store images regardless of the judgement result, select All page 318.
. Refer to
64
Page 78
Saving Settings and Exiting the F160 Section 2-6
CHECK
Measurement can be repeated for stored images. Display the desired stored image using the SHIFT+Up/Down Keys and press SHIFT+TRIG Keys to exe­cute measurement. Measurement can also be repeated for freeze images without re-inputting the image using the SHIFT+TRIG Keys. This feature can be used after evaluation conditions have been changed to check that the new conditions are appropriate.
CHECK To display detailed measurement values on the screen, press the
SHIFT+ESC Keys and change the settings. Refer to page 300.
CHECK The lighting will become progressively darker if used for long periods. Make
periodic adjustments to the evaluation conditions. When Intelligent Lighting is used, the lighting will lose approximately 20% illumination after 1,500 hours of use.

2-6 Saving Settings and Exiting the F160

Save settings to flash memory before turning the power OFF.
Precaution Flash memory data is loaded each time the F160 is started. Therefore, when
settings have been changed, be sure to save then to flash memory before turning OFF the power. If the power is turned OFF without saving new settings, all of the setting changes will be lost. Stored images cannot be saved to flash memory so all stored images will be cleared when the power is turned OFF. If you want to keep stored images, backup the images to a personal computer or Memory Card. Refer to page 266.
1. Display the Basic Screen for Monitor Mode or Run Mode.
0.Scn 0 MON
---- ---ms
2. Move the cursor to MON (or RUN) and press the ENT Key. The mode selections will be displayed.
0.Scn 0 MON SET MON RUN SYS TOOL
SAVE
3. Select SAVE.
A confirmation message will be displayed.
Setting data will be saved.
Execute Cancel
4. Select Execute.
---- ---ms
Precaution Do not turn OFF the power or input a RESET signal while a message is
being displayed in any save or load operation. Data in memory will be de­stroyed, and the F160 may not operate correctly the next time it is started.
Once the setting data has been saved, the screen in (1.) return.
5. Turn OFF the power to exit the F160.
65
Page 79
Saving Settings and Exiting the F160 Section 2-6
CHECK
When Using the Scene Group Function The scene data set to Scene Group 0 and the system data will be saved to flash memory. The settings data for Scene Groups 1 to 31 will be overwritten to the Memory Card when this save operation is executed.
66
Page 80
SECTION 3
Selecting and Setting Measurement Methods
The Expert Menu provides 17 different measurement methods. The gravity and area measurement method was already used as an example in Setting Inspection Conditions, Step 4 Measurement Regions in Section 2 Basic Operations. This section explains the other 16 measurement methods.
3-1 Area (Variable Box). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
3-1-1 STEP 1: Setting the Binary Level . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
3-1-2 STEP 2: Using the Fill Profile Function (Setting Judgement Conditions) 71
3-1-3 STEP 3: Drawing the Measurement Region . . . . . . . . . . . . . . . . . . . 72
3-1-4 STEP 4: Registering Reference Values . . . . . . . . . . . . . . . . . . . . . . . 78
3-1-5 STEP 5: Setting Judgement Conditions . . . . . . . . . . . . . . . . . . . . . . 79
3-1-6 STEP 6: Setting Pixel Skipping . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
3-1-7 STEP 7: Setting the Coordinate Mode . . . . . . . . . . . . . . . . . . . . . . . 81
3-2 Defect (Variable Box) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
3-2-1 STEP 1: Setting Measurement Conditions . . . . . . . . . . . . . . . . . . . . 82
3-2-2 STEP 2: Drawing the Measurement Region . . . . . . . . . . . . . . . . . . . 84
3-2-3 STEP 3: Registering Reference Values . . . . . . . . . . . . . . . . . . . . . . . 88
3-2-4 STEP 4: Setting Judgement Conditions . . . . . . . . . . . . . . . . . . . . . . 89
3-2-5 STEP 5: Changing Detection Conditions . . . . . . . . . . . . . . . . . . . . . 90
3-2-6 STEP 6: Setting the Coordinate Mode . . . . . . . . . . . . . . . . . . . . . . . 91
3-3 Gravity and Axis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
3-3-1 STEP 1: Setting the Binary Level . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
3-3-2 STEP 2: Drawing Measurement Regions . . . . . . . . . . . . . . . . . . . . . 94
3-3-3 STEP 3: Re-registering Reference Values. . . . . . . . . . . . . . . . . . . . . 96
3-3-4 STEP 4: Setting Judgement Conditions . . . . . . . . . . . . . . . . . . . . . . 97
3-3-5 STEP 5: Setting Pixel Skipping . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
3-3-6 STEP 6: Setting the Coordinate Mode . . . . . . . . . . . . . . . . . . . . . . . 99
3-4 OCR for 1 Character . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100
3-4-1 STEP 1: Setting Measurement Conditions . . . . . . . . . . . . . . . . . . . . 101
3-4-2 STEP 2: Drawing Measurement Regions . . . . . . . . . . . . . . . . . . . . . 102
3-4-3 STEP 3: Setting Judgement Conditions . . . . . . . . . . . . . . . . . . . . . . 103
3-5 Classification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104
3-5-1 STEP 1: Registering Models. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104
3-5-2 STEP 2: Setting Search Regions . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108
3-5-3 STEP 3: Setting Judgement Conditions . . . . . . . . . . . . . . . . . . . . . . 109
3-5-4 STEP 4: Changing Detailed Conditions . . . . . . . . . . . . . . . . . . . . . . 110
3-5-5 STEP 5: Setting the Coordinate Mode . . . . . . . . . . . . . . . . . . . . . . . 113
67
Page 81
3-6 Surface Defects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
3-6-1 STEP 1: Drawing the Measurement Region . . . . . . . . . . . . . . . . . . . 114
3-6-2 STEP 2: Re-registering Reference Values. . . . . . . . . . . . . . . . . . . . . 116
3-6-3 STEP 3: Setting the Judgement Conditions . . . . . . . . . . . . . . . . . . . 117
3-6-4 STEP 4: Changing Detection Conditions . . . . . . . . . . . . . . . . . . . . . 118
3-6-5 STEP 5: Setting the Coordinate Mode . . . . . . . . . . . . . . . . . . . . . . . 119
3-7 Density Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119
3-7-1 STEP 1: Drawing Measurement Regions . . . . . . . . . . . . . . . . . . . . . 120
3-7-2 STEP 2: Setting Judgement Conditions . . . . . . . . . . . . . . . . . . . . . . 122
3-8 Edge Pitch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
3-8-1 STEP 1: Setting the Edge Detection Conditions . . . . . . . . . . . . . . . . 123
3-8-2 STEP 2: Drawing Measurement Regions . . . . . . . . . . . . . . . . . . . . . 124
3-8-3 STEP 3: Setting Judgement Conditions . . . . . . . . . . . . . . . . . . . . . . 126
3-8-4 STEP 4: Changing Detailed Conditions . . . . . . . . . . . . . . . . . . . . . . 127
3-8-5 STEP 5: Setting the Coordinate Mode . . . . . . . . . . . . . . . . . . . . . . . 128
3-9 Edge Position. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128
3-9-1 STEP 1: Setting Edge Detection Conditions. . . . . . . . . . . . . . . . . . . 129
3-9-2 STEP 2: Drawing Measurement Regions . . . . . . . . . . . . . . . . . . . . . 130
3-9-3 STEP 3: Re-registering Reference Values. . . . . . . . . . . . . . . . . . . . . 131
3-9-4 STEP 4: Setting Judgement Conditions . . . . . . . . . . . . . . . . . . . . . . 132
3-9-5 STEP 5: Changing Detailed Conditions . . . . . . . . . . . . . . . . . . . . . . 133
3-9-6 STEP 6: Monitoring the Density Distribution Near Edges . . . . . . . . 134
3-9-7 STEP 7: Setting the Coordinate Mode . . . . . . . . . . . . . . . . . . . . . . . 136
3-10 Edge Width . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137
3-10-1 STEP 1: Setting Edge Detection Conditions. . . . . . . . . . . . . . . . . . . 138
3-10-2 STEP 2: Drawing Measurement Regions . . . . . . . . . . . . . . . . . . . . . 139
3-10-3 STEP 3: Re-registering Reference Value . . . . . . . . . . . . . . . . . . . . . 140
3-10-4 STEP 4: Setting Judgement Conditions . . . . . . . . . . . . . . . . . . . . . . 142
3-10-5 STEP 5: Changing Detailed Conditions . . . . . . . . . . . . . . . . . . . . . . 142
3-10-6 STEP 6: Monitoring the Density Distribution Near Edges . . . . . . . . 143
3-10-7 STEP 7: Setting the Coordinate Mode . . . . . . . . . . . . . . . . . . . . . . . 145
3-11 Gray Search and Precise Search . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
3-11-1 STEP 1: Registering the Model. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
3-11-2 STEP 2: Changing the Search Coordinates. . . . . . . . . . . . . . . . . . . . 149
3-11-3 STEP 3: Setting the Search Region. . . . . . . . . . . . . . . . . . . . . . . . . . 150
3-11-4 STEP 4: Setting Judgement Conditions . . . . . . . . . . . . . . . . . . . . . . 151
3-11-5 STEP 5: Changing Detailed Conditions . . . . . . . . . . . . . . . . . . . . . . 153
3-11-6 STEP 6: Referencing the Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154
68
Page 82
3-11-7 STEP 7: Setting the Coordinate Mode . . . . . . . . . . . . . . . . . . . . . . . 154
3-12 Flexible Search . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155
3-12-1 STEP 1: Registering Models. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156
3-12-2 STEP 2: Setting Search Regions . . . . . . . . . . . . . . . . . . . . . . . . . . . . 159
3-12-3 STEP 3: Setting Judgement Conditions . . . . . . . . . . . . . . . . . . . . . . 160
3-12-4 STEP 4: Changing Detailed Conditions . . . . . . . . . . . . . . . . . . . . . . 161
3-12-5 STEP 5: Setting the Coordinate Mode . . . . . . . . . . . . . . . . . . . . . . . 162
3-13 Labeling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163
3-13-1 STEP 1: Setting the Binary Level . . . . . . . . . . . . . . . . . . . . . . . . . . . 163
3-13-2 STEP 2: Setting Measurement Conditions . . . . . . . . . . . . . . . . . . . . 165
3-13-3 STEP 3: Drawing Measurement Regions . . . . . . . . . . . . . . . . . . . . . 166
3-13-4 STEP 4: Re-registering Reference Values. . . . . . . . . . . . . . . . . . . . . 169
3-13-5 STEP 5: Setting Judgement Conditions . . . . . . . . . . . . . . . . . . . . . . 170
3-13-6 STEP 6: Setting the Coordinate Mode . . . . . . . . . . . . . . . . . . . . . . . 171
3-14 Relative Search . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 172
3-14-1 STEP 1: Setting Measurement Conditions . . . . . . . . . . . . . . . . . . . . 172
3-14-2 STEP 2: Setting Judgement Conditions . . . . . . . . . . . . . . . . . . . . . . 178
3-14-3 STEP 3: Changing Detailed Conditions . . . . . . . . . . . . . . . . . . . . . . 179
3-14-4 STEP 4: Setting the Coordinate Mode . . . . . . . . . . . . . . . . . . . . . . . 180
3-15 Rotation Search . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 180
3-15-1 STEP 1: Setting Measurement Conditions . . . . . . . . . . . . . . . . . . . . 181
3-15-2 STEP 2: Registering a Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183
3-15-3 STEP 3: Changing the Search Coordinates. . . . . . . . . . . . . . . . . . . . 185
3-15-4 STEP 4: Setting Search Regions . . . . . . . . . . . . . . . . . . . . . . . . . . . . 186
3-15-5 STEP 5: Setting Judgement Conditions . . . . . . . . . . . . . . . . . . . . . . 187
3-15-6 STEP 6: Changing Detailed Conditions . . . . . . . . . . . . . . . . . . . . . . 188
3-15-7 STEP 7: Setting the Coordinate Mode . . . . . . . . . . . . . . . . . . . . . . . 189
69
Page 83
Area (Variable Box) Section 3-1

3-1 Area (Variable Box)

The area (variable box) measurement method measures the area and center of gravity while following the measurement region to suit measurement objects with inconsistent sizes and positions.
First, the upper, lower, left, and right edges of the measurement object are located. The area within the edges becomes the measurement region. The location of the measurement object can be determined using the edge detec­tion points so the measurement region can be adapted to suit if the size or position of the measurement object changes.
Once the edges have been located, the image is converted to binary and the area and center of gravity of the measurement region is measured.
SeeAlso Refer to page 6.
Operational Flow
(If required)(If required) (If required)
STEP 1 STEP 2 STEP 3 STEP 4 STEP 6
Set the binary level.
Use the Fill profile function.
Draw the measure­ment region.
Re-register reference values.
3-1-1 STEP 1: Setting the Binary Level
Set the level for converting 256-gradation images into binary images. The F160 performs measurement for the white pixels. Therefore, make the set­tings so that the measurement object is white.
1. Select Measurement/<Region number>/Area (var.box).
0.Scn 0 =SET= Measurement
0.
Area(var. box)
1.
Defect(var. box)
2.
Gravity and area
3.
Gravity and axis
4.
OCR for 1 chara
5.
Classification
6.
Defect
7.
Density data
↑ ↓
↑ ↓
S+ESC:Edit
STEP 5
Set judgement conditions.
Set pixel skipping.
STEP 7
Set coordinate mode.
70
The initial screen for Area (var. box) will be displayed.
0.Area(var. box)
Binary
Measurement conditions Left edge Upper edge Right edge Lower edge Reference registration Judgement conditions
2. Select Binary.
Page 84
Area (Variable Box) Section 3-1
The Binary Settings Screen will be displayed.
Lower limit Upper limit
Binary level
:Move ←→:Change
Auto The F160 automatically sets the binary level
3. Move the cursor to the upper limit and use the Left and Right Keys to change the value.
Right Key: Increases the lowest digit by one.
SHIFT+Right Keys: Increases the value in 10s.
Left Key: Decreases the lowest digit by one. SHIFT+Left Keys: Decreases the value in 10s.
Up and Down Keys: Switches between setting items.
4. Use the same method to change the lower value.
Upper [255] Lower [128]
Reverse
Auto OK
Reverse
Reverses black and
white in the display
CHECK Set the upper and lower limits to make the measurement object white.
Binary level
:Move ←→:Change
5. Select OK.
The settings will be registered and the screen in (2.) will return.
Upper [255] Lower [128]
Reverse Auto OK
CHECK It is also possible to set the binary level so that measurement is performed
only for an intermediate density range.
3-1-2 STEP 2: Using the Fill Profile Function (Setting Judgement
Conditions)
The fill profile function is set when the exterior of the measurement object is being measured.
Turn ON the fill profile function to measure the whole area between the start point (black pixels to white) and the end point (white pixels to black) in the measurement region as white pixels. The default setting for this function is OFF.
SeeAlso Refer to page 52 for information on the fill profile function.
71
Page 85
Area (Variable Box) Section 3-1
1. Select Measurement conditions.
0.Area(Var. box)
Binary
Measurement conoditions
Left edge Upper edge Right edge Lower edge Reference registration Judgement conditions
↑ ↓
The screen for setting the measurement conditions will be displayed.
Measurement conditions
Fill profile : OFF
End
2. Select either ON or OFF.
3. Select End. The setting will be registered and the screen in (1.) will return.
3-1-3 STEP 3: Drawing the Measurement Region
The measurement region is drawn by specifying the upper, lower, left, and right edges of the measurement object. If even one of the edges cannot be located, the judgement result will be NG.
Upper edge
Left edge
Lower edge
When one of the edges is selected, the settings for the conditions for the selected edge will be displayed. In this example, the settings for the left edge will be explained. Make adjustments as necessary when setting conditions for the upper, lower, and right edges.
Measurement
Right edge
72
Page 86
Area (Variable Box) Section 3-1
1. Set the edge detection conditions. Set the direction for the edge search and the density changes.
Measurement conditions
Direction for edge detection: , , ,
Direction : Color : LightDark
End
Density change: LightDark, DarkLight
CHECK Combining Edge Detection Directions
Set a combination of upper, lower, right, and left edge detection directions that surround the area to be measured.
Upper edge
Left edge
Lower edge
a) Select Left edge.
0.Area(var. box)
Binary Measurement conditions
Left edge
Upper edge Right edge Lower edge Reference registration Judgement conditions
The initial screen for the left edge will be displayed.
Legt edge
Measurement conditions
Region Detaild conditions
Right edge
Left edge
Upper edge
Right edge
b) Select Measurement conditions.
73
Page 87
Area (Variable Box) Section 3-1
The Measurement Conditions Settings Screen will be displayed.
Measurement conditions
Direction : Color : LightDark
End
c) Select the detection conditions for the left edge. d) Select End.
The settings will be registered and the screen in (2.) will return.
2. Drawing the Edge Detection Region Draw a region that includes the edge.
Edge Edge
The edge is not in the region.
a) Select Region.
Left edge
Measurement conditions
Region
Detaild conditions
The Region Settings Screen will be displayed.
Region
230,256
b) Draw a box-shaped region.
74
CHECK The only figure that can be drawn is a box. Refer to page 28.
When the bottom right coordinates are specified, the region will be set and the screen in (1.) will return.
Page 88
Area (Variable Box) Section 3-1
CHECK
Use the following procedure to fix the region.
Measurement Objects with Variable Widths Only
Draw the edge detection region so that the measurement region Y coordinates will remain the same for both the upper and lower edges. The upper and lower edges will always have these edge points.
Upper edge region
100,100
Leftedge region
100,410
Lower edge region
The measurement region will adjust to the right and left edges only before measurement is performed.
300,100
Right edge region
300,410
Measurement Objects with Variable Heights Only
Draw the edge detection region so that the measurement region X coordinates will remain the same for both the left and right edges. The left and right edges will always have these edge points.
Upper edge region
20,100
Left edge region Right edge region
20,410
Lower edge region
The measurement region will adjust to the upper and lower edges only before measurement is performed.
450,100
450,410
75
Page 89
Area (Variable Box) Section 3-1
3. Changing Detailed Conditions as Required
Change the detailed conditions when the measurement results are unsta­ble. Change and set the edge level, noise level, noise width, and offset width as required. (Normally, these four conditions can be left on the de­fault settings.) After changing the settings, perform an object measure­ment to check that measurement can still be performed correctly.
a) Select Detailed conditions.
Left edge
Measurement conditions Region
Detaild conditions
The Detailed Conditions Settings Screen will be displayed.
Detailed conditions
Edge level : [ 50]% Noise level : [ 20] Noise width : [ 0]pix Offset width : [ 0]pix
End
b) Move the cursor to the condition to be changed and change the set-
ting.
SeeAlso Refer to page 29 for details on inputting values.
c) Select End.
The settings will be registered and the screen in (1.) will return. Press the ESC Key to return to the initial screen for Area (var. box).
Edge Level Set a density change level between 0 and 100 that will indicate the edge. Nor-
mally, the default setting of 50% will be fine. The edge is normally detected as follows:
1. The density distribution of the whole measurement region is calculated.
2. The density difference between the lowest and highest density value be­comes 100%.
76
Page 90
Area (Variable Box) Section 3-1
3. The point where the edge level density change is detected becomes the edge.
Measurement region
100%
50%
0%
Maximum density value
Edge level
Minimum density value
Noise Level Set a noise level between 0 and 255 to assist the determination of edges. The
maximum density and minimum density within the edge detection area is cal­culated and if the difference between the two values is less than the noise level, then the F160 determines that there is no edge. Normally the default set­ting of 20 is sufficient. Adjust this to a higher value, however, if noise is caus­ing false edges to be detected.
(Within the edge detection region) Max. density - min. density < noise level no edge NG measurement
result Max. density - min. density noise level Edge Used for measurement
Example: When noise level is set to 30
Edge detection region
Max. density 60
60 15 > 30
Min. density 15
Edge detected so measurement performed
Edge detection region
Max. density 25
Min. density 10
25 10 < 30 Processed as no edge detected. Measurement result NG.
Noise Width Set the noise width between 0 and 255 to evaluate noise.
If the density distribution from the position where the edge was first detected falls to below the edge level within the noise width range, the detected point is judged as noise. Normally the default noise width setting of 0 is sufficient. If noise is causing incorrect detection, make this value higher.
Example
Measurement region
50%
Edge detection point
Noise width (pixel)
Edge level
If the density falls below the edge level within the set range, the detected edge is determined to be noise.
77
Page 91
Area (Variable Box) Section 3-1
Offset Width Set the adjustment width (in pixel units) for the detected edge position. Set a
value between -511 and 511.
The default setting is 0, which means measurement will start from position where the edge is detected.
Offset width
Edge detection point
Left and right edges: Set the offset width on the X axis.
Upper and lower edges: Set the offset width on the Y axis.
Example: To Measure from 2 Pixel-widths Inside the Edge Detection Point
The value inside the brackets is the offset width.
Upper edge (2)
Measurement region
Left edge (2)
Lower edge (-2)
Right edge (-2)
CHECK The display cursor, which indicates the edge detection point, will also appear
at the set offset width position.
3-1-4 STEP 4: Registering Reference Values
When detecting differences from an acceptable product, reference values must be registered. Place the acceptable product in the correct position and register the reference values.
The area and center of gravity are registered for the reference values.
CHECK The reference values can be changed to enable the following function.
Inspecting Positions from a Specified Point
Once the reference values (area and center of gravity) have been obtained for the image currently displayed, the reference position is changed to an suitable point. Position inspection can be performed by calculating the difference between this reference position and the measurement position.
Measurement position (gravity)
Reference position
changed to a suitable point
78
Page 92
Area (Variable Box) Section 3-1
1. Select Reference registration.
0.Area(var. box) Binary
Measurement conditions Left edge Upper edge Right edge Lower edge
Reference registration
Judgement conditions
A cursor will appear at the position of the center of gravity.
Measurement object
Reference position
Reference registration
251,184
ENT:OK ↓←→:Move
2. To change the position, use the Up/Down and Right/Left Keys to move the cursor.
3. Press the ENT Key to confirm the setting. The setting will be registered and the screen in (1.) will return.
3-1-5 STEP 5: Setting Judgement Conditions
Make settings for the area and center of gravity.
Judgement conditions
Area : 2035.000 [ 2000.000 : 247808.000] Gravity X : 180.000 [ 0.000 : 511.000] Gravity Y : 250.000 [ 0.000 : 483.000]
End
: Measurement results for the displayed image. Use these values as a reference for setting upper and lower limits.
Range for an OK judgement.
Area range (0 to 9,999,999.999)
Range of movement of the measurement object in the X direction (9,999.999 to 9,999.999)
Range of movement of the measurement object in the Y direction (9,999.999 to 9,999.999)
79
Page 93
Area (Variable Box) Section 3-1
1. Select Judgement conditions.
0.Area(var. box) Binary
Measurement conditions Left edge Upper edge Right edge Lower edge Reference registration
Judgement conditions
The Judgement Conditions Settings Screen will be displayed.
Judgement conditions
Area : 2035.000 [ 2000.000 : 247808.000] Gravity X : 180.000 [ 0.000 : 511.000] Gravity Y : 250.000 [ 0.000 : 483.000]
End
2. Change the settings.
SeeAlso Refer to page 29 for details on inputting values.
3. Select End.
The settings will be registered and the screen in (1.) will return.
3-1-6 STEP 6: Setting Pixel Skipping
To shorten measurement processing time, change the number of pixels to be skipped. The greater the skipping setting, the shorter the processing time. However, the accuracy of the measurement will decrease.
Once the skipping setting has been changed, perform measurements to check that they can be performed correctly.
Skipping X and Skipping Y
Set how many pixels to skip in the measurement region during measurement. The default setting is 1, which means that all of the measurement region will be measured.
Pixel
Skipping Y
Skipping X
80
Page 94
Area (Variable Box) Section 3-1
1. Select Detailed conditions.
0.Area(var. box)
Measurement conditions Left edge Upper edge Right edge Lower edge Reference registration Judgement conditions
Detailed conditions
The Detailed Conditions Settings Screen will be displayed.
Detailed conditions
Skipping X : [ 1] Skipping Y : [ 1]
End
2. Set the number of pixels to skip.
SeeAlso Refer to page 29 for details on inputting values.
3. Select End.
The setting will be registered and the screen in (1.) will return.
3-1-7 STEP 7: Setting the Coordinate Mode
Select the type of coordinates.
Before scroll: Output made using the coordinate values
Coordinate mode
Output coordinate: After scroll Calibration : OFF
End
The default settings are marked with asterisks.*
After scroll*: Output made using the coordinate values
ON : Output made using coordinate values set using calibration. OFF*: Output made using Camera coordinate values.
CHECK If the coordinate mode is changed after the judgement conditions have been
set, the measurement results will change also. Change the judgement condi­tions to enable correct measurement.
before position displacement compensation.
after position displacement compensation.
Refer to page 205 for position compensation.
Refer to page 330 for differences between output coordinates.
Refer to page 193 for information on calibration.
81
Page 95
Defect (Variable Box) Section 3-2
1. Select Coordinate mode.
0.Area(var. box)
Left edge Upper edge Right edge Lower edge Reference registration Judgement conditions Detailed conditions
Coordinate mode
The Coordinate Mode Settings Screen will be displayed.
Coordinate mode
Output coordinate : After scroll Calibration : OFF
End
2. Make the settings for each item.
3. Select End. The settings will be registered and the screen in (1.) will return.

3-2 Defect (Variable Box)

The defect (variable box) measurement method measures the area and center of gravity while adapting the measurement region to suit measurement objects with inconsistent sizes and positions.
First, the upper, lower, left, and right edges of the measurement object are located. The area within the edges becomes the measurement region.The location of the measurement object can be determined using the edge detec­tion points so the measurement region can be adapted to suit if the size or position of the measurement object changes.
SeeAlso Refer to page 6.
Operational Flow
(If required)
STEP 1
Set measurement conditions.
STEP 2
Set measurement region.
STEP 3
Register reference values.
STEP 4 STEP 6
Set judgement conditions.
3-2-1 STEP 1: Setting Measurement Conditions
The F160 detects the defect position using density variations in the measure­ment region.
(If required)
STEP 5
Change detection conditions.
Set coordinates mode.
82
Page 96
Defect (Variable Box) Section 3-2
This section shows how to select the direction for calculating density changes in the measurement region.
Measurement
direction
X and Y directions
Select to detect the defects for the whole measurement region.
Calculates the variation in den­sity in the X-axis and Y-axis directions.
Application
+
Measurement region
+
+
+
X direction
Select to detect defects or burrs in the upper or lower section of the measurement region.
Refer to page 86. Calculates the variation in den-
sity on the X axis.
Y direction
1. Select Measurement/<Region number>/Defect (var. box).
0.Scn 0 =SET= Measurement
0.
1.
2.
3.
4.
5.
6.
7.
S+ESC:Edit
Select to detect defects or burrs in the right or left section of the measurement region.
Refer to page 87. Calculates the variation in den-
sity on the Y axis.
Area(var. box)
Defect(var. box)
Gravity and area Gravity and axis OCR for 1 chara Classification Defect Density data
+
+
Measurement region
+
+
+
Measurement region
+
+
++
+
+
+
+
+
The initial screen for Defect (var. box) will be displayed.
0.Defect(var. box)
Measurement conditions
Left edge Upper edge Right edge Lower edge Reference registration Judgement conditions Detailed conditions Coordinate mode
83
Page 97
Defect (Variable Box) Section 3-2
2. Select Measurement conditions.
The Measurement Conditions Settings Screen will be displayed.
Measurement conditions
Measure direction : Box
End
3. Select the measurement direction.
4. Select End.
The setting will be registered and the screen in (2.) will return.
3-2-2 STEP 2: Drawing the Measurement Region
The measurement region is drawn by specifying the upper, lower, left, and right edges of the measurement object. If even one of the edges cannot be located, the judgement result will be NG.
Upper edge
Measurement
Left edge
Lower edge
Right edge
When one of the edges is selected, the settings for the conditions for the selected edge will be displayed. In this example, the settings for the left edge will be explained. Make adjustments as necessary when setting conditions for the upper, lower, and right edges.
1. Set the edge detection conditions. Set the direction for the edge search and the density changes.
SeeAlso Refer to page 72 Area (Variable Box) STEP 3 for information on setting
edge detection conditions.
a) Select Left edge.
0.Defect(var. box)
Measurement conditions
Left edge
Upper edge Right edge
Lower edge Reference registration Judgement conditions Detailed conditions Coordinate mode
84
Page 98
Defect (Variable Box) Section 3-2
The initial setting screen for the left edge will be displayed.
Left edge
Measurment conditions
Region Detailed conditions
b) Select Measurement conditions.
The Measurement Conditions Settings Screen will be displayed.
Measurement conditions
Direction : Color : LightDark
End
c) Select the detection conditions for the left edge. d) Select End.
The settings will be registered and the screen in (2.) will return.
2. Drawing the Edge Detection Region Draw a region that includes the edge.
SeeAlso Refer to page 72 Area (Variable Box) STEP 3 for information on drawing
edge detection regions. a) Select Region.
Left edge
Measurement conditions
Region
Detailed conditions
85
Page 99
Defect (Variable Box) Section 3-2
The Region Settings Screen will be displayed.
Region
230,256
b) Draw a box-shaped region.
CHECK The only figure that can be drawn is a box. Refer to page 28.
CHECK
Draw the region so that it includes the edge.
Region Region
The edge is not within the region.
When the bottom right coordinates are specified, the region will be set, and the screen in (1.) will return.
CHECK Use the following procedure to fix the measurement region.
• To measure defects in measurement objects with variable widths only, refer to page 75.
• To measure defects in measurement objects with variable heights only, refer to page 75.
• To Measure Defects and Burrs in the Upper Section of Measurement Regions with Variable Widths Only.
Draw the edge detection region so that the measurement region Y co­ordinates will remain the same for both the upper and lower edges. The upper and lower edges will always have these edge points.
Note Specify X line under Measurement conditions/measurement direc-
tion.
Upper edge region
100, 95
Lower edge region
100, 245
Left edge region Right edge region
470, 95
Defect or burr
470, 245
86
• To Measure Defects and Burrs in the Left Section of Measurement Re­gions with Variable Heights Only.
Page 100
Defect (Variable Box) Section 3-2
Draw the edge detection region so that the measurement region X co­ordinates will remain the same for both the left and right edges. The left and right edges will always have these edge points.
Note Specify Y line under Measurement conditions/measurement direc-
tion.
Left edge region Right edge region
70, 100
200, 100
Upper edge region
Lower edge region
70, 390
Defect or burr
200, 390
3. Changing Detailed Conditions as Required Change the detailed conditions when the measurement results are unsta­ble. (Normally, these conditions can be left on the default settings.) After changing the settings, perform an object measurement to check that mea­surement can still be performed correctly.
SeeAlso Refer to page 72 Area (Variable Box) STEP 3 for information on changing
the detailed conditions as required. a) Select Detailed conditions.
Left edge
Measurement conditions Region
Detailed conditions
The Detailed Conditions Settings Screen will be displayed.
Detailed conditions
Edge level : [ 50]% Noise level : [ 20] Noise width : [ 0]pix Offset width : [ 0]pix
End
b) Move the cursor to the condition to be changed and change the set-
ting.
SeeAlso Refer to page 76 for information on edge levels, noise levels, noise
width, and offset width.
SeeAlso Refer to page 29 for details on inputting values.
c) Select End.
The settings will be registered and the screen in (1.) will return.
87
Loading...