Keyence XG-8000 Series Setup Manual

Ultra High-Speed, High-capacity Multi-camera Machine Vision System
XG-8000 Series
Setup Manual
(Line Scan Camera Edition)
Read this manual before use. Keep this manual in a safe place for future reference.

Introduction

Introduction
The XG-8000 Series uses a 2-way approach (either on the controller or on a PC) to build inspection programs. The controller can be used to carry out adjustments in the field, add vision units and perform product changeovers. A PC can be used to establish inspection methods and build new programs with original operation menus and other essential GUI elements. The available PC programs are the XG VisionEditor development environment and the XG VisionTerminal log data collection program.

Notations used in this manual

Symbols
The following warning symbols are used to ensure safety and to prevent human injury and/or damage to property when using the system.
DANGER
Indicates that the operator is at risk of death or serious physical injury if the system is improperly operated or this precaution is not followed.
WARNING
Indicates that the operator is at risk of physical injury if the system is improperly operated or this precaution is not followed.
CAUTION
Indicates that property could be damaged (product malfunction, etc.) if the system is improperly operated or this precaution is not followed.
Note
Indicates important operating procedures that could be easily overlooked.
Reference
Indicates items to enhance system understanding and other useful information.
Trademarks
• Windows XP/Vista/7 and Microsoft Excel 2000/2002/2003/2007/2010 are registered trademarks of Microsoft Corporation (US).
• "SD Memory Card" is a registered trademark of the SD Association.
• "QR Code" is a registered trademark of Denso Wave Incorporated.
• Other company names and product names noted in this document are registered trademarks or trademarks of their respective companies. The ™ mark and ® mark have been omitted in this manual.
2
Introduction

This manual and related manuals

This manual describes the setup procedures required for connecting and initial installation of the XG-8000 Series (hereafter referred to as "the controller"), as well as related information and product specifications. Read this manual thoroughly in order to understand how the controller works and to maximize performance of the controller. Always keep this manual in a safe place for future reference. Please ensure that the manual is passed to the end user of the software.
Applicable Manuals:
XG-8000 Series system connections, installation and production specifications
Initial installationSupport tool for operationCommunication control/external monitoring
Camera
External
device
Controller
XG-8000 Series Setup Manual (this manual)
Inspection program development and other support/debugging functions
Inspection program development
Program development and controller setting using XG Vision Editor.
Controller
Program development and controller setting using the built-in GUI interface on the controller.
Controller
XG VisionEditor Reference Manual (Programming Edition)
XG-8000 Series User's Manual
Creating GUI/Tool simulation
Operation methods of tools by XG VisionEditor
Controller
XG VisionEditor Reference Manual (Utility)
Operation methods of tools by functions built into the controller
Controller
Communication and control with external equipment
External terminals
PLC-Link
ActiveX
control
Controller
CC-Link
No protocol
communication
External
device
Remote monitoring and data/image collection
Controller
96181A
XG-8000 Series User's Manual
XG-8000 Series Communications Control Manual
ActiveX control for XG Reference Manual
XG VisionTerminal User's Manual
3

Safety information for XG-8000 Series

Safety information for XG-8000 Series

General Precautions

• Before starting or operating the system, check to make sure all system functions are working properly.
• If any Keyence product fails, take all safety precautions to prevent damage before using the system again.
• If the system is operated beyond its published specifications or if the system is modified, its functions and performance cannot be guaranteed.
• Please note that when the system is used in combination with other devices, its functions and performance may be negatively affected.
• Do not use this product for the purpose to protect a human body or a part of human body.
• This product is not intended for use as explosion-proof product. Do not use this product in a hazardous location and/or potentially explosive atmosphere.
• Do not subject the controller or connected devices to a sudden change in temperature, as condensation may occur.

Warning

General
• Do not use with any power voltage other than 24 V DC. Doing so may cause fire, electric shock, or product malfunction.
• Do not disassemble or modify the unit. Doing so may cause fire or electric shock.
Operating environment and conditions
• For safe and proper use of the controller, avoid installing it in the following locations: Doing so may cause fire, electric shock, or product malfunction.
- Locations that contain moisture or dust, or that are poorly ventilated.
- Locations where the controller is exposed to direct sunlight or temperature increases.
- Locations where there are flammable or corrosive gases.
- Locations where the controller may be subjected to vibration or shock.
- Locations where water, oil or chemicals may splash onto the controller.
- Locations where static electricity is present or electric discharge may occur.
• Keep the controller and cables away from high voltage cables or power lines. Otherwise, noise interference may cause malfunction or accidents.
• Bundle cables with a protective spiral tubing material. Direct bundling will concentrate the cable load on the bindings, which can result in cable damage or short circuit.
• The controller and optional devices are precision components. To maintain performance do not subject them to vibration or shock.
4
Safety information for XG-8000 Series
Measures to be taken during abnormal performance
In the following cases, turn the power OFF immediately. Using the system in a defective condition may cause fire, electric shock, or product malfunction. Contact your local Keyence office for repair.
• If water or debris enters the system
• If the system is dropped or the case is damaged
• If smoke or a burning smell is emitted from the system

