Welcome to the Industrial Automation website!

NameDescriptionContent
XING-Automation
E-mail  
Password  
  
Forgot password?
  Register
当前位置:

Omron F160-2 Visual Expert Guide

F: | Au:FAN | DA:2026-04-27 | 841 Br: | 🔊 点击朗读正文 ❚❚ ▶ | Share:

Omron F160-2 Visual Expert Guide

The core value and applicable scenarios of expert menu

Omron F160-2 Vision Sensor is an embedded system designed for industrial inspection. Its Expert Menu provides 17 measurement methods, covering area, defect, center of gravity, edge, search, character recognition, classification, and almost all common machine vision needs. Compared with simple conversational menus, expert menus allow users to make fine adjustments to measurement areas, binary thresholds, filtering processing, output expressions, etc., making them particularly suitable for applications that require strict customization of detection logic, processing of complex workpieces, or data exchange with PLCs and robots.

This article is based on the F160-2 expert menu operation manual, and from the perspective of engineering practice, it systematically explains the entire process from startup, image adjustment, position compensation, measurement method setting, to data output, scene switching, and fault troubleshooting.


Startup and Basic Operations

2.1 System Startup and Mode Selection

After powering on F160-2, first enter the selection menu screen. Use the directional keys to move the cursor to "Expert Menus" and confirm, then enter the camera settings screen. In this screen, it is necessary to specify the connected camera model (such as F160-S1, F160-S2, etc.) and whether intelligent lighting (LTC20/LTC50) is used. After completing the settings, enter the Basic Screen of the Expert menu.

The expert menu has five operation modes:

SET (Set Mode): Configure detection conditions, including image adjustment, position compensation, measurement area, output expression, and display content.

MON (Monitoring Mode): Measurements are performed under set conditions, and the results are displayed on the screen but not output to external devices for debugging.

RUN (running mode): The measurement is officially executed, and the results are output to external devices through parallel or serial interfaces.

SYS (System Mode): Set camera parameters, communication format, display mode, password, startup conditions, and other system environment settings.

TOOL (tool mode): perform data backup (to computer or memory card), clear stored images, line brightness check, I/O monitoring, etc.

2.2 Menu Tree and Data Input

The expert menu adopts a hierarchical structure. Move the cursor with the directional keys, press the ENT key to enter the next level, and press the ESC key to return to the previous level. Items marked with inverted triangles indicate a multiple-choice list. When entering a numerical value, use the left and right keys to move the cursor to the number of digits to be modified, and use the up and down keys to increase or decrease the value. When entering characters, the software keyboard pops up on the screen, select the character and confirm.

Standard process for setting detection conditions

In SET mode, follow the following seven steps to complete the configuration of a detection task.

3.1 Step 1: Enter the setup mode

Move the cursor to "MON" on the basic screen, press ENT and select "SET" to enter. If the current scene has never been set, the camera mode selection interface (single camera or dual camera Camera 0+1) will appear first. For the F160-S2 camera, you can also set the "Number of input lines". Reducing the number of lines can shorten the image acquisition time, but it will lose some vertical image areas.

3.2 Step 2: Adjust the image

Image adjustment includes shutter speed, intelligent lighting control, filtering processing sequence (position compensation and measurement can be set separately), filtering methods (smoothing, dilation, erosion, median, edge enhancement, vertical/horizontal edge extraction, edge extraction, etc.), and background suppression (BGS).

Shutter speed: Suitable for fast-moving objects to prevent image trailing.

Intelligent lighting: The light intensity of each LED segment can be adjusted in sections (0-7), and there are also 15 preset lighting modes built-in, which can be switched through shortcut keys.

Filtering: For example, smoothing can reduce the interference caused by slight surface irregularities; Edge extraction can enhance contrast and facilitate subsequent edge detection.

Background suppression: Set the upper and lower limits of grayscale, only retaining the grayscale range of interest, and turning the rest into black (0) or white (255).

All these adjustments can be previewed in real-time and can be independently set for position compensation and measurement area.

3.3 Step 3: Position compensation

When the position and angle of the tested workpiece are inconsistent, the position compensation function must be used. F160-2 provides two position compensation regions (1st region and 2nd region), each of which can be measured using one of six methods: centroid and area, centroid and axis angle, label, grayscale search, edge position, and rotation search. The compensation directions can be set separately for X, Y, and θ compensation sources.

