Welcome to the Industrial Automation website!

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

KEYENCE XG-8000 Line Scan Visual Debugging Guide

F: | Au:FANS | DA:2026-05-25 | 701 Br: | 🔊 点击朗读正文 ❚❚ ▶ | Share:

2.3 Light source connection and voltage selection

The CA-DC21E lighting expansion unit provides two LED output ports (LIGHT 1, LIGHT 2). Maximum load of output terminal: 24 V DC or 12 V DC, selected through the DIP switch (8-bit) on the right side of the unit:

Position 1-4 controls LIGHT 1 (all OFF=12V, all ON=24V)

Position 5-8 controls LIGHT 2 (all OFF=12V, all ON=24V)

Danger warning: If a 12V light is connected to a 24V output, it will immediately burn out and may cause a fire. The default voltage at the factory is 12V. Before making any changes, be sure to check the lamp nameplate.

The IN terminal block provides a forced light off input (LOFF), and when the terminal is ON, all LED outputs are turned off, which can be used for safety interlocking.

Image acquisition mode and parameter calculation

The line scan camera has two core acquisition modes: "Fixed" and "Continuous".

3.1 Fixed frame mode (suitable for shooting a rectangular image with a single trigger)

Used for detecting workpieces with limited length, collect one frame (consisting of N rows) per trigger.

Key parameters:

Shutter Speed: Exposure time per line (μ s). It must be at least 3 μ s smaller than the Line Trigger Cycle.

Number of Lines: Frame height (number of lines). Calculation formula:

Rows=vertical field of view (mm)/horizontal pixel resolution (mm/pixel)

For example, with a 2048 pixel camera and a horizontal field of view of 150 mm, the resolution is 0.073 mm/pixel. To shoot a 100mm long workpiece, 100/0.073 ≈ 1370 lines are required.

Line Trigger Cycle: The time interval (μ s/line) between two adjacent lines of data collection, determined by the speed of object movement

Cycle (μ s)=(vertical movement time (μ s))/number of rows

Movement time=Vertical field of view length (mm)/Movement speed (mm/s).

For example, if the speed is 200 mm/s, the vertical length is 100 mm, and the movement time is 0.5 s=500000 μ s, then the period is approximately 500000/1370 ≈ 365 μ s/line.

Trigger method:

Timed trigger: Select "Method"="Time" in Capture Options and trigger internally according to the set cycle.

Encoder trigger: Select "Encoder" and trigger each line of acquisition through external pulses. The unit of Line trigger cycle needs to be set in "Parameters" as the number of pulses per line. For example, if the total number of pulses for the workpiece is 4110 and 1370 rows are required, then set 3 pulses per row.

3.2 Continuous mode (suitable for infinite length material detection)

The camera continues to capture, and the image buffer adopts a "overlay" mode. Additional Overlapping Lines need to be set to create overlapping areas between adjacent frames to avoid frame loss.

Note: The continuous mode forces the number of image buffers to be set to 3, and the operation type is' overwrite '. If the original settings do not match, the system will automatically make changes.

3.3 Correction of vertical stretching/compression of images

If the displayed image is stretched or flattened in the vertical direction, it indicates that the Line Trigger Cycle does not match the actual motion speed:

The image is stretched downwards → the triggering period of the row is too large → the period value should be reduced.

Image compression upwards → line trigger cycle too small → cycle value should be increased.

When adjusting, you can simultaneously observe the Brightness and Sharpness LED indicators on the back of the camera. Default threshold: Brightness LEDs 1/2/3 correspond to maximum grayscale values of 64/128/192 respectively; The sharpness LED corresponds to a maximum differential value of 10/20/30.


Lens selection and working distance determination

The XG-HL02M/04M uses a C-mount lens (such as the CA-LHW series), while the XG-HL08M uses an M40 P0.75 special interface lens (such as the CA-LHL series).

Check FOV chart: Taking CA-LHW16 (16mm lens) as an example, if a horizontal field of view of 200mm is required, the chart should display a working distance (WD) of 200mm and a 0.5mm extension ring should be added.

Note:

Ordinary C-mount lenses (non CA-LHW) may not be able to cover the wide image plane of line scan cameras, resulting in dark corners at the edges.

When using macro lenses (CA-LM0210, CA-LML0210), the lens must be directly fixed to the device using a dedicated mounting bracket (OP-87337), otherwise the weight of the lens may damage the camera interface.


Lighting Technology and Shadow Correction

5.1 Selection of Lighting Modes

Mirror reflection: used to detect dents, scratches (scattered light, defects in dark areas) on flat surfaces.

Diffuse reflection: used to detect protrusions and burrs (light directly reflects back to the camera, bright areas display defects).

Transmitting illumination: used for foreign object detection on transparent/semi transparent films, where foreign objects obstruct light and present dark spots.