Caution

Usage
• Before connecting or disconnecting cables or expansion units, be sure to turn off the controller and other connected devices. Failure to do so may result in malfunction of the controller or connected devices.
• Do not turn the power off while you are programming. Otherwise, all or part of the program settings may be lost.
• Do not block the ventilation holes. Otherwise, the inside temperature may rise and malfunction may occur.
• Do not allow an excessive amount of sunlight or other bright light to enter the camera for a long period of time. Doing so may cause damage to the CCD inside the camera.

Note

Maintenance
Do not clean with benzene, thinner, or alcohol. Doing so may cause discoloration or deformation of the controller. If the controller has been contaminated in any way, use a cloth moistened with a mild detergent to wash off, then wipe dry with a dry cloth.
5

Precautions on Regulations and Stabdards

Precautions on Regulations and Stabdards

CE marking

Keyence Corporation has confirmed that this product complies with the essential requirements of the applicable EC Directive, based on the following specifications. Be sure to consider the following specifications when using this product in the Member State of European Union.
EMC Directive (2004/108/EC)
• Applicable standard EMI: EN61326-1, Class A
• The length of cables connected to the controller and its external devices must be less than or equal to 30m.
• When using a CC-Link unit CA-NCL10E, attach a ferrite core (OP-84364) to the CC-Link dedicated cable at a position within 300 mm from the CA-NCL10E.
• When using the RS-422, attach the provided ferrite core (ZCAT2035-0930A) to the RS-422 cable at a position within 300mm from the controller.
Remarks: These specifications do not give any guarantee that the end-product with this product incorporated complies with the essential requirements of EMC Directive. The manufacturer of the end-product is solely responsible for the compliance on the end-product itself according to EMC Directive.
EMS: EN61326-1
6

Table of contents