A typical compensation strategy is to first perform a coarse compensation on an area with distinct features (such as a circular hole), and then perform a fine compensation on another area to improve stability.

3.4 Step 4: Set the measurement area and measurement method

F160-2 supports up to 32 measurement regions (Regions 0~31), and each region can independently choose a measurement method. The 17 measurement methods provided by the expert menu include:

Area (Variable Box): Suitable for objects with changes in size and position, automatically searches for upper, lower, left, and right edges, and dynamically adjusts the measurement box.

Defect (Variable Box): Similar to area measurement, but used for detecting defects.

Center of gravity and area: The simplest binary measurement of center of gravity/area.

Center of gravity and axial angle: In addition to the center of gravity and area, the equivalent principal axis angle of the ellipse is also calculated.

OCR single character: recognize characters, built-in dictionary, output character codes.

Classification: Pre register multiple models (up to 36 indexes, with a maximum of 5 models per index), and output the index number of the most similar model. The system will automatically generate auxiliary models between registered models to improve stability.

Defect: Detect defects on unpatterned surfaces, measuring areas can be rectangles, circles, arcs, or lines.

Density data: Calculate the average grayscale and deviation within the area.

Edge spacing: Detect a set of edges and output the number of edges, average spacing, maximum/minimum spacing, etc.

Edge position: detects the position of a single edge.

Edge width: Detect a pair of edges and calculate the width.

Grayscale search/precise search: Based on grayscale template matching, precise search supports sub-pixel localization, with higher accuracy but slightly slower speed.

Flexible search: Multiple templates can be registered, suitable for workpieces with inconsistent shapes.

Label: Mark the white area after binarization, which can count the number of labels, specify the area and center of gravity of the labels.

Relative search: Simultaneously detect two templates (reference point and measurement point) and output the relative position between the two.

Rotation search: Search templates within a specified angle range and output rotation angles and positions.

For each method, it is necessary to set a binarization threshold (if binarization is involved), draw the measurement area, set judgment conditions (upper and lower limits), and optional detailed conditions (such as edge level, noise threshold, pixel skipping, etc.).

3.5 Step 5: Set output expression

The expression function allows users to perform arithmetic operations, logical operations, or function calculations on measurement results and output the results to external devices. Expressions can reference the following:

Measurement values: such as R0. X (X coordinate of region 0), R1. AR (area of region 1), etc.

Position compensation results: P0.X, P1.Y, etc.

Variables: VR0~VR31 (intermediate calculation result), VJ0~VJ31 (intermediate judgment result).

Data: RS0~RS31 (numerical only, not judgmental).

Judgment: PR0~PR31, PJ0~PJ31.

The supported operators include addition, subtraction, multiplication, division, modulo, maximum, minimum, absolute, square root, sine, cosine, arctangent, two-point distance, two-point angle, and logical AND/OR/NOT. Expressions can be used to generate custom judgment conditions and can also be used for data output.

3.6 Step 6: Set Display Content

In monitoring or operating mode, characters, values, and graphics can be overlaid on the image for display. Up to 32 display items can be added, including:

Fixed string: customizable text, font size, and color.

Measurement data: displayed in the form of expression results.

Judgment result: Display "OK" or "NG" based on the expression result, and customize the display string for OK/NG.

Area Name: Display annotations for the measurement area.

Measurement time: date and time.

Fixed shapes: lines, rectangles, circles, arcs, etc., used for visual reference.

Dynamic graphics: Draw lines, rectangles, circles, or cursor based on measurement results, such as drawing a cross at the detected edge position.

3.7 Step 7: Monitoring Mode and Operating Mode

After completing all settings, enter monitoring mode first and manually trigger the measurement (press the TRIG key) to verify if the conditions are correct. After confirming that there are no errors, switch to the running mode, and the measurement results will be output to external devices through parallel or serial interfaces.


Calibration and coordinate output

F160-2 defaults to outputting coordinates in pixels. If actual physical dimensions (mm, cm, etc.) need to be output, calibration must be performed. There are four calibration methods:

