Welcome to the Industrial Automation website!

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

OMRON ZFX Vision Sensor Engineering Practice

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

OMRON ZFX Vision Sensor Practice: Full Analysis from Selection to Debugging

In modern industrial automation production lines, visual inspection systems have become the core equipment for quality control and process monitoring. However, facing the dazzling array of visual products on the market, engineers often encounter many challenges during the selection, installation, and debugging stages: how to choose the appropriate camera based on the detection object? How to correctly set up detection areas and tools? How to quickly troubleshoot image instability or misjudgment faults? This article takes the ZFX series, an intelligent visual sensor integrated with an LCD touch screen, as an example, providing a complete engineering practice guide from selection points, hardware connection, parameter configuration, detection tool application, to common problem troubleshooting.

System Overview and Selection Core Elements

The ZFX series visual sensor adopts a split architecture of "controller+camera", and its most prominent feature is that the controller comes with a 3.5-inch TFT color touch screen (resolution 320 × 240), which allows users to complete image settings, define detection areas, and view results in real time without the need to connect an additional computer or monitor. This design significantly reduces the threshold for on-site debugging, especially suitable for equipment integrators and production line maintenance engineers to deploy quickly.

1. Controller selection: Difference between NPN and PNP

The controller is the processing core of the entire system and mainly provides two models:

ZFX-C10: NTP output type

ZFX-C15: PNP output type

The selection should be based on the input polarity of the backend PLC or relay circuit. The power requirement for the controller is 21.6-26.4 VDC (including ripple), with a maximum current consumption of 1.5 A. Therefore, it is recommended to use a stable and reliable 24V DC switching power supply, and pay attention to separate power supply from strong interference sources such as frequency converters and high-power motors. The protection level of the controller is IP20, suitable for installation inside the control cabinet.

Key functional highlights:

Up to 1 camera can be connected (note: data shows 1 camera, but different camera types can be switched)

Supports 32 registered banks, each bank can store 32 testing items

Built in image storage function, saving up to 100 images for traceability

Rich communication interfaces: Ethernet (100BASE-TX/10BASE-T), RS-232C, RS-422, USB 2.0, parallel I/O (12 point input/22 point output)

2. Camera selection: field of view, distance, color, and protection

The ZFX series offers multiple camera models, mainly divided into two categories: "illuminated" and "camera only (with CCTV lens)". When selecting, the following parameters should be considered comprehensively:

(1) Detection range (field of view) and set distance

ZFX-SR10/SC10: Suitable for small parts. The detection range is 5mm × 4.9mm~9mm × 8.9mm (variable), with a set distance of 34-49mm.

ZFX-SR50/SC50: Universal type. The detection range is 10mm × 9.8mm~50mm × 49mm, with a set distance of 38-194mm.

ZFX-SC90: Large field of view. The detection range is 50mm × 49mm~90mm × 89mm, with a set distance of 67~142mm.

ZFX-SC150: Maximum Field of View. The detection range is 90mm × 89mm~150mm × 148mm, with a set distance of 115~227mm.

ZFX-S/SC (camera only): requires optional CCTV lenses (such as 6mm, 8mm, 12mm focal length, etc.), suitable for scenes that require flexible adjustment of working distance or special installation space. At this point, the detection range is completely determined by the lens focal length and object distance, and can be selected based on the optical chart.

Engineering suggestion: When selecting, give priority to models with lighting (SR/SC series), as they have built-in pulse LED lighting and light guide design, which can effectively reduce external environmental light interference. Only when the detection distance exceeds 187mm or specific lenses are required (such as macro, wide-angle), should the "camera only" model be considered.

(2) Color and Resolution

Monochrome: Models with "SR" or "S", suitable for contrast detection, edge positioning, size measurement, etc.

Color: Model with "SC", suitable for color recognition, color difference detection, etc.

All cameras have an effective pixel size of 659 (H) × 494 (V), a pixel size of 7.4 μ m × 7.4 μ m, and a frame rate of up to 96 fps (full frame capture), which can meet the needs of fast moving production lines.

(3) Protection level

Standard type: IP65 (dustproof and water-resistant)

Model with suffix "W" (such as ZFX-SC50W): IP67 (short-term immersion), suitable for humid or dusty environments

3. Cable and accessory selection

The connection cables between the camera and the controller are available in two types: ordinary type and robot bending resistant type, with a length of 3m or 8m. It should be noted that the total cable length between the controller and the camera should not exceed 19m, and a maximum of two extension cables (3m each) can be connected in series. The extension cable model is ZFX-XC3A. In addition, standard models are available for parallel I/O cables, RS-232C cables, monitor cables, etc.

