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 | 477 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.

  • Atlas Copco PF3000-C-HW Tensor S4 S7 RBU Controller
  • Atlas Copco PPBE0613 24VAC Control Panel
  • Atlas Copco PF3000-C-HW Tensor S4 S7 Controller
  • Atlas Copco Neos ARC-D130-S+ Inverter Drive
  • Atlas Copco Power Focus SL PF4002-G-HW Controller
  • Atlas Copco 8436 6770 00 ILT Base Station
  • Atlas Copco 1900520400 Air Compressor Control Panel
  • Atlas Copco 1900-0711-51 Display Keypad Unit
  • Atlas Copco 1900-0710-52 Communication Control Board
  • Atlas Copco 1900-0701-04 Control Interface Module
  • Atlas Copco 8092 1143 40 SRTT Transducer 180Nm
  • Atlas Copco MT Focus 6000 Controller with Pump and Screwdriver
  • Atlas Copco Elektronikon GraphicPlus Controller PPBE0622 PPBE0633
  • Atlas Copco PF3109-G-DN-HW Tensor 8-9 Power Focus Nutrunner Control
  • Atlas Copco Elektronikon P1900520440 Touch Controller
  • Atlas Copco Power Focus 8 Controller 8436280002
  • Atlas Copco 8436 1500 03 FlexCarrier 3-Slot Torque System Component
  • Atlas Copco Power Focus 6000 PF6000 Industrial Controller
  • Atlas Copco TC-4000-P-PB-ES Power Macs Controller
  • Atlas Copco 8433-0015-20 8433001520 Cable Assembly
  • Atlas Copco 49X10301AB Pressure Transducer Sensor
  • Atlas Copco 8436180002 Replacement Filter Element
  • Atlas Copco C4700A01V216 Compressor Control Module
  • Alcatel-Lucent 3HE01019AAAA01 High-Speed Interface Module
  • Alcatel-Lucent 111381 Power Distribution Module
  • Alcatel TN 2523 1:1 CDN III Module – MRPQAE3
  • Alcatel-Lucent 3he06151aaac01 8-Port Interface Module – IPUIBKB3AA
  • Alcatel-Lucent LNW46 DMX Metro OC12 Interface Module – 108694878
  • Alcatel-Lucent 41A12C FT-2000 Optical Transponder Unit – 108188053
  • Alcatel-Lucent 8DG02607AA POW100 DC-DC Converter Module
  • Alcatel-Lucent LambdaXtreme WWBQ21 40G Optical Transponder
  • Alcatel-Lucent TN1891 5ESS Protocol Handler PHV5 Commcode 108747064
  • Alcatel-Lucent 300-0303-900 T1D3PDL1AE Digital Matrix Card
  • Alcatel-Lucent G-821M-A Module
  • Alcatel Lucent MPT-GC Eth 1G+ARM TX 81-86GHz 3DB80005AAAAO1
  • Nokia 3KC48990AB 1830PSS 16FAN2 Fan Unit
  • Alcatel 3EC17041AA PSPC-G4 PCB CP011200552
  • Alcatel 300-0437-906 Rev F DEXCS DMC T1D1L0S Module
  • Alcatel-Lucent 3DW03697ABBA01 TFD64A Module
  • Alcatel-Lucent AWR12 S1-1 UN Interface T3PQAC3AAA
  • ALCATEL LUCENT 9500-MPR ODU RADIO MPT-HC V2 9558HC 3DB20914BAAA03 6GHZ
  • Alcatel-Lucent 9500-MPR ODU 300 11GHz Microwave Radio MPT 3DB23035AEAA01
  • Alcatel 2C7-1005-000 Teflon Bell Jar Holder Ring – 146111
  • Alcatel-Lucent BNJ118 S1:4 Circuit Board – Interface Module
  • Alcatel-Lucent 9500-MPR ODU 300 6GHz Microwave Radio MPT 3DB23215AFAA01
  • Alcatel 3EM04001AA Signal Processing Unit with Accessory Cards
  • Alcatel VAUCAL5KAB AA1418FE2BG 3FE67437AAD02 Interface Card
  • Alcatel-Lucent 1642 Edge Multiplexer N1217P YF – Access Node
  • Alcatel-Lucent 3HE07158BA 7750 SR-12 12-Port 10GIGE MultiCore IMM IPUCA741AA
  • Alcatel 101200429000 Power Divider 746-776 MHz with Heatsinks
  • Alcatel-Lucent 9500-MPR ODU 300 MPT 6GHz 3DB23215ADAA01 High Power Radio
  • Alcatel-Lucent 9500-MPR MPT-HC 23GHz 2/2P ODU Radio 3DB20474BA
  • Alcatel-Lucent 9500-MPR ODU 300 MPT 6GHz 3DB23215AAAA01 Low Power Radio
  • Alcatel 3BA52126ABAA OmniPCX 4400 Compact Cabinet
  • Alcatel-Lucent 3HE12300AA 7750 SR-1 Subrack with Licenses
  • Alcatel 300-1368-903 Rev C DEXCS SPA-1 T1PQAC1 Line Card
  • Alcatel-Lucent 408977981 WOWUAB6HAA 10G XPR OTU2 XPonder Card
  • Alcatel-Lucent-Nokia 3HE08423AARC01 7750 SR Control Processor Module IPUCBGZ1AA
  • Alcatel-Lucent 9500-MPR ODU 300 MPT 6GHz 3DB23215ABAA01 Low Power Radio
  • Alcatel-Lucent CPU7-2 3BA23259ABJE 05 Control Processor Module
  • Alcatel WTM11AD 3DW03915DABA01 Optical Transponder Module
  • Alcatel-Lucent 1340FMPK Card Chip BA5IVY6BAA – Processor Module
  • Alcatel-Lucent 3HE06151ACAC01 Control Fabric Module
  • Alcatel-Lucent 9500-MPR 18GHz 1P-1 Protection ODU Radio 3DB20433BA AA04
  • Alcatel-Lucent 9500-MPR ODU MPT-HC 18GHz Radio 3DB20433BAAA04
  • Alcatel-Lucent SM269 LMPQ04KAXX Circuit Pack – Interface Module
  • Alcatel OME25HP Filter Cartridge – 107494
  • Alcatel-Lucent ALU-BZ74 99BC-4 –48V Battery Cabinet
  • Alcatel-Lucent WWAA37 Optical Amplifier WMAPZNZAAB – CP Series
  • ALCATEL LUCENT 9500-MPR ODU RADIO MPT-HC V2 9558HC MPT-XP 3DB20476BAAA04 23GHZ
  • Alcatel Tyco Yukon ES760A Rectifier
  • Alcatel-Lucent 9500-MPR ODU 300 MPT 23GHz 3DB23045HMAA02 Microwave Radio
  • Alcatel-Lucent 9500-MPR ODU MPT-HC 11GHz 3DB20548ACAA01 Microwave Radio
  • Alcatel Lucent 3DH03173AKAA Module
  • Alcatel-Lucent 76-0300-02 CSM-V2 PCB
  • Alcatel 9400 UX ODU Module 3CC06729ABAA
  • Alcatel-Lucent 408981363 Jigsaw A Band Block 24/-48V KS24624L58
  • Alcatel 3BA53095 PCB Card
  • Alcatel 2C7-1005-000 Bell Jar Holder Ring Teflon PC7-1005-000
  • Alcatel-Lucent ES640 PWDQAGKUAA 5ESS 48V DC Alarm Control Unit
  • Alcatel-Lucent 9500-MPR ODU 300 23GHz Microwave Radio MPT 3DB23045HM
  • Alcatel-Lucent KFA720 WMOTCMVLAB Optical System Interface Carrier
  • Alcatel-Lucent 9500-MPR ODU MPT-HC V2 15GHz Microwave Radio 3DB20373BAAB04
  • Alcatel-Lucent AKM70 S1-7 SMUX1 Sub-Multiplexer – T3PQWAEAAH
  • Alcatel-Lucent 107486490 DDM-2000 SONET DS3 Circuit Pack – BBG4B
  • Alcatel-Lucent SBEVM BNJ82 1:12 Module – AV950-01168
  • Alcatel-Lucent 938A Optical Loss Set – Test & Measurement Kit
  • Alcatel-Lucent MS1025-25O16-ED Fiber Optic Unit – 48VDC
  • Alcatel-Lucent 9500-MPR ODU MPT-HC 23GHz 1/1P Microwave Radio 3DB20473BA AA04
  • Alcatel-Lucent bCEM-U Control Module – 3BK28676ABAC01
  • Alcatel ASI20 Detector Control Module
  • Alcatel Lucent 130B S-1 PWPQ08B Power Unit
  • Alcatel-Lucent 9500-MPR ODU MPT-HC V2 9558HC 6GHz 3DB20441BBAA02
  • Alcatel-Lucent 9500-MPR ODU MPT-MC 15GHz 3DB20824AAAA02 Microwave Radio
  • Alcatel-Lucent 9500-MPR ODU MPT-MC 15GHz 3DB20822AAAB02 Microwave Radio
  • Alcatel-Lucent 3AL92111AA 1P10GSO Interface Module
  • Alcatel 8220 CTT 450 Turbo Pump Controller 127821
  • Alcatel-Lucent 3AL78823AAAE 02 Module
  • Alcatel-Lucent 90-0413-01 Universal Card
  • Alcatel-Lucent BRMA 10Base-T/100Base-TX Connecting Box 3BA56170ACAB010842
  • Woodward Micronet 5453-279 Rev E Chassis Rack for TMR Control
  • Alcatel-Lucent KFA632 WMOTBUKLAA 10G Optical Interface Carrier
  • Alcatel-Lucent 9500-MPR ODU MPT-HC V2 3DB20474BAAB04 23GHz Microwave Radio
  • Alcatel-Lucent KFA720 WMOTCMVLAB SFP/XFP Optical Interface Carrier
  • Alcatel-Lucent 3AL00114AB Universal Interface Module
  • Alcatel-Lucent BBG9 S1:1 OHCTL Optical Hardware Control Module
  • Alcatel-Lucent FB16401-A-I03 GTD-5 Analog Master/Slave Control Board
  • Alcatel-Lucent MCR1721B Control Module
  • Alcatel-Lucent 9500-MPR 3DB20547ACAA01 ODU MPT-HC 11GHz Microwave Radio
  • Alcatel-Lucent 3HE01014AAAA02 Interface Module
  • Alcatel-Lucent 244-2091-005 High Density Digital Line Card V1.5
  • Alcatel-Lucent LAMBDAXTREME WWAA36 Optical Amplifier Module
  • Alcatel-Lucent 9500-MPR ODU MPT-HC 6GHz 2P-2 Radio 3DB20444BAAA05
  • Alcatel-Lucent 9500-MPR ODU MPT-HC V2 9558HC MPT-XP 6GHz 3DB20442BBAA02
  • Alcatel-Lucent 9500-MPR ODU MPT-HC 23GHz 3DB20476ABAA01 Microwave Radio
  • Alcatel Lucent 3HE01019AAAA01 Module
  • Alcatel CPU5 3BA23071 PCB Card with IO2 3BA23050 Set
  • Alcatel-Lucent 9500-MPR ODU MPT-HC V2 9558HC 6GHz 3DB20443BBAA02
  • Alcatel Lucent 500-1113-211 Rev H Channel Bank Assembly
  • Alcatel Lucent 89-0419-B-2 BA9ATS0FAB Frontal Compute Module
  • Alcatel-Lucent LambdaXtreme 1625 WWAF31 Optical Amplifier CP Module
  • Alcatel Z24 3BA53065 Analog Extension Card 3BA52065 AAAA KAZZB-01
  • Alcatel 3EH08263AAXX000448 OmniPCX Office Large PBX System
  • Alcatel Lucent VSEM-C 3FE62453 XA VAUCAJZKAA 7330 DSLAM Line Card
  • Alcatel-Lucent 9500-MPR ODU MPT-HC 3DB20432BAAA04 18GHz Microwave Radio
  • Alcatel-Lucent 9500-MPR ODU MPT-HC 3DB20546ACAA01 11GHz Microwave Radio
  • Alcatel-Lucent 3DB04823AAAA Circuit Board
  • Alcatel-Lucent 3DB04530AAAA Circuit Board