Omron F400 - 06-1999, F400 Operation Manual

Cat. No. Z135–E1-1
F400
OPERATION MANUAL
Color Vision Sensor
i
Operation Manual
Produced June 1999
!
!
!
ii
Notice:
OMRON products are manufactured for use according to proper procedures by a qualified operator 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.
Visual Aids
The following headings will help you locate different types of information.
Note Indicates information of particular interest for efficient and convenient operation of the
product. Indicates pages where additional information can be found.
1. Indicates a procedure. The step numbers in the procedure correspond to the numbers in any related illustrations.
OMRON, 1999
All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, 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. More­over, 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 publication.
iii
About this Manual:
This manual describes the measurement conditions, settings, and external device communications meth­ods for the F400 Color Vision Sensor. The F400 can take measurements using color information.
The F400 supports two scene modes that can be used for measurement: Color Pickup Mode and Color Filter Mode. The features of these two scene modes are as follows:
Color Pickup Mode: Only the specified color is extracted and measured. Color Filter Mode: A color filter is applied to create an easily measurable image. Color combinations
that are hard to distinguish in gray images because of low contrast in brightness, such as green and yellow, can be recognized and measured.
Please read this manual and other related manuals carefully and be sure to understand the information provided before attempting to install or operate the F400. The manuals for the F400 are outlined in the fol­lowing table.
Manual
Contents Cat. No.
Introduction Manual
Provides introductory information about the F400. This manual is designed for first-time users of the F400 and describes features of color gray measurement, basic operations of the F400, and the main F400 applications.
Z131-E1-1
Setup Manual
Describes hardware, wiring, and connections required to install the F400.
Z130-E1-1
Operation Manual
Describes F400 functions. Explains measurement settings and methods for communications with external devices.
Z135-E1-1
Section 1 Introduction
describes features, measurement modes, and menu tree of the F400
Color Vision Sensor.
Section 2 Basic Operations
describes the overall flow of F400 application and basic opera-
tions.
Section 3 Settings
describes how to set measurement conditions for F400 visual inspections.
Section 4 Checking and Executing Measurements
describes how to monitor if correct mea­surements are being performed with the set measurement conditions. It also describes how to perform measurements.
Section 5 System Settings
describes the system setting procedures for the F400.
Section 6 Communications with External Devices
describes the communications settings
and I/O formats for communications with external devices.
Section 7 T roubleshooting
lists the errors that may occur during F400 operation, along with
their probable causes and remedies.
WARNING Failure to read and understand the information provided in this manual may
result in personal 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.
!
v
TABLE OF CONTENTS
PRECAUTIONS vii. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1 Safety Precautions viii. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2 General Precautions viii. . . . . . . . . . . . . . . . . . . . . . . . . . .
SECTION 1 – Introduction 1. . . . . . . . . . . . . . . . . . . . . . .
1-1 Features 2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-2 Measurement Modes 4. . . . . . . . . . . . . . . . . . . . . . . . . . .
1-2-1 Color Pickup and Color Filter Modes 4. . . . . . . . . . . . .
1-2-2 Additional Color Filter Mode 4. . . . . . . . . . . . . . . . . . .
1-3 Menu Trees 5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
SECTION 2 – Basic Operations 7. . . . . . . . . . . . . . . . . . .
2-1 Menu Operations 8. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-1-1 Screen Displays 8. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-1-2 Input Devices 8. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-1-3 Menu Tree 10. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-1-4 Inputting Values 10. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-1-5 Drawing Measurement Regions 12. . . . . . . . . . . . . . . . . .
2-2 Starting and Quitting 14. . . . . . . . . . . . . . . . . . . . . . . . . . .
2-2-1 Starting 14. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-2-2 Selecting Scene Modes 15. . . . . . . . . . . . . . . . . . . . . . . .
2-2-3 Changing Scenes 16. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-2-4 Copying and Clearing Scenes 17. . . . . . . . . . . . . . . . . . .
2-2-5 Quitting 18. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
SECTION 3 – Settings 21. . . . . . . . . . . . . . . . . . . . . . . . . . .
3-1 Adjusting Images 22. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-1-1 Shutter Speed 24. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-1-2 Applying Color Filters 24. . . . . . . . . . . . . . . . . . . . . . . . .
3-1-3 Creating a Color Filter 26. . . . . . . . . . . . . . . . . . . . . . . . .
3-1-4 Picking Up Measurement Colors 28. . . . . . . . . . . . . . . . .
3-1-5 Filtering 33. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-1-6 Background Suppression 34. . . . . . . . . . . . . . . . . . . . . . .
3-1-7 Output Calibration 36. . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-2 Position Compensation 37. . . . . . . . . . . . . . . . . . . . . . . . .
3-2-1 Adjusting Images for Easier Position Compensation 38. .
3-2-2 Setting Position Compensation Regions 38. . . . . . . . . . .
3-2-3 Searches 40. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-2-4 Position Compensation using Edges 43. . . . . . . . . . . . . .
3-2-5 Area and Center of Gravity, and Center of
Gravity and Axis Angle 46. . . . . . . . . . . . . . . . . . . . . . . .
3-3 Measurement Methods 50. . . . . . . . . . . . . . . . . . . . . . . . .
3-3-1 Measurement Regions 50. . . . . . . . . . . . . . . . . . . . . . . . .
Table of contents
vi
3-3-2 Surface Defects 52. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-3-3 Searches 55. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-3-4 Edge Processing 63. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-3-5 Area and Center of Gravity, and Center of
Gravity and Axis Angle 67. . . . . . . . . . . . . . . . . . . . . . . .
3-4 Expressions 75. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
SECTION 4 – Checking and Executing Measurements 83
4-1 Checking Measurements 84. . . . . . . . . . . . . . . . . . . . . . . .
4-1-1 Adjusting Evaluation Criteria while
Viewing Measurements 85. . . . . . . . . . . . . . . . . . . . . . . .
4-2 Measuring 92. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-2-1 Adjusting Evaluation Criteria during Measurement 93. . .
SECTION 5 – System Settings 95. . . . . . . . . . . . . . . . . . . .
5-1 White Balance 96. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-2 Output Destination 97. . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-3 Backup 97. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-3-1 Operations Using the F400 97. . . . . . . . . . . . . . . . . . . . .
5-3-2 Operation Examples for the Personal Computer 99. . . . .
5-4 Display Settings 100. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-4-1 Measurement Screen Settings 100. . . . . . . . . . . . . . . . . . .
5-4-2 Changing the Display Image 103. . . . . . . . . . . . . . . . . . . .
5-5 Key Allocation 106. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-6 Startup Mode 107. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-7 Error Settings 108. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-8 Version 110. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
SECTION 6 – Communications with External Devices 111
6-1 Terminal Blocks 112. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6-1-1 I/O Format 112. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6-1-2 Terminal Signal Operation and Timing 112. . . . . . . . . . . .
6-1-3 Setting Communications (Terminal Block) 118. . . . . . . . .
6-2 RS-232C Port 119. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6-2-1 Flowcharts 119. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6-2-2 Setting Communications (RS-232C) 121. . . . . . . . . . . . . .
6-2-3 Input Command List 122. . . . . . . . . . . . . . . . . . . . . . . . . .
6-2-4 I/O Format 123. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
SECTION 7 – Troubleshooting 135. . . . . . . . . . . . . . . . . . . .
Glossary 139. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Index 149. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
vii
PRECAUTIONS
This section provides general precautions for using the F400 Color Vision Sensor.
The information contained in this section is important for the safe and reliable application of the F400 Color Vision Sensor. You must read this section and understand the information contained before attempting to set up or operate a F400 Color Vision Sensor.
1 Safety Precautions viii. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2 General Precautions viii. . . . . . . . . . . . . . . . . . . . . . . . . . .
!
!
!
!
!
!
!
!
!
!
!
!
PRECAUTIONS
viii
1 Safety Precautions
WARNING Cover the terminal blocks with the Terminal Block Protection Covers.
Uncovered terminal blocks can result in electric shock.
WARNING Use DC power supplies with safe extra low-voltage circuits on the
secondary side for the main F400 power supply and power supplies for the terminal blocks. Excessively high voltages can result in electric shock.
Caution Do not touch fluorescent or halogen lights while the power is ON or
immediately after the power is turned OFF. These lights generate heat and can cause burns.
Caution Do not use the F400 in environments with flammable or explosive gases.
Caution Install the F400 away from high-voltage equipment or motors to ensure safety during
operation and maintenance.
Caution Use the power supply cables and crimp terminals of specified sizes.
Caution Use at the power supply voltages specified in this manual.
Caution Be sure to securely tighten the screws when mounting F400 components.
Caution Do not dismantle, repair or modify any F400 components.
Caution Dispose of F400 components as industrial waste.
Caution To prevent damage from static electricity, use a wrist strap or another device for pre-
venting electrostatic charges when touching terminals or connector signal lines.
Caution Do not turn OFF the power while a message is being displayed indicating that proces-
sing is being performed. Data in memory will be destroyed, and the F400 may not operate correctly the next time it is started.
2 General Precautions
The user must operate the product according to the performance specifications described in the operation manuals.
Before using the product under conditions which are not described in the manual or applying the product to nuclear control systems, railroad systems, aviation systems, vehicles, combustion systems, medical equipment, amusement machines, safety equipment, and other systems, machines, and equipment that may have a serious influence on lives and property if used improperly, consult your OMRON representa­tive.
Make sure that the ratings and performance characteristics of the product are suffi­cient for the systems, machines, and equipment, and be sure to provide the systems, machines, and equipment with double safety mechanisms.
1
SECTION 1
Introduction
This section describes features, measurement modes, and menu tree of the F400 Color Vision Sensor.
1-1 Features 2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-2 Measurement Modes 4. . . . . . . . . . . . . . . . . . . . . . . . . . .
1-2-1 Color Pickup and Color Filter Modes 4. . . . . . . . . . . . .
1-2-2 Additional Color Filter Mode 4. . . . . . . . . . . . . . . . . . .
1-3 Menu Trees 5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-1SectionFeatures
2
1-1 Features
Color Images
Color information from a color image can be used when performing measurements. Select one of the two F400 measurement modes, called scene modes, depending on the application. The two modes are Color Pickup Mode and Color Filter Mode.
Refer to t h e
Introduction Manual (Z131)
for information on color (hues and saturation)
and applications.
Color Pickup Mode
The Color Pickup mode is used to extract only specified colors. Simply click the color to be displayed on the screen to register it as a pickup color. Up to 8 colors can be registered per scene.
Applications include separation by color, such as for ice cream separation or for wir­ing checks.
Color Filter Mode
A color filter can be applied to create an easily measurable image. There are five color filters: Red, green, blue, colorgray, and gray. The colorgray filter is used to convert a color image to a grayscale image with 256 gradations by using hue and saturation settings. The colorgray filter enables measurement of color combinations, such as green and yellow, with low contrast in brightness making them hard to distinguish in gray images.
Applications include detection of small defects, such as surface defects on bottle caps, and inspection free from background distortion, such as inspecting the amount of adhesive that has been coated on a surface.
1-1SectionFeatures
3
Position and orientation of object can be compensated before measurement. p. 37 There are four methods: Using search, edge, area and center of gravity, or center of gravity and axis angle.
Color of object and color read by camera can be adjusted auto­matically using white balance.
p. 96 Adjust white balance each
time lighting is changed.
Camera image can be adjusted to facilitate measurement. Filtering: Edges of object are enhanced and noise reduced.
p.
33 Background suppression: Background of object, such as pat-
terns, is excluded from measurement.
p. 34
Color filter: Contrast of measurement area is increased
p.24
Up to 8 specified colors can be picked up.
p. 28
Images can be checked on screen. Up to 16 images can be stored
in memory to confirm past images to see what problems have occurred. Images can be backed up on a computer.
p. 100
Setup can be changed smoothly.
p. 16 Each of 16 scenes can be
set up for different inspection conditions. Change scenes to setup a different measurement object.
Camera
Sync sensor
Monitor
Programmable Controller
Personal computer
Shutter speed can be adjusted to speed of measurement object.
p. 24
F400
Communications with external devices is possible through a terminal block or RS-232C port. Refer to the table on the next page.
The distance between two regions or the maximum value can be obtained by calculating measured values or by using functions.
p. 75
Input/Output Terminal block RS-232C
Trigger input Yes Yes Measurement values output No Yes Judgement output (OK/NG) Yes No
Terminal blocks:
p. 112
RS-232C port:
p. 119
1-2SectionMeasurement Modes
4
1-2 Measurement Modes
There are five measurement modes. Different modes are available depending on the scene mode.
1-2-1 Color Pickup and Color Filter Modes
Search p. 55, 144
Density searches are used when inspecting the shape of specific objects. The object is measured using a registered measurement pattern called a model. The position of the object and the degree of conformity, called the correlation, with the model are cal­culated.
Edge
p. 63, 140
The edge measurements are used to find the coordinates of edges of the measure­ment object. The width of an object can be calculated by using an equation to subtract edge coordinates.
Area and Center of Gravity
p. 67, 147
The binary center of gravity and area can be used to calculate the size (i.e., the area) and the position (i.e., the center of gravity) of the measurement object.
Center of Gravity and Axis Angle
p. 67, 147
The binary axis angle can be used to calculate the orientation (i.e., the binary axis) of the measurement object, in addition to the center of gravity and area. Binary axis searches increase processing time, so binary center of gravity and area searches should be used when only the center of gravity and area are required.
1-2-2 Additional Color Filter Mode
Surface Defects p. 52, 142
The measurement object can be inspected for surface defects. Areas that are largely different in densities are detected as defects.
1-3SectionMenu Trees
5
1-3 Menu Trees
Color Pickup and Color Filter Modes have different menu hierarchies. The menu hier­archies are outlined in the following diagrams. The same hierarchy exists under each scene.
Color Pickup
Shutter speed p. 24 Pickup color
p. 28
Calibration
p. 36
Position compensation
Area & gravity
p. 46
Measurement region
Judge
p. 75
Data
p. 75
SET
MON (Monitor) p. 84
RUN
p. 92
Scene 0
Scene 15
p. 16
Gravity & axis p. 46 Edge p. 43 Search p. 40
Area & gravity
p. 67
Gravity & axis p. 67 Edge p. 63 Search p. 55
White balance p. 96
SYS (System)
Communications settingsp. 118, 121
Backup p. 97 Display settings p. 100
Startup mode p. 107 Error method p. 108 Version p. 110
SAVE p. 18
Region 0 Region 1
Measurement region 0 to 15
Output p. 97
Set key operation
p. 106
Expression
Adjust
1-3SectionMenu Trees
6
Color Filter
Shutter speed p. 24 Color filter
p. 24
Calibration
p. 36
Position compensation
Color filter
p. 37
Measurement region
Judgement
p. 75
Data
p. 75
SET
MON (Monitor) p. 84
RUN
p. 92
Scene 0
Scene 15
p. 16
Color select p. 37
Filtering p. 37 Background suppression level p. 37
Surface defects
p. 52
Search p. 55 Edge p. 63 Area & gravity p. 67
White balance p. 96
SYS (System)
Communications settings p. 118, 121
Backup p. 97 Display settings p. 100
Startup mode p. 107 Error method p. 108 Version p. 110
SAVE p. 18
Background suppression level p. 34
Color select
p. 26
Filtering p. 33
Adjust
Region
Search p. 55 Edge p. 63
Area & gravity p. 67 Gravity & axis p. 67
Gravity & axis p. 67
Region 0 Region 1
Measurement region 0 to 15
Outputp. 97
Set key operation
p. 106
Expression
Adjust
7
SECTION 2
Basic Operations
This section describes the overall flow of F400 application and basic operations.
2-1 Menu Operations 8. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-1-1 Screen Displays 8. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-1-2 Input Devices 8. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-1-3 Menu Tree 10. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-1-4 Inputting Values 10. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-1-5 Drawing Measurement Regions 12. . . . . . . . . . . . . . . . .
2-2 Starting and Quitting 14. . . . . . . . . . . . . . . . . . . . . . . . . . .
2-2-1 Starting 14. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-2-2 Selecting Scene Modes 15. . . . . . . . . . . . . . . . . . . . . . . .
2-2-3 Changing Scenes 16. . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-2-4 Copying and Clearing Scenes 17. . . . . . . . . . . . . . . . . . .
2-2-5 Quitting 18. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-1SectionMenu Operations
8
2-1 Menu Operations
2-1-1 Screen Displays
The F400 is operated by selecting functions from the screen. Highlighted text indi­cates the current cursor position. The screen is shown in the following diagram.
Scene number
Mode
Key operations
B Mark
Color bar
Cursor position
Displayed image
---- --ms
Color thr
Scn 0BMONB
The current scene number is displayed. There are 16 scenes that can be created to change the measurement conditions easily.
Options will appear when an item with the B mark is selected. The current operating mode is displayed. The modes are Set, Monitor, Run, System,
and Save. The operating modes are described in the following table.
Mode Meaning
SET Used to set measurement conditions. MON (Monitor) Used to confirm whether or not the measurement is being performed correctly under the set
conditions and make adjustments if required. In this mode, measurement results are displayed on the video monitor only and are not output to an external device.
RUN Used to perform object measurements. Outputs measurement results to an external device
via terminal blocks or RS-232C. SYS (System) Used to make F400 system settings. SAVE Saves settings to flash memory. Always save altered settings before exiting.
The selected text is highlighted.
The type of image displayed on the video monitor is shown. Refer to
Section 5-4-2
Changing Displayed Images
. p. 103
The keys that can be used and their corresponding functions are displayed at the bot­tom of the screen.
The F400 will be in Color Filter Mode if the color bar is displayed and in Color Pickup Mode if the color bar is not displayed.
2-1-2 Input Devices
The menu operations are performed from either the Console or the RS-232C port.
— Filter/Pickup —
Scene Number
B Mark Mode
Cursor Position
Displayed Image
Key Operations
Color Bar
— Filter/Pickup —
2-1SectionMenu Operations
9
Console
The Console is used to perform menu operations. Be sure to familiarize yourself with Console operations before actually using the menus.
TRIG (trigger) Key
ESC (escape) Key
Up, Down, Left, and Right Cursor Keys
SHIFT Key
ENT (enter) Key
Key Function
ESC: Escape Key ESC Key functions differ depending on the screen currently displayed. Refer to
the explanations for individual screens. (See note.) Interrupts processing and returns the user to the previous menu display.
TRIG: Trigger Key Starts object measurement.
Picks up a color when in Color Pickup Mode. ENT: Enter Key Executes a function or sets a value. Up and Down Keys Used to move the cursor up and down to select items.
The Up Key will increase a value by 1 and the Down Key will decrease a value
by 1. Continue pressing the Up or Down Key to quickly increase or decrease a
value. Left and Right Keys Used to move the cursor left or right to select items. SHIFT Key Must be pressed in combination with another key to have any effect. Specific
functions are assigned to SHIFT +
another key
for specific screens. (See note.)
Refer to the explanations for individual screens.
Note Possible to change assigned key functions or to assign new functions such as chang-
ing scenes or displays. Changed key allocations are effective only in the Monitor or Run mode. Refer to
Section 5-5 Key Allocation
. p. 106
RS-232C Port
There are keyboard key combinations for input via RS-232C that correspond to the Console keys when in Run Mode. Refer to
Section 6-2-3 Input Command List
.
p. 122
The keyboard key combinations are shown in the following table. The key codes shown on the right in the following table can be input from an external device to per­form the same functions as the Console keys shown on the left.
Console key
RS-232C input
Co so e ey
Key Code
ESC CTRL + [ ($1B) TRIG CTRL + A ($01)
2-1SectionMenu Operations
10
Console key RS-232C inputConsole key
CodeKey
ENT CTRL + M ($0D) Up Key CTRL + E ($05) Down Key CTRL + X ($18) Left Key CTRL + S ($13) Right Key CTRL + D ($04) SHIFT + ESC TAB, CTRL + I ($09) SHIFT + TRIG CTRL + T ($14) SHIFT + ENT CTRL + R ($12) SHIFT + Up Key CTRL + W ($17) SHIFT + Down Key CTRL +Z ($1A)
Note 1. Commands cannot be input during menu operation.
2. Input CTRL + Q to re-input commands to change from the menu operation to command input.
2-1-3 Menu Tree
F400 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.
Menu Tree:
p. 5
1. Move the cursor to the desired function using the Up, Down, Left, and Right Cursor Keys.
1
Adjust
Position compensation
Measurement region Expression
2. Press the ENT Key. In this example, the cursor will move to the Adjust menu. Repeat this step to move to lower levels.
2
Adjust
Position compensation
Measurement region Expression
Adjust
Region
3. Press the ESC Key. The display will move to the previous menu level (i.e., the screen shown in step (1)).
2-1-4 Inputting Values
This section explains how to input numeric values when setting measurement condi­tions. There are two input methods.
Specifying the Input Digit
Specifying the input digit is used mainly for setting judgements and system condi­tions.
— Filter/Pickup —
— Filter/Pickup —
2-1SectionMenu Operations
11
1. Move the cursor to the item for which a value is to be changed and press the ENT Key. The cursor size will change to a cursor the size of a single digit.
1
Correlation : 79 [80:100] Position X : 180.000
[ 0.000 : 511.000]
Position Y : 30.000
[ 0.000 : 483.000]
Speed : 2B
End
2. Using the Left and Right Keys, move the cursor to the digit to be changed.
2
Position X: 180.000
[00000.000: 511.000]
3. Use the Up and Down Keys to change the value. The Up Key will increase the value by 1 and the Down Key will decrease the value by 1.
3
Position X: 180.000
[00100.000: 511.000]
4. Press the ENT Key when all digits have been changed as desired. The value will be set.
4
Position X: 180.000
[190.000: 511.000]
Increasing and Decreasing Values
Values are increased or decreased mainly when setting binary levels and back­ground suppression levels.
1. Move the cursor to the item for which the value is to be changed.
1
Binary level
↑↓:Move ←→:Change
Upper[255] Lower[128]
Reverse
Auto
OK
2. Using the Left and Right Keys, change the numeric value. The Right Key will increase the value by 1 and the Left Key will decrease the value by 1. The SHIFT + Right Key will increase the value by 10. The SHIFT + Left Key will decrease the value by 10.
2-1SectionMenu Operations
12
3. Use the Up and Down Keys to move to the next item. The numeric value will be set.
3
Upper[200] Lower[128]
2-1-5 Drawing Measurement Regions
This section explains drawing methods for model and measurement regions. Use the Up, Down, Left, or Right Keys to move from one drawing point to another. Press the Shift Key together with any one of these keys to move at a faster rate.
Types of Drawings
Type Drawing method
Box Set two diagonally opposing corners.
Ellipse Set two diagonally opposing corners of a rectangle enclosing the
ellipse.
Circle Set the center and radius.
Circumference Set the center and radius. and then the line width.
Polygon Specify up to 10 neighboring vertices. After specifying the last point,
press the ENT Key twice and it will be joined to the first point and the region will be drawn.
Note The type and number of drawings that can be created depends on the function in
which the drawings are being used.
Drawing Method (OR/NOT)
Drawing mode Meaning
OR Registers drawings as models or regions. If multiple drawings are made, all drawings will
be registered as one region.
NOT Used to delete part of a region.
2nd figure (NOT)
1st figure (OR) 2nd figure (OR)
1st figure (NOT)
Example 1: Drawing a Circumference
1. Using the Cursor Keys, set the center of the circle and press the ENT Key. The center of the circle will be set. Use the SHIFT + Cursor Keys to move the cursor quickly.
The middle line is the base of the circumferences.
— Filter/Pickup —
2-1SectionMenu Operations
13
2. Use the Up and Down Keys to specify the radius and press the ENT Key. The arrows for specifying the line width for the circumference will be displayed.
3. Use the Up and Down Keys to set the line width. The arrows for specifying the line width will be displayed.
4. Press the ENT Key. The drawing will be set and the drawn region will be dis­played in white.
Example 2: Deleting Part of a Drawing
1. Select OR mode in the first drawing (a box for this example) and press the ENT Key. The arrow for drawing a box will be displayed.
1
Box
Ellipse Circle Circumference Polygon
OR
NOT
New
2. Set two diagonally opposing corner points to draw the box. Use the SHIFT + Cur- sor Keys to move the cursor quickly.
1st point
2nd point
2-2SectionStarting and Quitting
14
3. Select NOT mode in the second drawing (an ellipse in this example) and press the ENT Key. The arrow for drawing an ellipse will be displayed.
3
Box
Ellipse
Circle Circumference Polygon
OR
NOT
Add
4. Set two diagonally opposing corner points of a rectangle enclosing the ellipse to draw the ellipse.
The overlapping section of the box and ellipse will be deleted.
This section will be the region.
2-2 Starting and Quitting
2-2-1 Starting
Use the following procedure to start and quit operation.
Note Be sure to refer to the
Setup Manual (Z130)
when connecting components or wiring
the power supply or grounding the unit.
Setup Manual→2-2 Connections
and
2-3 Power Supply and Ground
1. Be sure that the basic F400 components have been connected cor­rectly.
Setup Manual
2. Turn ON the power supply to the monitor.
— Filter/Pickup —
2-2SectionStarting and Quitting
15
3. Turn ON the power supply to the F400. The title page will be displayed.
2
Vision Inspection System
F400-C10 Series
Color-Gray Menu Software
Ver.2.00
(C)Copyright OMRON Corporation
1998-1999
All Rights Reserved
4. After a short pause, the main F400 screen will be displayed. The following screen will appear the first time power is turned ON.
3
---- --ms
Color thr
Scn 0BMONB
Note The startup scene and startup mode that appear when power is turned ON can be set.
Use these settings to make daily operation more efficient once the F400 is ready for actual operation.
Startup Mode
on p. 107
2-2-2 Selecting Scene Modes
The F400 has two scene modes: Color Filter and Color PickUp. Select the appropri­ate measurement mode for the application.
Refer to
Features
in the
Introduction Manual (Z131)
p. 5
Select the scene mode when setting conditions for a scene for the first time.
1. Select MON (Monitor) and press the ENT Key
— Filter/Pickup —
2-2SectionStarting and Quitting
16
2. Select SET to display a list of scene processing options. The options will not be displayed if measurement conditions are already set for the selected scene num­ber. The scene number must be changed or the settings cleared before the options can be changed.
12
---- --ms
Color thr
Scn 0BMONB
SET
MON RUN SYS SAVE
3. Select either
Color filter
or
Color pickup
and press the ENT Key. The settings
screen for the selected scene mode will be displayed.
3
Settings screen for Color Filter Mode
Settings screen for Color Pickup Mode
Color bar displayed. No color bar displayed.
Color filter
Color pickup
Settings
Adjust
Position compensation Measurement region Expression
Color thr
Settings
Adjust
Position compensation Measurement region Expression
Color thr
Note Changing between Color Filter and Color Pickup Modes
To change the scene mode for selected scenes, clear the scene and then change the scene mode.
Copying and Clearing Scenes
on p. 17
2-2-3 Changing Scenes
All the settings for measurement conditions are input for a specific scene. Up to 16 scenes can be set, numbered from 0 to 15. Scenes can be changed to switch between different measurement conditions for different measurement setups or measurement objects. Scene 0 will be displayed by default when the power is turned ON. Setup can be changed by simply changing scenes. Refer to
Scene
in the
Glossary
on page 145.
— Filter/Pickup —
2-2SectionStarting and Quitting
17
1. Place the cursor on the scene number displayed on the screen (Scn 0 in this example) and press the ENT Key. A list of scene numbers will be displayed. Move the cursor using the Down Key to display the next group of scene numbers from 9 to 15.
2. Select a new scene number.
1
2
---- --ms
Color thr
Scn 0BMONB
Scn 0
Scn 1
Scn 2 Scn 3 Scn 4 Scn 5 Scn 6 Scn 7 Scn 8
3. Press the ENT Key to display the selected scene.
3
---- --ms
Color thr
Scn 2BMONB
Note Commands to switch scenes can be input from external devices when in Monitor or
Run Mode. Refer to
I/O Format
in
6-1 Terminal Blocks
and
List of Input Commands
in
RS-232C
. p. 112, 122
2-2-4 Copying and Clearing Scenes
This section explains how to copy and clear scene data. Clear scene data before changing the scene mode to either Color Filter or Color Pickup Mode.
— Filter/Pickup —
2-2SectionStarting and Quitting
18
1. Place the cursor on the scene number displayed on the main screen (Scn 0 in this example) and press the ENT Key. A list of scene numbers will be displayed. Move the cursor using the Down Key to display the next group of scene numbers from 9 to 15.
2. Press SHIFT + ESC Keys on the scene number to be copied or cleared. The two processing options will be displayed.
1
2
---- --ms
Color thr
Scn 0BMONB
Scn 0
Scn 1
Scn 2 Scn 3 Scn 4 Scn 5 Scn 6 Scn 7 Scn 8
3. Select
Copy
or
Clear
. A confirmation message will be displayed.
3
When
Copy
is selected
When
Clear
is selected
Place the cursor on Scn 0 and press the ENT Key to display a list of scene numbers.
Copy
Clear
Original scene : Scn 0B
Execute Cancel
This scene data will be cleared.
Execute Cancel
4. Move the cursor to Execute and press the ENT Key. The data for the selected scene will be copied or cleared and the display will return to the main screen.
2-2-5 Quitting
The user can quit the F400 and turn OFF the power at any time except while saving or loading data. Save all measurement settings to flash memory before quitting. The data in flash memory is loaded each time the F400 is started. Any changes made will be lost unless they are saved to the flash memory.
Note The measurement images and sample images in memory are also cleared when the
power is turned OFF. These images cannot be saved to flash memory, but they can be backed up on a computer if required. Refer to
5-3 Backup
. p. 97
1. Move the cursor to
MON
and press the ENT Key . A list of operation modes will be
displayed.
— Filter/Pickup —
2-2SectionStarting and Quitting
19
2. Select
SAVE
. A confirmation message will be displayed.
1
2
---- --ms
Color thr
Scn 0BMONB
SET MON RUN SYS
SAVE
3. Move the cursor to Execute and press the ENT Key. The save will be executed and a progress box will be displayed.
3
Saving data
Setting data will be saved.
Execute Cancel
Note Do not input the RESET command or turn OFF the power while saving data. The data
may be lost, and the F400 may not operate properly the next time it is started.
When the data has been saved, the display will return to the main screen.
4. Turn OFF the power to the F400.
21
SECTION 3
Settings
This section describes how to set measurement conditions for F400 visual inspections. The following headings are used in this section to indicate the measurement modes to which an operation is appli-
cable.
3-1 Adjusting Images 22. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-1-1 Shutter Speed 24. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-1-2 Applying Color Filters 24. . . . . . . . . . . . . . . . . . . . . . . .
3-1-3 Creating a Color Filter 26. . . . . . . . . . . . . . . . . . . . . . . .
3-1-4 Picking Up Measurement Colors 28. . . . . . . . . . . . . . . .
3-1-5 Filtering 33. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-1-6 Background Suppression 34. . . . . . . . . . . . . . . . . . . . . .
3-1-7 Output Calibration 36. . . . . . . . . . . . . . . . . . . . . . . . . . .
3-2 Position Compensation 37. . . . . . . . . . . . . . . . . . . . . . . . .
3-2-1 Adjusting Images for Easier Position Compensation 38.
3-2-2 Setting Position Compensation Regions 38. . . . . . . . . . .
3-2-3 Searches 40. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-2-4 Position Compensation using Edges 43. . . . . . . . . . . . .
3-2-5 Area and Center of Gravity, and Center of
Gravity and Axis Angle 46. . . . . . . . . . . . . . . . . . . . . . .
3-3 Measurement Methods 50. . . . . . . . . . . . . . . . . . . . . . . . .
3-3-1 Measurement Regions 50. . . . . . . . . . . . . . . . . . . . . . . .
3-3-2 Surface Defects 52. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-3-3 Searches 55. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-3-4 Edge Processing 63. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-3-5 Area and Center of Gravity, and Center of
Gravity and Axis Angle 67. . . . . . . . . . . . . . . . . . . . . . .
3-4 Expressions 75. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
— Color Filter —
— Color Pickup —
— Filter/Pickup —
3-1SectionAdjusting Images
22
3-1 Adjusting Images
Images displayed on the video monitor can be adjusted for easier measurement. Before adjusting the image on the monitor , however, adjust lighting and camera focus to clearly display the measurement object in the center of the screen.
Note White Balance
Depending on the inspection environment and type of lighting, even white images read by the camera may appear somewhat colored. Refer to the
2-6 Lighting
in the
Setup Manual (Z130)
for information on lighting methods. Adjust the white balance
before setting the light and adjusting the image.
White Balance
p. 96
Different adjustments are possible depending on the scene mode and type of image. Refer to the following table for items that can be adjusted.
Color Filter Mode
Image Color filter Shutter
speed
Calibra-
tion
Color
selection
Background suppression
Filtering
Color Yes Yes Yes No No No Color Filter Image
Colorgray No Yes Yes Yes Yes Yes
Co o e age
Red No Yes Yes No Yes Yes Green No Yes Yes No Yes Yes Blue No Yes Yes No Yes Yes Gray No Yes Yes No Yes Yes
Color Pickup Mode
Image Shutter speed Color pickup Calibration
Color Yes Yes Yes Pickup color Yes Yes Yes
1. Move the cursor to the operation mode in the main screen (Monitor in this exam­ple) and press the ENT Key. A list of modes will be displayed.
2. Move the cursor to
SET
and press the ENT Key. A list of setting modes will be
displayed.
12
Scn 0BMONB
SET
MON RUN SYS SAVE
3. Move the cursor to
Adjust
and press the ENT Key. The Adjust (image adjust-
ment) Window will be displayed.
3
Adjust
Position compensation Measurement region Expression
Settings
3-1SectionAdjusting Images
23
Color Filter Mode
Color Pickup Mode
Filtering OFF
BGS levels 0:255 Shutter 1/2000s Calibration
512.000
Colorgray thr
Color select
Pickup color
Shutter 1/2000s
Calibration
512.000
Pick up thr
Adjustment items are underlined. Use Left or Right Key to change the displayed item.
Adjust
Color thr
←→:Switch
Color filter
Colorgray
Shutter
1/2000s
Calibration
512.000
←→
Adjust
Color thr
←→:Switch
Pickup color
p
Shutter
1/2000s
Calibration
512.000
←→
Note 1. If adjustment items are hard to read, use the SHIFT + ESC Keys to switch
between clear and filled backgrounds. Select the background that makes the screen most legible. Refer to
5-4 Display Settings.
2. When temporarily switching between through or freeze images while performing image adjustment, use the SHIFT + Up Key or SHIFT + Down Key to select the appropriate type of display for the image.
Loading...
+ 126 hidden pages