Hardware installation and electrical connection

1. Key points of mechanical installation

The installation of the camera must be firm and avoid vibration. According to the specifications, the camera needs to withstand a vibration test of 10~150Hz and a single amplitude of 0.35mm, but it is recommended to use a shock absorber bracket in practical applications.

The camera with illumination (SR/SC series) comes pre installed with a lens and illumination at the factory, without the need for user focusing. Simply adjust the installation distance to change the field of view.

For the "camera only" model (ZFX-S/S C), it is necessary to choose CCTV lenses and extension tubes by yourself, and pay attention to cleaning the image sensor during installation to avoid dust pollution.

2. Electrical wiring specifications

Power supply: The controller is powered by 24VDC ± 10% (21.6-26.4V). It is recommended to use PELV (Protection Extra Low Voltage) power supply and install a magnetic ring (with two ferrite cores attached) at the input of the controller power supply to suppress high-frequency interference.

I/O interface: Parallel inputs include RESET, DSA, DI0~DI8, TRIG (external trigger); The output includes 22 points, including OR (overall judgment), ERROR (error), RUN (running), ENABLE (trigger allowed), GATE, STGOUTO, and DO0-DO15. Pay attention to the differences between NPN and PNP models when wiring.

Grounding: The controller casing must be grounded. The camera is grounded with the controller through a cable shielding layer to avoid forming a ground loop.

Communication line: Ethernet and serial port lines should be routed separately from the power line, with a distance of at least 200mm.

3. Trigger mode selection

The ZFX controller supports multiple triggering methods: internal triggering (continuous detection), external triggering (via TRIG signal), and manual triggering through the touch screen. For high-speed assembly lines, it is recommended to use external triggers and synchronize with the production line encoder to obtain stable detection results.


Parameter Setting and Calibration: Touchscreen Practice

The most prominent convenience of the ZFX series lies in its built-in LCD touch screen. The following are the operations that engineers used to need to connect laptops on site to complete, now they only need to touch on the controller panel.

1. Initial setup process

Language selection: Supports switching between Japanese and English.

Camera registration: After connecting the camera, the system automatically recognizes the model. If using the "camera only" model, you need to manually enter the lens focal length and installation distance.

Image automatic adjustment: Click "Auto Adjustment", and the system will automatically adjust the shutter speed (range 1/170s~1/20000s), lighting brightness, and gain to achieve the best image contrast. This feature is particularly beginner friendly.

Detection area setting: Select the region of interest (ROI) on the touch screen, which can be placed in any position and size.

Add detection tool: Select the required tool from the tool library (see next section for details) and set the qualification threshold.

2. Banking and Project Management

Each bank is equivalent to an independent testing formula, which can store up to 32 banks. For example, Bank1 is used to detect part A, and Bank2 is used to detect part B.

Each bank can add up to 32 testing items in order. When all items are judged OK, the total output (OR) signal is ON.

Bank switching can be completed through external DI signals or Ethernet commands.

3. Position correction function

Due to the possible displacement of the workpiece on the conveyor belt, ZFX provides powerful position correction function:

Single model search: Use a pattern as a reference to correct X, Y, and angle offsets.

Dual model search: using two feature points to correct for more complex rotations and scaling.

Measurement after position correction: All subsequent detection tools (such as area, width, edge) will be based on the corrected coordinate system, greatly improving detection stability.


Detailed explanation and application scenarios of detection tools

The ZFX series comes with approximately 20 built-in inspection tools, covering areas such as shape, size, edge, brightness, color, and defect detection. The following are the most commonly used tools and their typical applications.

1. Pattern Search

Principle: Find the area in the image that best matches the registration template, and output the similarity (0-100%) and position coordinates.

Application: Positioning of workpieces, direction recognition, and quality inspection of character printing.

Parameters: Matching threshold can be set (such as 80%), supporting rotation range (± 180 °) and scaling range (50%~200%).

2. Edge Inspection

Width: measures the distance between two edges, suitable for workpiece outer diameter, gap, and weld width.

Position: detects changes in the position of edges, used for alignment or offset monitoring.

Count: Count the number of edges, such as gear teeth and cable cores.

3. Area

Principle: After binarization, count the number of pixels in bright or dark areas.

Application: Detect missing parts (small area), foreign object adhesion (abnormal increase in area), and solder diffusion degree.