Table of contents
Introduction .............................................................2
Notations used in this manual ..............................2
This manual and related manuals ........................3
Safety information for XG-8000 Series ...................4
General Precautions ............................................. 4
Warning ................................................................4
Caution .................................................................5
Note ...................................................................... 5
Precautions on Regulations and Stabdards ............6
Table of contents .....................................................7
Chapter 1 Function
Package Contents ............................................... 1-2
Standard Package .............................................1-2
Options ..............................................................1-2
Overview of the XG-8000 Series Machine Vision
System ........................................................... 1-3
Identifying Controls and Connectors ................... 1-4
Controller ...........................................................1-4
CC-Link Unit: CA-NCL10E (option) ...................1-6
Illumination Expansion Unit: CA-DC21E
(Option) ........................................................1-7
Handheld Controller ..........................................1-8
Special Functions assigned to Buttons and
Multiple Key Combinations ..........................1-9
Chapter 2 Installation and Connection
Standard System Configuration .......................... 2-2
Installing the Controller ....................................... 2-4
Caution on Direction of Controller Mounting .....2-4
Installing the Expansion Unit .............................2-5
Installing the Controller ......................................2-7
Installing the Camera .......................................... 2-8
Selecting the Lens ............................................... 2-9
Confirm the Working Distance from the
FOV Chart. ...................................................2-9
Information on Optional Lenses .......................2-11
Connecting Cables ............................................ 2-12
Selection and Installation of LED Lighting ......... 2-15
Selecting the Correct Lighting System ............2-15
Using the Illumination Expansion Unit .............2-16
Connecting the Encoder .................................... 2-20
Loading and Removing an SD Card .................. 2-22
Inserting an SD Card .......................................2-22
Removing an SD Card .....................................2-23
Using Dedicated Software to Access the
Controller ...................................................... 2-24
Supported Software .........................................2-24
Preparing to Connect with the Controller ........2-25
Connecting to the Controller ...........................2-26
Chapter 3 Initial Installation
Overview of Initial Installation .............................. 3-1
1. Turn on the power and perform initial setup. ... 3-2
2. Enable the Encoder
(When an Encoder is Used). .......................... 3-4
3. Activate the lights. ........................................... 3-5
4. Adjust capture settings to obtain desired image
with the line scan camera. (Fixed capture) .... 3-6
Fixed image capture at set time interval ...........3-6
Capturing when encoder input occurs .............. 3-8
4. Adjust capture settings to obtain desired image
with the line scan camera.
(Continuous capture) .................................... 3-11
Continuous image capture at a set time
interval .......................................................3-11
Capturing when encoder input occurs ............3-13
Changing the detailed settings to match the encoder
that is used ................................................... 3-15
Using the Linescan Intensity Calibration function to
adjust the capture settings ........................... 3-17
Using the Linescan Intensity Calibration .........3-17
Changing the camera LED threshold setting ..3-18
Changing the shading correction ....................3-18
7
Table of contents
Chapter 4 Discrete I/O & Communication Specifications
Overview of the I/O Interface .............................. 4-1
RS-232C Specifications ...................................... 4-2
Port Specifications .............................................4-2
Connecting to a PLC / PC .................................4-3
Ethernet Specifications ....................................... 4-4
Port Specifications .............................................4-4
USB Specifications .............................................. 4-5
Port Specifications .............................................4-5
Connecting to a PC ...........................................4-5
CC-Link Specifications ........................................ 4-7
CA-NCL10E Port Specifications ........................4-7
Connecting to a CC-Link network ..................... 4-8
Parallel I/O Specifications ................................... 4-9
Connector Specifications .................................. 4-9
Default Terminal Assignment: Cable color when
OP-51657 is used. ....................................... 4-9
Terminal Block 1 & 2 Specifications .................. 4-12
Standard specifications ...................................4-12
Terminal Assignment .......................................4-13
Terminal Block 3 & 4 Specifications .................. 4-15
Standard specifications ...................................4-15
Terminal Assignment .......................................4-16
Input/Output Wiring ........................................... 4-18
Input Connections ...........................................4-18
Output Connections ........................................4-19
Chapter 5 Specifications & Dimensions
Main Specifications ............................................. 5-2
Controller (XG-8702L(P)/8502L(P)) ................... 5-2
Line scan camera
(XG-HL02M/HL04M/HL08M) .....................5-12
Illumination expansion module
(CA-DC21E) ............................................... 5-13
Camera Cable Extension Amplifier
(CA-CNX10U/CHX10U) .............................5-14
Outside dimensions ........................................... 5-15
Controller (XG-8702L(P) / 8502L(P)) and
expansion modules ...................................5-15
Handheld controller (OP-84231 (printed),
OP-84236 (blank)) .....................................5-18
Line scan camera
(XG-HL02M/HL04M/HL08M) .....................5-19
Camera cables
(line scan camera XG-HL***,
high-speed camera XG-H****) ................... 5-21
Camera cable extension amplifier
(CA-CHX10U) ............................................ 5-22
Options .............................................................. 5-23
Optional parts ..................................................5-23
Line scan lenses ............................................. 5-26
Line scan macro lens ......................................5-29
F-mount adapter (OP-87319) .......................... 5-32
Line scan LED lights ........................................ 5-33
LED Light Cables ............................................5-34
DC 24 V power supply (CA-U3) ...................... 5-35
LCD Monitor (CA-MP81) .................................. 5-37
Touch panel LCD monitor (CA-MP120T) ......... 5-38
Alphabetical Index ................................................ I-1
8
Chapter
Function
1
Function
1-1

Package Contents

Package Contents
The equipment and accessories listed below are included in the package when shipped. Check that you have received all of the equipment and accessories.

Standard Package

• Controller Unit (XG-8702L/8502L) x 1
• SD memory card OP-87133 (512 MB): XG-8502L/ 8502LP, CA-SD1G (1 GB): XG-8702L/8702LP x 1 (Installed in controller SD card slot 1.)
• Controller instruction manual x 1
• Set of terminal block labels x 1
• RS-422 ferrite core x 1

Options

• OP-84231 (Handheld controller)
• OP-84236 (blank) is also available.
• CA-DC21E (Illumination expansion unit)
• CA-NCL10E (CC-Link unit)
• CA-CHX10U/CA-CH3X (Camera cable extension amplifier & cable)
WER
PO
LIGHT 2 4
3
2
1
LIGHT 1 4
3
2
1
OUT
IN
• XG-HL02M (2048-pixel line scan camera)
• XG-HL04M (4096-pixel line scan camera)
• XG-HL08M (8192-pixel line scan camera)
•XG-E800 (Camera expansion unit)
• XG-EC80L (Line scan camera input unit)
• XG-H8NE (dedicated Vision software for XG)
- XG Vision Editor
- XG Vision Terminal
Note
Refer to "Options" (Page 5-23) for more details about other optional accessories which can be used with this system.
1-2