Sampling calibration: Register a model, place the measurement object on the image, input the actual coordinates of the point, sample 2 or 3 points, and the system automatically calculates the conversion parameters.

Specify point calibration: Manually specify points (pixel coordinates) on the image, enter actual coordinates, at least 2 points.

Specify coordinate axis: Set the origin, rotation angle, and magnification (mm/pixel).

Parameter input: Directly input the 6 parameters (A~F) of the affine transformation.

After calibration, turn on "Calibration ON" in the coordinate mode of the measurement area, and the output result will be converted to physical units.

Typical cases of expression application

5.1 Calculate the distance between two points and output it

Assuming that the detection positions of region 0 and region 1 are (R0. X, R0. Y) and (R1. X, R1. Y), respectively, it is desired to save the distance value in variable 0 and determine whether the distance is within the range of 10-20mm in decision 0.

Setup steps:

Select "Variable" in the expression, input variable 0: DIST (R0. X, R0. Y, R1. X, R1. Y)

Select 'Judge' and enter VR0 in the expression to determine 0. Set the upper limit to 20.000 and the lower limit to 10.000.

It can be left unchecked in "Data", and the judgment result will be automatically output to the OR signal of the parallel interface (if including judgment is selected).

5.2 Statistical measurement frequency

Enter RS0+1 in data 0, and the value will automatically accumulate after each measurement (RS0 is the register for power-off reset). If power on maintenance is required, VR variables can be used.


Scene and Scene Group Management

F160-2 allows up to 32 scenes to store different detection conditions. Scenario 0 is stored by default in internal flash memory, while Scenarios 1 to 31 require a Memory Card to be inserted for use. Scene Group packages 32 scenes, with a maximum of 32 scene groups and a total of 1024 scenes. Scene group 0 is still stored in flash memory, while scene groups 1 to 31 are stored on memory cards.

Switching scenes: Press the value on the right side of "Scn" on the basic screen, select the new scene number and confirm, and the system will immediately load the settings for that scene.

Copy Scene: In the scene selection interface, use SHIFT+ESC to bring up the copy/clear/comment menu, select copy and specify the target scene number.

Clear Scene: Similar operations can clear scene data.

Scene annotation: Each scene can be annotated with up to 8 characters for easy recognition.

Engineering Tip: If switching scenes in operating mode, the duration for which the BUSY signal remains ON depends on the duration of the switching operation. If the scene group is switched and the storage card access is slow, it may affect the production cycle. At this time, "Save at switch Scn Group" can be set to OFF in the system settings, but it must be ensured that the changes have been manually saved before switching scenes.


System settings and optimization

Several key settings in System Mode (SYS):

Camera settings: Specify the camera model, and if using smart lighting, also select the lighting model.

Output settings: Select the data output destination (serial/parallel/memory card) and output format (ASCII or binary). The ASCII format allows customization of integer and decimal places, negative sign representation, field separators, and more.

Display settings: You can choose the display image type (static freeze/real-time pass/last NG image/reduced image, etc.), whether to display the overall judgment result, processing time, etc.

Operation customization: Common functions can be assigned to function keys F1~F8, such as "Previous Scene", "Next Scene", "Clear Stored Images", "Capture Display Screen", etc.

Password protection: A 6-8 digit password can be set to prevent unauthorized mode or scene switching.

Startup conditions: It is possible to specify the scene and mode that will automatically enter after startup (it is recommended to set it to MON or RUN), and skip menu selection and camera settings screen to achieve quick startup.


Troubleshooting and Common Problems

8.1 Image Quality Issues

Possible causes and solutions for the phenomenon

The image is too bright or too dark, with insufficient or too strong illumination; Adjust the segmented light intensity of intelligent lighting when the shutter speed is too fast; Reduce the shutter speed; Use BGS to filter grayscale

The image is blurry and the object is moving too fast; If the focus is not accurate, increase the shutter speed; Adjust the camera focal length; Trigger using external synchronization

Noise interference and changes in environmental lighting; Use a light shield for electrical interference; Add filtering (median, smoothing)

8.2 Unstable measurement results

Edge jitter: Increase the noise level and width in edge detection.

Template matching failure: Reduce candidate level or expand search area; If the template itself is deformed, use flexible search or register multiple models.

