Omron F400 Operation Manual

Cat. No. Z135–E1-1
F400
Color Vision Sensor
OPERATION MANUAL
F400 Color Vision Sensor
Produced June 1999
i
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.
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.
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.
ii
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
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
Introduction Manual
Setup Manual
Operation Manual
Section 1 Introduction
that are hard to distinguish in gray images because of low contrast in brightness, such as green and yellow, can be recognized and measured.
Contents Cat. No.
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.
Describes hardware, wiring, and connections required to install the F400.
Describes F400 functions. Explains measurement settings and methods for communications with external devices.
Z131-E1-1
Z130-E1-1
Z135-E1-1
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 Section 4 Checking and Executing Measurements
describes how to set measurement conditions for F400 visual inspections.
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 Section 6 Communications with External Devices
describes the system setting procedures for the F400.
describes the communications settings and I/O formats for communications with external devices.
Section 7 Troubleshooting
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.
iii
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. . . . . . . . . . . . . . . . . . . . . . . . .
v
Table of contents
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 (T erminal 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. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
vi

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. . . . . . . . . . . . . . . . . . . . . . . . . . .
vii
PRECAUTIONS
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.
viii
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
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 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.
Introduction Manual (Z131)
1-1SectionFeatures
for information on color (hues and saturation)
2
1-1SectionFeatures
Shutter speed can be adjusted to speed of measurement object.
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
Camera
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.
and axis angle.
Sync sensor
Color of object and color read by camera can be adjusted auto­matically using white balance. time lighting is changed.
Camera image can be adjusted to facilitate measurement.
Filtering: Edges of object are enhanced and noise reduced. 33
Background suppression: Background of object, such as pat-
terns, is excluded from measurement. Color filter: Contrast of measurement area is increased
Up to 8 specified colors can be picked up.
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.
F400
p. 24
p. 96 Adjust white balance each
p.
p. 34
p.24
p. 28
p. 100
Monitor
Programmable Controller
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
Personal computer
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: RS-232C port:
p. 112
p. 119
3
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
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
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.
p. 67, 147
p. 67, 147
1-2SectionMeasurement Modes
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.
4
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
Scene 0
Scene 15
p. 16
SET
Adjust
Position compensation
Shutter speed p. 24 Pickup color Calibration
Region 0 Region 1
p. 28
p. 36
Area & gravity Gravity & axis p. 46
Edge p. 43 Search p. 40
1-3SectionMenu Trees
p. 46
Measurement region
Expression
MON (Monitor) p. 84
p. 92
RUN
SYS (System)
SAVE p. 18
White balance p. 96 Communications settingsp. 118, 121
Output p. 97 Backup p. 97 Display settings p. 100 Set key operation Startup mode p. 107 Error method p. 108 Version p. 110
Measurement region 0 to 15
p. 75
Judge Data
p. 75
p. 106
Area & gravity Gravity & axis p. 67
Edge p. 63 Search p. 55
p. 67
5
Color Filter
Scene 0
Scene 15
p. 16
SET
Adjust
Position compensation
Shutter speed p. 24 Color filter
Color select Filtering p. 33 Background suppression level p. 34
Calibration
Adjust
Region
p. 24
p. 26
p. 36
Region 0 Region 1
Color filter Color select p. 37
Filtering p. 37 Background suppression level p. 37
p. 37
Search p. 55 Edge p. 63 Area & gravity p. 67
Gravity & axis p. 67
1-3SectionMenu Trees
Measurement region
Expression
MON (Monitor) p. 84
p. 92
RUN
SYS (System)
SAVE p. 18
White balance p. 96 Communications settings p. 118, 121
Outputp. 97 Backup p. 97
Display settings p. 100 Set key operation
Startup mode p. 107 Error method p. 108 Version p. 110
Measurement region 0 to 15
Judgement Data
p. 75
p. 106
p. 75
Surface defects
Search p. 55 Edge p. 63 Area & gravity p. 67 Gravity & axis p. 67
p. 52
6
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. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
SECTION 2
Basic Operations
7
2-1 Menu Operations
2-1SectionMenu Operations
2-1-1 Screen Displays
— Filter/Pickup —
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
B Mark
---- --ms
Color thr
Mode
Cursor position
Displayed image
Scene Number
B Mark Mode
Scn 0BMONB
Key operations
Color bar
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
RUN Used to perform object measurements. Outputs measurement results to an external device
SYS (System) Used to make F400 system settings. SAVE Saves settings to flash memory. Always save altered settings before exiting.
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.
via terminal blocks or RS-232C.
Cursor
The selected text is highlighted.
Position Displayed
Image Key
Operations Color Bar
The type of image displayed on the video monitor is shown. Refer to
Changing Displayed Images
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.
8
Section 5-4-2
. p. 103
— Filter/Pickup —
Console
Co so e ey
2-1SectionMenu Operations
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
Key Function
ESC: Escape Key ESC Key functions differ depending on the screen currently displayed. Refer to
TRIG: Trigger Key Starts object measurement.
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.
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
the explanations for individual screens. (See note.) Interrupts processing and returns the user to the previous menu display.
Picks up a color when in Color Pickup Mode.
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.
functions are assigned to SHIFT + Refer to the explanations for individual screens.
another key
ENT (enter) Key
for specific screens. (See note.)
RS-232C Port
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
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
Key Code
ESC CTRL + [ ($1B) TRIG CTRL + A ($01)
RS-232C input
.
9
Console key RS-232C inputConsole key
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-1SectionMenu Operations
CodeKey
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:
1. Move the cursor to the desired function using the Up, Down, Left, and Right Cursor Keys.
2. Press the ENT Key. In this example, the cursor will move to the Adjust menu. Repeat this step to move to lower levels.
3. Press the ESC Key. The display will move to the previous menu level (i.e., the screen shown in step (1)).
p. 5
Adjust
Position compensation
Measurement region Expression
Adjust
Position compensation
Measurement region Expression
Adjust
Region
— Filter/Pickup —
1
2
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.
10
— Filter/Pickup —
2-1SectionMenu Operations
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.
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.
Position X: 180.000
[00000.000: 511.000]
1
2
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.
Position X: 180.000
[00100.000: 511.000]
3
4. Press the ENT Key when all digits have been changed as desired. The value will be set.
Position X: 180.000
[190.000: 511.000]
4
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.
Binary level
↑↓:Move ←→:Change
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.
Upper[255] Lower[128]
Reverse
Auto
OK
1
11
2-1SectionMenu Operations
3. Use the Up and Down Keys to move to the next item. The numeric value will be set.
Upper[200] Lower[128]
3
2-1-5 Drawing Measurement Regions
— Filter/Pickup —
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
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,
ellipse.
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
NOT Used to delete part of a region.
be registered as one region.
1st figure (OR) 2nd figure (OR)
2nd 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.
12
1st figure (NOT)
The middle line is the base of the circumferences.
2-1SectionMenu Operations
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.
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
Box
Ellipse Circle Circumference Polygon
OR
NOT
1
2nd point
13
2-2SectionStarting and Quitting
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.
Add
Box
Ellipse
Circle Circumference Polygon
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.
OR
NOT
This section will be the region.
3
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
the power supply or grounding the unit.
Setup Manual→2-2 Connections
1. Be sure that the basic F400 components have been connected cor­rectly.
Setup Manual
2. Turn ON the power supply to the monitor.
Setup Manual (Z130)
— Filter/Pickup —
when connecting components or wiring
and
2-3 Power Supply and Ground
14
3. Turn ON the power supply to the F400. The title page will be displayed.
2-2SectionStarting and Quitting
Vision Inspection System
F400-C10 Series
Color-Gray Menu Software
(C)Copyright OMRON Corporation
4. After a short pause, the main F400 screen will be displayed. The following screen will appear the first time power is turned ON.
Scn 0BMONB
Ver.2.00
1998-1999
All Rights Reserved
---- --ms
2
3
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
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 Select the scene mode when setting conditions for a scene for the first time.
Features
1. Select MON (Monitor) and press the ENT Key
in the
Introduction Manual (Z131)
Color thr
on p. 107
— Filter/Pickup —
p. 5
15
2-2SectionStarting and Quitting
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
Scn 0BMONB
SET
MON RUN SYS SAVE
3. Select either
Color filter
screen for the selected scene mode will be displayed.
Settings screen for Color Filter Mode
Settings
Adjust
Position compensation Measurement region Expression
or
Color pickup
Color filter
Color pickup
---- --ms
Color thr
and press the ENT Key. The settings
3
Settings screen for Color Pickup Mode
Settings
Adjust
Position compensation Measurement region Expression
Color bar displayed. No color bar displayed.
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.
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
16
Color thr
Copying and Clearing Scenes
Scene
on p. 17
in the
Color thr
— Filter/Pickup —
Glossary
on page 145.
2-2SectionStarting and Quitting
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
Scn 0BMONB
Scn 0
2
3. Press the ENT Key to display the selected scene.
Scn 1
Scn 2 Scn 3 Scn 4 Scn 5 Scn 6 Scn 7 Scn 8
---- --ms
Color thr
3
Scn 2BMONB
---- --ms
Note Commands to switch scenes can be input from external devices when in Monitor or
Run Mode. Refer to
RS-232C
I/O Format
. p. 112, 122
in
6-1 Terminal Blocks
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.
Color thr
and
List of Input Commands
— Filter/Pickup —
in
17
2-2SectionStarting and Quitting
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
Scn 0BMONB
Scn 0
2
3. Select
When
Original scene : Scn 0B
Execute Cancel
Scn 1
Scn 2 Scn 3 Scn 4 Scn 5 Scn 6 Scn 7 Scn 8
Copy
Copy
or
is selected
Clear
---- --ms
Color thr
. A confirmation message will be displayed.
Copy
Clear
3
When
Clear
is selected
This scene data will be cleared.
Execute Cancel
Place the cursor on Scn 0 and press the ENT Key to display a list of scene numbers.
4. Move the cursor to Execute and press the ENT Key. The data for the selected
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
1. Move the cursor to
18
scene will be copied or cleared and the display will return to the main screen.
— Filter/Pickup —
displayed.
5-3 Backup
MON
and press the ENT Key . A list of operation modes will be
. p. 97
2-2SectionStarting and Quitting
2. Select
3. Move the cursor to Execute and press the ENT Key. The save will be executed
Saving data
SAVE
. A confirmation message will be displayed.
Scn 0BMONB
SET MON RUN SYS
SAVE
and a progress box will be displayed.
---- --ms
1
2
Color thr
Setting data will be saved.
Execute Cancel
3
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.
19
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 —
21
3-1 Adjusting Images
Co o e age
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
Setup Manual (Z130)
before setting the light and adjusting the image.
for information on lighting methods. Adjust the white balance
White Balance
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
Color Yes Yes Yes No No No Color Filter Image
Colorgray No Yes Yes Yes Yes Yes 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
speed
Calibra-
tion
Color
selection
2-6 Lighting
p. 96
Background suppression
3-1SectionAdjusting Images
in the
Filtering
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
3. Move the cursor to ment) Window will be displayed.
Settings
Adjust
Position compensation Measurement region Expression
SET
MON RUN SYS SAVE
Adjust
and press the ENT Key. The Adjust (image adjust-
3
22
Color Filter Mode
Adjust
3-1SectionAdjusting Images
←→:Switch
Color Pickup Mode
Adjust
Color filter
Colorgray
Shutter
1/2000s
Calibration
512.000
Color thr
Pickup color
Shutter
1/2000s
Calibration
512.000
Color select Filtering
OFF BGS levels
←→
0:255 Shutter 1/2000s
Calibration
512.000
Colorgray thr
Pickup color
p
←→
Shutter 1/2000s
Calibration
512.000
Color thr
Pick up thr
←→:Switch
Adjustment items are underlined. Use Left or
Right Key to change the displayed item.
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.
23
Loading...
+ 126 hidden pages