Overview of the XG-8000 Series Machine Vision System

Overview of the XG-8000 Series Machine Vision System
The XG-8000 Series uses a 2-way approach (either on the controller or on a PC) to build inspection programs. The controller can be used to carry out adjustments in the field, add vision units and perform product changeovers. A PC can be used to establish inspection methods and build new programs with original operation menus and other essential GUI elements. Available PC programs are the XG VisionEditor development environment and the XG VisionTerminal log data collection program.
Control input/
Image input
output
Data output
XG-8000 Series machine vision system
Function
XG-8502L/8702L
Make adjustments in the field and add functionality using the controller.
USB
.
Ethernet
XG-8000 Series controller
This controller features a multi-core DSP. In addition to running user-developed inspection programs, the handheld controller can be used to check and edit inspection flowcharts and display screen setting. This allows for instant adjustments and program changes as they become necessary without the need for a PC.
XG VisionEditor
Application software XG-H8NE
XG VisionEditor
XG VisionTerminal
Build programs and GUIs
using the PC
development environment.
XG VisionTerminal
XG VisionTerminal is dedicated software for the XG-8000 Series machine vision system. XG VisionTerminal uses a remote desktop function allowing the user to view the monitor output from the XG-8000 Series on a PC, as well as interact with the controller via a pseudo hand-held controller. (Mouse operation is also supported.) The XG VisionTerminal also allows for data & image logging directly from the XG-8000 controller to the PC.
XG VisionEditor is integrated development software for the XG-8000 Series machine vision system. It provides all the inspection program development functions and utilities required for complete processing of the XG-8000 Series. Inspection programs that include customized menus and display screens can be created.
1-3

Identifying Controls and Connectors

Identifying Controls and Connectors

Controller

I/O (parallel I/O) connector
Use for signal input and output (Page 4-9).
 
SD2 slot (upper), SD1 slot (lower)
Insert an SD card (Page 2-22).
 
The SD1 slot contains the included SD card (CA-SD1G: 1 GB or OP-87133: 512 MB).
   
 
   
Note
SD Card 1 must be inserted to operate the controller.
Camera slot
Use to connect the camera input unit. The controller is shipped with the camera input unit XG-EX80L connected in this slot.
CONSOLE connector (modular)
Use to connect the optional console (OP-84231/84236) or optional console relay cable (OP-87260: 3 m / OP-87261: 10 m).
MONITOR connector (SVGA)
Use to connect to an external monitor (Page 2-13).
Note
When using a commercial RGB analog monitor that does not support
SVGA (800 x 600 pixels) or XGA (1024 x 768 pixels), the displayed image quality may degrade and the screen may not appear correctly depending on the specifications of the monitor. (Recommended monitor: CA-MP120T or CA-MP81)
If the controller is used when XGA output is set in the inspection
settings, be sure that a monitor that supports XGA is connected. If a monitor that supports only SVGA is used, the screen may not be displayed correctly.
USB connector
Use to connect a USB cable (Page 4-5).
Expansion unit connector 1 (right side)
Use to connect the camera expansion unit (XG-E800).
CAMERA1 connector
Use to connect camera 1 (Page 2-12).
RS-232C connector (Port 2, D-sub 9 pin)
Use to connect the touch panel RS-232C cable (OP-87258: 3 m / OP-87259: 10 m, optional) or a commercial RS-232C cable (D-sub 9-pin female) (Page 4-2).
1-4
Identifying Controls and Connectors
RS-232C connector (Port 1, RJ-11)
Use to connect the optional RS-232C communications cable (OP-
26487: 2.5 m) or the optional touch panel RS-232C modular cable
(OP-87264: 3 m / OP-87265: 10 m) (Page 4-2).
 
Reference
As a default, RS-232C port 1 is used for data output/command control, and port 2 is used for the CA-series touch panel. For details about
changing the settings, see the XG-8000 Series User's Manual.
 
ETHERNET connector
Use to connect an Ethernet cable (Page 4-4).
IN2/OUT2 connector (terminal block 2)
 
Use for signal input/output (IN2/OUT2) (Page 4-15).
IN1/OUT1 connector (terminal block 1)
 