Position compensation failure: Check if the position compensation area includes feature edges and if the compensation direction is set correctly. If only compensating for X and Y while ignoring the angle, it will cause false detection after the workpiece rotates.

8.3 Communication and output issues

Data not output to PLC: Confirm that the output target of Data in SYS/Output has been selected as "Parallel"; Check if the expression is assigned correctly; Confirm that the input module of the PLC and the output wiring of F160 are consistent.

ERR signal abnormal lighting: In SYS/Measurement control, if "STEP in measure" is set to "ERR ON", when a new trigger signal is received before the measurement is completed, ERR will light up. Can be changed to "OFF" or optimized for bus timing.

Failed to save image: The maximum number of stored images is 35, and when the limit is reached, the new image will overwrite the old image. If long-term storage is required, image data should be backed up to a storage card or computer in TOOL mode.

8.4 Operation error prompt

Draw at least one OR figure ": It is not allowed to use NOT mode without an OR region when drawing the area.

Select midpoint between 2 regions for X and Y ": In position compensation, if a relative angle (midpoint between two regions) is used in the θ direction, then X and Y must also be midpoints and cannot be a single region.

“Cannot measure the angle from this region”: Attempting to output angles from regions that only support center of gravity and area, one should use center of gravity and axis angle or rotation search instead.

Insufficient work memory ": If the registered model is too large or the scene is too complex, the model area can be reduced or unnecessary measurement areas can be deleted.


Maintenance and Data Backup

Flash storage: All changes made in SET mode must be SAVE operated before power off, otherwise data will be lost. SAVE writes scene group 0 and system data to flash memory, and scene groups 1-31 to memory cards.

Backup strategy: It is recommended to use TOOL mode to backup the entire system data or scene group data to the computer through XMODEM/ZMODEM protocol, or directly save it to a storage card. The storage card file can be imported into another F160 for cloning.

Battery inspection: Check the battery status in SYS/System information. If "Replace" appears, the internal lithium battery needs to be replaced (refer to the hard manual steps), otherwise the date, time, and some retention data may be lost.

Regular calibration: If the lens is replaced or the working distance is changed, re calibration is required to maintain physical accuracy.


Summary and on-site quick reference table

Key points of demand operation path

Quickly set new detection SET → adjust image → position compensation → select measurement method → draw area → set judgment conditions and make good use of BGS and filtering

Output measurement values to PLC expression (Data) → SYS/Output Select Parallel Pay attention to matching data format with PLC

Angle positioning rotation search or center of gravity and axis rotation search is slow but adaptable to large angles

Multi variety switching usage scenario (Scene) function can assign buttons for quick switching

Store defective product images SYS/Measurement control settings Only NG. Use SHIFT+up and down keys to view history in operation mode