4. Brightness/Hue Detection

Brightness: measures the average grayscale value within the ROI, used to determine light source aging or workpiece surface reflection.

HUE: detects the hue value of a color camera for color classification (such as distinguishing between red/green/blue labels).

5. Defects detection

Principle: Compare the detected image with the reference image, identify areas of grayscale difference, and output the defect area or quantity.

Application: Surface scratches, dents, printing defects, etc.

6. Sensitive Search

Features: More sensitive to edge and texture changes than ordinary pattern search, suitable for detecting subtle differences (such as electronic component orientation, front and back recognition).

Engineering skills:

When there are batch differences in the detection object, it is recommended to register multiple sample images (multiple templates) or use the "adaptive threshold" function.

For high-speed moving objects (such as 500 or more per minute), the "high-speed" image rate mode should be used, and an external strobe controller (such as Moritex MLEK-C100E1TSX) should be used to freeze motion blur.

Communication and System Integration

1. Ethernet communication

The ZFX controller supports 100BASE-TX/10BASE-T Ethernet and can exchange data with upper computers (PLC, HMI, SCADA) through TCP/IP protocol. Typical applications:

Remote switching of banks

Upload detection images and result logs

View real-time footage through a web browser (customization required)

2. Serial communication (RS-232C/RS-422)

Maximum baud rate 115200 bps

Attention: RS-232C and RS-422 interfaces cannot be used simultaneously

Can be used to connect barcode scanners, printers, or old model PLCs

3. Parallel I/O

Provides 12 point input and 22 point output, with a response time in milliseconds, suitable for direct hard wiring with high-speed PLCs. Enter typical allocation:

TRIG: External trigger signal (rising edge valid)

RESET: Reset alarm or clear output

DI0~DI8: Bank selection (binary code)

Output typical allocation:

OR: Comprehensive judgment (all testing items are OK)

ERROR: System error (such as communication failure, camera malfunction)

RUN: The camera is currently capturing and processing images

ENABLE: Allow triggering (internal state ready)

4. Image data transmission

The images stored inside the controller can be exported to a USB flash drive through the USB interface (MINI-B), which facilitates offline analysis and quality traceability.


Common troubleshooting guide

Even if the selection is correct, various problems are inevitably encountered during on-site debugging. The following is a troubleshooting table based on practical engineering experience summary.

Possible causes and solutions for the fault phenomenon

No image display camera cable connected or broken; Check if the total length of the cable exceeds 19m when the controller is not powered on; measure the 24V power supply; Replace the spare cable

The image is too dark or too bright, and the shutter speed is not appropriate; If the lighting brightness is insufficient, execute 'automatic adjustment' again; Check if the LED lighting is damaged (with lighting model); For "camera only" models, check external lighting or aperture

Frequent misjudgment of workpiece position deviation in detection results without correction; Light changes; Enable position correction tool for background interference; Use polarizing mirrors or install light shields; Adjust the binarization threshold

After triggering, there is no output and the trigger signal has not arrived; Check the TRIG wiring and voltage level when the ENABLE signal is OFF; Confirm that the controller is in the 'waiting to trigger' state

Communication timeout IP address setting error; Confirm that the controller and the upper computer are in the same network segment due to mismatched serial port parameters; Verify baud rate, data bits, and stop bits

The controller displays an "ERROR" red light indicating an internal hardware malfunction; The camera did not recognize the need to restart the power supply; Re plug and unplug the camera cable; Contact technical support


Quick Reference Table for Technical Parameters

For the convenience of on-site engineers to quickly consult, the following are the most critical parameters extracted.

Controller (ZFX-C10/C15)

Power supply: 24 VDC ± 10%, maximum 1.5 A

Protection: IP20

Working temperature: 0~+50 ° C

Storage temperature: -15~+60 ° C

Weight: Approximately 620 grams

Dimensions: Not listed, but comes with stylus, exhaust unit, terminal block adapter

Typical camera (ZFX-SC50)

Detection range: 10mm × 9.8mm~50mm × 49mm

Set distance: 38~194mm

Image sensor: 1/3 inch CCD, color, 659 × 494

Frame rate: 96 fps

Lighting: Red LED pulse lighting (built-in)

Protection: IP65 (SC50), IP67 (SC50W)

Working temperature: 0~+40 ° C (SC50), 0~+50 ° C (SC90/SC150)

Weight: Approximately 270g (including installation bracket and cable)

Cable restrictions

Camera cable up to 19m in length (can be connected in series with two 3m extension cables)