Use for signal input and output (OUT1/IN1) (Page 4-12).
Power and ground terminals
Use to connect power (24 V DC) and the ground wire (Page 2-13).
Expansion unit connector 2 (left side)
Use when connecting the illumination expansion unit (CA-DC21E) or CC-Link unit (CA-NCL10E) (Page 2-5).
Function
Note
When the illumination expansion unit CA-DC21E is connected, Flash control is limited to Flash 1 - 4.
1-5
Identifying Controls and Connectors

CC-Link Unit: CA-NCL10E (option)

Connector on expansion unit side
L RUN
SD
RD
L ERR
DA
DB
DG
SLD
(FG)
  
Use when connecting the illumination expansion unit CA-DC21E (Page 2-6).
Operation status indicator light (L RUN)
ON: Master station and self station are updating the data correctly (green light lit).
OFF: Data communication timed out (light will turn on when data is being received correctly).
Data indicator (SD)
ON: Data is being transmitted.
Data indicator (RD)
ON: Data is being received.
Error indicator lamp (L ERR)
ON: : Communication error (red light lit).
Flashing at constant intervals: Station number or communication speed setting was changed during data transfer.
Flashing irregularly: Terminator is not installed properly and or the unit or CC-Link cable is being affected by electrical noise.
OFF: No communication errors
Terminal block
See the wiring diagram (Page 4-7).
Connector on controller side
Connect to the controller.
1-6
Identifying Controls and Connectors

Illumination Expansion Unit: CA-DC21E (Option)

Connector on expansion unit side
Use when connecting two or more illumination expansion units.
Power supply LED
Lit when the power is supplied to the illumination expansion unit.
Light 2 output connector
Use to connect LED light No. 2.
Light 2 intensity LED
Indicates the intensity of Light 2 in four steps.
Light 1 output connector
Use to connect LED light No. 1.
Light 1 intensity LED
Indicates the intensity of light 1 in four steps.
OUT Connector Terminal Block
Use when connecting lights directly to the terminal block.
POWER
4
LIGHT 2 3
2
1
4
LIGHT 1 3
2
1
OUT
   
IN
  
Function
Connector on controller side
Connect to the controller.
Note
Make sure to connect to the controller side connector when connecting directly to the CC-Link unit CA-NCL10E.
IN Connector Terminal Block
Use this to supply power to the illumination expansion unit, and to control the force light off input.
DIP switch for output voltage change
Use to select the output voltage on the output connector (Page 2-18).
1-7
Identifying Controls and Connectors

Handheld Controller

This section explains the common operations and functions of the handheld controller (OP-84231).
Reference
Text in parentheses indicates the labeling on OP-84231. A blank console without labels (OP-84236) is also available
for customizing button assignments.
Functions can be assigned to each button and to key combinations. The accessible operations on the handheld
controller can be changed for different user accounts. The operations described here assume the handheld controller is being used with the default assignments by a user with administrator privileges. The actual operation may differ for your console. For more details, see "System Settings" in the XG VisionEditor Reference Manual.
FUNCTION TRIGGER
ESCAPE
SCREEN MENU
VIEW
No. 0/8-way thumbpad
Press the outer cursor button up, down, right or left to move the selected item on the screen. Press the button in the center to confirm the setting on the screen.
No. 1 button (FUNCTION)
Press the button to toggle the function menu on/off. It is also setup by default as a combination button.
No. 4 button (SCREEN)
This button cycles the screen through different display types (raw image 1, filtered, etc.).
No. 5 button (VIEW)
Press to display the View Toolbar, zoom in or out on the screen, or to switch between options such as result values or display templates.
No. 7 Back button
This button calls up the function menu, just like the No. 1 (FUNCTION) button. It is also used to toggle the flowchart area on screen between normal and enlarged. Pressing and holding the button displays the entire flowchart. Some of the button combinations differ from the No. 1 (FUNCTION) button.
No. 8 selector switch (RUN/STOP)
Flicking this switch toggles between edit and run modes. Flick this switch to show/hide the Flow Editor.
Reference
It is also possible to forcibly change from Remote capture mode to Run mode.
No. 3 button (TRIGGER)
Press this button to issue a trigger for all cameras. Press and hold the No. 3 button in the flowchart view to issue a continuous trigger (only when trigger input is enabled). Press the No. 3 button (TRIGGER) again to stop triggering.
1-8
No. 6 button (MENU)
This button displays the image bar and performs operations related to Retest mode.
No. 2 button (ESCAPE)
Press this button to return to the previous screen or to resume the previous operation.
Identifying Controls and Connectors