Hardware Fault Check Error Information Table: When ERR signal lights up, troubleshoot based on the information provided

  • National Instruments NI 6587 LVDS Digital I/O Module
  • National Instruments PCI-6225 Data Acquisition Card
  • National Instruments NI-9262 Analog Output Module
  • National Instruments NI 9235 Quarter Bridge Input Module
  • National Instruments PXIe-8301 Remote Control Module
  • National Instruments PXI-4071 FlexDMM Module
  • NI-9234 Sound and Vibration Input 779680-01
  • NI 9229 Isolated Analog Input Module
  • NI cDAQ-9178 USB CompactDAQ Chassis
  • National Instruments NI 9220 143613B-06L Analog Input Module
  • NI 9229 Analog Input Module
  • NI 9246 Analog Input Module
  • NI PXIe-1071 PXI Express Chassis
  • National Instruments 9225 780159-01 Analog Input Module
  • NI cDAQ-9171 USB CompactDAQ Chassis
  • NI PXIe-8840 Embedded PXI Controller
  • Bonfiglioli A202 UH35 FIA 39.6 Right Angle Reducer
  • Bonfiglioli BN 90 LA 4 Gearmotor 1.5kW i=14.1
  • Bonfiglioli BN71A4 Motor with C313PP71 Gearbox
  • Bonfiglioli MP 130 1 4 STD 114A CD Planetary Gear Head
  • Bonfiglioli LC155 1 10 STD Gearbox
  • Bonfiglioli Vectron ACU401-13 FA Inverter
  • Bonfiglioli AEC500-31A Solar Inverter
  • Bonfiglioli BN63B6 Geared Motor VF44P
  • Bonfiglioli Vectron ACT410-23 Inverter
  • Bonfiglioli FR FRIZ 11/90 Clutch
  • Bonfiglioli A/11.90 B3 Clutch Brake
  • Bonfiglioli 50.180.3000 Servo Motor
  • Bonfiglioli NFF 14 112 EE Clutch
  • Bonfiglioli BMD 65 Permanent Magnet Motor
  • Bonfiglioli MP 080 2 20 STD 73A1 CD Planetary Gearbox
  • Bonfiglioli VF/VF30/63 P1 1520 Gearbox
  • Bonfiglioli M3SA4 FD with X F202 H35 10.0 Gearbox
  • Bonfiglioli ACU401-19A Frequency Inverter 5.5kW
  • Lafert B6306P-02276 Servo Motor with Bonfiglioli A102
  • Bonfiglioli ACU401-09FA Frequency Inverter 1.1kW
  • ProMinent Sigma S1CBH12035 with Bonfiglioli BN56B4
  • Bonfiglioli TR 080 2 20 STD Planetary Gearbox
  • Bonfiglioli ACT400-040A Frequency Inverter 15kW
  • Bonfiglioli BE 132 MA 4 Electric Motor 7.5kW
  • Bonfiglioli W86 U30 P100 Gearbox
  • Bonfiglioli MP105 2 25 Planetary Gearbox
  • Bonfiglioli BE160L4 Motor 15 kW
  • BONFIGLIOLI TMP-105 2 25 15 19 40 70 90 Planetary Gearbox
  • Bonfiglioli Vectron ACU401-18 FA Inverter
  • BONFIGLIOLI BE80B4 Motor with A302 UH35 76.5 P80 VA Gearbox
  • Bonfiglioli Vectron VCB400-180 Inverter
  • Bonfiglioli P63B14B3 Motorization Encoder
  • Bonfiglioli Vectron ACT201-13FA Inverter
  • Bonfiglioli F202 H30 P90 Gearbox
  • Bonfiglioli BN71A4 C313 P P71 Gearmotor
  • Bonfiglioli ACT201-11FA Frequency Inverter
  • Bonfiglioli ACU410-21 3 FA Inverter 7.5kW
  • Bonfiglioli RA0 60/00 Gear Reducer i=182
  • Alpha VDS 063-MF1-10-141-BE Planetary Gear 20018280
  • Stöber FDR 71B/10 Gearmotor 0.37kW
  • Stöber DW0-2000-037-4 Gearbox 0.25kW
  • Bonfiglioli M3SA4 FD R with X F252 H35 16.6 Gearbox
  • Bonfiglioli BN90LA4 Adjustable Gear Motor 1.5kW
  • Alpha LP 090-MO1-5-111-000 Planetary Gearbox
  • Bonfiglioli 335 M3 C Planetary Gear Motor
  • Bonfiglioli TR060 2 18 STD 50C CD 14 S1 OR SB KE Gearbox
  • Bonfiglioli MP1GD3036L001 Gearbox
  • Bonfiglioli BN90LA4 Gear Motor 1.5 kW
  • Bonfiglioli A302 UH35 P90 Gearbox
  • Bonfiglioli ACU410-31A5 Inverter
  • BONFIGLIOLI BMD 118 14 4500 400 165 SS TC1 RES2 P1N S1N CUS JB00013358
  • Bonfiglioli A302 UH40 P90 Reducer
  • Bonfiglioli ACT201-05FA Inverter
  • Mannesmann Demag 4APB71-4-G08-PR Gear Motor with Bonfiglioli MVF63/F
  • BONFIGLIOLI W63 U P80 B5 Gearbox 2G20012741
  • Bonfiglioli BE80B4 Motor with A202 Gearbox
  • BONFIGLIOLI VECTRON KEYPAD 179675500 KP500
  • Bonfiglioli RA0 60/00 Gear Reducer i182
  • Bonfiglioli C212 F P90 VV Gearbox i=9.6
  • Bonfiglioli MP105 Servomotor Gear
  • Mannesmann Demag 4APB71-4-G08-PR Getriebemotor with Bonfiglioli MVF 63/f
  • Bonfiglioli Vectron ACT401-12 FA Inverter
  • Bonfiglioli BN 80A4 COD.830820106 Motor 0.55 kW IMB5
  • Bonfiglioli TR060 Gearbox
  • Silectron Bonfiglioli FT1000-0.75S RFI Filter
  • Trasmital Bonfiglioli 710C3B50F177G34W1A52VAG Drive
  • Bonfiglioli MAC800-D1 Motorreductor
  • Bonfiglioli VF 63 V HS Worm Gearbox
  • Bonfiglioli BN90LA4 Adjustable Gear Motor 1.5kW
  • Bonfiglioli ACT 400-018 FA Frequency Inverter
  • Bonfiglioli RAO50DNP90B5-I220 Gear Unit i=200
  • Bonfiglioli ACT 401-13FA Frequency Inverter SIACT513010001
  • Bonfiglioli ACU210-18 3 FA Active Inverter 4kW
  • Trasmital Bonfiglioli 709C3B50F177G34W1A52VAG Drive
  • Bonfiglioli BN27C4 Gear Motor 0.09 kW
  • Bonfiglioli BN71A4 Electric Motor
  • Bonfiglioli Vectron VCB400-370 Inverter
  • Bonfiglioli Vectron ACU401-18FA Inverter
  • Bonfiglioli LC120 2 40 STD Gearbox
  • Bonfiglioli BN63B6 Gear Motor 0.12 kW
  • Bonfiglioli T56BN/4 Asynchronous Motor
  • AEB Atlant D712-4B5 Motor with Bonfiglioli MVF 49F1 Gearbox
  • Bonfiglioli VF110 A P100B14 Worm Gear
  • Trasmital Bonfiglioli Raupengetriebe i 1:122 2174688 2T705C3122002 Travel Drive
  • Bonfiglioli ACT 401-21A Frequency Inverter
  • Bonfiglioli VF44 U14 Worm Reducer B03181367918
  • Bonfiglioli VF49 L1 P1 P63B5 Worm Gear i=45
  • Bonfiglioli S2U230S-03F Inverter 0.4kW
  • Ferag 5690512 Uiker TR90L4 Motorreductor with Bonfiglioli C212 F9.6
  • Bonfiglioli LC120250STD80A1CD14KE Gearbox
  • Bonfiglioli W63U38 P80 B14 V5 Gearbox
  • Bonfiglioli VF49A-28-P80-B14 Worm Gearbox
  • Bonfiglioli BN71B4 W63U64P75 Gearmotor
  • Alpha VDS 063-MF1-10-141-BE Planetary Gearbox
  • Bonfiglioli BN71B4 MVF49 F1 Gearmotor i=36
  • Bonfiglioli BN 63 B6 Gear Motor 0.12kW
  • Bonfiglioli SPL400 17F SynPlus Drive 3.7kW
  • Bonfiglioli ACU 401-25A Frequency Inverter
  • Esa 3M2209B5 M71Q Motor with Bonfiglioli MVF49 Gearbox
  • Ferag 5690512 UIKER TR90L4 Gear Motor with Bonfiglioli C212
  • Bonfiglioli A302 UH35 P90 Bevel Gearbox
  • Bonfiglioli GVX1000-1.5-S Inverter Drive 1.5kW
  • Bonfiglioli W63 U 15.0 P80 B14 B Worm Drive
  • Bonfiglioli KP500 Control Panel
  • Bonfiglioli C302PP71 Speed Reducer
  • Bonfiglioli BN71B4 Motor con MVF49 Reductor
  • Bonfiglioli BN71B4 Motor with MVF49 Gearbox i36
  • Bonfiglioli SYN10S 22001AF Inverter 0.2 kW
  • Motor Power Esa 3M2209B5/M71Q with Tachometer and Bonfiglioli MVF49 Gearbox
  • Bonfiglioli SYN10 S 220 01 AF Inverter
  • MEZ UD 1104 2.5 kW BONFIGLIOLI Trasmittal 300L19 Gear Motor 300L19.00HZP90AW0A
  • Bonfiglioli Vectron ACT W 401-39 D Inverter