Suggest using original shielded cables

  • Bonfiglioli RPS Log 100 Data Logging Module
  • Bonfiglioli VF49P1P71B14 Gearbox
  • Bonfiglioli W86U Right Angle Gear Reducer
  • Bonfiglioli W63 U P71B5 Gear Reducer
  • Bonfiglioli W63UP90B5 Gearmotor
  • Bonfiglioli VER/S 400-150 Inverter
  • Bonfiglioli F202 H30 P80 Gearbox
  • Bonfiglioli W75UD307P90B14 Gearbox
  • Bonfiglioli MPC1004S000D MP 080 Planetary Gearbox
  • Bonfiglioli Vectron ACU 401-29A Inverter
  • Bonfiglioli MPB1010S0001 Gearbox
  • Bonfiglioli VF 44 P1 70 Speed Reducer Gearbox
  • Bonfiglioli BRA400-034 BF1 Brake Chopper
  • Bonfiglioli VF49P110P71B14B3 Worm Gearbox
  • Bonfiglioli VF30 A P63B14 Gearmotor with SITI Motor
  • Bonfiglioli ACT 201-09 FA Active Frequency Inverter
  • Bonfiglioli ACU 401-25A Frequency Inverter
  • Bonfiglioli VF30 44A2100 Worm Gearbox
  • Bonfiglioli BXTFC 63B-2 Brake Motor
  • Bonfiglioli AGL402-18 2 FA Frequency Inverter
  • Bonfiglioli EM-RES 02 Expansion Module
  • Bonfiglioli BTD5-1160-30-400-FD24-K Module
  • Bonfiglioli VF44F146P63B14B3 Gearbox
  • Bonfiglioli VF49PIP71B14B3 Gearbox
  • Bonfiglioli KP 500 Control Unit
  • Bonfiglioli VF49 P1 HSRB Gear Reducer
  • Bonfiglioli W63UP71B5 Gearbox
  • Bonfiglioli AGL402-15 2FA Inverter
  • Bonfiglioli ACT 201-05 FA Inverter
  • Bonfiglioli Vectron ACT 400-007 FC Inverter
  • Bonfiglioli ACT 201-09 FA Frequency Inverter
  • Bonfiglioli W63U Gear Unit
  • Bonfiglioli BC 220 Motor with VF44 Gear Reducer
  • Bonfiglioli MP 080 2 15 STD 110B1 CD Gear Unit
  • Bonfiglioli MVF49A14071B5 Worm Gearbox
  • Bonfiglioli ACT401-23A Frequency Inverter Drive
  • Bonfiglioli VF44 P1 20 Worm Gearbox
  • Bonfiglioli 8XNC64040003 Gearmotor BXN 63MB 4
  • Bonfiglioli CM-485 T RS-485 Communication Module
  • Bonfiglioli AGL402-233FA Frequency Inverter
  • Bonfiglioli BCR8-1150-30-400-FD24-K Module
  • Bonfiglioli EM-I/O 04 Module
  • Bonfiglioli BXTFC 63B-2 Brake Motor
  • Bonfiglioli VF63/F1 Right Angle Gearbox
  • Bonfiglioli SIACT513010001 ACT 401-13FA Frequency Inverter
  • Bonfiglioli BN 63 B2 Motor with GMP100
  • Bonfiglioli C31 3P P53 PV Helical Speed Reducer
  • Bonfiglioli MPD1007S0002X MP 105 Planetary Gearbox
  • Bonfiglioli ACT 410-13 2 A Inverter
  • Bonfiglioli M1SD4 Gearmotor
  • Bonfiglioli ACT410-15 2 FA Frequency Inverter
  • Bonfiglioli C31 3 P P63 PV Helical Reducer
  • Bonfiglioli W63U19 Gearmotor with M2SB4 Motor
  • Bonfiglioli W63UP71B5B3 Worm Gearbox
  • Bonfiglioli 2KB2 060-0405-A00003 Motor Bearing
  • Bonfiglioli ACT 401-22A Frequency Inverter
  • Bonfiglioli ACU 401-29A Frequency Inverter
  • Bonfiglioli ACU401-19FA Frequency Inverter
  • Bonfiglioli ACU 201-07 FA Frequency Inverter
  • Bonfiglioli ACT401-33A Frequency Inverter 37kW
  • Bonfiglioli ACU 401-09 FA Inverter
  • Bonfiglioli RAN 8 S A 1 Gear Reducer
  • Bonfiglioli WR63U300P71B5B3KA Gearbox
  • Bonfiglioli 509 424 700 Inverter
  • Bonfiglioli AS 16/P P71 Gear Reducer
  • Bonfiglioli VF44F1P71B14 Gearbox
  • Bonfiglioli AGL402-13 1 FA Inverter
  • Bonfiglioli ACT 401-45A Main Board
  • Bonfiglioli W 110U 100 Gearbox
  • Bonfiglioli VF 49/F Gearbox
  • Bonfiglioli AGL402-09 1FA Inverter
  • Bonfiglioli ANG 410-19 3 FA Inverter
  • Bonfiglioli ANG 410-33 6A Inverter
  • Bonfiglioli W86UN56C Gearbox
  • Bonfiglioli 2KB2 060-0405 Motor
  • Bonfiglioli VF49P P71B14B3 Gearbox
  • Bonfiglioli SA 400-150 Inverter
  • Bonfiglioli TQF 070 Planetary Gearbox
  • Bonfiglioli ACT 401-19 A Inverter
  • Bonfiglioli ACT 401-13FA Inverter
  • Bonfiglioli W 63 U 24 Gearbox
  • Bonfiglioli BN 80 B4 Electric Motor
  • Bonfiglioli A 30 2 UH35 Gearbox
  • Bonfiglioli ACT 401-09 FA Inverter
  • Bonfiglioli EM-SYS DS179675010 Communication Module
  • Bonfiglioli AGL402-15 2 FA Inverter
  • Bonfiglioli W63UF115P90B5B3 Gear Reducer
  • Bonfiglioli 2KB2 060-0405-A00003 Bearing
  • Bonfiglioli VF 44 A 10 P63 B5 B3 Gearbox
  • Bonfiglioli ACU401-13FA Frequency Inverter
  • Bonfiglioli ACT 201-11FA Inverter
  • Bonfiglioli AGL402-15 2 FA Inverter
  • Bonfiglioli AGL402-07 1 FA Inverter
  • Bonfiglioli ACU 410-19 3 A Inverter
  • Bonfiglioli A 10 2 UH25 P71 Gearmotor
  • Bonfiglioli ACT 401-13 FA Inverter
  • Bonfiglioli ACU 410-15 2 FA Inverter
  • Bonfiglioli ACU 410-27 5 A Inverter
  • Bonfiglioli BN 63B 4 B5 Motor
  • Bonfiglioli AGL402-18 2 FA Frequency Inverter
  • Bonfiglioli W86-UF1-P90B5 Worm Gear Reducer
  • Bonfiglioli MP 080 80 STD 80A1 Planetary Gearbox
  • Bonfiglioli BN90S4 Motor
  • Bonfiglioli A413 UH40 Gear Motor
  • Bonfiglioli VF 63 Gear Reducer
  • Bonfiglioli ACU 201-05 FA Inverter
  • Bonfiglioli ACT 401-13FA Inverter
  • Bonfiglioli LC 120 1 10 STD 110A1 CD 24 KE Gear Unit
  • Bonfiglioli Fuji GVX2000-11-TSL2 Inverter
  • Bonfiglioli ACU 401-05 FA Inverter
  • Bonfiglioli W86UP100B5 Gearbox
  • Bonfiglioli MP 130.1.5.10 Gear Unit
  • Bonfiglioli ACT W401-29C Vector Inverter
  • Bonfiglioli BE 71A 4 Gearmotor
  • Bonfiglioli BN 71B 4 Asynchronous Motor
  • Bonfiglioli W110U100P90B5B3 Gear Reducer
  • Bonfiglioli VF 49 F1 7 P71 B5 B3 Gearbox
  • Bonfiglioli MP 080 2 16 STD 50D Gear Unit
  • Bonfiglioli VF 44 A 10 P63 B5 B3 Worm Gearbox
  • Bonfiglioli ACU401-13FA Frequency Inverter
  • Bonfiglioli CM-EtherCAT DS179675207 Module
  • Bonfiglioli 8AF2400CK BX 90 L A 4 Motor
  • Bonfiglioli BRA 400-045 BF2 Inverter
  • Bonfiglioli TQF 070 Planetary Servo Gearbox
  • Bonfiglioli B-SYN-04-0780 Servomotor
  • Bonfiglioli TA45.50-25.0-D-0S Shaft Gearbox
  • Bonfiglioli AS 20 F 21.19 071 B5 Helical Gearbox
  • Bonfiglioli 07/63 EE B5 Gear Unit