Special Functions assigned to Buttons and Multiple Key Combinations

The buttons on the handheld controller perform special functions when pressed under certain conditions. Various other functions can be performed using key combinations (pressing two or more buttons simultaneously). Note, the functions available will differ depending on the controller operating state, and the functions assigned to the key combinations on the handheld controller.
1. Operation when turning on the power (special button function)
Operation Buttons to use
Initialize the controller to the default settings and
format the contents of SD Card 1
Forcibly display the initial startup screen (Page 3-2). No. 1 button + power ON
Forcibly start the controller in Offline mode No. 1 button + 8-way touchpad UP + power ON
Acquire network settings by BOOTP protocol. No. 6 button + power ON
Note
Never turn off the power while initialization of the controller is in progress. Doing so may cause errors in the internal
data.
Initializing the contents of SD Card 1 in the controller will erase all files, including inspection setting files and the
system settings file which contains settings for terminal assignments, etc. When the controller is started immediately after it was initialized, settings are automatically created for the language and resolution that were selected on the initial startup screen.
No. 2 button + power ON
Function
2. Operation when the power is on (combination keys: default settings)
Operation Buttons to use
Saving the current image on the screen to
SD Card 2
(Screen capture)
Send a reset signal to the controller during Run
mode.
Switching the screen display No. 1 button (FUNCTION) + No. 4 button (SCREEN)
Change the opacity for the dialog menus. No. 1 button (FUNCTION) + No. 6 button (MENU)
Reference
In addition to the above, there are also key operations which can only be used from the Flow Editor and Screen Editor. For more details, see the XG-8000 Series User's Manual.
No. 1 button (FUNCTION) + No. 5 button (VIEW)
Or
No. 7 Back button + No. 5 button (VIEW)
No. 1 button (FUNCTION) + No. 2 button (ESCAPE)
Or
No. 7 Back button + No. 2 button (ESCAPE)
Or
No. 7 Back button + No. 4 button (SCREEN)
Or
No. 7 Back button + No. 6 button (MENU)
1-9
Identifying Controls and Connectors
1-10
Chapter
2
Installation and Connection
Installation and Connection
2-1

Standard System Configuration

Standard System Configuration
Example of a standard system setup with one camera
24 V DC power supply
CA-U3 (optional)
Controller XG8702L/8502L
Touch panel LCD monitor CA-MP120T (optional)
Handheld Controller (OP-84231, optional)
Camera XG-HL02M XG-HL04M XG-HL08M
* XG-8702L only.
SD card (OP-87133, A512MB*) (Inserted in slot SD1 on controller)
* XG-8702L comes with 1 GB (CA-SD1G)
Camera cable CA-CH3 (3 m) (optional)
Lens (optional)
* *
Reference
For more information on connecting cables to cameras, please refer to "Camera cables (line scan camera XG-HL***, high-speed camera XG-H****)" (Page 5-21).
2-2
Standard System Configuration
Example of a standard system setup with two line scan cameras
Camera Expansion Unit XG-E800 + XG-EC80L (option)
Controller XG-8702L/8502L
24 V DC power supply
CA-U3 (optional)
Handheld Controller (OP-84231, optional)
Touch panel LCD monitor CA-MP120T (optional)
SD card (OP-87133, A512MB*) (Inserted in slot SD1 on
controller) * XG-8702L comes with 1 GB (CA-SD1G)
Camera cable CA-CH3 (3 m) (optional)
Cameras 1 & 2 XG-HL02M XG-HL04M XG-HL08M
* XG-8702L only.
* *
Installation and Connection
Lens
Reference
For more information on connecting cables to cameras, please refer to "Camera cables (line scan camera XG-HL***, high-speed camera XG-H****)" (Page 5-21).
2-3

Installing the Controller

Installing the Controller
Install the controller to the DIN rail, or use the holes on the bottom of the controller to secure it with screws.
Do not install the controller in a location with a large amount of dust or water vapor. The controller does not have a
Turn off the controller when connecting or disconnecting an expansion unit, cable, or terminal block. Connecting or
When an expansion unit is not connected, keep the connector protection cover on the controller. Using the
• Install the controller in the direction indicated by the circle shown below. Do not install the controller in
Note
mechanism to protect it from dust or water. Dust or water entering the controller can cause damage to the controller.
disconnecting a camera expansion unit, cable, or terminal block while connected to a power source may damage the controller or peripheral devices.
controller with the connector exposed may cause damage to the controller.

Caution on Direction of Controller Mounting

