Thank you for purchasing the FQ2.
This manual provides information regarding functions, perfor mance and operating methods that
are required for using the FQ2.
When using the FQ2, be sure to observe the following:
• The FQ2 must be operated by personnel knowledgeable in electrical engineering.
• To ensure correct use, please read this manual thoroughly to deepen your understanding of the
product.
• Please keep this manual in a safe place so that it can be referred to whenever necessary.
Page 3
APPLICATION CONSIDERA TIONS
(Please Read)
User's Manual
Introduction
Installation and Connections
Taking Images
Setting Up Inspections
Testing and Saving Settings
Operation
Convenient Functions
1
2
3
4
5
6
7
Smart Camera
FQ2
Controlling Operation and Outputting
Data with a Parallel Connection
Connecting through Ethernet
Connecting with RS-232C
Troubleshooting
Appendices
8
9
10
11
12
Page 4
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, REGARDIN G NONINFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR PARTICULAR PURPOSE OF THE PRODUCTS.
ANY BUYER OR USER ACKNOWLEDGES TH AT THE BUYER OR USER ALONE HAS DET ER MI NE D 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
THE PRODUCTS CONTAINED IN THIS DOCUMENT ARE NOT SAFETY RATED. THEY ARE NOT DESIGNED OR
RATED FOR ENSURING SAFETY OF PERSONS, AND SHOULD NOT BE RELIED UPON AS A SAFETY COMPONENT OR PROTECTIVE DEVICE FOR SUCH PURPOSES.
Please refer to separate catalogs for OMRON’s safety rated products.
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 pr oduct.
At the customer’s request, OMRON will provide applicable third party cert ification document s identif ying 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.
2
FQ2 User’s Manual
Page 5
• Nuclear energy control systems, combustion systems, railroad systems, aviation systems, medical
equipment, amusement machines, vehicles, safet y equipment, and in sta llat ions subject to sep arat e industr y
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.
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 INSTALLE D FOR
THE INTENDED USE WITHIN THE OVERALL EQUIPMENT OR SYSTEM.
PERFORMANCE DA TA
Performance data given in this document is provi ded as a guide f or the us er in determi nin g 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 ra tings or features are changed, or when signifi cant
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 consequen ce
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.
FQ2 User’s Manual
3
Page 6
Meanings of Signal Words
The following signal words are used in this manual.
Indicates a potentially hazardous situation which, if not avoided, will result in minor or
moderate injury, or may result in serious injury or death. Additionally there may be
significant property damage.
Meanings of Alert Symbols
The following alert symbols are used in this manual
Indicates general prohibitions for which there is no specific symbol.
Indicates the possibility of laser radiation.
Indicates the possibility of explosion under speci fic conditions.
Indicates prohibition when there is a risk of minor injury from electrical shock or other
source if the product is disassembled.
This product is not designed or rated for ensuring safety of persons.
Do not use it for such purposes.
The Sensor emits visible light, which may adversely affect the eyes in rare instances.
Do not look directly into the light emitted from the Sensor. When the subject is a specular
reflective object, protect your eyes from reflected light.
A lithium ion battery is built into the Touch Finder and may occasionally combust, explode, or
burn if not treated properly.
Dispose of the Touch Finder as industrial waste, and never disassemble, apply pressure that
would deform, heat to 100 °C or higher, or incinerate the Touch Finder.
High-voltage parts insid e; danger of electrical shock. Do not open the product cover.
4
FQ2 User’s Manual
Page 7
Precautions for Safe Use
The following points are important to ensure safety, so make sure that they are strictly observed.
1. Installation Environment
• Do not use the product in environments where it can be exposed to inflammable/explosive gas.
• To secure the safety of operation and maintenance, do not install the product close to high-voltage devices
and power devices.
• Install the product in such a way that its ventila tion holes are not blocked.
• Tighten mounting screws at the torque specified in this manual.
2. Power Supply and Wiring
• The power supply voltage must be within the rated range (24 VDC ±10%), and an AC voltage must not be
used.
• Reverse connection of the power supply is not allowed. Do not short the load of the open collector output.
• The load must be within the rated range.
• High-voltage lines and power lines must be wired separately from this product. Wiring them together or
placing them in the same duct may cause induction, resulting i n malfunction or damage.
• Use the products within the power supply voltages specified in this manual.
• Use the specified size of crimp terminals to wire connections. Do not connect wires that have been simply
twisted together directly to the power supply or terminal block.
• Use a DC power supply with safety measures against high voltag es (safety extra low-voltage circuit).
• Use independent power sources for the products. Do not use a shared power source.
• Tighten mounting screws at the torque specified in this manual.
• Always turn OFF the power supply before connecting or disconnecting cables or the power supply wiring.
3. Battery
• Do not short the positive and negative terminals of the Battery.
• Do not use the Touch Finder in an environment that exceeds the operating temperature range o f the Batt ery.
If the Touch Finder is used at temperatures that exceed the operating temperature range, the protective
device may activate and prevent charging.
• Do not connect the Battery directly to a power supply or car cigarette lighter socket.
• Do not use the Touch Finder with any other type of battery.
• Turn OFF the power supply immed iately if t he Batter y leaks or pro duces an od or. Electrolyte leaked from the
Battery may ignite, possibly causing smoke, rupture, or fire.
• If during usage, charging, or storage, the Battery produces an odor, heats, becomes discolored, becomes
misshapen, or exhibits any other unusual conditions, remove it and do not use it. Continuing to use such a
Battery may result in the Battery heating, smoking, rupturing, or igniting.
• If the Touch Finder (FQ2-D31) will be installed permanently or semi-permanently, remove the Battery (FQBAT1). If the rated temp eratur e is exceed ed with the Bat tery in serted, t he prote ctive circuit may activat e and
stop the Touch Finder.
4. AC Adapter
• Use an AC cable that is suitable for the power supply and power voltage you are using.
• Do not touch the power plug with a wet hand. Doing so may result in electrical shock.
• If you notice an abnormal condition, such as smoke, abnormal heating of the outer surface, or a strange
odor, immediately stop using the AC Adapter, turn OFF the power, and remove the power plug from the
outlet.
Consult your dealer, as it is dangerous to attempt to repair the AC Adapter yourself.
• If the AC Adapter is dropped or damaged, turn OFF the power, remove the power plug from the outlet, and
contact your dealer. There is a risk of fire if you continue using the AC Adapter.
FQ2 User’s Manual
5
Page 8
5. Handling
• Connector Cover
Always attach the connector cover when you disconnect the cab le. If you d o not attach the connector cover,
foreign matter may enter the connection, causing malfunctions or damage.
• Lens Cap
Always attach a C-mount lens cap to the lens mount when you remove the lens. If dust or dirt adhere to the
imaging elements, false detection or failure may occur.
• Sensor Waterproof Sheets
Do not remove or damage the waterproof sheets on the sides of the Sensor. Doing so may allow dust, dirt,
or water drops to enter the Sensor and damage it.
6. Other
• Do not use this product in safety circuits associated with nuclear power and human life.
• Do not disassemble, repair, modify, deform by pressure, or incinerate this product.
• Dispose of this product as industrial waste.
• Connect the special products (Sensor, T o uch Fin der, Cables). The product might break down or malfunction
if you use a part not included in the special products.
• If you notice an abnormal condition, such as a strange odor, extreme heating of any product, or smoke,
immediately stop using the product, turn OFF the power, and consult your dealer.
• The Sensor surfaces become hot during use. Do not touch them.
• Do not drop or subject the products to shock.
• Use the special Sensor (FQ2-S), Touch Finder (FQ2-D), Sensor Data Unit (FQ-SDU), Cables (FQ-WN, FQWD, FQ-WU, and FQ-VP), Battery (FQ-BAT1), and AC Adapter (FQ-AC). Using other than the specified
products may cause fire, burning, malfunction or failure.
• If the product has a lock mechanism, always make sure it is locked before using the product.
7. Laws and Regulations, Standards
• This product complies with the following EC Directives and EN Standards:
EC Directive No.2004/104/EC
EN Standard s EN61326
6
FQ2 User’s Manual
Page 9
Precautions for Correct Use
25 mm25 mm
25 mm25 mm25 mm
25 mm25 mm
Water-proof Sheet
Waterproof sheet
Observe the following precautions to prevent failure to operat e, malfun cti ons, or un desi r able effects on product
performance.
1. Installation Site
Do not install this product in locations subjected to the following conditions:
• Ambient temperature outside the rating
• Rapid temperature fluctuations (causing condensation)
• Relative humidity outside the range of 35 to 85%
• Direct vibration or shock
• Strong ambient light (suc h as other laser beams, light from arc-welding machines, or ultraviolet light)
• Direct sunlight or near heaters
• Strong magnetic or electric field
Also, do not install this product in locations subjected to the following conditions to ensure its protective
performance as described in the specifications:
• Presence of corrosive or flammable gases
• Presence of dust, salt, or iron particles
• Water, oil, or chemical fumes or spray, or mist atmospheres
Installing and Using a Sensor with Bui lt-in Lighting
• The front-panel plate may occasionally become fogged from the inside if the Sensor is used in location with
high humidity and the temperature changes drastically.
• Do not install any objects except for the special mounting brackets within the dotted lines in the following
figure. The front-panel plate may become fogged from the inside.
2. Power Supply, Connection, and Wiring
• When using a commercially available switching regulator, make sure that the FG terminal is grounded.
• If surge currents are present in the power lines, connect surge absorbers that suit the operating
environment.
• Before turning ON the power after the product is connected, make sure that the power supply voltage is
correct, there are no incorrect connections (e.g. load short-circuit) and the load current is appropriate.
Incorrect wiring may result in breakdown of the product.
• Do not subject the Cables to twisting stress. Doing so may damage the Cables.
• Always turn OFF the power supply before connecting or disconnecting Cables. The Sensor may fail if a
Cable is connected or disconnected while power is being supplied.
• For cables, use only the special products specified in this manual.
p.487, p.488, p.489, p.490
• Use only combinations of the Sensor and Touch Finder specified in this manual. Using other combinations
may cause malfunction or damage.
FQ2 User’s Manual
7
Page 10
• Do not turn the power OFF in the following instances. Doing so will damage data that is in the process of
Important
Note
being saved.
- While data is being saved in internal memory
- While data is being saved on the SD card
• The LCD panel has been made using precision technology, and sometimes a few pixels are missing in the
panel. This is due to the structure of the LCD panel, and is not a malfunction.
• Influence of Temperature Changes on Optical Axis
Due to the characteristics of the materials that are used in the Sensor, changes in the ambient temperature
may cause the center of the optical axis to change by several pixels.
• Imaging Elements
Due to the specifications of the CMOS image sensors that are used in the Vision Sensor, lines may appear
in images for some measurement conditions or gain settings. These do not indicate defects or faults in the
Vision Sensor. Also, there may be some pixel defects, but these do not indicate defects or faults in the
Vision Sensor.
3. Battery
• Do not use or charge the Battery with other than the specified products.
• Do not charge the Battery with other than the specified AC adapter.
• When using the Touch Finder, the battery cover screw must be tightened.
4. AC Adapter
• During maintenance and when not using the Touch Finder for an extended time, remove the power plug
from the outlet.
• Do not bend the power cable past its natural bending radius.
• Do not use the AC Adapter with other than the specified products.
• If a voltage higher than 380 V is applied, there is a risk that the capacitor will be damaged, the pressure
valve will open, and vaporized gas will be emitted. If there is a possibility that a voltage higher than 380 V
will be applied, use a protective device.
5. Maintenance and Inspection
Do not use thinner, benze ne, aceto ne or kerosene to cl ean the Sensor and Touch Finder. If large dust particles
adhere to the Camera, use a blower brush (used to clean camera lenses) to blow them off. Do not use breath
from your mouth to blow the dust off. To remove dust particles from the Camera, wipe gently with a soft cloth
(for cleaning lenses) moistened with a small amount of alcohol. Do not use excessive force to wipe off dust
particles. Scratches to the Camera might cause erro r.
Editor's Note
■ Meaning of Symbols
Menu items that are displayed on the Touch Finder LCD screen, and windows, dialog boxes and other GUI
elements displayed on the PC are indicated enclosed by brackets "[ ]".
■ Visual Aids
Indicates points that are important to achieve the f ull product p erformance,
such as operational precautions.
Indicates application procedures.
Indicates pages where related information can be foun d.
The same functions as those that are
provided by the Touch Finder can be
performed from a computer. The PC Tool
is available free of charge.
After the Sensor has been set up, it can be
operated alone to perform measurements
without the Touch Finder or PC Tool.
PC Tool
Used to check images and set the
judgement parameters. It can also be
used to save measurement results and
check status during operation.
FQ2 Vision Sensor
Touch Finder
Setup, Image Confirmation, and Logging Tools
Sensor with C-mount
Sensor with
Built-in Lighting
The FQ2 Series features Vision Sensors with integrated cameras and controllers. They can be used to easily
achieve simple inspections and measurements.
You can use parallel controls, no-protocol commun ications on Ethernet, PLC Link comm unications on Ethernet,
and EtherNet/IP communications on Ethernet as standard features. You can also use a Data Unit to enable
control with full-scale parallel communicati ons or RS-232C communications.
To set up and monitor the Vision Sensor, you can use either the Touch Finder or the PC Tool running on a
computer. For actual operation, you can use the Vision Sensor on a stand-alone basis.
FQ2-series Vision Sensors are available in two different models. There are also Sensors with C-mounts that
allow you to change the lens, and Sensors with Built-in Lighting. The differences are given in the following
table.
ModelsSingle-function modelsStandard modelsHigh-resolution models
TypeSensors with Built-in LightingSensors with C-mounts
Model numberFQ2-S1@@@@@FQ2-S2@@@@@FQ2-S3@@@@@-08@FQ2-S3@-13@
Number of simultaneous
measurements
Number of registered
scenes
Partial inputHorizontally onlyHorizontally and vertically
Lens mount---C-mount
Image processing
method
Connection to Sensor
Data Unit
Processing resolution752×480928×8281280×1024
132
832
Real colorReal color or monochrome (Model numbers for
Not possible.Possible.
20
FQ2-series Vision Sensors
Monochrome Sensors end in “M.”)
FQ2 User’s Manual
Page 23
1-2Measurement Process
Measurement
This section describes the basic flow of the measurement pr ocess.
Trigger input
Take image
Output
Logging
• The measurement is started by inputting a trigger signal from an external
device.
• Images are taken according to the trigger.
• The image is measured to see if it matches the configured settings.
• You can also perform calculations based on the measurement results from
inspection items.
• The overall judgement of all inspection items are output using OR logic.
• You can output detailed measurement result from the inspection items.
• Measurement data and image d ata can be logged in memory in the Sensor or
in an SD card.
1
Introduction
FQ2 User’s Manual
Measurement Process
21
Page 24
1-3Startup Display and Display Elements
Note
Startup Display
1The Se nsor is automatically detected by the T ouch
Finder when power supply to the Se nsor and Tou ch
Finder is turned ON.
The Auto Connect Display will appear if the Sensor cannot be detected. Check that cables are connected correctly to the Sensor and Touch Finder, and then press
[Auto connect].
Note
If the Sensor is still not detected after pressing [Auto Connect], refer to the following information.
The Sensor cannot be detected: p. 401
2When the Sensor is detected, the following display will appear.
• The Setup Mode will appear if a Sensor that has not been
set up is connected.
• The Run Mode will appear if a Sensor that has been set
up is connected.
When the Touch Finder is started, IP addresses are automatically set for each Sensor.
To allocate specific IP addresses, set the IP address of each Sensor and the Touch Finder.
Setting Up Ethernet: p. 53
22
Startup Display and Display Elements
FQ2 User’s Manual
Page 25
Display Elements
Tool Button: Used to call functions, such as saving data or select scenes.
Capture Button: Used to capture the current screen to the SD card.
This button menu is always displayed.
[Image]: Used to adjust the image.
[In/Out]: Used to set the I/O.
[Run]: Used to switch to Run Mode.
[Test]: Used to test and adjust the set measurements.
[Inspect]: Used to set the inspection items.
The setup flow is shown by these five tabs.
• If the [ ] Button appears, pressing it will display the
sub-menu or commands.
• Buttons will appear on the right according to the mode.
The menu changes according to the selected tab page.
The selected scene number is displayed.
The name of the Sensor being set up is displayed.
Only-image Button: Used to select either displaying the camera image and messages, or
only the camera image.
Display Button: Used to select the source of the image or to zoom the image.
The name of the mode or the
menu hierarchy is displayed.
p. 224
Display Functions: p. 200
This Sensor has a Setup Mode and a Run Mode.
Refer to the following information for menu items.
p. 404
Setup Mode
In Setup Mode, you can set the image conditions, judgement parameters, and I/O settings for the Sensor.
1
Introduction
Note
The Display Button can be used to switch between the following images.
• Camera: The image taken by the camera is displayed.
Live: The live image is displayed.
Freeze: The image that was taken last is displayed.
• Log: A log image saved in internal memory is displayed.
• Logging image file: A log image saved in external memory is displayed.
• Camera image file: An image that was saved in external memory with (Log Image Button) is displayed.
Run Mode
In Run Mode, measurements are performed, and measurement results are output.
p. 179
FQ2 User’s Manual
Startup Display and Display Elements
23
Page 26
1-4Basic Operational Flow
Calibration Settings
Image Adjustment
Filtering the images
(filter items)
Compensating for position offset
(position compensation items)
Calculation Settings
([Inspect] Tab Page)
Connections and Wiring
Operation
*2
Starting Operation (Run Mode)
Saving the Settings
Adjusting Judgement
Parameters
Test Measurement and
Results Verification
Testing ([Test] Tab Page)
Output Settings
([In/Out] Tab Page)
Setup
Evaluation
*1
Setting Judgement
Parameters
Inspection Setup
([Inspect] Tab Page)
Teaching
Registering
Inspection Items
Image Setup
([Image] Tab Page)
Starting the Sensor
Inspection
Section 2 Installation and
Connections
Section 1
1-3 Startup Display and Display
Elements
Section 3 Taking Images
Section 4 Setting Up Inspections
Section 8 Controlling Operation and
Outputting Data with a Parallel
Connection
Section 9 Connecting through Ethernet
Section 10 Connecting with RS-232C
Section 5 Testing and Saving
Settings
Section 6 Operation
Section 7 Convenient Functions
Section 3
3-5 Adjusting the Images That We re
Taken
Section 4 Setting Up Inspections
The following flow shows the basic operation of FQ2-series Vision Sensors.
24
*1: In Setup Mode, the Sensor can be set up and adjusted, but it does not output signals on the I/O lines.
*2: In Run Mode, the Sensor performs measurements and outputs signals on the I/O lines.
Ethernet (EtherNet/IP, No-protocol, or PLC Link) Connection
Parallel Interface Connection
I/O cable
Sensor Data
Unit cable
Parallel cable
for FQ-SDU1
Setup Tool
Touch Finder
or PC Tool
Connection through a Parallel Interface Sensor Data Unit
Connection with Standard Parallel Interface of the Vision Sensor
FQ2-S3
@@@@@-@@@
FQ2-S3@-
@@@
Sensor control PLC
I/O control PLC
Trigger sensor
24-V power supply
24-V power supply
FL-STC
Lighting Controller
Parallel Interface Sensor Data Unit
FL-series
External Lighting
FL-STC
Lighting Controller
FL-series
External Lighting
FL-series
External Lighting
24-V power supply
Special Ethernet Cable
(RJ45/M12)
Parallel cable
for FQ-SDU2
RS-232C cable
Setup Tool
Touch Finder
or PC Tool
Setup Tool
Touch Finder
or PC Tool
FQ2-S3
@@@@@-@@@
FQ2-S3@-
@@@
Sensor control PLC
I/O control PLC
Trigger sensor
Sensor control PLC
24-V power supply
24-V power supply
FL-STC
Lighting Controller
RS-232C Interface Sensor Data Unit
FQ2-S
@@@@@@-@@@
FQ2-S3@-
@@@
I/O control PLCTrigger sensor
24-V power supply
FL-STC
Lighting Controller
FL-series
External Lighting
RS-232C Serial Connection
Setup Tool
Touch Finder
or PC Tool
24-V power supply
Standard
Ethernet cable
Special Ethernet Cable
(RJ45/M12)
Standard Ethernet cable
Control PLC
I/O cable
Setup Tool
Touch Finder
or PC Tool
24-V power supply
Sensor control PLC
I/O control PLC
Trigger sensor
FQ2-S
@@@@@@-@@@
FQ2-S3@-
@@@
Switching Hub
FQ2 Vision Sensors (8 max.)
Connecting More Than One Sensors
The Setup Tool can detect up to 32 Sensors and
it can connect to up to eight Sensors at the same time.
Sensor Data
Unit cable
Industrial EtherNet/IP or
Ethernet Switching Hub
Special
Ethernet Cable
(RJ45/M12)
Special Ethernet
Cable
(RJ45/M12)
Special Ethernet
Cable (RJ45/M12)
26
System Configuration
FQ2 User’s Manual
Page 29
ProductModel numberRemarks
Important
FQ Vision SensorFQ2-S@@@@@@-@@@
Touch FinderFQ2-D@@This is a setup console.
PC Tool---The PC Tool can be used instead of the Touch Finder. If you register as a member,
Parallel Interface
Sensor Data Unit
RS-232C Interface
Sensor Data Unit
FQ Ethernet Cable FQ-WN0@@Connects the Sensors to external devices such as the Touch Finder, computers, and
Standard RJ45
Ethernet Cable
I/O CableFQ-WD0@@Connects the Sensor to the power supply and external devices.
Switching HubW4S1-0@@Used to connect multiple Sensors to one Touch Finder or PC Tool.
Sensor Data Unit
cable
Parallel cable for
FQ-SDU1
Parallel cable for
FQ-SDU2
RS-232C cable
(to connect to a
PLC)
FQ2-S3@-@@@
FQ-SDU1@You can connect a Sensor Data Unit to the I/O cable connector on the Vision Sensor
FQ-SDU2@You can connect a Sensor Data Unit to the I/O cable connector on the Vision Sensor
---Connects the Switching Hub to the Touch Finder, computers, and PLCs. Use a con-
*1
FQ-WU0@@This cable connects the FQ2-S3 Sensor to the Sensor Data Unit.
FQ-VP1@@@This cable connects the Parallel Interface Sensor Data Unit to an external device.
FQ-VP2@@@This cable connects the RS-232C Interface Sen so r Data Unit to an external device.
Recommended:
XW2Z-200S-V (2 m) or
XW2Z-500S-V (5 m)
This is the Vision Sensor.
you can download the free PC Tool as a special service to purchasers.
Refer to the Member Registration Sheet that is enclosed with the Sensor for the
member registration procedure and the down load proced ure for special member software.
and connect the Parallel Interf ace Sensor Data Unit to an e xternal device . This allows
you to output the results of judgement conditions, measurements from inspection
items, and the results of expressions with parallel communicat ions.
and connect the RS-232C Interface Sensor Data Unit to an external device. This
allows you to use no-protocol communications to send and receive commands,
inspection item parameters, and other data between the Sensor and the external
control device that is connected with the RS-232C cable. You can also use the ACK
signal (parallel command normal completion signal) for a parallel output from the
Sensor Data Unit.
PLCs.
nector that complies with the FCC RJ45 standard. (STP (shielded twisted-pair) cab le,
category 5e or 6, impedance: 100 Ω)
This cable connects the RS-232C Interface Sen so r Data Unit to an external device.
2
Installation and Connections
*1: The shape and dimensions of the Ethernet connector plug and jack are specified in ISO/IEC8877:1992 (JIS X 5110:1996) and RJ-45 of the
FCC regulations. T o pre v ent connector connection failures , the structure of the jack of this product does not allow insertion of plugs that do not
comply with the standard. If a commercially available plug cannot be inserted, it is likely that the plug is non-compliant.
Do not connect network devices other than PLCs on the same network as the Touch Finder or computer. If
another device is connected, the responsiveness of displays and settings of the Touch Finder or computer may
become slow.
FQ2 User’s Manual
System Configuration
27
Page 30
Connection Compatibility
Note
Yes: Supported, No: Not supported
Type of connection to FQ2-S Other connection
EtherNet/IP PLC Link on
EtherNet/IP---NoYesYesYesYesYes
PLC Link on EthernetNo---YesYesYesYesYes
TCP no-protocol communi-
cations on Ethernet
FINS/TCP no-protocol com-
munications on Ethernet
RS-232C
Parallel
communications
*1:This applies when an RS-232C Interface Sensor Data Unit is connected.
*2:This applies when a Parallel Interface Sensor Data Unit is connected.
*1
Sensor’s standard parallel
communications
Parallel Inter-
*2
face
YesYes---NoNoYesYes
YesYesNo---NoYesYes
YesYesNoNo---YesNo
YesYesYesYesNo---No
YesYesYesYesNoNo-- -
Ethernet
TCP no-protocol communications on
Ethernet
FINS/TCP
no-protocol
communications on
Ethernet
RS-232C *1Parallel communications
Sensor’s
standard parallel communications
Parallel Inter-
*2
face
Connections Across Network Routers
You can connect to a Sensor on a different network than the Touch Finder or PC Tool through a router.
• To connect to a Sensor, directly specify th e IP address of the Sensor. Automatic connection to a Sensor is not
possible.
• Use a fixed IP address for the Sensor to connect to.
28
System Configuration
FQ2 User’s Manual
Page 31
2-2Part Names and Functions
FQ2-S@@@@@@-@@@ (Sensors with Built-in Lighting)
(6)
(7)
No.NameDescription
(1)LightingLEDs for illumination
(2)Camera lensThis lens can be focused.
(3)I/O Cable connectorAn FQ-WD or FQ-WU I/O Cable is used to connect the Sensor to the power
supply and external I/O.
(4)Ethernet cable connectorAn FQ-WN Ethernet Cable is used to connect the Sensor to external
devices such as PLCs, the Touch Finder, or computers.
(5)Focus adjustment screwUsed to adjust the focus of the image.
(6)Operation
indicators
(7)Mounting BracketUsed to mount the Sensor.
ORLights orange when the overall judgement output (OR) signal turns ON.
ETNLights orange during Ethernet communications.
ERRORLights red when an error occurs.
11-1 Error Histories p. 398
BUSYLights green when the Sensor is executing a process.
* You can change the BUSY indicator to a RUN indicator.
This indicator is set by default to a BUSY indicator , b ut if y ou change it to a
RUN indicator, it will light green during operation.
Changing the Sensor’s BUSY Indicator: p. 231
The Mounting Bracket can be attached to the front, left side, right side, or
back of the Sensor.
(5)
(1)
(2)
(4)
(3)
2
Installation and Connections
FQ2 User’s Manual
Part Names and Functions
29
Page 32
(1)
(4)
(7)
(8)
(3)
(2)
(6)
(5)
(5)
(5)
(5)
Bottom
Sensor Mounted to Base
FQ2-S3@-@@@ (Sensors with C-mounts)
No.NameDescription
(1)C-mount lens mounting surface The C-mount lens and macro ring are attached here. Determine the appro-
priate CCTV lens (C-mount lens) to use based on the field of view required
for the size of the measurement object.
Optical Diagrams: p. 35
(2)I/O Cable connectorAn FQ-WD or FQ-WU I/O Cable is used to connect the Sensor to the power
supply, external I/O, and Data Unit.
(3)Ethernet Cable connectorAn FQ-WN Ethernet Cable is used to connect the Sensor to external
devices such as the Touch Finder or computers.
(4)Operation
indicators
(5)Mounting holesThese mounting holes for M3 screws are used to mount the Camera and to
(6)Mounting base (enclosed)The mounting base has 1/4-20UNC threads and is used to mount the Sen-
(7)C-mount coverThis cover is attached to the C-mount lens fitting when a lens is not
(8)Connector coverThis cover is attached to the connection when an Ethernet Cable is not con-
ORLights orange when the overall judgement output (OR) signal turns ON.
ETNLights orange during Ethernet communications.
ERROR
BUSYLights green when the Sensor is executing a process.
Lights red when an error occurs.
11-1 Error Histories p. 398
* You can change the BUSY indicator to a RUN indicator.
This indicator is set by default to a BUSY indicator , b ut if y ou change it to a
RUN indicator, it will light green during operation.
Changing the Sensor’s BUSY Indicator: p. 231
mount to the base. There are mounting holes on the top, bottom, left, and
right surfaces.
Dimensions: p. 477
sor. The base can be attached to the bottom, top, left, or right side of the
Sensor.
* We recommend mounting the Sensor with the mounting screw holes. The
mounting base does not necessarily need to be used.
attached.
nected.
30
Part Names and Functions
FQ2 User’s Manual
Page 33
Touch Finder
(1)
(6)(7)
(3)
(4)
(5)
(2)
(12)
(10)
(11)
(8)
(9)
No.NameDescription
(1)Operation
indicators
(2)LCD/touch panelDisplays the setting menu, measurement results, and images input by the
(3)SD card slotAn SD card can be inserted.
(4)Battery cover
(5)Power supply switchUsed to turn the Touch Finder ON and OFF.
(6)Touch pen holderThe touch pen can be stored here when it is not being used.
(7)Touch pen Used to operate the touch panel.
(8)DC power supply connectorUsed to connect a DC power supply.
(9)SliderUsed to mount the Touch Finder to a DIN Track.
(10)Ethernet portUsed when connecting the Touch Finder to the Sensor with an Ethernet
(11)Strap holderThis is a holder for attaching the strap.
(12)AC power supply connector
*1: Applicable to the FQ2-D31 only .
POWERLights green when the Touch Finder is turned ON.
ERRORLights red when an error occurs.
11-1 Error Histories p. 398
SD ACCESSLights yellow when an SD card is inserted.
Flashes yellow when the SD card is being accessed.
CHARGE
*1
*1
Lights orange when the Battery is charging.
camera.
The Battery is inserted behind this cover.
Remove the cover when mounting or removing the Battery.
p. 50
cable. Insert the connector until it locks in place.
*1
Used to connect the AC adapter.
2
Installation and Connections
FQ2 User’s Manual
Part Names and Functions
31
Page 34
Sensor Data Units
Front Surface of Parallel Interface
Sensor Data Unit
Back Surface of Parallel Interface
Sensor Data Unit
RS-232C Interface
Sensor Data Unit
(1)
(4)
(4)
(8)
(7)
(5)
(3)(6)
(2)
No.NameDescription
(1)Sensor connectorConnects to the FQ2-S3.
(2)Power supply and ground termi-
nal block
(3)Parallel I/O connectorConnects to the I/O connector.
(4)I/O indicators POWER/
ERROR
RUNLights green during operation.
BUSYLights yellow when the Sensor is executing a process.
SENSORLights yellow when the Sensor is connected.
OR-OKLights green when the overall judgement result is OK.
OR-NGLights red when the overall judgement result is OFF or an error occurs.
232C_COMLights yellow during RS-232C communications. (Provided only on the FQ-
(5)DIN Track mounting sectionMounts the Data Unit to a DIN Track.
(6)SliderUsed to secure the Data Unit to a DIN Track.
(7)RS-232C connectorConnects to the RS-232C connector.
(8)Parallel I/O connectorConnects to the I/O connector.
Connects to the 24-V power source and the ground line.
Lights green when power is being supplied.
Lights red when an error occurs.
SDU2@.)
32
Part Names and Functions
FQ2 User’s Manual
Page 35
2-3Installation
6
8101214
0204060
50
130
210
0100200300
35
45
55
200
600
1,000
200400
0
0
400
Horizontal field of view (mm)
Horizontal field of view (mm)
Installation distance (L) (mm)
Installation distance (L) (mm)
FQ2-S@@050F, FQ2-S@@050F
FQ2-S@@100N, FQ2-S@@100N
Horizontal field of view (mm)
Horizontal field of view (mm)
Installation distance (L) (mm)
Installation distance (L) (mm)
FQ2-S@@010F, FQ2-@@010F
FQ2-S@@100F, FQ2-S@@100F
Installation distance (L)
Vertical field
of view
The optical chart indicates the horizontal
field of view. The vertical field of view
depends on the model as follows:
FQ2-S@@@@@@:
Approx. 60% of the horizontal field of view
FQ2-S@@@@@@-08@:
Approx. 90% of the horizontal field of view
Horizontal field of view
Note: The tolerance is ±10%.
Installing the Sensor
FQ2-S@@@@@@ (Sensors with Built-in Lighting)
Installation Procedure
2
1Align the tabs on one side of the Moun ting Bracket with
the slot on the Sensor.
The FQ-XL Mounting Bracket can be attached to the back,
side, or front of the Sensor.
2Press the Mounting Bracket onto the Sensor until the oth-
er tabs click into place.
3Use the following optical charts to check the field of view
and installation distance of the Sensor so that it is mou nted at the correct position.
Tightening torque (M4): 1.2 N·m
Installation and Connections
Mounting
Bracket
FQ2 User’s Manual
Installation
33
Page 36
• There is a certain amount of deviation among Sensors in the center of the optical axis. For this reason, when install-
Important
Mounting
Bracket
ing the Sensor, check the center of the image and the field of view on the LCD monitor of the Touch Finder and in
the PC Tool.
Removal Procedure
1Insert a flat-blade screwdriver between the Mounting Brack-
et and the Sensor case on either side and remove the
Mounting Bracket.
FQ2-S3@-@@@ (Sensors with C-mounts)
Installation Procedure
Directly Mounting the Sensor
1Mount the Sensor with M3 screws.
Tightening torque: 0.54 N·m
Effective depth of mounting holes: 4 mm
Important
Refer to the dimension drawings in the appendix for the positions of
the screw holes.
Mounting the Sensor to the Base
1You can attach the mounting base to the bo ttom, top, left,
or right surface.
(Recommended mounting screw tightening torque:
0.54 N·m)
Tightening torque: 0.54 N·m
Effective depth of mounting holes: 4 mm
2Mount the Sensor with M3 screws.
Tightening torque: 0.54 N·m
Effective depth of mounting holes: 4 mm
The X axis in the above optical diagrams represent field of view (mm)*1. The Y axis represents the camera
Field of view
Y
X
*1: The Y axis in the optical charts represents the height of the field of view.
Example: If you use an 3Z4S-LE SV-2514H Lens for a measurement object that requires field of view of 35
mm, the camera installation distance must be 200 mm and a 2-mm macro ring is required.
Filter threads
1-32 UNF
(C-mount threads)
Maximum outside
diameter
Total length
installation distance (mm) or WD (mm). These optical diagrams show the relationship between the detection
range and installation distance for different CCTV Lenses. The values vary for each Lens. Pay close attention
to the Lens that you are using when y ou refer to these optical diagrams. The macro ring thickness to be used i s
given as, for example “t5.0,” on the graphs. “t0” means that a macro ring is not required. “t5.0” means that you
must use a 5-mm macro ring.
Macro rings are inserted between the Lens and the camera to adjust the focus. Y o u can use up to seven macro
rings to achieve the required thickness.
ModelMaximum out-
Thickness
side diameter
3Z4S-LE SV-EXR31 mm7-piece set
Thickness:
0.5 mm
10mm
• Do not stack 0.5 mm, 1.0 mm, and 2.0 mm macro rings. These sizes fit between the Lens and the threaded portion
of other macro rings. If two or more are stacked together, the screw cannot be tightened securely.
• The macro rings may need to be reinforced depending on the vibration conditions if over 30 mm is used.
20mm
40 mm20 mm10 mm5 mm1 mm 2 mm
40mm
Installing the Touch Finder
Installation Precautions
Install the Touch Finder in the following orientation to allow sufficient heat dissipation.
38
Do not mount it in the following orientations.
• To improve ventilation, leave space on both sides of the Touch Finder. The distance between the Touch Finder and
other devices should be at least that shown in the following diagram.
• Make sure that the ambient temperature is 50°C or lower. If it exceeds 50°C, install an cooling fan or an air conditioner and maintain the temperature at 50°C or lower.
• To prevent interference by noise, do not mount the Sensor on panels which contain high-voltage devices.
• To keep the level of noise from the surrounding environment to a minimum, install the Sensor and Touch Finder at
least 10 m away from power lines.
Installation
FQ2 User’s Manual
Page 41
Mounting to DIN Track
Important
Important
Installation Procedure
1Press the slider on the Touch Finder to the top.
2Hook the clip at the top of the Touch Finder on to the DIN
Track.
3Press the Touch Finder onto the DIN Track until the bottom
clip clicks into place.
3
• Attach End Plates (sold separately) on the sides of the Touch Finder on the DIN Track.
• If other devices will be installed next to the Touch Finder on the same DIN Track, make sure that sufficient space is
kept between the devices as indicated on previous page.
• Always hook the clip at the top of the Touch Finder on the DIN Track first. If the lower clip is hooked on first, the
Touch Finder will not be mounted very securely.
Removal Procedure
2
3
1
1Pull down on the slider on the Touch Finder.
2Lift the Touch Finder at the bottom and remove it from the
DIN Track.
2
1
2
Installation and Connections
Mounting to a Control Panel
The Touch Finder can be mounted on a panel using the FQ-XPM Panel Mounting Adapter.
• Always turn OFF the Touch Finder power before attaching or detaching the Panel Mount Adapter. Attaching or
detaching with the power turned ON may cause a failure.
1Set the To uc h Finde r in the Pa ne l Mou nt Ada pter.
FQ2 User’s Manual
Installation
39
Page 42
2Press the slider up on the Touch Finder.
3Create holes in the panel for mounting.
Refer to the following page for hole dimensions.
p. 482
4Connect the cable to the Touch Finder.
5Mount the Touch Finder with the Panel Mount Adapter from
the front of the panel.
6Hook the hooks on the Mounting Bracket in the four holes
of the Panel Mount Adapter and secure them with screws.
(Tightening torque: 1.2 N·m)
7Check that the Touch Finder is attached properly to the
Panel.
Mounting
Bracket
Using the Touch Finder as a Portable Device (with Battery)
The Touch Finder with a Battery can be used as a portable device. Use the strap when carrying it to prevent
dropping it.
There are two types of straps (FQ-XH, sold separately), a Neck Strap and a Hand Strap.
Neck Strap
Hand Strap
1Attach the Mini-strap to the Touch Finder.
There are a total of four holes for at taching the Mini-strap on the left and o n the right of the Touch Finder.
40
Installation
FQ2 User’s Manual
Page 43
2Connect the Neck Strap or Hand Strap to the Mini-strap.
Mini-strap
Neck Strap or Hand
Strap
Important
Mounting Sensor Data Units
Mounting to DIN Track
Installation Procedure
1Lock the sliders at the top and bottom of the Sensor Data
Unit.
2
Installation and Connections
2Press the slider on the Sensor Data Unit to the top.
3Hook the clip at the top of the Sensor Data Unit on to the DIN
Track.
4Press the Sensor Data Unit onto the DIN Track until the bot-
tom clip clicks into place.
• Attach End Plates (sold separately) on the sides of the Sensor Data Unit on the DIN Track.
• Always hook the clip at the top of the Sensor Data Unit on the DIN Track first. If the lower clip is hooked on first, the
Touch Finder will not be mounted very securely.
Removal Procedure
3
2
3
1
1Pull down on the slider on the Sensor Data Unit.
2Lift the Sensor Data Unit at the bottom and remove it from
the DIN Track.
2
1
FQ2 User’s Manual
Installation
41
Page 44
2-4Wiring
Important
Wiring the Sensor
Connect the I/O Cable to the I/O Cab le connector located at the bottom of the Sensor.
FQ2-S
@@@@@@
(Sensors with Built-in Lighting
or Sensors with C-mounts)
FQ-WD0@@
I/O Cable
Brown
Blue
Black
Orange
Light blue
Pink
Gray
Green
Red
White
Purple
Yellow
• Cut off lines that are not required so that they do not come into contact the other signal lines.
• Do not allow the load current to exceed 50 mA. The output circuit may be damaged if the load current exceeds 50
mA.
Classification
Power
supply
InputsTRIGThis terminal is the trigger signal input.
OutputsOUT0 (OR)By default, this is the OR output signal (overall judgement).
SignalApplication
Power supply
(24 V)
GND
IN0 to IN5These are the command input terminals.
OUT1 (BUSY)By defau lt, this is the BUSY output signal.
OUT2 (ERROR)By default, this is the ERROR output signal.
These terminals are for the external power supply (24 V).
Important
Wire the power supply separately from other devices. If the wiring for other devices is placed
together or in the same duct as the wiring for the Vision Sensor, the influences of electromagnetic
induction may cause the Sensor to malfunction or may damage it.
The assignment can be changed to RUN, READY, an individual judgement signal from OR0 to
OR31, the STGOUT (strobe trigger output), or an expression judgement from 0 to 31.
The assignment can be changed to RUN, READY, an individual judgement signal from OR0 to
OR31, the STGOUT (strobe trigger output), or an expression judgement from 0 to 31.
The assignment can be changed to RUN, READY, an individual judgement signal from OR0 to
OR31, the STGOUT (strobe trigger output), or an expression judgement from 0 to 31.
42
Note
The assignments of I/O signals can be changed.
Section 8 Controlling Operation and Outputting Data with a Parallel Connection: p. 233
Wiring
FQ2 User’s Manual
Page 45
I/O Signal Circuit Diagrams
GND (0V)
OUT0 (OR)
OUT1 (BUSY)
OUT2 (ERROR)
TRIG
IN0
IN1
IN2
IN3
IN4
IN5
IN0
IN1
IN2
IN3
IN4
IN5
TRIG
GND (0V)
OUT0 (OR)
OUT1 (BUSY)
OUT2 (ERROR)
PNPNPN
Brown
Power supply (24 VDC)
24 VDC
Yellow
Blue
Load
Purple
White
Black
Red
Orange
Light blue
Green
Gray
24 VDC
Pink
Blue
Yellow
Internal circuits
Internal circuits
Purple
White
Light blueRed
Green
Orange
Black
Gray
Load
Pink
Brown
Power supply (24 VDC)
Important
Important
Preventing Chattering
• The Sensor is equipped with an anti-chatte r ing function, but if the chattering is 100 μs or longer, a faulty input may
occur. (Input signals of 99 μs or shorter are ignored. Signals of 100 μs or longer are treated as input signals.)
• Use no-contact output devices (e.g., SSR or PLC transistor output) for the input signals. If contacts (e.g., relay) are
used, chattering may cause the trigger to be input again during execution of a measurement.
2
Installation and Connections
Po wer Supply Specifications When a Switching Regulator Is Connected
Use a power supply that meets the following specifications. (The power supply is sold separately.)
ItemDescription
FQ2-S2@@@@@FQ2-S3@-@
Power supply voltage24 VDC (21.6 to 26.4 V)
Recommended Power SupplyS8VS-06024@ (24 VDC, 2.5 A)S8VS-01524@ (24 VDC, 0.65 A)
External power supply terminal screwsM4 (tightening torque: 1.2 N·m)
Supply power from a DC power supply for which measures have been applied to prevent high voltages (e.g., a safety
extra low voltage circuit).
If UL certification is required for the overall system, use a UL Class II DC power supply.
Attaching the LED Warning Label
Attach the enclosed LED warning label to the cable or other location. The LED warning label must be attached
to a location that is readily visible from the Sensor.
FQ2 User’s Manual
Attachment ExampleWarning Label
Warning Label
12-6 LED Safety: p. 497
Wiring
43
Page 46
Wiring Sensor Data Units
FQ2-S3 (Sensors with Built-in Lighting or
Sensors with C-mounts)
For the I/O connector harness, use an FQ-VP1@@@ Parallel Cable for the FQ-SDU1 or a MIL-standard
harness, such as the OMRON XZ2F. (The Cables are sold separately.)
SignalApplication
Power supply (24 V)
Power supply (0 V)
Frame ground
44
Wiring
These terminals are for the external power supply (24 V).
• Wire the power supply separately from other devices. If the wiring for other devices is placed
together or in the same duct as the wiring for the Vision Sensor, the influence of electromagnetic
induction may cause the Sensor to malfunction or may damage it.
• Do not allow the load current to exceed 50 mA. The output circuit may be damaged if the load current exceeds 50 mA.
This is the frame ground terminal. Connect it to the ground wire.
FQ2 User’s Manual
Page 47
FQ-SDU10/SDU15 Terminal Signal Names
PinSignalIN/
1COMOUT1-Output signal common (DO0 to
2NC
*1
FunctionPinSignalIN/
OUT
DO15)
31COMIN0-Input signal common (all inputs
OUT
Function
except TRIG)
-32COMIN1-Input signal common (TRIG)
3D0OUT Data output33TRIGINMeasurement trigger input
4D1OUT Data output34NC
5D2OUT Data output35NC
*1
*1
-
6D3OUT Data output36RESETINReset input
7D4OUT Data output37IN0INCommand input
8D5OUT Data output38IN1INCommand input
9D6OUT Data output39IN2INCommand input
10D7OUT Data output40IN3INCommand input
11D8OUT Data output41IN4INCommand input
12D9OUT Data output42IN5INCommand input
13D10OUT Data output43IN6INCommand input
14D11OUT Data output44IN7INCommand input
15D12OUT Data output45NC
16D13OUT Data output46NC
*1
*1
-
17D14OUT Data output47DSAINData send request signal
18D15OUT Data output48NC
19NC
20NC
21NC
22NC
23NC
24NC
25NC
26NC
27NC
28NC
29NC
30NC
*1
*1
*1
*1
*1
*1
*1
*1
*1
*1
*1
*1
-49NC
-50NC
-51NC
-52ACKOUT Command execution completed
-53RUNOUT ON during measurement mode
-54BUSYOUT ON during process execution
-55OROUT Overall judgement result
-56ERROROUT ON during error
-57STGOUTOUT Strobe trigger output
-58SHTOUTOUT Shutter trigger output
-59GATEOUT ON during the set output time.
-60COMOUT0-Output signal common (ACK,
*1
*1
*1
*1
-
-
-
-
flag
*2, *3
*4
RUN, BUSY, OR, ERROR,
STGOUT, SHTOUT, and GATE)
*1:Leave all signal terminals that are labeled “NC” open.
*2:You can select whether to turn the external lighting ON (Positive) or OFF (Negative) when the signal turns ON. (The setting is called the
strobe output polarity.)
Changing the Output Timing and Output Time of the STGOUT Signal: p. 270
*3:This control signal is used to turn ON external lighting when an image is taken. Connect this signal to external lighting.
*4:This signal is output to an external device when exposure of the imaging elements is completed. If you want to move the Sensor to the ne xt
measurement location after a measurement is completed, move the Sensor only after this signal turns ON.
Shutter Output Signal (SHTOUT)
Trigger input (TRIG)
Imaging element
shutter signal
SHTOUT
The SHTOUT signal turns ON for approximately 10 ms (fixed) when the shutter time (exposure period) elapses after
the trigger is input from an external device.
ON
OFF
ON
OFF
ON
OFF
Trigger delay
Shutter time
10 ms
2
Installation and Connections
FQ2 User’s Manual
Wiring
45
Page 48
RS-232C Interface Sensor Data Unit (FQ-SDU2@)
FQ2-S3 (Sensors with Built-in Lighting or
Sensors with C-mounts)
Power supply (24 V)
Power supply (0 V)
Frame ground
RS-232C connector
1 2 17 18
3 4 19 20
5 6 21 22
7 8 23 24
9 10 25 26
11 12 27 28
13 14 29 30
15 16 31 32
(Screw size: M3,
Tightening torque:
0.54 N·m)
FQ-WU0@@
Sensor Data Unit Cable
For the I/O connector harness, use an FQ-VP2@@@ Parallel Cable for the FQ-SDU2 or a MIL-standard
harness, such as the OMRON XZ2F. (The Cables are sold separately.)
SignalApplication
Power supply (24 V)
Power supply (0 V)
Frame ground
46
Wiring
These terminals are for the external power supply (24 V).
Important
• Wire the power supply separately from other devices. If the wiring for other devices is placed
together or in the same duct as the wiring for the Vision Sensor, the influence of electromagnetic
induction may cause the Sensor to malfunction or may damage it.
• Do not allow the load current to exceed 50 mA. The output circuit may be damaged if the load current exceeds 50 mA.
This is the frame ground terminal. Connect it to the ground wire.
Align the connector with the socket and press it straight into place, then fix it with the screws on both sides of
the connector.
Turn OFF the power supply before connecting or disconnecting a Cable. Peripheral devices may be damaged if the
cable is connected or disconnected with the power ON.
48
Wiring
FQ2 User’s Manual
Page 51
I/O Signal Circuit Diagrams
Important
Important
NPN
Input Circuit
Input terminal
+
3 K Ω
COM_I
1000 pF
910 Ω
Internal circuits
Output Circuit
Internal
circuits
Output terminal
Load
COM_O
L
+
PNP
Input Circuit
Input terminal
+
3 K Ω
COM_I
1000 pF
910 Ω
Internal circuits
Output Circuit
Internal
circuits
COM_O
+
Load
L
Output terminal
Preventing Chattering
• The Sensor is equipped with an anti-chatte r ing function, but if the chattering is 100 μs or longer, a faulty input may
occur. (Input signals of 99 μs or shorter are ignored. Signals of 100 μs or longer are treated as input signals.)
• Use no-contact output devices (e.g., SSR or PLC transistor output) for the input signals. If contacts (e.g., a relay)
are used, chattering may cause the trigger to be input again during execution of a measurement.
2
Installation and Connections
Power Supply Specifications When a Switching Regulator Is Connected
Use a power supply that meets the following specifications. (They are sold separately.)
ItemDescription
FQ2-S2@@@@@@@ connectionFQ2-S3@-@ connection
Power supply voltage24 VDC (21.6 to 26.4 V)
Recommended Power SuppliesS8VS-06024@ (24 VDC, 2.5 A)S8VS-03024 (24 VDC, 1.3 A)
External power supply terminal screwsM4 (t ightening torque: 1.2 N·m)
Supply power from a DC power supply for which measures have been applied to prevent high voltages (e.g., a safety
extra-low-voltage circuit).
If UL certification is required for the overall system, use a UL Class II DC power supply.
FQ2 User’s Manual
Wiring
49
Page 52
Wiring the Touch Finder
When you attach the ferrite core to
the power supply cable, wrap the
cable only one time.
Important
Power Supply Wiring
Connecting the Power Supply
1Loosen the two terminal screws using a Phillips
screwdriver.
2Attach crimp terminals to the power lines.
Secure the positive and negative lines as indicated
using M3 screws.
Power supply tightening torque: 0.54 N⋅m
3In environments where there is excessive noise, at-
tach a ferrite core (ZCAT1730-0730 from TDK or the
equivalent) to the power supply cable.
Turning ON the Touch Finder
24 VDC
+
−
1Remove the cover from the power switch on the left side of
the Touch Finder.
2Press the switch toward ON.
1
Power Supply Specifications
Use a power supply that meets the following specifications. (The power supply is sold separately.)
ItemDescription
Power supply voltage24 VDC (21.6 to 26.4 V)
Output current0.65 A min.
Recommended Power SupplyS8VS-01524@ (24 VDC, 0.65 A)
External power supply terminal screwsM3.5 (tightening torque: 1.0 N⋅m)
Recommended power line wire sizeAWG16 to AWG22 (length of 5 m max.)
• Supply power from a DC power supply for which measures have been applied to prevent high voltages (e.g., a
safety extra-low-voltage circuit).
If UL certification is required for the overall system, use a UL Class II DC power supply.
• When using the FQ-D31, do not connect a switching regulator and AC Adapter (FQ-AC@) at the same time.
2
ON
OFF
50
Wiring
FQ2 User’s Manual
Page 53
Charging the Battery
CHARGE indicator
This section describes how to charge and install the FQ-D31 Batte ry and provides applicable precautions.
Charge the Battery while it is attached to the Touch Finder.
Use the AC adapter to charge the battery.
Mounting the Battery in the Touch Finder
1Remove the screw from the battery cover on the top of the
Touch Finder, slide the cover in the direction of the arrow,
and open the battery cover.
2Face the rounded side of the battery toward the back of the
Touch Finder and insert the battery.
Important
Do not insert the battery in the wrong orientation.
3Close the battery cover, slide the battery cover in the direc-
tion of the arrow, and tighten the screw on the battery cover.
2
Installation and Connections
4Attach the AC adapter to the Touch Finder to start changing
the battery.
The CHARGE indicator will be lit while the battery is being
charged. It will go out when charging the batt ery has bee n co mpleted.
Note
The Touch Finder will operate even if the AC adapter is connected when no battery is mounted in the Touch Finder.
FQ2 User’s Manual
Wiring
51
Page 54
• If the Touch Finder (FQ-D31) will be installed permanently or semi-permanently, remove the Battery (FQ-BAT1). If
Important
EU
Li-ion00
JapanTaiwan
the rated temperature is exceeded with the Battery inserted, the protective circuit may activate and stop the Touch
Finder.
• The battery complies with the following recycling regulation.
• California regulations concerning perchlorate:
This product is a lithium battery that contains perchlorate, which is regulated by the State of California. Please comply with these regulations. For details see the following URL:
www.dtsc.ca.gov/hazardouswaste/perchlorate/
52
Wiring
FQ2 User’s Manual
Page 55
2-5Setting Up Ethernet
Connecting to Sensors from the Touch Finder
Configurations Consisting of Only Sensors and the Touch Finder
When only Sensors and a Touch Finder are used, IP addresses are automatically assigned. No settings are
required to use Ethernet.
Connections on Existing Networks
If a Sensor or Touch Finder is connected to a network where a PLC or computer is already connected, the
Ethernet settings must be made compatible with th e existing network.
Set the IP addresses with one of the following methods.
1Press [Fixed].
2Set the IP address and subnet mask according to the network where the external devices, such
as PLCs, are connected.
Note
If you connect OMRON CS/CJ-series PLCs to the Ethernet, the following default IP addresses are assigned to the
PLCs.
• IP address: 192.168.250.node_address
Connecting to Sensors from a Computer Using the PC Tool
Configurations Consisting of Only Sensors and a Computer (PC Tool)
If the configuration consists only of Sensors and a Touch Finder, set the network settings on the computer as
described below.
(No IP address settings are required on the Sensors.)
The following procedure is for Windows XP.
1Select [Control Panel] from the Windows Start Menu.
2Click [Network and Internet Connections] in the control
3Right-click the [Local Area Connection] Icon and select
54
Setting Up Ethernet
panel and then double-click [Network Connections].
[Properties].
FQ2 User’s Manual
Page 57
4On the [General] Tab Page, double-click Internet Proto-
col (TCP/IC).
5Select the Use the following IP address Option and en-
ter the following IP address and subnet mask.
• IP address: 10.5.5.101
• Subnet mask: 255.255.255.0
6Click the [OK] Butto n. This compl e tes the setting s.
2
Installation and Connections
Connections on Existing Networks
Set the Ethernet settings of the Sensors and the computer (PC Tool) to the same settings as the existing
network. Refer to Connecting to Sensors from the Touch Finder on page 53 for the IP address settings in the
Sensors.
Note
• If you connect the PC Tool to a Sensor on a different network through a router, set fixed IP addresses.
• If you use an EtherNet/IP connections, set fixed IP address for the Sensors.
3-5 Adjusting the Images That Were Taken . . . . . . . . . . . . . . . . . . . . . . . . 68
3
Taking Images
Page 60
3-1Selecting a Sensor for Configuration
If multiple Sensors are connected to a single Touch Finder or computer, a list of the Sensors t hat are connecte d
is displayed by default. Use the following procedure to c hange to the Sensor to set up.
1Press − [Switch Sensor].
2Press the image of the Sensor to be set up.
will be displayed for Sensors that are not yet set.
Note
Once the Touch Finder detects and records a Sensor, the display order for showing more than one Sensor is fixed. Even if the system
configuration is changed to reduce the number of Sensors, the previous display location will remain for Sensors that were removed.
To update displays of multiple Sensors to the current connection sta-
tus, press [ ] - [Auto connect] on the right of the display in step 2, to
automatically reconnect.
3Press − [Sensor settings] to return to Setup
Mode.
4Press [Yes].
Note
There are different methods that you can use to connect the Sensors. F or example, you can automatically connect to
the Sensors that are recognized by the Touch Finder, or you can manually register the Sensors to connect.
7-5 Connecting to More Than One Sensor: p. 204
58
Selecting a Sensor for Configuration
FQ2 User’s Manual
Page 61
3-2Setting Conditions for Taking Images
Taking Clear Images (Camera Setup)
Adjusting the Focus
Adjust the focus of the Lens.
Taking Bright Images of Dark Objects and Taking Clear Images of Moving Objects
Adjust the shutter speed and gain.
Adjusting the Colors of the Image (White Balance)
Adjust the white balance so that the colors match those of the actual measurement object.
Improving the Image Quality of Metallic and Other Shiny Surfaces (HDR)
Make adjustments for shiny objects or metallic surfaces.
For a Sensor with built-in lighting, attach a polarizing filter to cut specular reflections.
Adjusting the Images That Were Taken (Image Adjustment)
Filtering the Images (Filter Items)
Apply filters to adjust the images that were taken.
Compensating for Position Offset (Position Compensation Items)
Recognize measurement objects that are not in a consistent location and move them to the center of the image.
Adjusting the Timing of Taking Images (Trigger Setting)
Trigger Delay
Adjust the timing of taking an image with the Sensor.
p. 63
p. 60
p. 64
p. 65
p. 66
p. 69
p. 74
You can set the conditions for taking images to use in inspections.
To enable accurate judgements, the following adjustments are made for the conditions for taking images and
the images themselves.
3
Taking Images
FQ2 User’s Manual
Setting Conditions for Taking Images
59
Page 62
3-3Adjusting Image Quality
Important
Adjusting the Focus
[Image] − [Camera setup]
1Display the Camera Setup Display.
The focus can be seen as a numerical value. The higher
the value, the better the focus.
Focus Level
2Adjust the focus of the Sensor while checking the im-
age and focus value on the Touch Finder.
For a Sensor with Built-in Lighting, manually adjust the
focus using the focus adjustment screw on the Sensor.
In the default settings, the field of view is set to the narrowest setting. For a Sensor with a C-mount, use the focus ring on the lens to adjust the focus of the image.
3Press [Back].
• Turn the focus adjustment screw clockwise or counterclockwise a little bit to make sure that it has not already
reached the dead stop. Do not force the screw if it does not rotate anymore. This will damage the Sensor.
• Do not turn the focus adjustment screw with a force that is greater than 0.1 N·m. This may damage it.
Focus adjustment screw
Turn clockwise to focus on closer objects.
(The field of viewwill
narrow.)
Turn the screw counterclockwise
to focus on objects at a distance.
(The field of viewwill widen.)
Sensor with Built-in Lighting
60
Adjusting Image Quality
FQ2 User’s Manual
Page 63
Adjusting Image Brightness with External Lighting
Important
OFF
ON
TRIG signal
(Brightness
Correction ON)
OFF
ON
BUSY signal
Timing Chart When the Brightness Correction Mode Is ON
ON for 1 ms min.
Taking images begins 25 ms
after the TRIG signal is input.
ONwhile the measurement
process is being executed.
Important
You can adjust image brightness with external lighting or by set ting the Sensor sensitivity.
Using a Strobe Trigger Signal to Control External Lighting
If a Data Unit is connected, you can change the output time of the strobe trigger signal (STGOUT) to adjust the
brightness.
Changing the Output Timing and Output Time of the STGOUT Signal: p. 270
Adjusting the Brightness
You can adjust the shutter speed/gain or the brightness to make images brighter. The setting method depends
on whether HDR Mode is ON or OFF. The setting methods are described below.
HDR Function: p. 64
The exposure time will be longer for higher values of the shutter speed or brightness. This may cause the
image to blur if the object is moving fast. If the Sensor is used on a high-speed line, check that the images are
not blurred under actual operating conditions.
If the brightness changes inconsistently with each image, turn ON the Brightness Correction Mode.
When HDR is ON: [Brightness] − − [Brightness correction]
When HDR is OFF: [Gain] − − [Brightness correction]
When the Brightness Correction Mode is ON, the brightness will be consistent but the timing when images are
taken will be delayed by 25 ms. Make sure that appropr iate images of the measured objects are taken when the
Brightness Correction Mode is ON.
3
Taking Images
Reference Timing Chart When the Brightness Correction Mode Is OFF: p. 236
If the gain is increased, the brightness will not be stable and measurement values may be inconsistent. We
recommend that you turn ON the Brightness Connection Mode.
FQ2 User’s Manual
Adjusting Image Quality
61
Page 64
When HDR Is OFF
The brightness of the image is adjusted by adjusting the shutter spee d. If the brightness cannot be impro v ed b y
adjusting the shutter speed, the gain is adjusted.
Relationship between the Shutter Speed/Gain and the Image Brightness
Dark
Brightness of image
Shutter
speed
Bright
1/11/60000
0
Gain
Note
• Adjust the shutter speed not only to adjust the brightness of the image, but also to adjust for the travel speed of
the measurement object.
Taking Clear Images of Moving Objects: p. 63
• Increasing the gain will make the image brighter, but it will also reduce image quality to the point that the noise
component in the images will stand out. Select a suitable factor for the inspection.
10
[Image] − [Camera setup]
1Press [ ] − [Shutter speed] on the right of the dis-
play.
2Move the bar to the left or right to adjust the shutter
speed.
Moving it to the left will make the shutter speed slower
and the image brighter. Moving it to the righ t will make the
shutter speed faster and the image darker.
3Press [OK].
If you cannot obtain the required brightness by adjusting
the shutter speed, adjust the gain
4Press [ ] − [Gain] on the right of the display.
5Move the bar to the left or right to adjust the gain.
Moving it to the right will increase the gain and make the
image brighter. Moving it to the left will reduce the gain
and make the image darker.
6Press [OK].
7Press [Back].
ParameterSettingDescription
Shutter speedRange:
62
Adjusting Image Quality
For FQ-S3
1/1 to 1/60,000
1/250 to 1/60,000 (for Cameras with Built-in Lighting)
For FQ2-S1 or FQ2-S2
1/1 to 1/50,000
1/250 to 1/50,000 (for Cameras with Built-in Lighting)
Default: 1/250
If the shutter speed is slow, t he image will be
bright. If the shutter speed is fast, the image
will be dark.
FQ2 User’s Manual
Page 65
ParameterSettingDescription
Important
100
0
Brightness of image
Bright
Dark
1000
1/60,0001/250
Moving speed
Slow
Fast
Shutter speed
Brightness
GainFor FQ-S3
• To ensure stable operation when the FQ2-S1 or FQ2-S2 is connected, we recommend that you set the gain to 16.
• If the recommended value is exceeded, the brightness will not be stable and measurement values may be
inconsistent. We recommend that you turn ON the Brightness Connection Mode.
• If a slow shutter speed (1/1 to 1/10) and a high gain are set, fixed-pattern noise (fleck and striped noise) will
sometimes occur. Be sure to thoroughly check the images and the measurement results when you set the
shutter speed and gain.
Range: 0 to 10
Default: 0
For FQ2-S1 or FQ2-S2
Range: 16 to 64
Default: 16
If the gain is high, the image will be bright. If
the gain is low, the image will be dark.
When HDR Is ON
Set the brightness adjustment value . The higher the brightness adjustment value, the brighter the image.
[Image] − [Camera setup]
1
Press [ ] − [Brightness] on the right side of the display.
2Move the bar to the left or right to adjust the bright-
ness.
Moving it to the right will make the image brighter, while
moving it to the left will reduce the brightness of the image.
3Press [OK].
Taking Clear Images of Moving Objects
3
Taking Images
For quick moving objects, the effect of blurring can be reduced by decreasing the shutter speed.
In HDR Mode, set the brightness value to a low setting.
• Relationship between Shutter Speed and the Brightness Adjustment Value in HDR Mode
Refer to the foll owing page for the setting methods for the shutter speed and brightness.
Adjusting the Brightness: p. 61
FQ2 User’s Manual
Adjusting Image Quality
63
Page 66
The lower the shutter speed/gain and brightness settings are, the darker the image becomes. If the Sensor is
Important
Inputting Images with a Limit Range of Brightness
Combining Images to Create an Image
with a Wide Dynamic Range
Dark
Bright
used in a dark environment, make sure that the darkness of the image do es not cause th e measurements to be
unstable.
Improving the Image Quality of Metallic and other Shiny Surfaces
When objects with shiny surfaces are being measured, the lighting may be reflected off the surface and affect
the image.
To remove reflections, one of the following two functions can be used.
FunctionDescription
HDR (High Dynamic Range) If objects have contrasting light and dark areas, the dynami c range can be made wider to
Polarizing filter (for Sensors
with Built-in Lighting)
HDR Function
The HDR function is used for objects that have a large difference between light and dark areas. For this kind of
object, clear images cannot be achieved with the standard brightness setting. The HDR function combines
several images of different brightnesses (shutter speed) so that the resulting image has a lower degree of
contrast and can be measured stably for the desired characteristic.
improve the quality of the images.
Specular reflections can be eliminated from an image by attachin g a polarizi ng fil ter t o the
Sensor.
If the measurement object must be moving, use a polarizing filter. Also, if reflections cannot be sufficiently removed by using the HDR function, use a polarizing filter as well.
Observe the following precautions.
• Use the HDR function only for objects that are not moving to avoid image blurring.
Several images are taken with different shutter speeds and combined. If the object moves while the image
is being taken, the image will become blurred.
• Images with different brightnesses are combined, so the resulting image will have a lower degree of contrast.
[Image] − [Camera setup]
1Press [ ] − [HDR] on the right side of the display.
2Set the best level for the HDR Mode.
As shown below, the higher the level, the wider the combined dynamic range will be.
Level 1
Level 2
Level 3
Level 4
Dark
64
Adjusting Image Quality
Bright
FQ2 User’s Manual
Page 67
Using a Polarizing Filter (Only for Sensors with Built-in Lighting)
Specular reflections can be eliminated from an image b y attaching an FQ-XF1 Polarizing Filter to the Sensor.
Observe the following precautions.
• The image will be darker compared to when no filter is used.
• If the image becomes too dark, adjust the brightness.
p. 61
• Mounting the Filter
1Hook the filter in the hole at the top of the Sensor.
2Using the top section as a pivot point, pull down the
filter so that it attaches to the Sensor.
Adjusting the Colors of the Image (White Balance) (Only for Sensors with Color Cameras)
If external lighting is used, the image may appear as having different colors than the actual object. If this is the
case, adjust the white balance.
If the lighting built in to the Sensor is used, the white balance is already adjusted. No setting is required in this
case.
[Image] − [Camera setup]
1Input a picture of white paper or cloth.
2Press [ ] – [White balance] on the right side of the
display.
3Press the [Auto] Button. The Sensor will automatical-
ly adjust the colors.
4Move the bar to the left (l ight) or right (dark) t o fine-
tune the colors.
5Press [OK].
3
Taking Images
FQ2 User’s Manual
Adjusting Image Quality
65
Page 68
3-4Adjusting the Timing of Taking Images
Directly input the delay time.
Or
Move the bar to the left or right.
Delaying the Image Capture Timing from the Trigger Input
If the measurement object is moving, t he posi tion in t he image of the feature that is to be measured will depend
on the timing of the trigger signal. A delay can be applied from when the trigger (i.e., the TRIG signal) is input
until when the image is taken to synchronize the timing of image capture with the speed of moving objects. If
the object position varies in the image, this delay cannot be used to make the object position more stable.
When you use a trigger delay with external lighting, you will also need to adjust the timing to turn ON external
lighting.
Delay time
Delay from when the trigger is input until
when Sensor input is started.
Trigger input Sensor
[Image] − [Trigger setup] − [Trigger delay]
1A TRIG signal is input.
Images are input continuously.
2Select the image with the measurement object in the
center using and .
3Press the image.
4Press [OK].
Note
The delay time can be set using the adjustment bar or by directly entering a value.
66
Adjusting the Timing of Taking Images
FQ2 User’s Manual
Page 69
Adjusting External Lighting Timing
Sensor 0
Sensor 1
Trigger Sensor
Important
When you use a trigger delay, you must adjust the timing to turn ON external lighting so that it matches the
trigger delay timing.
Using a Strobe Trigger Signal to Control External Lighting
If a Sensor Data Unit is connected, you can change the output time of the strobe trigger signal (STGOUT) to
adjust the timing of the external lighting.
Changing the Output Timing and Output Time of the STGOUT Signal: p. 270
Preventing Mutual Interference of Multiple Sensors
When the same trigger signal is input to multiple Sensors, the lighting from one Sensor may affect the
measurements of the other Sensors. This is called mutual interference. This kind of interference can be
prevented offsetting the image input timing of each Sensor from when the trigger signal is received.
Example:
A trigger (i.e., the TRIG signal) is input to Sensor 0 and Sensor 1 at the same time.
TRIG signal
Timing of taking the image
Sensor 0
Sensor 1
Sensor 0 immediately begins image input when the trigger is input .
Sensor 1 begins image input after the specified time has passed.
No trigger delay
Sensor 1
trigger delay
Timing of taking the image
1Change to the setup for to Sensor 1.
p. 58
3
Taking Images
The delay time for preventing mutual interference must be longer than the shutter time.
When the lighting built into the Sensor is used, the shutter time is 4 ms max. Therefore make the delay at l east
4 ms.
FQ2 User’s Manual
2Press [Image] – [Trigger setup] – [Trigger delay].
3Set the trigger input delay time for Sensor 1.
p. 66
Adjusting the Timing of Taking Images
67
Page 70
3-5Adjusting the Images That Were Taken
Note
Image Adjustment
You can adjust the image that is taken by the Sensor to make it easy to measure.
There are mainly the following two types of items that you can use to adjust the image.
• Filtering the Images (Filter Items)
These items filter the image by eliminating image noise with filters to make them suitable for measurement.
• Compensating for Position Offset (Position Compensation Items)
These items compensate for offset in the position or orientation of the image.
You can combine several filter items and position compensation items to adjust the image that was taken. (You
can use a total of up to eight filter and position compensat ion items combined.)
Flow of Image Adjustment
The image that is taken by the Camera (called the Camera image) is adjusted in the order that the filter and
position compensation items are registered.
You can specify the order of image adjustment by registering the items in the desired order, but you cannot change
the order of the items after you register them.
Image
adjustment
Image is taken on TRIG signal.
(The image that is taken by the Camera.)
Camera image
Processed
image
(process 0)
Processed image
(processes 0 and
1)
Processed image
(processes 0, 1,
and 2)
Measurements are performed
with inspection items.
0: Median (filter item)
Source image: Camera image [Camera]
1: Dilate (filter item)
Source image: Previous image [Prev.]
2: Search Position Compensation (position compensation item)
Source image: Previous image [Prev.]
68
Adjusting the Images That Were Taken
FQ2 User’s Manual
Page 71
Specify the Camera image for the first filter item for image processing.
Note
→
• This inspection item cannot be used for monochrome images. An NG (image error)
will result if you use it for a monochrome image.
• All inspection items after the Color Gray Filter item will be performed in the same way
as when a Monochrome Camera is connected.
If you execute more than one filter item for the image, set the source image for the other filter items to the previous
image.
Also, you can perform image processing with filter items only to enable processing with position compensation
items.
In that case, only the position information from position compensation is applied to the image to be measured.
For details, refer to Using Filter Items for Processing with Position Compensation Items on page 76.
Filtering the Images (Filter Items)
You can filter the images that are taken by the Camera to make them easier to measure.
This is used in the follow ing cases.
• To cut unnecessary backgrounds so that they are not measured
• To remove noise
• To stably find the edges of marks when other edges have been clearly extracted
3
Applicable Filters
Selected filter itemDescription
Color Gray Filter (only for Sensors with Color Cameras)
Weak SmoothingUsed when there are minor irregularities in the measurement object.
Strong Smoothing
DilateUsed when there is dark noise.
ErosionUsed when there is bright noise.
MedianUsed when there are minor irregularities in the measurement object.
Extract EdgesExtracts image edges between light and dark.
Extract Horiz. Edges
(extract horizontal edges)
Extract vertical edgesExtracts vertical edges between light and dark in the image.
Enhance edgesEnhances image edges between light and dark.
Converts an image that was input from a Color Camera to a monochrome image.
Example: You can extract an image that contains only a specific color.
Extracting an Image That Contains Only Red
Note
The image is feathered to reduce unevenness.
Dark noise is removed by dilating bright places.
Bright noise is rem oved by erodi ng bright places.
Unevenness is reduced while maintaining outlines.
Extracts horizontal edges between light and dark in the image.
Taking Images
FQ2 User’s Manual
Adjusting the Images That Were Taken
69
Page 72
Selected filter itemDescription
→
Background SuppressionExtracts a specific range of brightness to increase the image contrast and suppress the unnecessary
background.
Example: Increasing Contrast
Any areas that are outside of the specified range of brightness are removed as the background.
Also, the brightness within the specified range is converted to 255 levels to enhance the contrast.
Setting Filter Items
[Image] − [Image adjustment]
1Press an unused number and then press [Add filter].
2Press the filter item to use.
3Make any detailed settings as required for the filter.
Refer to the detailed settings for each of the following filter items.
4Press [OK].
5Press [Back].
6Make any the following settings as required for each
filter item.
• Setting the Source Image for Filtering
p. 70
• Setting the Region to Filter
p. 71
• Setting the Filter Type (for Color Gray Filter Only)
p. 71
• Setting the Brightness Range to Extract (for Back-
ground Suppression Item Only)
p. 72
Setting the Image to Filter (Source Image)
You must set the image to which the filter is to be applied.
1Press [ ] − [Filter region] on the right of the display.
2Adjust the size and position of the region to which
the filter is to be applied.
To fine-tune the region, press [ ]
right of the display to display the console. This will allow
you to change the coordinates of the rectangle at the pixel level.
− [Console] on the
Drag to move the region.
Drag a corner to size the rectangle.
Setting the Filter Type (for Color Gray Filter Only)
You can specify the ranges of colors to which the Color Gray Filter item is applied.
1Press [ ] − [Filter type] on the right of the display.
2Set the filter type to either [RGB] or [HSV].
3
Press [ ] − [Filter settings] on the right of the display.
4Make the detailed filter settings.
•RGB
Select the type of color filter to use.
If you select [Custom filter], set the gains for red, green,
and blue.
3
Taking Images
•HSV
Set the following ranges: [Std. Hue], [Hue range], and
[Chroma].
5Press [OK].
6Press [Back].
FQ2 User’s Manual
Adjusting the Images That Were Taken
71
Page 74
•RGB
255
255
Output value
Input value
0
0
Lower limit
Upper limit
ParameterSettingDescription
Filter settings• Red filter (default)
RRange: 0.0001 to 9.9999
GRange: 0.0001 to 9.9999
BRange: 0.0001 to 9.9999
• Green filter
• Blue filter
• Cyan filter
• Magenta filter
• Yellow filter
• Brgt.F (brightness filter) (R+G+B)
• Brgt.F (brightness filter) (R+2G+B)
• Custom filter
Default: 0.3000
Default: 0.5900
Default: 0.1100
These filters achieve the same effect as when using the selected optical
filter.
These are the RGB gain settings for a custom filter.
Increase the gain to increase the density of that color component.
You can set the gains only if [Custom filter] is selected in the filter settings.
Sets the standard hue for the HSV filter.
The density will decrease as the difference between the hue and the
standard hue increases.
Sets the hue range for the HSV filter.
The hue range centered on the standard hue is divided into 255 levels to
find the difference in the hue. Hues that are outside the hue range will
have a density of 0.
Set the upper and lower limit values for the chroma (saturation).
Setting the Brightness Range to Extract (for Background Suppression Item Only)
The range in which to enhance the contrast and the brightness range to extract are set for the Background
Suppression item. The Background Suppression item works as described below to suppress the background
for the specified brightness range.
• Enhancing Contrast
The range of the input brightness that is within the specified br ightness range (0 to 255) is converted to 255 levels
to enhance the contrast.
• Background Suppression
Input values from 0 to the lower limit are converted to level 0 and input values between the upper limit and 255 are
converted to level 255 to remove as the background any places that are not within the specified brightness range.
You can use either of the following methods to set the upper and lower limits of the brightness range to extract
with the Background Suppression item.
72
Adjusting the Images That Were Taken
FQ2 User’s Manual
Page 75
• Enhancing the Contrast of a Specific Area
You specify the location on the image to enhance the contrast.
1Press [ ] − [Suppression level] on the right of the
display.
2Press [ ] − [RGB setting] on the right of the display.
3Select the method to u se to specify the brightness
range. (This setting applies to Sensors with Color
Cameras only.)
• Common RGB Settings
Set the upper and lower limit values of the brightness
range. The same limits will be used for all RGB colors.
• Individual RGB Settings
Set the upper and lower limit values of the brightness
range for each RGB color. Press [R], [G], and [B] and
set the upper and lower limits for each of them.
4Set the upper and lower limit values of the brightness
range. (for Sensors with Monochrome Cameras (or
after a Color Gray Filter))
Lower limit
Upper limit
5Press [Back].
6Press [OK].
7Press [Back].
FQ2 User’s Manual
Adjusting the Images That Were Taken
73
Page 76
ParameterSettingDescription
Common (common RGB
setting)
Individual (individual
RGB settings)
Brightness range (for
Sensors with Monochrome Cameras)
Set the upper and lower limit values of the background suppression level. The same limits will be used for all RGB colors.
The range from the specified lower to upper limits is converted to
0 to 255.
Set the upper and lower limit values of the background suppression level for each RGB color.
The range from the specified lower to upper limits is converted to
0 to 255.
The specified range is converted to 0 to 255.
Measurement Data That Can Be Used f or External Outputs and Calculations
The following values can be used as measurement data and output to external devices via Ethernet or used in
calculations. Measurement data can be specified for each filter item.
Expression text stringData nameDescriptionData range
JGJudgementThis is the judgement
result.
−2: No judgement (not measured),
0: Judgement is OK,
−1: Judgement is NG
Compensating for Position Offset (Position Compensation Items)
Use position compensation items if the position or orientation of the measurement object is not consistent.
When you use a position compensation item, the offset between the reference position and the position of the
object is calculated and the position of the measurement region is corrected before measurements are
performed.
Applicable Position Compensation Items
There are the following two types of position compensation items that vary in the method that is used to detect
the object.
TypeDescription
Model (model position compensation)
Edge position comp. (edge position
compensation)
A search is made for a characteristic pattern to detect and correct the position.
• Shape Sear. pos. comp. (Shape Search Position Compensation)
• Search position comp. (Search Position Compensation)
The color distribution or density changes in the object are used to detect and correct the positio n.
• Edge position comp. (Edge Position Compensation)
• 2Edge position comp. (Two-edge Position Compensation)
• Edge rot. pos. comp. (Edge Rotatio n Position Compensation)
74
Adjusting the Images That Were Taken
FQ2 User’s Manual
Page 77
• Features of the Position Compensation Items
Edge Position Compensation
Two-edge Position Compensation
Two-edge Midpoint Compensation
Shape Search Position Compensation
Edge Rotation Position Compensation
Search Position Compensation
The position is offset in
only one direction.
The position is offset in
two directions.
The measure-
ment object is
not at an angle.
The position needs to be
corrected to the midpoint
between two edges.
There is a characteristic
pattern.
The measure-
ment object is
at an angle.
The position is corrected in either
the X or Y direction.
The position is corrected at the
same time in both the X and Y
directions.
The positions of two edges are detected and
then the coordinates of the midpoint between
those two positions is used to correct the
position in either the X or Y direction.
An image pattern is recognized to
detect and correct the position.
An image pattern is recognized to
detect and correct the position.
The positions of two edges are
detected and the angle of the line
that connects those positions is
used to correct the position.
There is a characteristic
pattern.
There is no characteristic
pattern.
Edge Position
Compensation: p. 80
Two-edge Position
Compensation: p. 81
Two-edge Midpoint Compensation
: p. 83
Search Position
Compensation: p. 78
Edge Rotation Position
Compensation: p. 85
Shape Search Position
Compensation: p. 77
3
Taking Images
You can apply the results of position compensation either to the Camera image or to the previous image from
before position compensation was applied.
If you apply the results of position compensation to the Camera image, only the position information from
position compensation is applied to the image to be measured.
Applying the Results of Position Compensation
Using Filter Items for Processing with Position Compensation Items: p. 76
FQ2 User’s Manual
Adjusting the Images That Were Taken
75
Page 78
• Setting the Image for Position Compensation
Camera image
(no processing)
0: Edge Enhancement (filter item)
Image is taken on TRIG signal.
1: Search Position Compensation
(position compensation item)
If the source image is set to the camera image.
the results of position compensation are applied to the
Camera image.
Measurements are performed with inspection items.
Camera image
with results of
Search Position
Compensation
item
You can select the image to which to apply the results of position compensation processing.
You can set the image for position compensation for each position compensation item.
1Press [Details] − [Scroll parameter]
2Set the source image to [Camera] or [Prev.].
ParameterSettingDescription
Source image Camera (camera
image)
Prev. (previous
image) (default)
• Using Filter Items for Processing with Position Compensation Items
To more effectively perfor m position compensation, filter items can be used to create an image specifically for
position compensation and then apply only the results of processing the position compensation to the image
that will be measured. The processing order of filter and position compensation items and the settings of the
source images are set up as shown below.
The results of processing the position compensation item is applied to the image that is taken
by the Camera.
This setting is used when filter items or other position compensation items have been used
specifically for the position compensation item.
Using Filter Items for Processing with Position Compensation Items: p. 76.
This setting is used when the processing results of the current position item are to be applied
to the image that results from previous filter items or other position compensation items.
Processing
order
10: Enhance edges (Edge
21: Search position comp. (Search
Image processing itemSource image setting
Enhancement) (filter item)
Position Compensation) (position
compensation item)
Source image: Camera image
Camera image (image for processing) → Processed image (results of processing)
Source image: Camera image
Previous image (image for processin g) → Camera image (results of processing)
76
Adjusting the Images That Were Taken
FQ2 User’s Manual
Page 79
Shape Search Position Compensation
With this position compensation item, an image pattern is registered in advance. When the registered image
pattern is detected, the image is adjusted so that the image patter n is in the same position as when it was
registered.
This position compensation item performs the same type of processing as the Search Position Compensation
item, but it performs special processing for the shape of the image pattern.
Use this position compensation item to correct the position of a rotated image pattern.
[Image] − [Image adjustment]
1Press an unused number and then press [Add pos.
comp.].
2Press [Model] − [Shape Sear. pos. comp.]
3Make any detailed settings as required for the posi-
tion compensation processing.
Refer to Detailed Settings for Shape Search Position
Compensation, below.
4Press [OK].
5Press [Back].
• Detailed Settings for Shape Search Position Compensation
The settings for the Shape Search Position Compensation item are almost the same as those for the Search
inspection item.
Only the [Sub-pixel] and the [Multi-point output] settings of the Search item are not included in the settings of
the Search Position Compensation item. Make the settings for teaching and the judgement conditions in the
same way as for the Search item. (4-4 Inspecting with the Search Inspection Item: p. 95) Also, the
following settings are included only in the Shape Search Position Compensation Item.
3
Taking Images
• Rotation
This setting is used to enable rotating the image to correct.
1Press [Details] − [Model para met er]
2Set [Rotation] to either [Yes] or [No].
ParameterSettingDescription
RotationNo (def ault)
• Source Image
You can select the image to which to apply the results of position compensation processing.
Applying the Results of Position Compensation: p. 75
• Interpolation
You can select the precision of position compensation.
FQ2 User’s Manual
Yes
Specify whether to automatically create several patterns of rotated images and use
them to measure the image.
The processing time will increase if you enable rotation processing.
Adjusting the Images That Were Taken
77
Page 80
If you select [Bilinear], the precisi on of position compensation will increase.
1Press [Details] − [Scroll parameter] − [Interpolation]
2Set the interpolation to [Bilinear] or [None].
ParameterSettingDescription
InterpolationBilinear (default)Points are connected with lines to find approximations. This create smoother
NonePosition compensation is performed at the pixel level.
• Measurement Data That Can Be Used for External Outputs and Calculations
The following values can be used as measurement data and output to external devices via Ethernet or used in
calculations.
Expression text stringData nameDescriptionData range
JGJudgementThis is the judgement result.−2: No judgement (not measured),
DXScroll XThis is the amount of position compen-
DYScroll YThis is the amount of position compen-
DTScroll θThis is the amount of angular compen-
XPosition XThis is the X coordinate of the position
YPosition YThis is the Y coordinate of the position
THAngleThis is the angle at which the model
SXReference XThis is the X coordinate of the position
SYReference YThis is the Y coordinate of the position
STReference angleThis is the angle when the model was
CRCorrelationThis is the correlation.0 to 100
images.
sation for the X coordinate.
sation for the Y coordinate.
sation, θ.
where the model was found.
where the model was found.
was found.
where the model was registered.
where the model was registered.
registered.
0: Judgement is OK,
−1: Judgement is NG
−99,999.9999 to 99,999.9999
−99,999.9999 to 99,999.9999
−180 to 180
−99,999.9999 to 99,999.9999
−99,999.9999 to 99,999.9999
−180 to 180
−99,999.9999 to 99,999.9999
−99,999.9999 to 99,999.9999
−180 to 180
Search Position Compensation
With this position compensation item, an image pattern is registered in advance. When the registered image
pattern is detected, the image is adjusted so that the image patter n is in the same position as when it was
registered.
This position compensation item performs the same type of processing as the Shape Search Position
Compensation item, but it performs processing to detect differences in colors and patterns in addition to
processing for image pattern shapes.
To perform position compensation for a rotated image pattern, use the Shape Search Position Compensation item.
[Image] − [Image adjustment]
1Press an unused number and then press [Add pos. comp.].
78
Adjusting the Images That Were Taken
FQ2 User’s Manual
Page 81
2Press [Model] − [Search position comp.]
3Make any detailed settings as required for the position compensation processing.
Refer to Detailed Settings for Search Position Compensation, below.
4Press [OK].
5Press [Back].
• Detailed Settings for Search P osition Compensation
The settings for the Search Position Compensation item are almost the same as those for the Search
inspection item. Only the [Multi-point output] setting of the Search item is not included in the settings of the
Search Position Compensation item. Make the settings for teaching and the judgement conditions in the same
way as for the Search item. ( 4-4 Inspecting with the Search Inspection Item: p. 95)
Also, the following settings are included only in the Search Position Compensation Item.
• Source Image
You can select the image to which to apply the results of position compensation processing.
Applying the Results of Position Compensation: p. 75
• Interpolation
You can select the precision of position compensation.
If you select [Bilinear], the precisi on of position compensation will increase.
The settings are the same as those for the Shape Search Position Compensation item.
Interpolation: p. 77
• Measurement Data That Can Be Used for External Outputs and Calculations
The following values can be used as measurement data and output to external devices via Ethernet or used in
calculations.
Expression text stringData nameDescriptionData range
JGJudgementThis is t he judgement result.−2: No judgement (not measured),
DXScroll XThis is the amount of position com-
D YScroll YThis is the amount of position com-
XPosition XThis is the X coordinate of the position
YPosition YThis is the Y coordinate of the position
SXReference XThis is the X coordinate of the position
SYReference YThis is the Y coordinate of the position
CRCorrelationThis is the correlation.0 to 100
pensation for the X coordinate.
pensation for the Y coordinate.
where the model was found.
where the model was found.
where the model was registered.
where the model was registered.
0: Judgement is OK,
−1: Judgement is NG
−99,999.9999 to 99,999.9999
−99,999.9999 to 99,999.9999
−99,999.9999 to 99,999.9999
−99,999.9999 to 99,999.9999
−99,999.9999 to 99,999.9999
−99,999.9999 to 99,999.9999
3
Taking Images
FQ2 User’s Manual
Adjusting the Images That Were Taken
79
Page 82
Edge Position Compensation
Edge search direction
Measurement region
Registered position of the edge
Color of edge to be found
The image is adjusted so that the edge
appears at the position it was in when it
was registered.
This position compensation item detects an edge in the set direction.
If the specified color is detected (or the specified density is det ected f or a Se nsor with a Monoc hrome Camera),
it is recognized as an edge.
When an edge is recognized, the image is adjusted so that the edge appears at the position it was in when it
was registered.
[Image] − [Image adjustment]
1Press an unused number and then press [Add pos. comp.].
2Press [Edge] − [Edge positio n comp .].
3Make any detailed settings as required for the position compensation processing.
Refer to Detailed Settings for Edge Position Compensation, below.
4Press [OK].
5Press [Back].
• Detailed Settings for Edge Position Compensation
The settings for the Edge Position Compensation item are almost the same as those for the Edge Position
inspection item.
Make the settings for teaching and the judgement conditions in the same way as for the Edge Position
inspection item. ( 4-7 Inspecting with the Edge Position Inspection Item: p. 120)
However, the following settings are inc luded only in the Edge Position Compensation Item.
• Source Image
You can select the image to which to apply the results of position compensation processing.
Applying the Results of Position Compensation: p. 75
• Interpolation
You can select the precision of position compensation.
If you select [Bilinear], the precisi on of position compensation will increase.
The settings are the same as those for the Shape Search Position Compensation item.
Interpolation: p. 77
80
Adjusting the Images That Were Taken
FQ2 User’s Manual
Page 83
• Measurement Data That Can Be Used for External Outputs and Calculations
The following values can be used as measurement data and output to external devices via Ethernet or used in
calculations.
Expression text stringData nameDescriptionData range
JGJudgementThis is t he judgement result.−2: No judgement (not measured),
DXScroll XThis is the amount of position com-
D YScroll YThis is the amount of position com-
XPosition X (edge position X)This is the X coordinate of the mea-
YPosition Y (edge position Y)This is the Y coordinate of the mea-
SXReference XThis is the X coordinate of the edge
SYReference YThis is the Y coordinate of the edge
pensation for the X coordinate.
pensation for the Y coordinate.
sured edge position.
sured edge position.
position when it was registered.
position when it was registered.
0: Judgement is OK,
−1: Judgement is NG
−99,999.9999 to 99,999.9999
−99,999.9999 to 99,999.9999
−99,999.9999 to 99,999.9999
−99,999.9999 to 99,999.9999
−99,999.9999 to 99,999.9999
−99,999.9999 to 99,999.9999
Two-edge Position Compensation
This position compensation item detects edges in two directions.
If the specified color is detected (or the specified density is det ected f or a Se nsor with a Monoc hrome Camera),
it is recognized as an edge.
When an edge is recognized, the image is adjusted so that the edge appears at the position it was in when it
was registered.
Registered position
of the edge
Measurement region for edge 1
Edge search direction for edge 1
3
Taking Images
Measurement
region for edge 0
Edge search
direction for edge 0
Color of edge to be found
The image is adjusted so that the edge
appears at the position it was in when it
was registered.
[Image] − [Image adjustment]
1Press an unused number and then press [Add pos. comp.].
2Press [Edge] − [2Edge position comp. ]
3Make any detailed settings as required for the position compensation processing.
Refer to Detailed Settings for Search Position Compensation, below.
4Press [OK].
5Press [Back].
FQ2 User’s Manual
Adjusting the Images That Were Taken
81
Page 84
• Detailed Settings for Two-edge Position Compensation
The settings for the Two-edge Position Compensation item are almost the same as those for the Edge Position
inspection item.
Make the settings in the same w a y as f or the Edge Position inspection item. ( 4-7 Inspecting with the Edge
Position Inspect ion Item: p. 120)
However, the following settings are inc luded only in the Edge Position Compensation Item.
• Teachi ng
Set the measurement regions and measurement directions for both edge 0 and edge 1.
The settings are the same as those for the Shape Search Position Compensation item.
Interpolation: p. 77
• Measurement Data That Can Be Used for External Outputs and Calculations
The following values can be used as measurement data and output to external devices via Ethernet or used in
calculations.
82
Adjusting the Images That Were Taken
FQ2 User’s Manual
Page 85
Expression text stringData nameDescriptionData range
JGJudgementThis is the judgement result.−2: No judgement (not measured),
DXScroll XThis is the amount of position compen-
DYScroll YThis is the amount of position compen-
X0Edge 0 position XThis is the X coordinate of the mea-
Y0Edge 0 position YThis is the Y coordinate of the mea-
X1Edge 1 position XThis is the X coordinate of the mea-
Y1Edge 1 position YThis is the Y coordinate of the mea-
SX0Edge0 ref. position X
SY0Edge0 ref. position Y
SX1Edge1 ref. position X
SY1Edge1 ref. position Y
(edge 0 reference
position X)
(edge 0 reference
position Y)
(edge 1 reference
position X)
(edge 1 reference
position Y)
sation for the X coordinate.
sation for the Y coordinate.
sured edge 0 position.
sured edge 0 position.
sured edge 1 position.
sured edge 1 position.
This is the X coordinate of the edge 0
position when it was registered.
This is the Y coordinate of the edge 0
position when it was registered.
This is the X coordinate of the edge 1
position when it was registered.
This is the Y coordinate of the edge 1
position when it was registered.
0: Judgement is OK,
−1: Judgement is NG
−99,999.9999 to 99,999.9999
−99,999.9999 to 99,999.9999
−99,999.9999 to 99,999.9999
−99,999.9999 to 99,999.9999
−99,999.9999 to 99,999.9999
−99,999.9999 to 99,999.9999
−99,999.9999 to 99,999.9999
−99,999.9999 to 99,999.9999
−99,999.9999 to 99,999.9999
−99,999.9999 to 99,999.9999
3
Taking Images
Two-edge Midpoint Compensation
This position compensation item detects edges in two directions.
If the specified color is detected (or the specified density is det ected f or a Se nsor with a Monoc hrome Camera),
it is recognized as an edge. Two edge positions are detected.
The image is adjusted so that the coordinates of the midpoint position of a line that connects the two detected
edge positions matches the position when the edges were registered.
Midpoint position
Registered position
of the edge
Measurement
region for edge 0
Edge search
direction for edge 0
[Image] − [Image adjustment]
(center of a line that connects positions 1 and 2)
Detected edge positions (positions 1 and 2)
Measurement
region for edge 1
Edge search
direction for edge 1
Color of edge to be found
The image is adjusted so that the
midpoint appears at the position it
was in when it was registered.
1Press an unused number and then press [Add pos. comp.].
FQ2 User’s Manual
Adjusting the Images That Were Taken
83
Page 86
2Press [Edge] − [2Edge mi dp oi nt comp.]
3Make any detailed settings as required for the position compensation processing.
Refer to Detailed Settings for Two-edge Midpoint Compensation, below .
4Press [OK].
5Press [Back].
• Detailed Settings for Two-edge Midpoint Compensation
The settings for the Two-edge Midpoint Compensation item are almost the same as those for the Edge Position
inspection item.
Make the settings in the same way as for the Edge Position inspection item. ( 4-7 Inspecting with the
Edge Position Inspection Item: p. 120)
However, the following settings are inc luded only in the Edge Position Compensation Item.
• Teachi ng
Set the measurement regions and measurement directions for both edge 0 and edge 1.
The settings are the same as those for the Shape Search Position Compensation item.
Interpolation: p. 77
• Measurement Data That Can Be Used for External Outputs and Calculations
The following values can be used as measurement data and output to external devices via Ethernet or used in
calculations.
Expression text stringData nameDescriptionData range
JGJudgementThis is the judgement result.−2: No judgement (not measured),
DXScroll XThis is the amount of position com-
DYScroll YThis is the amount of position com-
X0Edge 0 position XThis is the X coordinate of the mea-
pensation for the X coordinate.
pensation for the Y coordinate.
sured edge 0 position.
0: Judgement is OK,
−1: Judgement is NG
−99,999.9999 to 99,999.9999
−99,999.9999 to 99,999.9999
−99,999.9999 to 99,999.9999
84
Adjusting the Images That Were Taken
FQ2 User’s Manual
Page 87
Expression text stringData nameDescriptionData range
Y0Edge 0 position YThis is the Y coordinate of the mea-
X1Edge 1 position XThis is the X coordinate of the mea-
Y1Edge 1 position YThis is the Y coordinate of the mea-
MXMidpoint XThis is the X coordinate of the mea-
MYMidpoint YThis is the Y coordinate of the mea-
SX0Edge0 ref. position X
SY0Edge0 ref. position Y
SX1Edge1 ref. position X
SY1Edge1 ref. position Y
SMXRef. Midpoint X (refer-
SMYRef. Midpoint Y (refer-
(edge 0 reference
position X)
(edge 0 reference
position Y)
(edge 1 reference
position X)
(edge 1 reference
position Y)
ence midpoint X)
ence midpoint Y)
sured edge 0 position.
sured edge 1 position.
sured edge 1 position.
sured edge midpoint position.
sured edge midpoint position.
This is the X coordinate of the edge 0
position when it was registered.
This is the Y coordinate of the edge 0
position when it was registered.
This is the X coordinate of the edge 1
position when it was registered.
This is the Y coordinate of the edge 1
position when it was registered.
This is the X coordinate of the midpoint of the two edges when they
were registered.
This is the Y coordinate of the midpoint of the two edges when they
were registered.
−99,999.9999 to 99,999.9999
−99,999.9999 to 99,999.9999
−99,999.9999 to 99,999.9999
−99,999.9999 to 99,999.999
−99,999.9999 to 99,999.999
−99,999.9999 to 99,999.9999
−99,999.9999 to 99,999.9999
−99,999.9999 to 99,999.9999
−99,999.9999 to 99,999.9999
−9,999.9999 to 99,999.9999
−9,999.9999 to 99,999.9999
3
Taking Images
Edge Rotation Position Compensation
This position compensation item detects an edge in two directions.
If the specified color is detected (or the specified density is det ected f or a Se nsor with a Monoc hrome Camera),
it is recognized as an edge. Two edge positions are detected.
The image is adjusted so that the two edge positions match the positions when the edge positions were
registered.
Two detected edge positions
Edge search
Edge search
direction for edge 1
direction
for edge 0
Measurement
region for edge 0
Measurement
region for edge 1
Color of edge
to be found
Registered position of the edge
The image is adjusted so that the two
detected edge positions appear at the
positions they were in when the edge
was registered.
[Image] − [Image adjustment]
1Press an unused number and then press [Add pos. comp.].
2Press [Edge] − [Edge rot. pos. Comp .]
3Make any detailed settings as required for the position compensation processing.
Refer to Detailed Settings for Edge Rotation Position Compensation, below.
FQ2 User’s Manual
Adjusting the Images That Were Taken
85
Page 88
4Press [OK].
5Press [Back].
• Detailed Settings for Edge Rotation Position Compensation
The settings for the Edge Rotation Position Compensation item are almost the same as those for the Edge
Position inspect ion item.
Make the settings in the same way as for the Edge Position inspection item. ( 4-7 Inspecting with the
Edge Position Inspection Item: p. 120)
However, the following settings are inc luded only in the Edge Position Compensation Item.
• Teachi ng
• Measurement Regions and Measurement Directions
Set the measurement regions and measurement directions for both edge 0 and edge 1.
4-13 Calculations and Judgements Using Inspection Item Data . . . . . . 155
4
Setting Up Inspections
Page 92
4-1Inspection Item Selection Guide
OKNG
The FQ2 Vision Sensor uses inspection items to judge measurement objects. There are eight different
measurement objects. Select the best inspection items for the characteristics of the measurement object that
are being judged.
InspectionExampleInspection
items used
Judging according to shapesJudging if there is a markSearch or
OKNG
ITJ
ITJ
ITJ
NG
Shape
Search II
OK
OK
Detecting positions with patternsMeasurement objects of the same color and pattern can be
Dividing the measurement area and judging
according to shapes for each division
detected.
OMRON
Judging minute differences in
printed labels
OMRON
OK
LED RADIATION
DO NOT STARE
INTO BEAM
Max.65mW
400-700nm
CLASS 2 LED PRODUCT
JIS C 6802:2005
Searchp. 95
Sensitive
Search
NG
LED RADIATION
DO NOT STARE
INTO BEAM
Max.65mW
400-700nm
CLASS 2 LED PRODUCT
JIS C 6802:2005
Reference
p. 95
p. 105
p. 113
4
Setting Up Inspections
Judging according to positionsMeasuring the position offset of
Judging according to widthsMeasuring the width between
FQ2 User’s Manual
a seal
lead wires
Edge Position
Edge
Width
OKNG
Inspection Item Selection Guide
p. 120
p. 127
90
Page 93
InspectionExampleInspection
OK
NG
OKNG
Judging according to the fe atures of parts of a
shape
Judging according to colorsDetecting partsColor Data p. 136
Judging the number of pinsEdge Pitch p. 105
items used
Reference
NG
Judging according to sizesJudging if there is silver pasteAreap. 140
OKNG
Judging according to shapes and quantities Judging the number of labelsLabelingp. 146
OKNG
4
Setting Up Inspections
FQ2 User’s Manual
Inspection Item Selection Guide
91
Page 94
4-2Setup Procedure for Inspection Items
Step 3
Step 2
Step 1
Setting Judgement Parameters
Teaching
Configuring Inspection Items
The basic steps for setting up inspection items are shown below.
If measurements are unstable
Step 4
Step 5
Note
Only one inspection item can be used with the FQ2-S1@.
Up to 32 inspection items can be combined and used with the FQ2-S2@ or FQ2-S3@.
Setting Detailed Items
Re-teaching
92
Setup Procedure for Inspection Items
FQ2 User’s Manual
Page 95
4-3Configuring Inspection Items
Adding New Inspection Items
1Press [Inspect] − [Inspection].
2Press an unused inspection item number.
3Press [Add item.] on the menu.
4
Setting Up Inspections
4Select an inspection item, such as [Search].
When registering multiple inspection items, press the
inspection item number after 1.--- and set it in the
same way.
Note
If more than six inspection items are set, drag the icon at the bottom of the menu upward to display the next
inspection item numbers.
FQ2 User’s Manual
Configuring Inspection Items
93
Page 96
Modifying Existing Inspection Items
1Press the number of the inspection item to be set.
2Press [Modify] on the menu.
Deleting Inspection Items
1Press the number of the inspection item to be delet-
ed.
2Press [Delete] on the menu.
Note
Executing Similar Measurements in Different Places
→ Copy an inspection item that is already registered: [Copy].
→ Change the name of an inspection item: [Rename].
94
Configuring Inspection Items
FQ2 User’s Manual
Page 97
4-4Inspecting with the Search Inspection Item
Search Inspection Item
This inspection item is used to perform inspections for shapes or for presence. The image pattern that is to be
measured is registered in advance and measurements are performed to see if the pattern is present or if the
shape is different.
The image pattern that is registered in advance is called the model. The degree to which the image matches
the model is called the correlation.
Sample SettingsSample Measurement
Model
(desired image pattern)
+
Search for sections that are similar to the model.
4
Setting Up Inspections
Search region (region to
search for the model)
OKNG
Setup Procedure for the Search Inspection Item
Step 1Selecting the Inspection Item
[Inspect]− [Inspection]
1Press an unused inspection item number and press
[Add item.].
2Press [Search].
Registering inspection items: p. 93
Note
Drag the arrow at the bottom of the menu upward to display all of the inspection items.
FQ2 User’s Manual
Inspecting with the Search Inspection Item
95
Page 98
Step 2Teaching
You can change the parameters for judgement conditions on the
Display Settings Display. Press
[ ] − [Displa y setting] on the right
of the display to switch to the Display Settings Display.
Note
Teaching means to store the region and partial image as reference data for the measurement.
1Press [Multi-point output] and select [Yes].
2Press [Sorting method] and select the conditions by
which to sort the detected results.
You can output the results in the sort order that you selected.
Selection itemSettingDescription
Sorting method Corr. ascending order (ascending order of correlation
value)
Corr. descending order (descending order of correlation
value)
Pos.X ascending order (ascending order of position X)Sorts the results in order from the smallest measure-
Pos.X descending order (descending order of position X) Sorts the results in order from the largest measure-
Pos.Y ascending order (ascending order of position Y)Sorts the results in order from the smallest measure-
Pos.Y descending order (descending order of position Y) Sorts the results in order from the largest measure-
Sorts the results in order from the smallest correlation
to the largest.
Sorts the results in order from the largest correlation to
the smallest.
ment X position to the largest.
ment X position to the smallest.
ment Y position to the largest.
ment Y position to the smallest.
FQ2 User’s Manual
Inspecting with the Search Inspection Item
97
Page 100
Select the Results to Output
Note
You can use multiple conditions to determine which results to output from all the objects detected with a
correlation at the candidate level or higher.
Only the results that meet all the specified conditions are out put.