5.2 Shading Correction

When the brightness within the field of view is uneven (such as dark edges and bright centers), shadow correction must be performed.

Operation steps:

Open the Linescan Calibration tool in Flow Editor.

  • LUST LTI Drives CDE32.004 with CM-DPV1
  • LTi DRiVES SO84.016 Servo Drive
  • LTI Drive CM-DPV1 Communication Module
  • LTi DRiVES DSM4-05.4-20R82-400 Servo Motor
  • LUST LTI Drives CDA34.003 Servo Controller
  • LTI Drives Servo One SO84.045.0010.0001.2-W 22 kW
  • LUST LTI Drives CDB32.008 W2.4 BR PC1 Servo Drive
  • LTi Drives SO84.006.1030.0000.2 Servo Controller
  • LTI DRIVES CDE34.010D2.4 Servo Drive Controller
  • Hettich Rotanta 46 RSC Control Board VF1204S
  • Lust LTI Drives CDA34.017.C2.CP Servo Controller 7.5 kW
  • LUST LTI Drives CDA34.003.C3.0 Servo Controller 0.75 kW
  • Lust LTI Drives CDA34.008.C1.3 Servo Controller 3 kW
  • Lust LTi Drives CDB22.004.0111.00.0 Servo Drive
  • LTi Drives SO84.032.0030.1000.2 Servo Controller
  • LUST LTi CDA32.004 C1.4 H08 B0 Servo Controller
  • LTI DRIVES CDB34.010 C2.4 Servo Drive
  • LUST LTi Drives CDA32.008 C1.4 Servo Controller
  • LTI Motion CDE32.003.C3.0 Servo Positioning Controller
  • LTI DRIVES CDE34.010 D2.4 Servo Drive Unit
  • LUST LTi Drives CDD34.005.C2.1 Servo Drive
  • LTi Drives SO84.012.0002.0100.2 Servo Controller
  • LUST LTi Drives CDE34.010.D2.4 Servo Drive
  • LUST LTI Drives CDF30.008 Servo Drive
  • LTi Drives SO CM-P.0010.11.00.0 Power Module
  • LTi DRiVES SO84.008.0002.0100.2 Servo Controller
  • LTI MOTION Servo Drive SO22.006.0040.1000.1
  • LTi DRiVES SO24.007.0030.1000.0 ServoOne Junior
  • LTi DRiVES LUST BC1300 Braking Module
  • LUST LTI DRIVES CDE34.010 Variable Frequency Drive
  • LUST LTI DRIVES CDA32.004 Servo Drive
  • LTi DRiVES LST-074-2-30-560/T1 Servo Motor
  • LUST LTI DRIVES CDB32.008 Servo Drive Module
  • Lust Antriebstechnik LTI Drives VF1204S Inverter
  • Lust LTI Drives CDE32.008 C3.0 Positioning Controller
  • LTI Drives LUST Servo One C-5633 D-35633
  • Lust LTI Drives CDA34.008.C1.3 Servo Controller 3kW
  • LTI CDF30.008 C2.6 Servo Drive 10962161
  • LUST LTi Drives CDB32.004 C2.3 SH Servo Drive
  • Lust LTi Drives CDE34.010 D2.0 Servo Drive
  • LTi Motion CDA32.006 Servo Drive with CM-CAN1
  • Lust LTI Drives CDB32.008 C2.3 Servo Controller
  • LTi CDE34.017.W3.0 Servo Drive
  • LUST LTI LST-074-2-30-320/T1 Servomotor
  • Lust LTi CDF30.002 C3.0 Positioning Controller
  • LTi DRIVES CDF30.008.C2.4 Drive
  • LUST LTI CDB32.008 W2.4 BR PC1 Drive
  • LTi SO84.004.0002.0100.2 Servo Controller
  • LTi SO84.012.0030.0011.2 ServoOne Drive
  • LTI Drives LUST Servo One C-5633 D-35633
  • LTi DRiVES c-line Smart Card A028.V01.1
  • LUST LTI CD A34.008 W1.4 BR Drive
  • LUST LTI LSH-097-2-30-560/T1 Servomotor
  • LUST LTI LST-074-2-30-320/T1 Servomotor
  • LUST LTi CDB32.004 C2.4.SH Servo Drive
  • LTI Drives PM-E40.2DRA054P Pitch Inverter
  • Lust LTI Drives CDF30.008 Servo Drive 8673548
  • LTI Drives CDF30.002.C0.7 Servo Controller
  • Lust LTI Drives CDB32.008.W2.4 Servo Drive
  • Lust LTI Drives CDB34.003 Servo Motor Driver
  • Lust LTI Drives CDA32.004 Servo Drive 3084456
  • Lust LTI Drives CDE34.005.W2.2 Servo Drive
  • Lust LTI Drives CDA34.006.W3.0 Servo Drive
  • LTI Drives CDF30.008.C2.4 Servo Controller
  • LTI Drives Lust CDB32.004.C2.4.SH Servo Drive
  • Delta Design 1666339-501 Micro Stepper PCB 114970
  • APEXEL 100X Microscope Mobile LED Pocket Lens
  • Micro Innovation XV-152-D4-10TVR-10 Touch Screen
  • Micro Innovation XVH330-57MPI-1-10 Touch Screen Glass
  • Delta Design 1666339-501 Micro Stepper PCB 114967
  • Micro Design MC100-MA V3 Board
  • Delta Design 1666339-501 Micro Stepper PCB 114968
  • Delta Design 1666339 PCB Micro Stepper ITR 116487
  • Micro Innovation XV-440-10TVB-1-10 Panel
  • Sterling 9B21-3 Micro Switch Durable Design
  • ATTINY104-XNANO Microchip AVR Prototype Board
  • Delta Design 1666339 Micro Stepper PCB ITR 116539
  • Super Micro X7SBJ Industrial Main Board
  • Delta Design NMS BD 1698437-501 Stepper Board
  • Micro Innovations Turbo Track Keyboard KB420BL
  • Micro Design PC-1 PC-1-H-DU010 Operator Panel
  • TCI MICRO MD 250mA 7W Dimmable LED Driver
  • Delta Design 1666339 Micro Stepper PCB ITR 116485
  • Delta Design NMS BD 1698437-501 Stepper Board
  • Life Instruments 714-1120-1U Micro Curette
  • Delta Design 1657925-501 Micro Processor PCB
  • Micro 100 RTC-125-2 Carbide Engraving Tool
  • Micro Design Inc. 2106022 Liquid Level Sensor PCB
  • Periodontal Micro Surgical Full Kit 20pc Blue Titanium K1004
  • Micro Innovation XN-2DO-24VDC-0.5A Module
  • Wide Innovative Technology PS-01 Micro Positioner Set
  • HU FRIEDY NH5020 Castroviejo Needle Holder Set
  • Moeller Micro Innovation XV-232-57BAS-1-10 Touch Screen
  • Micro Design System MCVP-300VR Control Module 24VDC
  • Scanlan 3003-234-1 Titanium Jacobson Needle Holder
  • Micro Innovation XV-102-B0-35TQR-10-PLC Panel
  • Promot Micro Design 3x8 Output 2187F
  • Micro Innovation LIC-SW-Galileo 91 30 000600 License Certificate
  • Micro Design AI0486.A4-50 Control Module Board
  • Micro Innovation XN-2DO-24VDC-0.5A Output Module
  • Micro Design Not-Aus Relais AE 8.96 AE 896
  • Micro Innovation CPC-600M-10 Ferag Touch Panel HMI
  • Micro Design System 96-002-09/1 Adapter 18 Bit
  • Micro Design LK3160 AI0486 Motherboard
  • Micro Design System 96-002-01/2 GF-1 CPU Board
  • Micro Design Systems CF1-10TVA-100 Micro Panel
  • Eaton Micro Innovation XP-702-C0-15TXI-10 Panel
  • HU FRIEDY Castroviejo NH5020 Needle Holder
  • MPM Micro Precision 3.BMT100 P02 Balancing Station
  • Micro Innovation GF1-10TVD-101 Touch Panel
  • Micro Innovation XV-102-B0-35TQR-10-PLC
  • Micro Innovation XP-601-15T-10 Touch Panel
  • Micro Innovation License Certificate 9130000650 LIC-SW-MXPRO
  • Micro Innovation XVC-601-GTI-15-V1-000 Panel
  • MI Micro Innovation HPT-100-82FGBA-01 Panel
  • Micro Innovation XV-102-B3-35TQR-10 Panel Cable
  • Micro Innovation MC2-440-10TVB-1-2 HMI Panel
  • Promot Micro Design 2x8 Output 2087F
  • Micro Innovation XN-16DO-24VDC-0.5A Output Module
  • Micro Design System 96-002-03/1 Power Supply Board
  • Touch Screen for Moeller XV-252-57CNN-1-10 Digitizer
  • Micro Design Systems 96-002-03/1 Power Supply Board
  • Micropipette Variable Range 100-1000 Microliter
  • Murphy Nerve Hook 9 Inch Neurosurgery Instrument
  • Micro Innovation XN-2DI-24VDC-P Input Module 225169
  • Micro Innovation ST-GF0-57E0D-000 Touch Panel
  • Micro Innovation XN-S4T-SBBC Base Module
  • Micro Innovation XN-2DO-24VDC-0.5A-P Output