any other direction.
• For ventilation, ensure a minimum of 50 mm of space above the controller unit and 50 mm of space on either side. Maintain 90mm or more of space in the front of the connector panel of the controller to ensure the cables can be properly connected.
• When two or more controllers are installed side by side, ensure a minimum of 50 mm of space between the controllers, and 50 mm above both controllers.
50mm
Note
Do not block the ventilation openings on the top and bottom of the controller. If the vents are blocked, heat will accumulate inside the controller and can cause system failure.
If the temperature inside the control panel (temperature at the top of the front of the controller) exceeds the recommended specification, use forced air-cooling or increase the free space around the controller to improve ventilation until the operating ambient temperature drops below the recommended specification.
50mm
50mm 50mm
50mm
2-4
Installing the Controller

Installing the Expansion Unit

Note
Turn off the controller when connecting or removing an expansion unit. Connecting or removing the camera
expansion unit while connected to a power source may damage the controller or peripheral devices.
When an expansion unit is not connected, keep the connector protection cover on the controller. Using the
controller with the connector exposed may cause damage to the controller.
Installing the Camera Expansion Unit
When connecting 2 or more cameras, attach the camera input unit to the camera expansion unit XG-E800, then install the controller. (Each sold separately) Remove the protective cover from connector 1 on the right side of the controller and install the camera expansion unit as shown below.
Installation and Connection
Installing the Communication Expansion Module
The optional CC-Link unit CA-NCL10E is used when communicating via CC-Link (Page 4-7). Remove the protective cover from connector 2 on the left side of the controller and install the CC-Link unit as shown below.
2-5
Installing the Controller
Installing the Illumination Expansion Unit
Up to 4 CA-DC21E illumination expansion units can be connected for the control of up to 8 individual lights. Remove the protective cover from connector 2 on the left side of the controller and install the illumination expansion unit as shown below.
Illumination expansion unit
Connecting multiple units Spacer (included with the illumination expansion unit)
Note
It is necessary to mount the supplied spacers before mounting the illumination expansion unit.
Turn off the controller when connecting or removing an illumination expansion unit. Connecting or removing the
illumination expansion unit while connected to a power source may damage the controller or peripheral devices.
When an illumination expansion unit is not connected, keep the connector protection cover on the controller. Using
the controller with the connector exposed may cause damage to the controller.
When Using the Illumination Expansion Unit and CC-Link Unit Together
Mount the CC-Link unit CA-NCL10E directly to the controller, then mount the illumination expansion unit to the left side of the CC-Link unit.
CC-Link unit CA-NCL10E
Spacer (included with the illumination expansion unit)
Illumination expansion unit CA-DC21E
2-6
Note
The CC-Link unit cannot be mounted to the left side of the illumination expansion unit. If connected by mistake, it may damage the controller itself or the peripherals.

Installing the Controller

Installing the Controller
Installing the Controller on a DIN Rail
The controller and the expansion unit are designed to be mounted on a DIN rail.
Ta b
Pull the tab on the bottom in the direction of the arrow to mount or dismount the controller.
Mounting to the Bottom of the Controller
Installation and Connection
M4 screws
Note
Mount the controller in a stable location that is free from vibration.
2-7

Installing the Camera

Installing the Camera
Notes on Electrical Insulation
• The camera case acts as the ground for the camera circuit. If the installation bracket or mount has any electrical potential or noise, it may cause internal damage and malfunction. For secure insulation, be sure to use the plastic mounting bracket and screws that are supplied with the controller when installing the camera.
• If the supplied plastic mounting parts are not used in the installation, take appropriate measures insulate the camera adequately.
1 Install the lens on the camera.
Select an appropriate lens according to the size of the object or distance between the object and the
camera (Page 2-9).
Lens
Note
Do not touch the inside of the camera when installing the lens.
Take care to ensure dust and/or foreign material does not enter into the camera.
2 Install the camera using the screw holes provided on the plastic mount.
There are three types of screw holes. Use the standard camera connection and appropriate screw
holes suitable for the mounting setup.
Note
When installing the camera, use a tightening torque of 0.5 Nm and a maximum tension of 30 N.
Leave enough space around the lens to ensure easy adjustment of the focus and aperture.
If the camera is mounted where there is vibration, the lens mount or the lock screw for the lens may loosen. Use
of a locking bond adhesive is recommended in such a case.
Mounting the provided plastic mount on a side other than the bottom of the camera can cause gaps between
the mount and the camera. If the installation needs to be very precise, try to fix the mount to the bottom of the camera.
Reference
To allow for future adjustment of the camera, an optional XY stage is available (CA-S2040). Using slot holes for the mounting screws of the camera will allow for similar adjustments to be made.
2-8
Warning on Installation Space for the Camera
When installing the camera, maintain 30 mm or more of space above the camera and 15 mm or more on both sides.
15mm
30mm
15mm

Selecting the Lens

Select the lens according to the width of the target (FOV, field of view: X) and the distance between the camera and the target (working distance). Select a suitable lens referencing the FOV chart.
Width: X
Target

Confirm the Working Distance from the FOV Chart.

Selecting the Lens
Installation and Connection
WD (Working distance)
• The numbers in the FOV chart represent the thickness required for the close-up ring. Install the close-up ring between the lens and the camera when required.
• The asterisk (*) symbol in the FOV chart indicates the type of lens.
Note
The numerical numbers shown in the FOV chart are typical values.
Reference
For information about the area camera FOV Chart, refer to the XG-8000 Series Setup Manual (Area Camera Edition).
2-9
Selecting the Lens
0
Using a 2048-pixel Line Scan Camera (XG-HL02M) or 4096-pixel Line Scan Camera (XG-HL04M)
Example: When using the CA-LHW16 with a required field of view of 200 mm, the chart shows that the working
distance should be set to 200 mm and the 0.5 mm close-up ring should be used.
High-resolution lens for line scan cameras (CA-LHW/CA-LM)
1000
0.5
0.5
1.0
1.5
5
x0.25
100
X: Field of view
(mm)
10
1.0
1.5
x0.5
x0.75
x1.0
1
100010010
WD: Working distance (mm)
CA-LHW8
CA-LHW12
CA-LHW16
CA-LHW25
CA-LHW35
Note
C-mount lenses other than CA-LHW cannot be used with a line scan camera.
Using a 8192-pixel Line Scan Camera (XG-HL08M)
High-resolution lens for line scan cameras (CA-LHL/CA-LML)
1000
100
X: Field of view
(mm)
10
x0.75
x1.0
x0.25
x0.5
CA-LHW50
10000
CA-LM021
2-10
1
CA-LHL16
CA-LHL25
WD: Working distance (mm)
CA-LHL35
CA-LML0210
100010010
10000

Information on Optional Lenses

Contact your local Keyence office if you require lenses not shown here.
For XG-HL02M/XG-HL04M
Model Type (mount) Focal Distance
CA-LHW8 1-inch lens (C-mount) 8 mm
CA-LHW12 1-inch lens (C-mount) 12.5 mm
CA-LHW16 1-inch lens (C-mount) 16 mm
CA-LHW25 1-inch lens (C-mount) 25 mm
CA-LHW35 1-inch lens (C-mount) 35 mm
CA-LHW50 1-inch lens (C-mount) 50 mm
CA-LM0210 1-inch lens (C-mount) Variable zoom (0.25 - 1 x)
For XG-HL08M
Selecting the Lens
Installation and Connection
Model Parameters Focal Distance
CA-LHL16 2-inch lens (M40P0.75) 16 mm
CA-LHL25 2-inch lens (M40P0.75) 25 mm
CA-LHL35 2-inch lens (M40P0.75) 35 mm
CA-LML0210 2-inch lens (M40P0.75) Variable zoom (0.25 - 1 x)
2-11

Connecting Cables

Connecting Cables
Notes when connecting cables
• Make sure that there is no power to the controller before connecting cables. Connecting cables while the power is turned on may cause damage to the camera or peripherals.
• Bundle cables with a spiral tubing like protective material. Direct bundling will concentrate the cable load on the bindings, which can result in cable damage or short circuit.
• In the absence of other specifications, the minimum cable flexibility (R) should be 3 times the external diameter (5 times is recommended). Additionally, repeated flexing and twisting should be avoided. The minimum bend radius is the same, even when using high-flex cable. Unless otherwise stated, use R100 or greater.
1 Connect the camera to the camera connector of the controller using one of the optional camera
cables.
Attach the camera to the connector on the camera input unit.
To Camera 1 connector
Camera 1
Note
With a XG-HL**** line scan camera, only CA-CH* camera cables can be connected.
Do not connect the CA-CH cable to other cameras. Doing so may result in malfunction.
Using the camera cable extension amplifier
Camera cables can be extended by using the camera cable extension amplifier and dedicated
extension cable (Page 5-22).
Camera cable extension amplifier
2-12
For more information on connection, read the instructions provided with the camera extension
amplifier.
Loading...
+ 100 hidden pages