0% found this document useful (0 votes)
455 views104 pages

AS 119345 XG-X 3DVision SG A23GB WW GB 2033 2

Keyence XG-X 3D VIsion Manual

Uploaded by

Dea
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
455 views104 pages

AS 119345 XG-X 3DVision SG A23GB WW GB 2033 2

Keyence XG-X 3D VIsion Manual

Uploaded by

Dea
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 104

A23GB

Customizable Vision System

XG-X Series

Setup Manual
(XR Camera Edition)
Read this manual before use.
Keep this manual in a safe place for future reference.

XG-X SM(XR)-GB 1
Introduction

Introduction

This manual describes the setup procedures required for connections and initial installation of the XG-X Series (hereafter
referred to in this manual 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 the performance of the controller.
This manual applies to the XG-X Series. However, unless otherwise specified, the description in this manual basically
refers to the XG-X2800/X2802. For differences in specifications depending on the model, refer to the "XG-X Series User's
Manual".
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.

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 a hazardous situation which, if not avoided, will result in death or serious injury.

WARNING Indicates a hazardous situation which, if not avoided, could result in death or serious injury.

CAUTION Indicates a hazardous situation which, if not avoided, could result in minor or moderate injury.

NOTICE Indicates a situation which, if not avoided, could result in product damage as well as property damage.

Important Indicates cautions and limitations that must be followed during operation.

Point Indicates additional information on proper operation.

Reference Indicates tips for better understanding or useful information.

Trademarks
• Microsoft and Windows are either registered trademarks or trademarks of Microsoft Corporation in the United States
and/or other countries.
• "SD Memory Card" is a registered trademark of the SD Association.
• EtherCAT® is a patented technology and registered trademark licensed by Beckhoff Automation GmbH, Germany.
• 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 XG-X SM(XR)-GB
Introduction

This manual and related manuals


This manual describes the setup procedures required for connections and initial installation of the XG-X Series (hereafter
referred to in this manual 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 the 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.

XG-X Series System Connection/Preparation for Initial Installation/Information of Product Specifications


Initial installation

Camera External XG-X Series Setup


device
Manual (this manual)
Controller

Inspection program development/Support functions for Inspection program development


Inspection program development

Creating the inspection XG-X VisionEditor


settings and setting the
controller by XG-X VisionEditor
Reference Manual

Controller

Creating the inspection


settings and setting the XG-X Series
controller by functions built User's Manual
into the controller

Controller

Creating GUI/Tool simulation


Support tool for operation

XG-X VisionEditor
Operation methods of
Reference Manual
tools by XG-X VisionEditor

Controller

Operation methods of XG-X Series


tools by functions built
into the controller
User's Manual

Controller

Communication and control with external equipment


Communication control/external monitoring

External terminals
PLC-Link XG-X Series
CC-Link
EtherNet/IPTM Communications
External
device Control Manual
ActiveX PROFINET
EtherCAT XG-X ActiveX Control
control FTP
Controller Reference Manual
No protocol
communication

Remote monitoring of operation condition


XG-X VisionTerminal
User's Manual

Controller

A23GB XG-X SM(XR)-GB 3


Safety information for XG-X Series

Safety information for XG-X Series

Safety Precautions

• 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.
DANGER • Do not use this product in an application that may cause death, serious injury or serious property damage
due to a failure with this product should occur, such as nuclear power plants, on aircraft, trains, ships, or
vehicles, used within medical equipment, playground equipment, roller coasters and other rides, etc.

You must perform a sufficient risk assessment for the machine where this product is to be installed prior to
WARNING installing this product. Provide appropriate protective fail-safe measures on the machine independent from this
product in case a failure with this product should occur.

• You must verify that this product is operating correctly in terms of functionality and performance before the
start and the operation of this product.
CAUTION • We recommend that you take substantial safety measures to avoid any damage in the event of an assumed
problem occurring.

• Do not modify this product, or use it in any way other than described in the specification.
• When this product is used in combination with other instruments, functions and performance may be
NOTICE degraded, depending on the operating conditions and surrounding environment.
• Do not subject the controller or connected devices to a sudden change in temperature. There is the risk of
condensation occurring.

General cautions for the controller

• Do not use with any power voltage other than 24 VDC. Doing so may cause fire, electric shock, or product
malfunction.
WARNING • Do not disassemble or modify the unit. Doing so may cause fire or electric shock.
• Projectors (phototransmitters) 1 and 2 of the XR camera emit light that may be hazardous to human eyes. Do
not look at the radiated light.

Operating environment and conditions

To use the system properly and safely, avoid installing this unit 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 system is exposed to direct sunlight or temperature increases.
CAUTION
• Locations where there are flammable or corrosive gases.
• Locations where the unit may be directly subjected to vibration or impact.
• Locations where water, oil or chemicals may splash onto the unit.
• Locations where static electricity is present or electric discharge may occur.

• Keep the unit and cables away from high-tension cables and power lines.
• Bundle cables with the camera cable protector (OP-88208) or protective material like spiral tubing. Direct
NOTICE bundling will concentrate the cable load on the bindings, which can result in cable damage or a short circuit.
• The controller and optional devices are precision components. To maintain performance, do not subject
them to vibration or shock.

Measures to be taken when an abnormality occurs

In the following cases, turn the power OFF immediately. Using the unit in an abnormal condition may cause fire,
electric shock, or product malfunction. Contact your local Keyence office for repair.
CAUTION • If water or debris enters the system
• If the system is dropped or the case is damaged
• If smoke or a burning smell emits from the unit

4 XG-X SM(XR)-GB
Safety information for XG-X Series

Usage

• Before making any connections/disconnections, be sure to turn off the power of this unit and connected
devices. Failure to do so may result in a 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
NOTICE lost.
• Do not block the ventilation holes. Otherwise, the inside temperature may rise and a malfunction may occur.
• Do not allow an excessive amount of sunlight or bright indoor light to enter the camera for a long period of
time. Doing so may cause damage to the CCD inside the camera.

Maintenance

• Do not clean with benzene, thinner, or alcohol. Doing so may cause discoloration or deformation of the unit.
NOTICE • If the unit has any dirt on it, wipe it off with a cloth moistened with a mild detergent, then wipe with a dry cloth.

Precautions on Regulations and Standards

CE and UKCA Markings


Keyence Corporation has confirmed that this product complies with the essential requirements of the applicable EU Directive(s) and UK
regulations, based on the following specifications. Be sure to consider the following specifications when using this product in the Member
States of European Union and in the United Kingdom.

EMC Directive (CE) and Electromagnetic Compatibility Regulations (UKCA)


• Applicable standard (BS)EN61326-1, Class A
• This product is intended to be used in an industrial environment.
• Use cables shorter than or equal to 30 m to connect this product and its external devices.
• Be sure to connect the ground terminal to a grounding.
• When connecting the CC-Link unit CA-NCL20E, attach a ferrite core (OP-84364, optional) within 300 mm on the CA-
NCL20E side of the CC-Link dedicated cable.
Remarks: These specifications do not give any guarantee that the end-product with this product incorporated complies
with the essential requirements of the EMC Directive and Electromagnetic Compatibility Regulations. The manufacturer of
the end-product is solely responsible for the compliance of the end-product itself according to the EMC Directive and
Electromagnetic Compatibility Regulations.

FCC Regulations
This product complies with the following regulations specified by the FCC.
• Applicable regulation FCC Part 15 Subpart B Class A
• This device complies with part 15 of the FCC Rules.
Operation is subject to the following two conditions: (1)This device may not cause harmful interference, and (2) this
device must accept any interference received, including interference that may cause undesired operation.
• FCC CAUTION
Changes or modifications not expressly approved by the party responsible for compliance could void the user's
authority to operate the equipment.

KC mark (Republic of Korea)

사 용 자 안 내 문
이 기기는 업무용 환경에서 사용할 목적으로 적합성평가를 받은 기기로서
가정용 환경에서 사용하 는 경우 전파간섭의 우려가 있습니다.

XG-X SM(XR)-GB 5
Tips on Correct Use

Tips on Correct Use

Use of Dust-Proof Air Purge Unit


If there are any foreign substances (such as dust or oil) on the cover glass of the optical lens, the measurement precision
decreases. To keep the precision stable, use of the dust-proof air purge unit XR-AP1 (sold separately) is recommended.

Fluctuations in Measured Values Immediately after Power-On


After the camera is turned on, measured values vary due to heat generated by the camera. Warm-up time (measurement
operation: approximately 30 minutes/LED intensity adjustment, 3D calibration: approximately 2 hours) is required until the
measured values stabilize. Note that the warm-up time until the values become stable varies depending on the ambient
environment. Before using the camera, check its warm-up time in the environment where it will actually be installed.

Fluctuations in Brightness of Projectors


Since LED elements are used in the projectors of the XR camera, measurement results may vary depending on ambient
temperature or reduction in intensity due to age deterioration. In such cases, adjust the intensity by using the LED Intensity
Adjustment function of the camera (Page 4-10).

6 XG-X SM(XR)-GB
Table of Contents

Table of Contents

Introduction ................................................................. 2 Switching between Run Mode and Setup Mode ... 4-3
This manual and related manuals ............................ 3 Checking the Wiring ................................................ 4-4
Safety information for XG-X Series .............................. 4 Checking the Input Signal ..................................... 4-4
Safety Precautions .................................................... 4 Checking the Output Signal .................................. 4-5
Precautions on Regulations and Standards ............. 5 Adjusting the Camera .............................................. 4-6
Tips on Correct Use .................................................... 6 Adjusting the Position of the Camera Using Cross
Table of Contents ........................................................ 7 Hairs ................................................................ 4-6
Changing the Settings such that the Workpiece
can be Captured ............................................. 4-7
Chapter 1 Before Setting Up
In the Case that an Error Message is Displayed ... 4-7
Standard System Configuration ...............................1-2 Reference: Adjusting and Checking the XR Camera
Identifying Controls and Connectors .......................1-4 Status .................................................................. 4-9
Controller (With XR Camera input unit CA-E100T Calibrating the Camera (3D Calibration) ............... 4-9
(sold separately) installed) .............................. 1-4 Adjusting the Light Intensity of the Projector
XR Camera (XR-HT15M/HT40M) .......................... 1-6 (LED Intensity Adjustment) ............................ 4-10
Dust-Proof Air Purge Unit Reference: Adjusting the 3D View ......................... 4-11
(XR-AP1: sold separately) ............................... 1-6 Changing the Display Method for Height Image
and Profile ...................................................... 4-11

Chapter 2 Installing and Checking the Captured Image in 3D View Based

Connecting the Device on Height Image (3D Viewer) ........................ 4-12

Installing the Controller ............................................2-2


Caution on Direction of Controller Mounting ......... 2-2
Chapter 5 I/O Interface
Be careful in regard to cooling the unit in the Overview of the I/O Interface ................................... 5-1
installation site ................................................. 2-2 RS-232C Interface ................................................... 5-2
Installing the Expansion Unit ................................. 2-3 RS-232C Port Specifications ................................. 5-2
Fixing the Controller ............................................... 2-4 Connecting to a PC ............................................... 5-2
Installing the Camera ...............................................2-5 Ethernet Interface .................................................... 5-3
Connecting Cables ..................................................2-6 Ethernet Port Specifications .................................. 5-3
USB Interface ........................................................... 5-4
Chapter 3 I/O Wiring USB Port Specifications ......................................... 5-4
Connecting to a PC ............................................... 5-4
Overview ..................................................................3-2
CC-Link Interface ..................................................... 5-6
Trigger 1 Input .........................................................3-3 CA-NCL20E CC-Link Specifications ...................... 5-6
Permission Output for Trigger 1 Input ......................3-4 Connecting to the CC-Link .................................... 5-7
Error Output and Run Mode Output .........................3-5 CC-Link Unit (CA-NCL20E: option) ....................... 5-8
Total Status Output and Strobe Output ....................3-6 EtherCAT Interface .................................................. 5-9
Timing Chart .............................................................3-7 CA-NEC20E EtherCAT Specifications ................... 5-9
Setting the Status Change Time and Output Time ..3-8 Connecting to EtherCAT Network .......................... 5-9
EtherCAT Unit (CA-NEC20E: option) ................... 5-10

Chapter 4 Checking the Wiring and EtherNet/IP Interface .............................................. 5-11

Adjusting the Camera CA-NEP20E EtherNet/IP Specifications ............... 5-11


Connecting to EtherNet/IP Network ..................... 5-11
Starting Up the Controller ........................................4-2 EtherNet/IP Unit (CA-NEP20E: option) ................ 5-12
Check that a Screen is Displayed on the Monitor . 4-2 PROFINET Interface ............................................... 5-13

XG-X SM(XR)-GB 7
Table of Contents

CA-NPN20E PROFINET Specifications ............... 5-13 Inserting and Removing an SD Card ....................... 7-4
Connecting to PROFINET Network ...................... 5-13 Inserting an SD Card ............................................. 7-4
PROFINET Unit (CA-NPN20E: option) ................. 5-14 Removing an SD Card ........................................... 7-5
Parallel I/O Interface ..............................................5-16 Connecting and Disconnecting the USB HDD ........ 7-6
Connector Specifications .................................... 5-16 Connecting a USB HDD ........................................ 7-6
Pin Layout: Cable colors when optional Removing a USB HDD ........................................... 7-7
OP-51657 is used. ......................................... 5-16 Exporting and Importing Settings ............................ 7-8
Terminal Block Interface ........................................5-18 Exporting Settings ................................................. 7-8
Standard Specifications ...................................... 5-18 Importing Settings ................................................. 7-9
Pin Layout ............................................................ 5-19 Saving Camera Images for Simulation .................. 7-10
Input/Output Circuit ................................................5-20 INDEX ....................................................................... I-1
Input Connections ............................................... 5-20
Output Connections ............................................. 5-21

Chapter 6 Specifications and


Optional Devices
Cameras and Connectable Camera Input Unit .......6-2
Main Specifications ..................................................6-3
Controller Unit (XG-X2900/X2902/X2800/X2802) .. 6-3
XR Camera Input Unit (CA-E100T) ....................... 6-6
CC-Link Unit (CA-NCL20E) .................................. 6-6
EtherCAT Unit (CA-NEC20E) ................................. 6-6
EtherNet/IP Unit (CA-NEP20E) .............................. 6-6
PROFINET Unit (CA-NPN20E) ............................... 6-7
XR Camera (XR-HT15M/HT40M) ........................... 6-7
Camera Cables (CA-CH** Series) ......................... 6-8
Dimensions ..............................................................6-9
Controller Unit (XG-X2900/X2902/X2800/X2802) .. 6-9
USB Handheld Controller (OP-87983) ................. 6-11
Dedicated Mouse (OP-87506) ............................. 6-11
Cameras (XR-HT15M/HT40M) ............................. 6-12
Camera Cables (CA-CH** Series) ....................... 6-13
Dust-Proof Air Purge Unit (XR-AP1) ..................... 6-15
Calibration Target (for XR-HT15M) (OP-87740) .. 6-15
Calibration Target (for XR-HT40M) (OP-87741) .. 6-15
Height Standard (OP-87742) ............................... 6-15
Options ..................................................................6-16
List of Options ...................................................... 6-16
Ultracompact switching power supply
(CA-U4/U5) .................................................... 6-18
LCD Monitor (CA-MP82) ...................................... 6-21
Touch Panel LCD Monitor (CA-MP120T)/
LCD Monitor (CA-MP120) .............................. 6-22

Chapter 7 Appendix
Controlling the Handheld Controller (Optional) .......7-2
The Function for Each Button ................................ 7-2
Multiple Key Combinations .................................... 7-3
8 XG-X SM(XR)-GB
1
Chapter

Before Setting Up
Before Setting Up

Documentation for the installation and configuration methods


of the controller, software, and CAD data can be downloaded
from the following URL.
www.keyence.com/xgxus

XG-X SM(XR)-GB 1-1


Standard System Configuration

Standard System Configuration


Before Setting Up

By combining various optional (sold separately) products, such as a camera, with the controller, this unit can support
many applications. Typical basic system configurations that use the XR camera are introduced below.

Refer to "Chapter 6 Specifications and Optional Devices" (Page 6-1) for more details about the options which can be
Reference used with this controller.

Example of a standard system setup with one XR camera

In order to connect a camera to the controller, you need a camera input unit (CA-E100T) that supports the
Point camera you are going to use.

Reference Devices other than the controller are optional (sold separately).

USB Handheld Controller


Camera input unit (OP-87983)
CA-E100T
Controller
XG-X2800/X2802

Camera cable
CA-CH3(3m)

24V DC power supply


CA-U4/U5

XR camera

Touch panel LCD monitor


CA-MP120T

1-2 XG-X SM(XR)-GB


Standard System Configuration

Example of a standard system setup with two XR cameras

In order to connect a camera to the controller, you need a camera input unit (CA-E100T) that supports the

Before Setting Up
Point camera you are going to use.

Reference Devices other than the controller are optional (sold separately).

USB Handheld Controller


(OP-87983)
Camera input unit
CA-E100T x 2

Controller
XG-X2800/X2802

Touch panel LCD monitor


CA-MP120T

Camera cable
CA-CH3(3m)
24V DC power supply
CA-U4/U5

XR camera

XG-X SM(XR)-GB 1-3


Identifying Controls and Connectors

Identifying Controls and Connectors


Before Setting Up

Controller (With XR Camera input unit CA-E100T (sold separately) installed)


In order to connect a camera to the unit, you need a camera input unit (for an XR camera: CA-E100T; for an XT
Point camera: CA-E200T; for an area camera: CA-E100/E200) that supports the camera you are going to use.

(1) (1) I/O (parallel I/O) connector


(2) Used for signal input and output (Page 5-16).
(3)
(4) (2) Power supply LED
(5) Lights up when the power is being fed to the unit.
(6) (3) CONSOLE/MOUSE (USB) connector
(7) Connects the USB handheld controller (OP-87983, sold
separately), or the proprietary mouse (OP-87506, sold
(8)
separately).
(4) Error LED
(9)
Lights up in conjunction with the error output (%Error0)
ON which is being used.
(10)
(5) USB connector
(11) Used to connect a USB cable (Page 5-4).
(6) SD2 slot (upper), SD1 slot (lower)
(12) Insert an SD card (Page 7-4).
(13)
The included SD card (CA-SD1G: 1GB or OP-87133:
(14)
(15) 512MB) is inserted as SD card 1 in the lower slot (SD1).

SD Card 1 must be inserted while the


Point device is operating.

(7) RS-232C port


Used to connect an optional RS-232C communication
cable (OP-26487: 2.5 m) or an optional RS-232C modular
cable for touch panels (OP-87264: 3 m/OP-87265: 10 m).

By default, the RS-232C port is used for


Reference data output and command control. For
details about how to change the setting,
see the XG-X Series User's Manual.

(8) MONITOR (RGB output) terminal


Used to connect to an external monitor (Page 2-6).
The unit’s power GND (0V) is shared in
common with the connector shield and
signal GND.
If there is a potential difference with the
connection for the external monitor,
NOTICE this may result in breakdowns or
malfunctions of the unit and the
connected external monitor.
(Recommended monitors: CA-MP82/
CA-MP120/CAMP120T)

The unit’s monitor output is XGA (1024 ×


Point 768 pixels). If commercial analog RGB
monitors other than XGA monitors are
used, the display quality may worsen
depending on the monitor’s specifications,
and images may not properly be displayed.

1-4 XG-X SM(XR)-GB


Identifying Controls and Connectors

(9) Expansion unit connector (right side)


(1)
(2) Used when connecting various kinds of expansion
(3) units (camera input unit, illumination expansion unit, or

Before Setting Up
(4) communication expansion unit).
(5)
(10) CAMERA 1 connector
(6) Used to connect camera 1 (Page 2-6).
(7)
(11) USB HDD connector
(8) Connect VisionDataStorage (CA-SDB2T: sold
separately) or a USB 3.0/USB 2.0 compatible USB
(9) HDD.
The unit’s power GND (0V) is shared in
(10) common with the connector shield and
signal GND.
(11) NOTICE If there is a potential difference with the
connection for the USB HDD, this may
result in breakdowns or malfunctions
(12) of the unit and the USB HDD.
(13)
(14) To connect the USB cable for
(15) Point
VisionDataStorage OP-88263, see the
OP-88263 Instruction Manual and the
VisionDataStorage User’s Manual.

• If there are concerns about the potential


Reference difference with the connections, then
use a USB HDD which supports bus
powered drives.
The unit’s bus power feed capacity is
900 mA (USB 3.0 compatible).
Check with the USB HDD manufacturer
concerning the compatibility with bus
powered drive of the USB HDD that you
are using.
In addition, do not use USB hubs since
they may cause the feed capacities and
the data transmission speeds to decrease.
• For information about connecting and
disconnecting the USB HDD, see
"Connecting and Disconnecting the
USB HDD" (Page 7-6).

(12) ETHERNET connector


Used to connect an Ethernet cable (Page 5-3).
(13) OUT/IN connector (Terminal block)
Used for signal input and output (OUT/IN) (Page 5-18).

(14) Power and ground terminals


Used to connect power (24 V DC) and the ground wire
(Page 2-7).
(15) Fan unit
Equipped with controller cooling fan unit (CA-F100).
Although the equipped fan unit can be
detached and replaced for maintenance,
NOTICE the controller cannot be operated with
the fan unit detached.

XG-X SM(XR)-GB 1-5


Identifying Controls and Connectors

XR Camera (XR-HT15M/HT40M)
(1) Mounting holes
Before Setting Up

(1)
Use the included hexagon socket head bolts to mount
the camera.
For more details, see "Installing the Camera" (Page 2-5).
(2) Air purge unit mounting screw holes
(2)
Use to mount the dust-proof air purge unit XR-AP1
(sold separately).
(3)
(4) (3) Projector (phototransmitter) 2
(5) Emits LED light beam for measurement.
Protected with a cover glass.

(6) (4) Sensor (photoreceptor)


Receives LED light beam for measurement.
Protected with a cover glass.
(5) Projector (phototransmitter) 1
Emits LED light beam for measurement.
Protected with a cover glass.
(7) (6) Mounting screw holes
Use to mount the camera.
(7) Camera connector
Use to connect a dedicated camera cable.

Dust-Proof Air Purge Unit (XR-AP1: sold separately)


The dust-proof air purging unit is used when the environment is one where foreign substances such as dust or oil get on
the XR camera’s optical lens cover glass which makes the measuring precision degrade.
Refer to the user’s manual for the dust-proof air purging unit in regard to the procedures for installing the dust-proof air
purging unit and how to supply air.

(1) (1) Light receptor air inlets (use either one)


(2) Projector’s projection air inlets

Distinguish the air inlets for the light receptor


(2) Reference and the projector’s projection part via the arrows
that are printed on the sides of the instrument.
(3)
(3) XR camera installation part
(4×M3: installed on the dust-proof air purging unit’s
housing)

1-6 XG-X SM(XR)-GB


2
Chapter

Installing and Connecting the Device


Installing and
Connecting the Device

Documentation for the installation and configuration methods


of the controller, software, and CAD data can be downloaded
from the following URL.
www.keyence.com/xgxus

XG-X SM(XR)-GB 2-1


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.
Installing and Connecting the Device

• Do not install the controller in a location with lots of dust or water vapor. The controller does not have a mechanism
to protect it from dust or water. Dust or water entering the controller can cause damage to the controller.
• Turn off the controller when connecting or disconnecting an expansion unit, cable, or terminal block.
NOTICE Connecting or disconnecting a camera expansion unit, cable, or terminal block 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.

Caution on Direction of Controller Mounting


• Install the controller in the direction indicated by the circle shown below. Do not install the controller in any other direction.

Be careful in regard to cooling the unit in the installation site


• For ventilation, keep the space free of objects for 50 mm or more above the controller and 50 mm or more for both sides. Keep
the space free of objects for 90 mm or more in the front of the connector panel in order to connect the cables safely.
• If the controller units are to be installed in rows, make
sure that there are spaces of 50 mm or more between
the controllers, and spaces of 50 mm or more above 50mm 50mm
them.
* If spaces of 50 mm or more are ensured of even on the
underside orientations by DIN rail mounting, etc., then
50mm 50mm 50mm
the units can be used at higher than rated
temperatures.
50mm* 50mm*

• 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 a system failure.
• If the temperature inside the control panel (temperature at the bottom of the controller) exceeds the rating,
use forced air-cooling or increase the free space around the system to improve ventilation until the operating
ambient temperature decreases below the rating.
NOTICE • When the temperature gets high inside the controller unit, the unit may display abnormal heat generation
alerts such as the following. (1) Warning: you are being notified that it is likely that operations may be
terminated due to high temperatures, (2) Operations terminated: as the possibility of thermal runaway and
unit damage occurring due to high temperature is high, operations are terminated as error state.
If these alerts are displayed, quickly implement countermeasures, such as lowering the usage ambient
temperature below the rated temperature, cooling the controller, and so on.

• The controller is factory-equipped with fan units (CA-F100) on its left sides. Although the fan unit can be detached and
replaced for maintenance, the controller cannot be operated with the fan unit detached.

2-2 XG-X SM(XR)-GB


Installing the Controller

Installing the Expansion Unit

• Turn off the controller when connecting or disconnecting an expansion unit. Connecting or disconnecting an
expansion unit while connected to a power source may damage the controller or peripheral devices.
NOTICE • When an expansion unit is not connected, keep the connector protection cover attached. Using the controller

Installing and Connecting the Device


with the connector exposed may cause damage to the controller.

Installing the Camera Input Unit Installing the Communication Expansion Unit
In order to connect a camera that you want to use, you can When using communication via a communication
attach a camera input unit (sold separately) to the controller. expansion unit, one optional communication expansion
Remove the protective cover of the expansion unit connector unit (CC-Link: CA-NCL20E, EtherCAT: CA-NEC20E,
from the right side of the controller, and then install the camera EtherNet/IP: CA-NEP20E, PROFINET: CA-NPN20E) can be
input unit as shown below. attached.
Remove the protective cover from the expansion unit
connector on the right side of the camera input unit
attached to the controller and install the communication
expansion unit as shown below.

• Illumination expansion units and


Point Communication Expansion units cannot
be installed between camera input units
and controllers. Camera input unit
• Up to two compatible camera input units can
be attached to the controller (XG-X2800/X2802/
X2900/X2902). Communication
However, the CA-E100L/E200L input unit expansion unit
for line scan cameras and the CA-E100LJ/
E110LJ LJ-V Series head input unit cannot • Communication Expansion units cannot
be combined and attached to the CA-E100T Point be installed between camera input units
input unit for XR cameras or to the CA- and controllers.
E200T input unit for XT cameras. • Multiple communication expansion units
cannot be used at the same time.

XG-X SM(XR)-GB 2-3


Installing the Controller

Fixing the Controller

Mount the controller in a stable location that is free from vibration. Failure to do so will cause the controller to
NOTICE malfunction.
Installing and Connecting the Device

When mounting the controller on a bottom surface, you have to consider the heat dissipation of the bottom surface.
Reference For more details, see "Be careful in regard to cooling the unit in the installation site" (Page 2-2).

Installing the Controller on a DIN Rail Base Installation of the Controller


The controller and the expansion unit are designed to be
mounted on a DIN rail.

Tab
Pull the tab on the bottom in the direction of the arrow
to mount or dismount the controller.

M4 screws
(0.8 or less Nm tightening torque)

2-4 XG-X SM(XR)-GB


Installing the Camera

Installing the Camera

The figure below shows a typical installation example.

Installing and Connecting the Device


1 Adjust the distance between the camera and the
target, then secure it with screws.
• For mounting dimensions, see "Dimensions" (Page
6-9).
• Ensure that the screw holes have an effective depth
of 11 mm or more.
• Torque the screws to 2.0 to 3.0 N·m.
If you install the camera on a place with
low heat dispersion (such as plastic), the
surface of the camera will become hot,
resulting in possible burn injury. Doing so
WARNING also increases the internal temperature
and causes malfunction. Directly install
the camera on a metal plate, which
liberates the heat generated in the camera
from the mounting surface.
\

A protective sticker is affixed to the


Point Hexagon socket
optical lens of the camera when it is head bolt
shipped from the factory. Be sure to (M5 x 65, included)
peel off the protective sticker before
using the product.

2 Align the protrusion and depression of both connectors,


and then insert the camera cable securely as far as it
goes.

3 Make sure that the camera cable is inserted correctly,


then secure it by turning the knurled part of the camera
cable connector.

XG-X SM(XR)-GB 2-5


Connecting Cables

Connecting Cables
Installing and Connecting the Device

Notes when connecting cables


• Turn off the power to the controller when connecting or removing cables and terminal blocks. Connecting or
removing cables and terminal blocks while the power is being supplied may damage the camera or
peripheral devices.
• Bundle cables with a spiral tubing like protective material. Direct bundling will concentrate the cable load on
NOTICE the bindings, which can result in cable damage or short circuit.
• In the absence of other specifications, the minimum bending radius (R) should be 3 times or more the external
diameter of the cable (5 times or more is recommended). Additionally, repeated flexing and twisting should be
avoided. The minimum bending radius is the same, even when using high-flex cable. Unless otherwise stated,
use the R100 or greater when using a cable carrier.

1 Connect the camera to the camera connector of the


camera input unit which was mounted on the controller.

Do not connect cameras, LJ-V series


heads, or cables, etc. which the controller
NOTICE does not support. This may cause failures,
or breakdowns of the unit and connected
devices.

To CAMERA 1 connector

Camera 1

2 Connect the USB handheld controller (OP-87983, sold


separately) or the dedicated mouse (OP-87506, sold
separately) to the CONSOLE/MOUSE(USB)
connection port on the controller.

To CONSOLE/
MOUSE(USB)
connector

2-6 XG-X SM(XR)-GB


Connecting Cables

3 Connect the monitor to the video output terminal of the


controller.

Installing and Connecting the Device


To RGB video output terminal

The unit’s power GND (0V) is shared in common with the connector shield and signal GND.
If there is a potential difference with the connection for the external monitor, this may result in breakdowns
NOTICE or malfunctions of the unit and the connected external monitor.
(Recommended monitors: CA-MP82, CA-MP120/CA-MP120T)

• The controller’s monitor output is XGA (1024 × 768 pixels). If a commercial RGB analog monitor other
Point than an XGA monitor is used, the display quality may worsen depending on the monitor’s specifications,
and images may not be displayed properly.
• When connecting the controller via Keyence touch panel VT3 and VT3-VD4, use the special RGB cable
(3 m) OP-66842 or RGB cable (10 m) OP-87055. If a commercial RGB cable is used, the screen may not be
displayed correctly.

4 Connect the DC 24 V power.

• Use electrical wiring AWG14 to AWG22. Ring lug terminal


• Make sure to connect the frame ground terminal for the DC 24 V power
source to a Class D ground. 5.8 mm or less

• The solderless terminal sizes are noted in the figure on the right. Use a
NOTICE size that fits M3 screws.
Spade lug terminal
• Tighten the screws to a torque of 0.5 to 0.75 [Nm].
5.8 mm or less

(1) Connect 24 V DC and 0 V to the power terminals.


Do not connect the 0 V power terminal
NOTICE to the ground terminal or the ground
wire.

Connecting to 24V DC Connecting to 0V DC

(2) Connect the ground wire to the grounding


terminal.

Connect ground wire here

XG-X SM(XR)-GB 2-7


Connecting Cables

• Ground each device separately.


• Use a Class D ground.
• Keep ground resistance to 100 or less.
• Keep the ground wire as short as possible.
• If it is not possible to ground each device separately, ground them together. However, make sure that the
electrical cables are the same length.
Installing and Connecting the Device

NOTICE
Device Peripheral Device Peripheral Device Peripheral

A B B
A

A=B A>B
D-type ground (third class ground) D-type ground (third class ground) A<B
(ground resistance 100 Ω) (ground resistance 100 Ω)

2-8 XG-X SM(XR)-GB


3
Chapter

I/O Wiring

I/O Wiring

Documentation for the installation and configuration methods


of the controller, software, and CAD data can be downloaded
from the following URL.
www.keyence.com/xgxus

XG-X SM(XR)-GB 3-1


Overview

Overview

This chapter describes the wiring methods that are necessary


for basic input and output control that uses the I/O interfaces
below.
I/O Wiring

(1)
I/O interfaces used in this chapter

(1) Parallel I/O interface (40-pin) (Page 5-16)


(2) Use the specialized OP-51657 parallel connection cable
(3 m) (sold separately).
(2) Terminal block interface (OUT 9-pin) (Page 5-18)
(3)
Standard on this controller as an attachable/detachable
terminal block.
(3) Terminal block interface (IN 8-pin) (Page 5-18)
Standard on this controller as an attachable/detachable
terminal block.

Capturing images of workpieces subject to inspection, output


of the inspection result, and monitoring the status of the
controller are performed on the below terminals that are on
these I/O interfaces.

I/O terminals used in this chapter


• Trigger 1 input (Page 3-3)
A signal for capturing images. Inputs a signal from an
external device to the controller when an image is to be
captured.
• Permission output for trigger 1 input (Page 3-4)
A signal that indicates whether the controller can receive
trigger 1 input. If a signal can be received, it is output
from the controller to an external device.
• Error output and run mode output (Page 3-5)
Error output is a signal that indicates the operation state
of the controller. If an error occurs on the controller, it is
output from the controller to an external device.
Run mode output is a signal that indicates the operation
state of the controller. If this controller is running, a signal
is output from the controller to an external device.
• Total status output and strobe output (Page 3-6)
Total status output is a signal that indicates whether the
inspection result is OK or NG. If the result is NG, a signal
is output from the controller to an external device.
Strobe output is a signal that indicates the finalization of
Total status output. A signal is output from the controller
to an external device when Total status output is
finalized.

• For more details about the behavior of the


Reference above signals while this controller is running,
see the timing chart (Page 3-7).
• I/O interfaces can control commands and data
input and output in addition to those listed
above. For more details, see the "XG-X Series
Communications Control Manual".

3-2 XG-X SM(XR)-GB


Trigger 1 Input

Trigger 1 Input

This is an example of terminal wiring for inputting a trigger signal from a PLC or a synchronization sensor to the controller.
When you want to capture an image with the camera that trigger 1 is assigned to, turn on F_IN0 (TRG1) externally.
The external terminal that is to be actually wired is terminal No. 1 COMIN1 (COMIN1) and terminal No. 3 F_IN0 (TRG1) of

I/O Wiring
the terminal block interface (IN connector).

If the output device is compatible with the NPN


open collector input
When connecting an NPN PLC output to the system input

OUT F_IN0

(1) COMIN1
(COMIN1)
COM
IN1
PLC

TRG1

TRG2 (3) F_IN0


COM(-) COMIN1
TEST
(TRG1)
EXT 24V DC

PLC (NPN output) Input circuit on controller

When connecting an NPN synchronization sensor output


to the system input

Brown F_IN0

Black

Blue
COMIN1
24V DC
Input circuit on controller

If the output device is compatible with the PNP open


collector input
When connecting a PNP PLC output to the system input

F_IN0

COM(+)

COMIN1
24V DC
Input circuit on controller

OUT
PLC (PNP output)

When connecting a PNP synchronization sensor output to


the system input
F_IN0

Brown

COMIN1
24V DC
Input circuit on controller

Black

Blue

XG-X SM(XR)-GB 3-3


Permission Output for Trigger 1 Input

Permission Output for Trigger 1 Input

This is an example of terminal wiring for checking whether trigger 1 can be input. If input to trigger 1 is possible, the
controller turns on terminal No. 22 OUT4 (Trg1Ready) of the parallel I/O interface.
The terminal that is to be actually wired is terminal No. 22 OUT4 (Trg1Ready) and terminal No. 40 COMOUT2 (common for
I/O Wiring

the connector output) of the parallel I/O interface.

If the input device is compatible with the NPN


open collector output
(22) OUT4
Cable Color :
Red When connecting the output from the controller to a
(40) COMOUT2
PLC with a positive common
(Connector output
common) IN
Cable Color : Poly Switch
Black
OUT4

COMOUT2

COM(+)
24V DC
PLC input circuit Output circuit on controller
positive common

The color of the cable in the above figure is the


If the input device is compatible with the PNP
Reference color of the specialized OP-51657 parallel open collector output
connection cable (3 m) (sold separately).
When connecting the output from the controller to a
Since the controller utilizes a photo MOSFET PLC with a negative common
Point in the output elements, any one of the NPN IN
inputs, or PNP inputs can be connected by Poly Switch
simply wiring the respective compatible
OUT4
inputs. For more details about wiring, see the
connection example.
COMOUT2

COM(-)

24V DC
PLC input circuit Output circuit on controller
negative common

3-4 XG-X SM(XR)-GB


Error Output and Run Mode Output

Error Output and Run Mode Output

This is an example of terminal wiring for checking the controller's error and run statuses. If an error occurs, the controller
turns on terminal No. 3 F_OUT2 (ERR) of the terminal block interface (OUT connector). If the controller is operating, the
controller turns on terminal No. 4 F_OUT3 (RUN) of the terminal block interface (OUT connector).

I/O Wiring
The actual wiring is for terminal No. 3 F_OUT2 (ERR), terminal No. 4 F_OUT3 (RUN), and terminal No. 9 COMOUT_F
(COMF) of the terminal block interface (OUT connector).

If the input device is compatible with the NPN


open collector output

When connecting the output from the controller to a


STO
(3) F_OUT2
OR
(ERR)
PLC with a positive common
ERR

RUN
COM
OUT
(4) F_OUT3 IN
FLS1 (RUN) Poly Switch
FLS2

NC (9) COMOUT_F
COM
F_OUT2
F F_OUT3

COMOUT_F

COM(+)
24V DC
PLC input circuit Output circuit on controller
positive common
Since the controller utilizes a photo MOSFET
Point in the output elements, any one of the NPN
inputs, or PNP inputs can be connected by If the input device is compatible with the PNP
simply wiring the respective compatible open collector output
inputs. For more details about wiring, see the
connection example. When connecting the output from the controller to a
PLC with a negative common
IN
Poly Switch

F_OUT2
F_OUT3

COMOUT_F

COM(-)

24V DC
PLC input circuit Output circuit on controller
negative common

XG-X SM(XR)-GB 3-5


Total Status Output and Strobe Output

Total Status Output and Strobe Output

This is an example of terminal wiring for checking whether the total status of inspection is OK or NG. If the total status is NG, the
controller turns on terminal No. 2 OUT23 (OR) of the terminal block interface (OUT connector). As this total status is output for
STO (strobe) synchronization, terminal No. 1 OUT22 (STO) of the terminal block interface (OUT connector) is also necessary for
I/O Wiring

checking the total status.


The actual wiring is for terminal No. 1 OUT22 (STO), terminal No. 2 OUT23 (OR), and terminal No. 5 COMOUT1 (COMOUT) of the
terminal block interface (OUT connector).

• For an example of the behavior of total status OR and STO signals, refer to the timing chart (Page 3-7).
Point • To output total status OR, a terminal output unit needs to be added. For details, see the XG-X Series User's
Manual.

If the input device is compatible with the NPN


open collector output

When connecting the output from the controller to a


STO
(1) OUT22
OR
(STO) PLC with a positive common
ERR

RUN (2) OUT23


COM
OUT (OR) IN Poly Switch
FLS1

FLS2 (5) COMOUT1


NC (COMOUT) OUT22
COM OUT23
F

COMOUT1

COM(+)
24V DC
PLC input circuit Output circuit on controller
positive common

When connecting the output from the controller to a


Since the controller utilizes a photo MOSFET Relay with a positive common
Point in the output elements, any one of the NPN
inputs, or PNP inputs can be connected by Poly Switch
Load
simply wiring the respective compatible OUT22
OUT23
inputs. For more details about wiring, see the
connection example.
COMOUT1

24V DC
Relay Output circuit on controller

If the input device is compatible with the PNP


open collector output

When connecting the output from the controller to a


PLC with a negative common
IN
Poly Switch

OUT22
OUT23

COMOUT1
COM(-)

24V DC
PLC input circuit Output circuit on controller
negative common

When connecting the output from the controller to a


Relay with a negative common

Poly Switch
Load
OUT22
OUT23

COMOUT1

Relay 24V DC Output circuit on controller

3-6 XG-X SM(XR)-GB


Timing Chart

Timing Chart

An example of behavior from trigger input to total status output (when synchronizing with STO)

(1)
ON

I/O Wiring
Trigger Input
(F_IN0 %Trg1) OFF

Permission Output ON
for Trigger 1 Input
(OUT4 %Trg1Ready) OFF

B C
ON
Error Output
(F_OUT2 %Error0) OFF

ON
Run Mode Output
(F_OUT3 %Run) OFF
(2)
ON
Total Status OR Output Flow execution result at the time
of executing the terminal output unit
(OUT23 %JAHold) OFF
D E F
ON
Strobe STO Output
(OUT2 %STO) OFF

A: Smallest trigger input time 1 ms or higher


B: %Trg1Ready fall response delay 1 ms or less
C: %Trg1Ready fall time Depends on the settings
D: Output start time Depends on the settings
E: Status change time Depends on the settings (1 to 999 ms; default setting: 5 ms)
F: Output time Depends on the settings (1 to 999 ms; default setting: 10 ms)

(1) A trigger can be input when the permission output for trigger input is ON. When a trigger is input, the camera
starts capturing images.

This is the behavior when Image Capture Buffer is enabled (default setting).
Reference For details, refer to the "XG-X Series Communications Control Manual".

(2) Each time the total status OR switches, the strobe STO output turns on and after the output time has passed
turns off. Total status OR turns off for a pass (OK) and on for a fail (NG) (default setting). A pass/fail can be
determined by getting the AND of the rise of strobe STO output and the total status OR output.

• To output total status OR, a terminal output unit needs to be added (refer to Setting example)
Point the setting example).
For details, see the XG-X Series User's Manual.
• This is the behavior when there is no handshake.
For details about the behavior when there is a handshake, refer to the XG-X
Series User's Manual.
• You can change E: Status change time and F: Output time via the settings.
For information about how to change the times, refer to "Setting the Status
Change Time and Output Time" (Page 3-8).

XG-X SM(XR)-GB 3-7


Setting the Status Change Time and Output Time

Setting the Status Change Time and Output Time

You can change E: Status change time and F: Output time on the timing chart (Page 3-7) via the settings.

Depending on the PLC scan time, the output from the controller may not be able to be detected with the default
Reference
I/O Wiring

settings. In that case, set the output time (ms) and status change time (ms) to a value higher than the scan time.

1 Switch to Setup mode.


For information about how to switch modes, refer to
"Switching between Run Mode and Setup Mode" (Page
4-3). If the unit is already in Setup mode, you do not
need to follow this step.

2 On the [Global] menu, select [Communications & I/O] -


[Terminal Block & Parallel Port].

3 Adjust [Status change time (ms)] and [On time(ms)].

4 Once you have completed the settings, select [OK]. The


settings screen closes.

If you changed the input and output terminal


Point assignments, you need to restart the controller.

3-8 XG-X SM(XR)-GB


4
Chapter

Checking the Wiring and


Adjusting the Camera

Checking the Wiring and Adjusting the Camera

Documentation for the installation and configuration methods


of the controller, software, and CAD data can be downloaded
from the following URL.
www.keyence.com/xgxus

XG-X SM(XR)-GB 4-1


Starting Up the Controller

Starting Up the Controller

This section explains how to adjust the controller from its purchased condition to capture images properly.

Point To adjust the controller, you need an optional USB handheld controller (OP-87983) or a special mouse (OP-87506).

Reference The software may not operate as described below if program settings have already been uploaded.
Checking the Wiring and Adjusting the Camera

2 In the [System Language] box, select the language to


Check that a Screen is Displayed use.
on the Monitor • Japanese
• English
1 Confirm that the cables are connected correctly, and
• Traditional Chinese
then turn on the power.
• Simplified Chinese
After the opening screen is displayed, the initial
startup screen appears. • German

3 Click [Close].

If you want to change [System Language] after


Reference starting the unit for the first time, in Setup mode
select [Global] - [System Settings] - [Language] and
change to your desired language.

If nothing appears on the monitor


Check the following:
• Are the power input terminals connected correctly?
• Are you using a 24 V DC power supply that satisfies
the controller's rated consumption current?
• Have the power input terminals (+24 V) and (0 V)
been connected in reverse polarity by mistake?
• Is the monitor cable connected correctly?
• Is the monitor turned on?
• Does the monitor support XGA (1024 x 768 pixel)
resolution, and 60 Hz vertical frequency?

4-2 XG-X SM(XR)-GB


Starting Up the Controller

Switching between Run Mode and


Setup Mode

Switching from Setup mode to Run mode

1 Select [Go to Run Mode].

Checking the Wiring and Adjusting the Camera


2 If a confirmation screen appears, select [OK].
The mode switches to Run mode

Switching from Run mode to Setup mode

1 On the handheld controller, press the No. 1 (FUNCTION)


button.
The Function menu appears.

2 Select [Change to Setup Mode].

A confirmation screen appears.

3 Select [OK].
The mode switches to Setup mode.

You can also switch between Run mode and


Reference Setup mode by flipping the No. 8 switch (RUN/
STOP) on the handheld controller.
The unit starts in Setup mode as the default
setting. You can change the mode the unit starts
in to Run mode from [Global] - [System Settings]
- [Startup Settings] in Setup mode.

XG-X SM(XR)-GB 4-3


Checking the Wiring

Checking the Wiring

Checking the Input Signal 4 Input a trigger signal from the PLC to the controller and
check that the [F_IN0 (%Trg1:0)] check box is selected.
Input a trigger signal from the PLC or synchronization sensor If the signal is correctly input from the PLC to the
into the controller and check that the trigger is correctly input. controller, the check box will be selected.
Checking the Wiring and Adjusting the Camera

You can check whether the trigger signal is correctly input


into the controller on the I/O monitor. If the signal input time is short, the
Point screen refresh rate cannot keep up and
1 Switch to Setup mode.
the check box may not be selected even
if the signal was correctly input. Input
For information about how to switch modes, refer to the signal for a sufficiently long amount
"Switching between Run Mode and Setup Mode" of time.
(Page 4-3). If the unit is already in Setup mode, you do
not need to follow this step.

2 Select [Utilities].

3 Select [I/O Monitor & Diagnostics].

4-4 XG-X SM(XR)-GB


Checking the Wiring

Checking the Output Signal 4 For [Manual Control], select [ON].


If you select the check box for a terminal in this state,
Check whether the signal is output correctly from the controller
that terminal will turn on.
to the PLC.
On the I/O monitor, forcibly output a signal output by the
controller and check that you can check that signal on the PLC.

If you selected [Utilities] - [I/O Monitor &


Point Diagnostics] from the Function menu in Run
mode, you cannot forcibly output a signal.

Checking the Wiring and Adjusting the Camera


To perform forcible output, switch to Setup
mode.

1 Switch to Setup mode.


For information about how to switch modes, refer to
"Switching between Run Mode and Setup Mode"
(Page 4-3). If the unit is already in Setup mode, you do
not need to follow this step.
5 Select the check box for a wired terminal and check
2 Select [Utilities]. that it can be recognized on the PLC.

3 Select [I/O Monitor & Diagnostics].

XG-X SM(XR)-GB 4-5


Adjusting the Camera

Adjusting the Camera

In this section, the camera will be adjusted and an image 3 Select [Z Reference], and select [OK] on the
will be shown. confirmation screen.

• If you will use existing program setting data,


Reference see in "Exporting and Importing Settings"
(Page 7-8) of "Chapter 7 Appendix"
Checking the Wiring and Adjusting the Camera

• If the error message "Program settings are


referring to an unconnected camera." is
displayed, you need to set the camera model.
For more details, see "In the Case that an Error
Message is Displayed" (Page 4-7).

Adjusting the Position of the Camera


Using Cross Hairs
Adjust the position of the camera and workpiece (X/Y/Z) The [Z Reference] screen will appear and the cross
using the lighted guides for reference. hair guides will be emitted from the projector of the
camera.
1 Switch to Setup mode. 4 Adjust the position of the camera or the vertical
position of the workpiece such that the cross hairs
For information about how to switch modes, refer to
overlap correctly, to optimize the positional relationship
"Switching between Run Mode and Setup Mode" of the XR camera (projector) and the workpiece.
(Page 4-3).
5 When the position adjustment is finished, click [Close].

2 Select the capture unit.

• The Capture unit is the unit (processing


Reference unit) for capturing workpiece images
that are subject to inspection and
measurement with a camera.
• For typical handheld controller
operations and functions, refer to
"Controlling the Handheld Controller
(Optional)" (Page 7-2).

6 Select [OK] and the setting screen of the capture unit closes.

4-6 XG-X SM(XR)-GB


Adjusting the Camera

Changing the Settings such that the In the Case that an Error Message is
Workpiece can be Captured Displayed
Change the capture options such that the workpiece can be If the error message "Program settings are referring to an
captured correctly. unconnected camera." is displayed, you need to set the XR
camera model.
1 Select the capture unit.
1 In the capture unit, select [Camera-Trigger-Light
Configuration Settings].

Checking the Wiring and Adjusting the Camera


2 Select [XR Camera Settings].

2 Select [Camera Selection].

3 Input a trigger.
The image will be captured.
3 Select the applicable camera.
4 Confirm the image status, then adjust the [Shutter
Speed] if needed.

For more details on capture unit parameter


Reference adjustments, see the XG-X Series User’s
Manual.

XG-X SM(XR)-GB 4-7


Adjusting the Camera

4 Select [Auto].

5 Select [OK] to set the model for the selected camera.


Checking the Wiring and Adjusting the Camera

6 Select [OK] to close the Camera Selection screen.

7 Select [OK] to close the Camera-Trigger-Light


Configuration Settings screen.

4-8 XG-X SM(XR)-GB


Reference: Adjusting and Checking the XR Camera Status

Reference: Adjusting and Checking the XR Camera


Status

2 Place the optional calibration target in the plane


Calibrating the Camera position you wish to use as a reference.
(3D Calibration) Position it such that the dot pattern occupies the entire

Checking the Wiring and Adjusting the Camera


screen.
The positional relationship of the camera and projector may
change due to factors such as aging or temperature 3 Click [Execute].
changes, resulting in errors in the measured values. In such a
Do not move the XR camera or the
case, you can correct the positional relationship of the Point calibration target during the projection
devices and eliminate the deviation in the measured values of stripe pattern that is executed after
by performing 3D calibration using a separately sold the start of the 3D calibration.

calibration target (the OP-87740 for the XR-HT15M or the OP-


87741 for the XR-HT40M).

Reference plane correction will be executed


Reference simultaneously with 3D calibration, and the
surface of the calibration target will be
reconfigured as the reference plane.

• After the XR camera is turned on,


Point correction values vary due to the heat
generated by the camera unit. Normally, a
warm-up time of approximately 2 hours is
required until the measured values
stabilize and 3D calibration can be
performed with good accuracy. Note that
the warm-up time until the measured 3D calibration will be executed.
values become stable varies depending 3D calibration takes several tens of seconds to complete.
on the ambient environment. Before using
the camera, check its warm-up time in the
environment where it will actually be 4 When 3D calibration is complete, click [Close].
installed.
• To avoid the effects of ambient light, use a
light shield when performing 3D
calibration if possible.

1 On the [Global] menu, select [Camera Common Settings]


- [XR Camera Maintenance]- [3D calibration], and select
[OK] on the confirmation screen.

If you select [Initialize], the existing


Reference calibration settings will be deleted and the
unit will return to the factory default
calibration state.

XG-X SM(XR)-GB 4-9


Reference: Adjusting and Checking the XR Camera Status

Adjusting the Light Intensity of the 5 When the LED intensity adjustment is complete, click
[OK].
Projector (LED Intensity Adjustment)
Since LED elements are used in the projectors of the camera,
measurement results may vary depending on ambient
temperature or reduction in intensity due to age deterioration.
In such cases, adjust the LED light intensity of the projector.
Adjusting the LED intensity will also affect
Important
Checking the Wiring and Adjusting the Camera

the vision toolset settings. If the LED


intensity has been adjusted, also correct
the settings of the vision toolset.

After the XR camera is turned on, the LED


Point brightness varies due to the heat generated
by the device. Normally, a warm-up time of
approximately 2 hours is required until the
LED brightness stabilizes and LED intensity
adjustment can be performed with good
accuracy. Note that the time it takes for the
brightness to stabilize varies depending on
the ambient environment, so check this
length of time in the actual installation
environment before using the product.

1 On the [Global] menu, select [Camera Common Settings]


- [XR Camera Maintenance]- [LED Intensity Adjustment].

2 Select the image types which are to be displayed via


[Display Image] in the [Display Image] field.
If [Grayscale Image] is selected, [Ave. Intensity Value]
will be displayed at the bottom of the [LED Intensity
Adjustment] field. It can be used as the brightness
index for the entire screen.

3 If needed, adjust the shutter speed in the [Capture


Options] while checking the displayed image.

4 Adjust the light intensity level as required in the [LED


Intensity Adjustment] field while checking the displayed
image.

The LED Intensity Adjustment initial values


Reference are as per the following.
• Projector 1
Red LED 050, Blue LED 070
• Projector 2
Red LED 050, Blue LED 070

4-10 XG-X SM(XR)-GB


Reference: Adjusting the 3D View

Reference: Adjusting the 3D View

Changing the profile display


Changing the Display Method for
Display profile Sets [Display profile] to ON/OFF.
Height Image and Profile
Specify Profile The display position of the profile is
You can change the color display scale and range for the
Position specified. Select the button and then

Checking the Wiring and Adjusting the Camera


height (Z axis direction). You can check the measurement click the section of the screen where you
target range more easily by adjusting the display method wish to check the profile display.
according to the height of the target workpiece. Profile Settings The [Profile Settings] screen will
appear on which you can change the
1 On the handheld controller, press the No. 5 (VIEW) profile display setting.

button.
• If the height image is currently displayed, the
The VIEW bar appears. Reference height profile wave will appear.
You can change the height display range of the color • If the grayscale image or the image after height
bar on the VIEW bar. extraction is currently displayed, the grayscale
profile wave will appear.
The current height range and color that
Reference indicates the height of the image are
displayed on the [Height Color Map
Settings] screen or the camera screen.

2 Select [2D] and change the height image and profile


display with the menu below.

VIEW bar

Changing the height image display

Auto-fit Range Displays different colors based on the


within Region currently displayed height range. [Fit
Range within Region] will be executed
automatically at every screen update.
Fit Range Displays different colors based on the
currently displayed height range.

Fit Range Displays different colors based on the


within Region height range in the current inspection
region.
Reset Range Displays different colors based on the
upper/lower limits of the range in which
height measurement can be performed
using the XR camera.
Height Color Map The [Height Color Map Settings] appear
Settings and you can specify the center of the
height display and the upper and lower
limits of the display range.

XG-X SM(XR)-GB 4-11


Reference: Adjusting the 3D View

Checking the Captured Image in


3D View Based on Height Image
(3D Viewer)
You can check the captured height image in 3D View (XR
model) using the 3D Viewer.

The color display of the height changes


Reference according to the change in the height range.
Checking the Wiring and Adjusting the Camera

1 On the handheld controller, press the No. 5 (VIEW)


button.
The VIEW bar appears.

2 Select [3D] and operate the 3D Viewer with the menu


below.

Operating the 3D Viewer

3D Display [3D Display Settings] appears, allowing


Settings you to set the Z-axis scale and blend
ratio for 3D images and grayscale
images.
3D Display [3D Display Operation] appears,
Operation allowing you to rotate and shift in
parallel the 3D View.
Scroll Select the [Scroll] button. By using the
Cross key, you can shift the 3D View in
parallel. Additionally, you can switch
between scroll, zoom, and rotation by
pressing the No. 0 button on the
handheld controller.
Rotation Select the [Rotation] button. By using
the Cross key, you can rotate the 3D
View.

4-12 XG-X SM(XR)-GB


5
Chapter
Overview of the I/O Interface

This controller has the following communication and I/O ports.


• RS-232C Interface (Page 5-2)
I/O Interface • Ethernet Interface (Page 5-3)
• USB Interface (Page 5-4)
• CC-Link Interface (Page 5-6)
• EtherCAT Interface (Page 5-9)
• EtherNet/IP Interface (Page 5-11)
• PROFINET Interface (Page 5-13)

I/O Interface
• Parallel I/O Interface (Page 5-16)
• Terminal Block Interface (Page 5-18)

In addition to controlling the controller through the I/O ports,


measurement results can be output, the controller can be
controlled, and files can be input and output by using the
communication ports. Additionally, the expansion unit
connected to the controller is also equipped with I/O ports.
For information about the I/O and communication ports, refer
to the "XG-X Series Communications Control Manual".

Example of communication port usage


Data such as measurement results and NG images are output
to the PC via Ethernet while the inspection settings are
controlled from the PLC via RS-232C.

PLC-1 PLC-2

(Switch programs) (Switch programs)


RS-232C Command control RS-232C Command control

Data output Data output


Ethernet · Inspection Ethernet · Inspection
results results
· NG images · NG images

HUB or router

Ethernet

PC

Communication software is required to receive


Documentation for the installation and configuration methods Reference data on the computer.
of the controller, software, and CAD data can be downloaded
from the following URL.
www.keyence.com/xgxus

XG-X SM(XR)-GB 5-1


RS-232C Interface

RS-232C Interface

The RS-232C port on the system can be used to communicate


with external equipment. The system can communicate with Connecting to a PC
external equipment using two communication modes: non-
procedural mode or the PLCLink mode.
Example when RS-232C port is used
The transmitted data will differ depending on the
communication mode. Switch modes depending on the The controller can be connected to your computer using a
environment. Refer to "XG-X Series Communications Control dedicated serial cable (optional).
Manual" for more details on the non-procedural mode and
I/O Interface

switching the communication mode. When the PC has a D-sub 9-pin connector

RS-232C Port Specifications


OP-26487(2.5m)
RS-232C basic specifications
OP-26486
• Connector: RJ-11
XG-X Series PC
• Standards: The connected device must comply with EIA
(Electronic Industries Association) RS-232C standards. • In the connection example above, flow
Point control is not possible.
Item Compatibility
• The controller uses the communication
Communication System Full-duplex
settings selected in the communication
Synchronous system Asynchronous
mode specified in the System Settings in
Transmission Code ASCII (Part binary code) XG-X VisionEditor. For more details, refer
Data Length 8-bit to "XG-X Series Communications Control
Stop-bit 1-bit/2-bit Manual".
Parity-bit None/odd/even
Communication speed 9600/19200/38400/57600/115200/
230400 bps
Start Delimiter STX/ENQ/ASCII Code/None
End Delimiter CR/CR+LF/LF/EXT/ASCII Code
Flow Control None, CTS/RTS
Maximum cable length 15m

Connector specifications
The specifications of the RS-232C port on the controller are
as follows:

No. Signal Signal Description Signal direction


1 CS (CTS) Data Transmission Output
Permission
2 Not used — —
3 SD (TXD) Data Transmission Inputs
4 SG (GND) GND —
5 RD (RXD) Data Reception Output
6 RS (RTS) Data Transmission Inputs
Request

Since the controller uses the RS-232C modem


Reference definition, SD is assigned to input and RD is
assigned to output.

5-2 XG-X SM(XR)-GB


Ethernet Interface

Ethernet Interface

The Ethernet port on this controller can be used to


communicate with external devices in addition to connecting Ethernet Port Specifications
to Keyence computer application software. The controller can
communicate with external equipment using four Standard specifications
communication modes: no protocol mode based on the RS-
• Connector: RJ-45
232C command set, the PLC link mode, EtherNet/IP, or
PROFINET. The system has functionality to act as an FTP/ • Medium: 10 BASE-T/100 BASE-TX/1000 BASE-T
• Supports jumbo frames

I/O Interface
SFTP client and an external FTP server can be specified as
the output destination for sending stored images and (When the CA-NEC20E/NEP20E/NPN20E is connected)
archived data. It also has functionality to act as an FTP server • Jumbo frames are only enabled when a
to access the SD card on the controller from an external FTP Point communication expansion unit (CA-
client, and functionality to act as a VNC server to remotely NEC20E/NEP20E/NPN20E) is connected to
control the controller from an external PC client. the controller.
• To use jumbo frames, all devices on the
• To use EtherCAT communication mode, an network must support jumbo frames.
Point EtherCAT unit (CA-NEC20E: sold separately)
is necessary. For details, refer to EtherCAT
Interface (Page 5-9). Connector Specifications
• The EtherNet/IP communication mode and The specifications of the Ethernet port are as follows:
PROFINET communication mode can be
used with the Ethernet port as well as with
EtherNet/IP units (CA-NEP20E: sold 햹
separately) and PROFINET units (CA-
NPN20E: sold separately). For more details,
see the EtherNet/IP interface (Page 5-11)
and the PROFINET interface (Page 5-13).

For more details about various types of
Reference communications control using the Ethernet
port, refer to the XG-X Series Communications 10BASE-T/
1000BASE-T
Control Manual. 100BASE-TX
No.
Signal Signal
Signal Signal
direction direction
1 TX + Output TRX+ Input/Output
2 TX - Output TRX- Input/Output
3 RX + Inputs TRX+ Input/Output
4 Not used — TRX- Input/Output
5 Not used — TRX- Input/Output
6 RX - Inputs TRX- Input/Output
7 Not used — TRX+ Input/Output
8 Not used — TRX- Input/Output

Use a category 5e LAN cable or above when


Point connecting via 1000 Base-T. An STP type is
recommended for the cable structure.

XG-X SM(XR)-GB 5-3


USB Interface

USB Interface

The USB port (type 'B' female connector) on the controller is


used exclusively for connecting to Keyence computer Connecting to a PC
application software. The USB port cannot be used with any
other software. You can connect the controller to the PC via the USB port. To
connect the controller to the PC, use the optional USB cable
The power GND (0V) is shared in common with (2 m) OP-66844.
the connector shield and signal GND.
If there is a potential difference with the • Only 1 controller can be connected to a
NOTICE Point
I/O Interface

connected device, this may result in single PC.


breakdowns or malfunctions of the controller • If a cable other than OP-66844 or an extension
and the connected device. cable is used, the controller may not operate
correctly.
• The USB port is used exclusively for
connecting to a computer. Other USB
USB Port Specifications devices cannot be connected to this port.
• Communication may be interrupted due to
high voltage or electrical noise near the
Standard specifications system. If communication is interrupted,
disconnect and re-connect the USB cable,
• Connector: Female B connector
and restart the software.
• Standard: USB Version 2.0. • If communication interruption occurs
frequently, check the surrounding area for
noise sources (inverter, solenoid valve, etc.).
Connector Specifications
Specifications of the USB port on the controller are as follows:
System requirements
To connect the controller to a PC via the USB port, a PC with
the following requirements is needed.
햲 햵
• OS: Microsoft Windows10 Home/Pro/Enterprise (64 bit
햳 햴 version only), Microsoft Windows 7 Home Premium/
Professional/Enterprise/Ultimate (64 bit version only)
(Other Windows operating systems are not supported.)
• USB terminal that supports USB 2.0
Signal
No. Signal Signal direction
Description
1 VBUS VBUS -
2 D- Differential signal- Input/Output
3 D+ Differential signal+ Input/Output
4 GND GND -

5-4 XG-X SM(XR)-GB


USB Interface

Installing the USB driver


To use the controller's USB interface, you must first install
Keyence application software and the USB driver for the XG-X
Series before connecting the controller to a computer.
Normally the USB driver is installed when the Keyence
application software is installed. However, if the driver was not
installed, follow the procedure below to install the USB driver.

USB driver installation must be performed by a


Point user with Administrator privileges.

This section describes how to install the driver, using

I/O Interface
Windows 7 as an example.

1 Turn on the controller and the PC.

2 Connect the USB port of the controller and that of the PC


using the OP-66844 cable (optional).

3 On the computer, open Device Manager, and under


[Other devices] in Properties, click [Update driver]. Next,
click [Browse my computer for driver software] and specify
the folder that contains the USB driver.
The USB driver will be installed.

• If Keyence application software is installed,


Reference the USB driver will also reside in
C:\drivers\XG-H1X. You can also download
the driver from the Keyence user support
page (www.keyence.com/xgxus).
• When installing USB drivers in PC, a warning
message may appear confirming the
installation. When such a warning message
appears, click [Continue] to continue
installation.

The controller is now ready to communicate with PC


via the USB port.

XG-X SM(XR)-GB 5-5


CC-Link Interface

CC-Link Interface

The controller can be used as a remote device station on a Wiring Diagram


network connection with a CC-Link master station by
connecting the optional CA-NCL20E unit. The CC-Link
햷 DA 햲
interface supports command execution, input / output of
햸 DB 햳
system variables for control and output of measurement 햹 DG 햴
result data. 햺 SLD 햵
The settings in the Global Settings are used to set the 햻 (FG) 햶
I/O Interface

station type, communication speed, and number of


exclusive stations on the CC-Link. For more details, see
Wire Signal
the XG-X Series Communication Control Manual. No. Function
color name

• The controller must be turned off before 1, 6 Blue DA Communication wire "DA" for CC-Link.
connecting or disconnecting the CA-NCL20E Connects to the master station or other
slave stations (1 and 6 are shorted).
NOTICE unit.
• Restart the controller and master station 2, 7 White DB Communication wire "DB" for CC-Link.
after changing the CC-Link settings. Connects to the master station or other
slave stations (2 and 7 are shorted).
See "Installing the Communication Expansion
3, 8 Yellow DG Communication wire "DG" for CC-Link.
Reference Unit" (Page 2-3) for more details on connecting
Connects to the master station or other
the CA-NCL20E unit.
slave stations (3 and 8 are shorted).
4, 9 Bare SLD Shield.
wire Connect the shielded wire of the CC-Link
CA-NCL20E CC-Link Specifications Ver. 1.10 compatible cable (OP- 79426,
OP-79427, etc.) (4 and 9 are shorted.).
5, 10 — FG Frame ground "FG" for CC-Link. Ground
Standard specifications using Class D ground* (100 Ω or less) (5
and 10 are shorted).
Item
CC-Link station type Ver.1.10 remote device station * Use a cable with a nominal cross-section area
Point of at least 2 mm2 as the grounding cable.
Ver.2.00 remote device station
Communication speed 156 kbps, 625 kbps, 2.5 Mbps, 5 Mbps,
10 Mbps
Connection cable Ver.1.10 compatible CC-Link cable
FANC-110SBH, FA-CBL200PSBH, CS110
OP-79426, OP-79427
Max. total cable length 156 kbps 1200 m
625 kbps 900 m
2.5 Mbps 400 m
5 Mbps 160 m
10 Mbps 100 m
Count Select 1 station, 2 stations, 3 stations, or 4
stations.
Cyclic settings Select 1x, 2x, 4x, or 8x.
(Ver.2.00 only)

5-6 XG-X SM(XR)-GB


CC-Link Interface

CA-NCL20E terminating resistor installation


Connecting to the CC-Link DA

Precautions when wiring Terminating


resistor
Take note of the following when wiring the CA-NCL20E unit.
• When connecting the CA-NCL20E to a CC-Link DB
network/device, always use a CC-Link Ver.1.10
compatible cable or a cable approved by the CC-Link
Partner Association. Correct operation cannot be
Because terminals 1 and 6, and terminals 2
assured when using another type of cable. Reference and 7, are shorted, the terminating resistor can
• When a CC-Link cable is used near a high voltage/ be installed either onto terminals 1 and 2, or

I/O Interface
current source or cable, electrical noise may cause onto terminals 6 and 7.

operational errors. When using both a CC-Link cable


and high voltage/current devices, maintain at least
100 mm of separation between them.

Terminating resistor
When connecting a CA-NCL20E unit to both ends of the
CC-Link network, install a terminating resistor between
CA-NCL20E terminals DA and DB. Make sure to install the
terminating resistors, as they reduce signal noise and
stabilize communications.
Master station

Terminating Terminating
resistor resistor

CA-NCL20E Other unit Other unit Other unit CA-NCL20E

The terminating resistor will differ depending on the


cable type
Two of each are shipped, one for terminating each end of the
network with CA-NCL20E. Use the correct terminating resistor
for the type of CC-Link cable being used.

Cable type Terminating resistor


Ver. 1.10 compatible CC-Link cable 110Ω 1/2W
FANC-110SBH, FA-CBL200PSBH,
CS110
OP-79426, OP-79427
Brown
Brown
Brown
Gold

CC-Link cable

CC-Link high-performance cable 130Ω 1/2W


Brown
Orange
Brown
Gold

XG-X SM(XR)-GB 5-7


CC-Link Interface

CC-Link Unit (CA-NCL20E: option)


(1) Connector on controller side
Connect the unit to the controller, or to the camera
L RUN

(2) input unit or expansion unit already connected to the


(3)
L ERR

controller (Page 2-3).

Only one CC-Link unit can be connected


Point to the controller.
(4)
(2) Operation status indicator light (L RUN)
(1) (5)
• ON: Master station and self station are updating the
I/O Interface

data correctly (green light lit).


• OFF: Data communication timed out (light will turn
on again when data is being received correctly).
(3) 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
(4) Terminal block
See the wiring diagram (Page 5-6).
(5) Connector on expansion unit side
This is used when connecting an illumination
expansion unit (Page 2-3).

The camera input unit cannot be connected


Point to the connector on the expansion unit side.

5-8 XG-X SM(XR)-GB


EtherCAT Interface

EtherCAT Interface

The controller can be used as an EtherCAT slave on a Wiring Diagram (IN port/OUT port)
network connection with an EtherCAT master by
connecting the optional CA-NEC20E unit. The EtherCAT
interface supports command execution, input / output of
system variables for control and output of measurement
result data.
The settings in the Global Settings are used to set the

I/O Interface
EtherCAT. For more details, see the XG-X Series
Communications Control Manual.
No. Signal name Function
• The controller must be turned off before
connecting or disconnecting the CA- 1 TX + Transmission data (+)
NOTICE NEC20E unit. 2 TX - Transmission data (-)
• Restart the controller and master after
3 RX + Reception data (+)
changing the EtherCAT settings.
4 - Terminating resistor 75Ω connected
See "Installing the Communication Expansion 5 - Terminating resistor 75Ω connected
Reference Unit" (Page 2-3) for more details on connecting 6 RX - Reception data (-)
the CA-NEC20E unit.
7 - Terminating resistor 75Ω connected
8 - Terminating resistor 75Ω connected

CA-NEC20E EtherCAT Specifications


Connecting to EtherCAT Network
Standard specifications
Connect the network cable of the master to the IN port RJ
Item connector. When there is a slave downstream from the
controller, connect a network cable to the OUT port RJ
Complied standard IEEE802.3u (100BASE-TX)
connector.
Communication speed 100 Mbps (100BASE-TX)
Communication cycle 500 μs at minimum
Connection cable Category 5e STP cable or above
Distance between 100 m Connect the network IN port
nodes cable of the master
Communication ports RJ45 connector x 2
Connect the network OUT port
Communication size 536 bytes (input) 532 bytes (output)
cable of the slave
Supported functions Process data object communication
(cyclic communication)
Mailbox communication (aperiodic
communication)
Compatible to CoE
Explicit Device Identification
Conformance test Compliant with V2.1.0.2
version
Use category 5e STP (Shielded Twisted Pair)
Important
Point cables or above as the network cables. You
can use either straight or cross cable.

XG-X SM(XR)-GB 5-9


EtherCAT Interface

EtherCAT Unit (CA-NEC20E: option)


(1) Connector on controller side
Connect the unit to the controller, or to the camera
(2) input unit or expansion unit already connected to the
(3) controller (Page 2-3).

Only one EtherCAT unit can be


Important
Point connected to the controller.
(4)
(2) RUN indicator lamp (RUN)
(1) (5) Indicates the EtherCAT communication state of the
I/O Interface

(6) controller (green).


• ON: OPERATIONAL state.
The PDO communication and mailbox
communication are properly running.
• Flashing (single flash)*1: SAFE-OPERATIONAL
state.
• Flashing (blinking)*2: PRE-OPERATIONAL state.
• OFF: INIT state.
*1 Repeats 0.2 seconds ON -> 1 second OFF.
*2
Repeats 0.2 seconds ON -> 0.2 seconds OFF.
(3) ERR indicator lamp (ERR)
Indicates the error state of the EtherCAT
communication of the controller (red).
• Flashing (double flash)*1: Watchdog timeout.
- Make sure that the master is properly
connected.
- Make sure that the master is properly
running.
• Flashing (blinking)*2: Configuration error.
Make sure that no irregular process data
object is assigned to the Sync Manager.
• OFF: No error has occurred.
*1
Repeats 0.2 seconds ON -> 0.2 seconds OFF ->
0.2 seconds ON -> 1 second OFF.
*2
Repeats 0.2 seconds ON -> 0.2 seconds OFF.

When [External Input Request] is not


Reference assigned to the process data object, the
LED lighting state does not change even
when the connection with the master is
disconnected.

(4) IN port
Refer to "Wiring Diagram" (Page 5-9).
(5) Connector on expansion unit side
This is used when connecting an illumination
expansion unit.

The camera input unit cannot be


Important
Point connected to the connector on the
expansion unit side.

(6) OUT port


Refer to "Wiring Diagram" (Page 5-9).

5-10 XG-X SM(XR)-GB


EtherNet/IP Interface

EtherNet/IP Interface

Connecting the CA-NEP20E (sold separately) makes it Wiring Diagram (P1 port/P2 port)
possible to connect this unit as an EtherNet/IP adapter to
an EtherNet/IP scanner over a network.
With the EtherNet/IP interface, not only can measurement
results be output, but the input/output of the control
system variables and commands can also be executed.
The settings in the Global Settings are used to set the

I/O Interface
EtherNet/IP. For more details, see the XG-X Series
Communications Control Manual.
No. Signal name Function
The controller must be turned off before
1 TX + Transmission data (+)
NOTICE connecting or disconnecting the
CA-NEP20E unit. 2 TX - Transmission data (-)
3 RX + Reception data (+)
See "Installing the Communication Expansion
Reference Unit" (Page 2-3) for more details on connecting 4 - Terminating resistor 75Ω connected
the CA-NEP20E unit. 5 - Terminating resistor 75Ω connected
6 RX - Reception data (-)
7 - Terminating resistor 75Ω connected
CA-NEP20E EtherNet/IP 8 - Terminating resistor 75Ω connected
Specifications
Connecting to EtherNet/IP
Standard specifications
Network
Item
Connect the EtherNet/IP network cable to the P1 or P2 port
Complied standard IEEE802.3u (100BASE-TX)
of the RJ connector. If there are any adapters downstream
Communication speed 100 Mbps (100BASE-TX) from this unit, connect the network cable to a port that is
Communication cycle 1 ms at minimum not in use.
Connection cable Category 5e STP cable or above
Distance between 100 m
nodes
Communication ports RJ45 connector x 2 P1 port

Communication size 1436 bytes


Supported functions Cyclic communication (Implicit message), P2 port
Message communication (Explicit message)
UCMM, and Class 3 support,
Compatible to DLR (Device Level Ring)
Conformance test Compliant with Version.CT16

Use category 5e STP (Shielded Twisted Pair)


Point cables or above as the network cables. You
can use either straight or cross cable.

XG-X SM(XR)-GB 5-11


EtherNet/IP Interface

EtherNet/IP Unit (CA-NEP20E: option)


(1) Connector on controller side
Connect the unit to the controller, or to the camera
(2) input unit or expansion unit already connected to the
(3) controller (Page 2-3).

Only one EtherNet/IP unit can be


Point connected to the controller.
(4)
(2) Network Status LED (NS)
(1) (5) Indicates the EtherNet/IP communication status.
I/O Interface

(6) • Not lit: The power is turned off or the IP


address has not been set.
• Lit in green: A connection has been
established.
• Blinks in green: No connection has been
established.
• Lit in red: A fatal error (such as duplicate IP
addresses) has occurred.
• Blinks in red: A time-out occurred during
connection.
(3) Module Status LED (MS)
Indicates the status of the communication expansion
unit.
• Not lit: The power is turned off.
• Lit in green: The scanner is in the Run state and
is being controlled.
• Blinks in green: The device has not been set or the
scanner is in the Idle state.
• Lit in red: A serious malfunction (such as the
EXCEPTION state and fatal errors)
has occurred.
• Blinks in red: This is a recoverable malfunction.
The module has been set but the
saved parameters are different from
the parameters that are being used.

(4) P1 port
Refer to "Wiring Diagram" (Page 5-11).
(5) Connector on expansion unit side
This is used when connecting an illumination
expansion unit.

The camera input unit cannot be


Important
Point connected to the connector on the
expansion unit side.

(6) P2 port
Refer to "Wiring Diagram" (Page 5-11).

5-12 XG-X SM(XR)-GB


PROFINET Interface

PROFINET Interface

Connecting the CA-NPN20E (sold separately) makes it Wiring Diagram (P1 port/P2 port)
possible to connect this unit as a PROFINET slave to a
PROFINET master over a network.
With the PROFINET interface, not only can measurement
results be output, but the input/output of the control
system variables and commands can also be executed.
The settings in the Global Settings are used to set the

I/O Interface
PROFINET. For more details, see the XG-X Series
Communications Control Manual.
No. Signal name Function
The controller must be turned off before
1 TX + Transmission data (+)
NOTICE connecting or disconnecting the
CA-NPN20E unit. 2 TX - Transmission data (-)
3 RX + Reception data (+)
See "Installing the Communication Expansion
Reference Unit" (Page 2-3) for more details on connecting 4 - Terminating resistor 75Ω connected
the CA-NPN20E unit. 5 - Terminating resistor 75Ω connected
6 RX - Reception data (-)
7 - Terminating resistor 75Ω connected
CA-NPN20E PROFINET 8 - Terminating resistor 75Ω connected
Specifications
Connecting to PROFINET
Standard specifications
Network
Item
Connect the PROFINET network cable to the P1 or P2 port
Complied standard IEEE802.3u (100BASE-TX)
of the RJ connector. If there is a slave downstream from
Communication speed 100 Mbps (100BASE-TX) this unit, connect the network cable to a port that is not in
Communication cycle 1 ms at minimum use.
Connection cable Category 5e STP cable or above
Distance between 100 m
nodes
Communication ports RJ45 connector x 2 P1 port

Communication size 1248 bytes


Supported functions Data I/O communication P2 port
Record data communication
Applicable protocols LLDP, DCP, MRP, SNMP
Conformance test Compliant with Conformance Class C
V2.34

Use category 5e STP (Shielded Twisted Pair)


Important
Point cables or above as the network cables. You
can use either straight or cross cable.

XG-X SM(XR)-GB 5-13


PROFINET Interface

PROFINET Unit (CA-NPN20E: option)


(1) Connector on controller side
Connect the unit to the controller, or to the camera
(2) input unit or expansion unit already connected to the
(3) controller (Page 2-3).

Only one PROFINET unit can be


Point connected to the controller.
(4)
(2) Network Status LED (NS)
(1) (5) Indicates the PROFINET communication status.
I/O Interface

• Not lit: The power is turned off.


(6) A connection with the I/O controller
has not been established.
• Lit in green: A connection with the I/O controller
has been established and the I/O
controller is in the RUN state.
• Blinks in green one time:
A connection with the I/O controller
has been established, but the I/O
controller is in the STOP state or IO
data is not normal.
• Blinks in green: Identification of network nodes is
being performed from the
engineering tool.
• Lit in red: A serious internal error has
occurred.
(Use this in combination with the
Module Status LED lighting in red.)
• Blinks in red one time:
The Station Name has not been set.
• Blinks in red two times:
The IP address has not been set.
• Blinks in red three times:
The settings specified from the I/O
controller differ from the actual
settings.
(3) Module Status LED (MS)
Indicates the status of the communication expansion
unit.
• Not lit: The power is turned off or the
communication expansion unit has
not been initialized.
• Lit in green: The initialization of the
communication expansion unit is
complete.
• Blinks in green one time:
A diagnosis event exists.
• Lit in red: (When the Network Status LED is lit
in red)
A serious internal error has
occurred.
(When the Network Status LED is
not lit in red)
The communication expansion unit
is in the EXCEPTION state.
• Lights in red and green alternately:
The firmware is being updated.
Do not turn the power off. Turning
off the power during this phase may
lead to malfunctions.
5-14 XG-X SM(XR)-GB
PROFINET Interface

(4) P1 port
Refer to "Wiring Diagram" (Page 5-13).
(2) (5) Connector on expansion unit side
(3)
This is used when connecting an illumination
expansion unit.

(4) The camera input unit cannot be


Point connected to the connector on the
(1) (5) expansion unit side.

(6) (6) P2 port


Refer to "Wiring Diagram" (Page 5-13).

I/O Interface

XG-X SM(XR)-GB 5-15


Parallel I/O Interface

Parallel I/O Interface

Connector Specifications
Use the dedicated parallel connection cable (3
Reference m) OP-51657 (sold separately) to wire devices
(1) (21) to the connector.
I/O Interface

(20) (40)

Pin Layout: Cable colors when optional OP-51657 is used.

Assigned default state*1 Circuit


Terminal Signal Cable
No. Terminal explanation Assigned N.O/ diagram
name direction Variable function *2 Bit color
variable N.C (Page 5-20)

1 COMIN2 Connector input common — — — - - - Brown


2 IN0 General purpose input 0 In %CmdParam Custom instruction 0 - B Red
3 IN1 General purpose input 1 In %CmdParam parameter input 1 - B Orange
4 IN2 General purpose input 2 In %CmdParam 2 - B Yellow
5 IN3 General purpose input 3 In %CmdParam 3 - B Green
6 IN4 General purpose input 4 In %CmdParam 4 - B Blue
7 IN5 General purpose input 5 In %CmdParam 5 - B Purple
8 IN6 General purpose input 6 In %CmdParam 6 - B Gray
9 IN7 General purpose input 7 In %CmdParam 7 - B White
10 IN8 General purpose input 8 In %CmdCode Custom instruction No. 0 - B Black
input
11 IN9 General purpose input 9 In %CmdCode 1 - B Brown
12 IN10 General purpose input 10 In %CmdCode 2 - B Red
13 IN11 General purpose input 11 In %CmdCode 3 - B Orange
14 IN12 General purpose input 12 In %CmdStrobe Custom instruction 0 - B Yellow
assignment input (terminal)
15 IN13 General purpose input 13 In %Reset Reset input 0 - B Green
16 IN14 General purpose input 14 In %Pst Output data input switch 0 - B Blue
17 COMOUT2 Connector output — — — - - - Purple
common
18 OUT0 General purpose output 0 Out %Ack Pin command success 0 N.O C Gray
confirmation output
19 OUT1 General purpose output 1 Out %Nack Pin command failure 0 N.O C White
confirmation output
20 OUT2 General purpose output 2 Out %Busy Busy output 0 N.O C Black
21 OUT3 General purpose output 3 Out %CmdReady Permission output for 0 N.O C Brown
command input
22 OUT4 General purpose output 4 Out %Trg1Ready Permission output for 0 N.O C Red
trigger 1 input
23 OUT5 General purpose output 5 Out %Trg2Ready Permission output for 0 N.O C Orange
trigger 2 input

5-16 XG-X SM(XR)-GB


Parallel I/O Interface

Assigned default state*1 Circuit


Terminal Signal Cable
No. Terminal explanation Assigned N.O/ diagram
name direction Variable function*2 Bit color
variable N.C (Page 5-20)

24 OUT6 General purpose output 6 Out %OutDataA Data output of system 0 N.O C Yellow
25 OUT7 General purpose output 7 Out %OutDataA variable % 1 N.O C Green
OutDataA
26 OUT8 General purpose output 8 Out %OutDataA 2 N.O C Blue
27 OUT9 General purpose output 9 Out %OutDataA 3 N.O C Purple
28 OUT10 General purpose output 10 Out %OutDataA 4 N.O C Gray
29 OUT11 General purpose output 11 Out %OutDataA 5 N.O C White
30 OUT12 General purpose output 12 Out %OutDataA 6 N.O C Black
31 OUT13 General purpose output 13 Out %OutDataA 7 N.O C Brown

I/O Interface
32 OUT14 General purpose output 14 Out %OutDataA 8 N.O C Red
33 OUT15 General purpose output 15 Out %OutDataA 9 N.O C Orange
34 OUT16 General purpose output 16 Out %OutDataA 10 N.O C Yellow
35 OUT17 General purpose output 17 Out %OutDataA 11 N.O C Green
36 OUT18 General purpose output 18 Out %OutDataA 12 N.O C Blue
37 OUT19 General purpose output 19 Out %OutDataA 13 N.O C Purple
38 OUT20 General purpose output 20 Out %OutDataA 14 N.O C Gray
39 OUT21 General purpose output 21 Out %OutDataA 15 N.O C White
40 COMOUT2 Connector output common — — - - - Black

*1 The default assigned state refers to the default system variables assigned to each pin in the Global menu. These assignments may
vary if the Global settings have been changed.
*2 For details about the functions of individual variables, refer to the XG-X Series Communications Control Manual.

• COMOUT2 for Pin 17 and Pin 40 are common.


Point • Power source 0 V, COMIN1, COMIN2, COMOUT1, COMOUT2 and COMOUT_F are all isolated.
• COMIN2 is a common terminal exclusively for input pins 2 to 16 on the parallel I/O connector.
• COMOUT2 is a common terminal exclusively for output pins 18 to 39 on the parallel I/O connector.

XG-X SM(XR)-GB 5-17


Terminal Block Interface

Terminal Block Interface

Standard Specifications
Terminal block specifications for the controller are as follows.

Point Tightening above the specified torque may cause damage to the terminal block.
I/O Interface

OUTPUT connector INPUT connector

STO (1)
OR

ERR

RUN
COM
OUT
FLS1
COM
IN1 (1)
FLS2 PLC

NC TRG1

COM TRG2
F
(9) TEST

EXT
(6)

Suitable wiring
Suitable wiring
AWG 16 - 28
AWG 16 - 28
Terminal block screw torque
Terminal block screw torque
0.25 Nm or less
0.25 Nm or less

5-18 XG-X SM(XR)-GB


Terminal Block Interface

Pin Layout

OUTPUT connector

Assigned default state*1 Circuit


Signal
No. Terminal name Terminal explanation Assigned N.O/ diagram
direction
variable Variable function*2 Bit
N.C (Page 5-20)

1 OUT22 (STO) General purpose output 22 Out %Sto Strobe output for reading 0 N.O C
parallel terminal output
unit data
2 OUT23 (OR) General purpose output 23 Out %JAHold Hold output total status 0 N.O C

I/O Interface
3 F_OUT2 (ERR) High-speed general purpose Out %Error0 Error 0 output 0 N.O C
output 2
4 F_OUT3 (RUN) High-speed general purpose Out %Run Run mode output 0 N.O C
output 3
5 COMOUT1 Common for terminal block — — — - - -
(COMOUT) outputs
6 F_OUT0 (FLS1) High-speed general purpose Out %Flash1 Strobe light output 1 0 N.O C
output 0
7 F_OUT1 (FLS2) High-speed general purpose Out %Flash2 Strobe light output 2 0 N.O C
output 1
8 N.C - - - - - - -
9 COMOUT_F(COMF) Common for high-speed - - - - - -
general purpose output
terminals

*1 The default assigned state refers to the default system variables assigned to each pin in the Global menu. These assignments may
vary if the Global settings have been changed.
*2 For details about the functions of individual variables, refer to the XG-X Series Communications Control Manual.

• Power source 0 V, COMIN1, COMIN2, COMOUT1, COMOUT2 and COMOUT_F are all isolated.
Point • COMOUT1 is the common terminal for output of OUT connectors 1 to 2.
• COMOUT_F is the common terminal for output of OUT connectors 3 to 4 and 6 to 7.
( ) indicates labels printed on terminal blocks at time of shipment

INPUT connector

Assigned default state*1 Circuit


Signal
No. Terminal name Terminal explanation Assigned N.O/ diagram
direction
variable Variable function*2 Bit
N.C (Page 5-20)

1 COMIN1 (COMIN1) Common for terminal block — — — - - -


inputs
2 IN15 (PLC) General purpose input 15 In %Plc Custom instruction 0 - B
execution input (PLC)
3 F_IN0 (TRG1) High-speed general purpose In %Trg1 Trigger 1 input 0 - A
input 0
4 F_IN1 (TRG2) High-speed general purpose In %Trg2 Trigger 2 input 0 - A
input 1
5 F_IN2 (TEST) High-speed general purpose In %Test Trial run input 0 - A
input 2
6 F_IN3 (EXT) High-speed general purpose In %Ext Disable trigger input 0 - A
input 3

*1 The default assigned state refers to the default system variables assigned to each pin in the Global menu. These assignments may
vary if the Global settings have been changed.
*2 For details about the functions of individual variables, refer to the XG-X Series Communications Control Manual.

• Power source 0 V, COMIN1, COMIN2, COMOUT1, COMOUT2 and COMOUT_F are all isolated.
Point • COMIN1 is the common terminal for input of IN connectors 2 to 6.

( ) indicates labels printed on terminal blocks at time of shipment

XG-X SM(XR)-GB 5-19


Input/Output Circuit

Input/Output Circuit

Input Connections

Input circuit diagram Example of connections

Circuit A (For F_IN0 to 3 only, EV compatible) When connecting an NPN PLC output to the system input
I/O Interface

7.5kΩ OUT IN
IN

910Ω

COMIN*
COM(-) COMIN*

PLC(NPN output) Input circuit on controller


• Max. applied voltage: 26.4 V
• ON voltage: 19 V or greater When connecting a PNP PLC output to the system input
• ON current: 2.2 mA or greater
• OFF voltage: 5 V or less IN

• OFF current: 1 mA or less

Circuit B (other inputs) COM(+)


COMIN*

15kΩ Input circuit on controller


IN
OUT

2.7kΩ

PLC(PNP output)
COMIN*

• Max. applied voltage: 26.4 V


• ON voltage: 19 V or greater
• ON current: 1.2 mA or greater
• OFF voltage: 3 V or less
• OFF current: 0.3 mA or less

* The commons which are connected differ according to the IN terminals. The common terminal for IN connectors 2 - 6 is
Point COMIN1, and the common terminal for parallel I/O connectors 2 - 16 is COMIN2.

5-20 XG-X SM(XR)-GB


Input/Output Circuit

Output Connections

Output circuit diagram

Circuit C (common for all output terminals)


• Max. applied voltage: 30 V
Poly Switch • Max. sink current: 50 mA
OUT
• Leakage current: 0.1 mA or less
• Residual voltage:
1.4 V or less (50 mA)

I/O Interface
COMOUT*
1.0 V or less (20 mA)

Since this unit utilizes a photo MOSFET in the output elements, any one of the NPN inputs, or PNP inputs is
Point connectable.

Example of connections: When connecting the output from the controller with a positive common

Point If the input instrument is compatible with the NPN open collector outputs, then refer to this connection example.

When connecting the output from the controller to a PLC with a positive common
IN

Poly Switch

OUT

COMOUT*

COM(+)

PLC input circuit positive common Output circuit on controller

When connecting the output from the controller to a relay

Poly Switch
Load
OUT

COMOUT*

Relay Output circuit on controller

* The commons which are connected differ according to the OUT terminals. The common terminal for OUT connectors 1 - 2
Point is COMOUT1, and the common terminal for OUT connectors 3 - 4/6 - 7 is COMOUT_F, and the common terminal for parallel
I/O connectors 18 - 39 is COMOUT2.

XG-X SM(XR)-GB 5-21


Input/Output Circuit

Example of connections: When connecting the output from the controller with a negative common

Point If the input instrument is compatible with the PNP open collector outputs, then refer to this connection example.

When connecting the PNP output from the controller to a PLC with a negative common
IN
Poly Switch

OUT

COMOUT*
I/O Interface

COM(-)

PLC input circuit negative common Output circuit on controller

When connecting the PNP output from the controller to a relay

Poly Switch
Load
OUT

COMOUT*

Relay Output circuit on controller

* The commons which are connected differ according to the OUT terminals. The common terminal for OUT connectors 1 - 2
Point is COMOUT1, and the common terminal for OUT connectors 3 - 4/6 - 7 is COMOUT_F, and the common terminal for parallel
I/O connectors 18 - 39 is COMOUT2.

5-22 XG-X SM(XR)-GB


6
Chapter

Specifications and
Optional Devices

Specifications and Optional Devices

Documentation for the installation and configuration methods


of the controller, software, and CAD data can be downloaded
from the following URL.
www.keyence.com/xgxus

XG-X SM(XR)-GB 6-1


Cameras and Connectable Camera Input Unit

Cameras and Connectable Camera Input Unit

List of Cameras and Number of Units Supported by Controller


The figures in the chart are the maximum number of cameras that can be connected to the camera port on the controller,
and the figures in the brackets are the maximum number of cameras that can be connected by using the maximum number
of camera input units.
XG-X2000/ XG-X2200/ XG-X2500/
Camera connection XG-X2700 XG-X2800 XG-X2800LJ XG-X2900 XG-X2900LJ
XG-X1000*7 XG-X1200*7 XG-X1500*7
Area CA-035C/035M, Camera port on 2(4) 2(4) 2(4) 2(4) (4) × (4) ×
camera XG-035C/035M, the controller or
CA-H035C/H035M, CA-E100,
XG-H035C/H035M, CA-E100L*4*5
Specifications and Optional Devices

CA-HS035C/HS035M,
XG-S035C/S035M
CA-H048CX/H048MX, 2(4)*1*7 2(4)*1*7 2(4)*1*7 2(4)*1 (4)*1 × (4)*1 ×
CA-HX048C/HX048M
CA-200C/200M, × 2(4) 2(4) 2(4) (4) × (4) ×
XG-200C/200M,
CA-H200C/H200M,
XG-H200C/H200M,
CA-HS200C/HS200M,
XG-S200C/S200M
CA-H200CX/H200MX, × 2(4)*1*7 2(4)*1*7 2(4)*1 (4)*1 × (4)*1 ×
CA-HX200C/HX200M
CA-H500C/H500M, × × 2(4) 2(4) (4) × (4) ×
XG-H500C/H500M
CA-H500CX/H500MX, × × 2(4)*1*7 2(4)*1 (4)*1 × (4)*1 ×
CA-HX500C/HX500M
CA-H2100C/H2100M × × × 2(4) (4) × (4) ×
XG-H2100C/H2100M
CA-HF2100C/HF2100M CA-E200*4 × × × × (4)*1 × (4)*1 ×
CA-HF6400C/HF6400M CA-E200L*4*5 × × × × × × (4)*1 ×
Line XG-HL02M CA-E100L × × × × (4)*2 × (4)*2 ×
scan XG-HL04M × × × × (4)*2 × (4)*2 ×
camera XG-HL08M × × × × (4)*2 × (4)*2 ×
CA-HL02MX CA-E200L × × × × (4)*2 × (4)*1*2 ×
CA-HL04MX × × × × (4)*2 × (4)*1*2 ×
CA-HL08MX × × × × (4)*2 × (4)*1*2 ×
XT XT-024/060 CA-E200T × × × × (2)*2 × (2)*2 ×
Camera
XR XR-HT40M/HT15M CA-E100T × × × × (2)*2 × (2)*2 ×
Camera
LJ-V LJ-V7020/7020K/7060/ CA-E100LJ × × × × (4)*2 *3 (4)*3 (4)*2 *3 ×
Series 7060K/7080/7200/7300 CA-E110LJ*6 × × × × (4)*2 *3 (4)*3 (4)*2 *3 ×
head
CA-E200LJ*8 × × × × × × × (4)*3
LJ-X LJ-X8020/8060/8080/
Series 8200/8400/8900
head
*1 Supports LumiTrax light and MultiSpectrum light. (The CA-HL**MX only supports Line Light for LumiTrax Specular Reflection Mode. Furthermore,
the CA-HF***** only supports LumiTrax light in 21 megapixel mode or less and in 5 megapixel mode when the XG-X2800 is connected.)
Furthermore, the CA-H****X is also compatible with pattern projection light.
For details about LumiTrax light, MultiSpectrum light, and pattern projection light, see the XG-X Series User’s Manual.
*2 The line scan camera and the LJ-V Series head cannot be connected at the same time as the XR camera or the XT camera.
Additionally, the line scan camera and LJ-V Series head cannot be used at the same time as an area camera for which LumiTrax
light, MultiSpectrum light, or pattern projection light is enabled.
*3 For one camera input unit, up to two LJ-X/LJ-V Series heads (limited to the same model) can be connected. However, the capture
timing and number of capture lines of the LJ-X/LJ-V Series heads connected to the same camera input unit will be the same.
*4 The CA-E100L/E200/E200L can only be connected to XG-X2800/X2802/X2900/X2902.
*5 In addition to the line scan camera, the area camera can also be connected to the CA-E100L/E200L. In that case, the encoder input
can also be used as a trigger signal.
*6 The CA-E110LJ is a camera input unit that also supports luminance output type LJ-V Series Sensor Heads whose model name ends with the letter B.
*7 The XG-X1000/X1200/X1500 does not support capture modes other than the normal illumination mode.
*8 Along with LJ-X Series Heads, the CA-E200LJ is a camera input unit that also supports luminance output type LJ-V Series Sensor Heads whose model
names end with the letter B.

6-2 XG-X SM(XR)-GB


Main Specifications

Main Specifications

The actual number of settings available for all items listed depends on the total amount of available memory in the
Point system.

Controller Unit (XG-X2900/X2902/X2800/X2802)


Model type XG-X2900/X2902 XG-X2800/X2802
Camera input*1 • With area camera input unit CA-E100/E200 connected:
2 color/monochrome cameras per CA-E100 or 1 CA-HF color/monochrome camera per CA-E200, up to 4 cameras via
a maximum of 2 units can be connected

Specifications and Optional Devices


• With line scan camera input unit CA-E100L connected
2 line scan cameras per one CA-E100L, or 2 color/monochrome camerass, up to 4 cameras via a maximum of 2 units
can be connected
• With high-speed line scan camera input unit CA-E200L connected:
2 high-speed line scan cameras or 1 CA-HF color/monochrome camera per CA-E200L, up to 4 cameras via a
maximum of 2 units can be connected
• With XT camera input unit CA-E200T connected
1 XT camera per CA-E200T, up to 2 cameras via a maximum of 2 units can be connected
• With XR camera input unit CA-E100T connected
1 XR camera per one CA-E100T, up to 2 cameras via a maximum of 2 units can be connected
• With LJ-V input unit CA-E100LJ/E110LJ connected
2 identical models of the LJ-V Series heads per CA-E100LJ/E110LJ, up to 4 heads via a maximum of 2 units can be
connected
Trigger input Can select from simultaneous/individual capture with up to 4 cameras/head (when 1 camera input unit is connected,
simultaneous capture is performed with up to 2 cameras/head)*2
Supported cameras Area camera • CA-035C/035M/H035M/H035C/HS035CH/HS035MH
/ Number of pixels 310 k pixel mode: 640(H) x 480(V), approx. 310,000 pixels
240 k pixel mode: 512(H) x 480(V), approx. 240,000 pixels
• XG-035C/035M/H035C/H035M/S035C/S035M
310 k pixel mode: 640(H) x 480(V), approx. 310,000 pixels
240 k pixel mode: 512(H) x 480(V), approx. 240,000 pixels
• CA-H048CX/H048MX/HX048C/HX048M
470 k pixel mode: 784(H) x 596(V), approx. 470,000 pixels
310 k pixel mode: 640(H) x 480(V), approx. 310,000 pixels
240 k pixel mode: 512(H) x 480(V), approx. 240,000 pixels
• CA-200C/200M/H200C/H200M/HS200C/HS200M
2 mega-pixel mode: 1600(H) x 1200(V), approx. 1.92 mega-pixels
1 mega-pixel mode: 1024(H) x 960(V), approx. 980,000 pixels
• XG-200C/200M/H200C/H200M/S200C/S200M
2 mega-pixel mode: 1600(H) x 1200(V), approx. 1.92 mega-pixels
1 mega-pixel mode: 1024(H) x 960(V), approx. 980,000 pixels
• CA-H200CX/H200MX/HX200C/HX200M
2 mega-pixel mode: 1600(H) x 1200(V), approx. 1.92 mega-pixels
• CA-H500C/H500M
5 mega-pixel mode: 2432(H) x 2050(V), approx. 4.99 mega-pixels
• XG-H500C/H500M
5 mega-pixel mode: 2432(H) x 2050(V), approx. 4.99 mega-pixels
• CA-H500CX/H500MX/HX500C/HX500M
5 mega-pixel mode: 2432(H) x 2040(V), approx. 4.96 mega-pixels
2 mega-pixel mode: 1600(H) x 1200(V), approx. 1.92 mega-pixels
• CA-H2100C/H2100M, XG-H2100C/H2100M
21 mega-pixel mode: 5104(H)x4092(V), approx. 20.89 mega-pixels
5 mega-pixel mode: 2432(H)x2050(V), approx. 4.99 mega-pixels
• CA-HF2100C/HF2100M
21 mega-pixel mode: 5104(H)x4092(V), approx. 20.89 mega-pixels
5 mega-pixel mode: 2432(H)x2050(V), approx. 4.99 mega-pixels
• CA-HF6400C/HF6400M
64 mega-pixel mode: 8192(H)x7808(V),
approx. 63,96 mega-pixel
41 mega-pixel mode: 7168(H)x5768(V),
approx. 41,35 mega-pixel
21 mega-pixel mode: 5104(H)×4092(V),
approx. 20,89 mega-pixel
Line scan camera • With XG-HL08M connected 8192(H) x 8192(L), approx. 67.11 mega-pixels
• With XG-HL04M connected 4096(H) x 16384(L), approx. 67.11 mega-pixels
• With XG-HL02M connected 2048(H) x 16384(L), approx. 33.55 mega-pixels
High-speed line • With CA-HL08MX connected
camera 8192(H) x 8192(L), approx. 67.11 mega-pixels
• With CA-HL04MX connected
4096(H) x 16384(L), approx. 67.11 mega-pixels
• With CA-HL02MX connected
2048(H) x 16384(L), approx. 33.55 mega-pixels
XT Camera • With XT-024/060 connected 3072(H) x 3072(V), approx. 9.44 mega-pixels

XG-X SM(XR)-GB 6-3


Main Specifications

Model type XG-X2900/X2902 XG-X2800/X2802


Supported cameras XR Camera • With XR-HT40M connected 2048(H) x 2048(V), approx. 4.19 mega-pixels
/ Number of pixels • With XR-HT15M connected 1408(H) x 1408(V), approx. 1.98 mega-pixels
LJ-V Sensor Head*3 • With LJ-V7020/7020K/7060/7060K/7080/7200/7300 connected
512(H) x 16384(L), approx. 8.39 mega-pixels
1024(H) x 8192(L), approx. 8.39 mega-pixels
2048(H) x 4096(L), approx. 8.39 mega-pixels
Main image processor DSP (High-speed)
Number of program setting registrations SD cards 1 and 2 can each hold 1000 programs (depending on the size of the SD card and the size of the programs),
external switching possible
Number of registered screens Maximum 1000 screens for each program (depending on SD card size), Image compression.
SD card • SD card slot x 2 • SD card slot x 2
• Compatible with OP-87133 (512 MB), CA-SD1G (1 GB), • Compatible with OP-87133 (512 MB), CA-SD1G (1 GB:
CA-SD4G (4 GB: installed standard to SD1) and installed standard to SD1), CA-SD4G (4 GB) and
CA-SD16G (16 GB) CA-SD16G (16 GB)
Interface Controlled input • 20 input (including four high speed inputs designed for trigger input)
(compatible with • Input rating 26.4 V or lower, 1.2 mA or greater (2.2 mA or greater for high speed input terminal)
arbitrary
assignment)
Specifications and Optional Devices

Controlled output • 28 output (including four high speed outputs designed for FLASH outputting linked to external device)
(compatible with • Photo MOSFET *4 Maximum 50 mA (30 V or less)
arbitrary
assignment)
Encoder input • When connecting CA-E100L/E200L, 2 systems per 1 unit, up to 4 systems via a maximum of 2 units
• When connecting CA-E100LJ/E110LJ, 1 system per 1 unit, up to 2 systems via a maximum of 2 units
• RS-422 line scan output (5 V output supplied: maximum 150 mA, multi-drop compatible in the case of the CA-E100L/
E200L), combined use as open collector output (CA-E100L/E200L is for 24 V compatible components)
Monitor output Analog RGB Output, XGA (1024 x 768, 24 bit color)
Operation LED display for Power ON and ERROR
indicators
RS-232C • Can perform numerical value output, control input/output, and switching the functions of CA series touch panel
interface (Cannot be used with PLC-Links using the RS-232C port)
• Supports a max. baud rate of up to 230400 bps
PLC link • Can output numerical values and perform control input/output using the Ethernet or RS-232C port (Cannot be used in
conjunction with CC-Link, EtherNet/IP, PROFINET, and EtherCAT.)
• The following PLCs are supported via link unit:*5
- KEYENCE: KV-8000/7000/5000/3000/1000/700 Series, KV Nano Series
- Mitsubishi Electric: MELSEC iQ-R/L/Q Series, MELSEC A Series (RS-232C only), MELSEC iQ-F Series, MELSEC FX
Series (RS-232C only)
- OMRON: SYSMAC CJ2/CJ1/CS1/CP1 Series, SYSMAC C Series (RS-232C only)
- YASKAWA Electric Corporation: MP2000 Series, MP900 Series (RS-232C only)
Ethernet • Numerical value output, and control input/output enabled.
• By the connection of KEYENCE PC application software, in addition to the function described above, uploading and
downloading the inspection settings, simulations, data, including image data can be sent or received.
• Supports FTP client, FTP server, and SFTP client functions.
• Supports VNC server function (for clients other than for PC it will be only for the screen display).
• Supports BOOTP function.
• 1000BASE-T/100BASE-TX/10BASE-T
• Supports jumbo frames (when the CA-NEC20E/NEP20E/NPN20E is connected)
USB • By the connection of KEYENCE PC application software, in addition to numerical value output and control input/output,
uploading and downloading the inspection settings, simulations, data, including image data can be sent or received.
• USB2.0
CC-Link • By connecting the optional CC-Link unit CA-NCL20E, numerical value output and control input/output are enabled. (Do
not use to connect to PLC Link, EtherNet/IP, PROFINET, and EtherCAT.)
• Compatible to the Ver.1.10 remote device station, Ver.2.00 remote device station
EtherNet/IP • Can perform numerical value input/output and control input/output using the Ethernet port or optional EtherNet/IP unit
CA-NEP20E. (Cannot be used in conjunction with PLC Link, CC-Link, PROFINET, and EtherCAT)
• Compatible to the cyclic communication (max.1436 byte), and message communication
• Maximum number of connections 32 (ETHERNET)/1: Exclusive Owner, 4: Input Only (CA-NEP20E)
• Compatible with the conformance test Version.CT15 (ETHERNET)/CT16 (CA-NEP20E)
PROFINET • Can perform numerical value input and control input/output using the Ethernet port or optional PROFINET unit CA-
NPN20E. (Cannot be used in conjunction with PLC Link, CC-Link, EtherNet/IP, and EtherCAT)
• Compatible to the cyclic communication (max. 1408 byte (ETHERNET)/max. 1248 byte (CA-NPN20E))
• Compatible to the aperiodic (recorded data) communication
• Compatible with the Conformance Class A (ETHERNET)/C (CA-NPN20E)
EtherCAT • By connecting the optional EtherCAT unit CA-NEC20E, numerical value output and control input/output can be
performed (Cannot be used in conjunction with PLC Link, CC-Link, EtherNet/IP, and PROFINET)
• Compatible to the cyclic communication (process data object communication) (input: max. 536 byte/output: max. 532
byte)
• Compatible to the noncyclic communication (mailbox communication)
• Compatible to CoE
• Explicit Device Identification
• Compliant with the conformance test V2.1.0.2
SNTP By connecting to an SNTP server, the date and time of the controller can be automatically adjusted.
USB Console • By the optional USB Console (OP-87983), various menus can be used
• Compatible to the operation assignment settings to the console button
Mouse Possible to control various menus via an optional dedicated mouse (OP-87506)
Touch Panel • Setting operation from the CA Series touch panel used by the RS-232 port is possible (When RS-232C is used, the
nonprocedural communication and PLC-Links that use the RS-232C port cannot be used.)
• For the dedicated touch menu or the operation button
USB HDD By connecting a HDD (maximum 2 TB) to a proprietary USB port (USB 3.0 and bus powered compatible: rated output
900 mA), various kinds of data including image data can be output

6-4 XG-X SM(XR)-GB


Main Specifications

Model type XG-X2900/X2902 XG-X2800/X2802


Interface VisionDataStorage By connecting the optional VisionDataStorage to either the Ethernet port, or the USB HDD port via the dedicated USB
cable (OP-88263: optional), various kinds of data including image data can be output.
Display language Japanese/English/Simplified Chinese/Traditional Chinese/German selectable (Choose the default language to be used
when turning power ON)
Illumination control By connecting the optional illumination expansion unit CA-DC40E/DC50E/DC60E, the lighting and light intensity of the
LED illumination can be controlled.*6
Cooling fan Cooling fan unit CA-F100 is standard equipment
Rating Power source 24 VDC±10%
voltage
Consumption
5.3 A
current
Environmental Ambient 0 to +45°C (DIN rail mounted)/0 to +40°C (Bottom mounted)
resistance temperature
Ambient operating 85% RH or less (no condensation)
humidity
Weight Approx. 1750 g

*1 Since the controller unit does not support camera inputs, at least 1 camera input unit (optional) or more is required.

Specifications and Optional Devices


*2 Simultaneous capture is always used with LJ-V Series heads connected to the same LJ-V input unit, so two LJ-V input units are
required for individual capture.
*3 LJ-V Series heads whose model ends in "B" are luminance output types. To connect a luminance output type, the XG-X2800/X2802/
X2900/X2902 and the CA-E110LJ are required.
*4 Both positive common connecting which is compatible with NPN input instruments and negative common connecting which is
compatible with PNP input instruments are possible.
*5 Models equipped with the Ethernet port in the CPU unit support Ethernet port direct connection.
*6 Connect up to 8 illumination expansion units (note that the eight units can include only a maximum of two CA-DC50E units and two
CA-DC60E units).

XG-X SM(XR)-GB 6-5


Main Specifications

XR Camera Input Unit (CA-E100T)


CA-E100T
Camera input 1 input
Supported cameras XR-HT40M/HT15M
Power supply Supplied from the controller
Environmental Ambient operating temperature 0 to +45°C (DIN rail mounted)/0 to +40°C (Bottom mounted)
resistance Ambient operating humidity 85% RH or less (no condensation)
Weight Approx. 550 g

CC-Link Unit (CA-NCL20E)


CA-NCL20E
Specifications and Optional Devices

Communication CC-Link station type Ver.1.10 remote device station/Ver.2.00 remote device station
Communication speed 156 kbps, 625 kbps, 2.5 Mbps, 5 Mbps, 10 Mbps
Connection cable Ver.1.10 compatible CC-Link cable
FANC-110SBH, FA-CBL200PSBH, CS110, OP-79426, OP-79427
Max. total cable length 156 kbps: 1200 m / 625 kbps: 900 m / 2.5 Mbps: 400 m / 5 Mbps: 160 m / 10 Mbps: 100 m
(Max. communication distance)
Power supply Supplied from the controller
Environmental Ambient operating temperature 0 to +45°C (DIN rail mounted)/0 to +40°C (Bottom mounted)
resistance
Ambient operating humidity 85% RH or less (no condensation)
Weight Approx. 500 g

EtherCAT Unit (CA-NEC20E)

CA-NEC20E
Communication Compliant standard IEEE802.3u (100BASE-TX)
Communication speed 100 Mbps (100BASE-TX)
Communication cycle 500 μs at the shortest
Connection cable STP type cable of category 5e or higher
Distance between nodes 100 m
Communication port RJ-45 x 2
Power supply Supplied from the controller
Environmental Ambient operating temperature 0 to +45°C (DIN rail mounted)/0 to +40°C (Bottom mounted)
resistance Ambient operating humidity 85% RH or less (no condensation)
Weight Approx. 500 g

EtherNet/IP Unit (CA-NEP20E)


CA-NEP20E
Communication Compliant standard IEEE802.3u (100BASE-TX)
Communication speed 100 Mbps (100BASE-TX)
Communication cycle 1 ms at the shortest
Connection cable STP type cable of category 5e or higher
Distance between nodes 100 m
Communication port RJ-45 x 2
Power supply Supplied from the controller
Environmental Ambient operating temperature 0 to +45°C (DIN rail mounted)/0 to +40°C (Bottom mounted)
resistance Ambient operating humidity 85% RH or less (no condensation)
Weight Approx. 500 g

6-6 XG-X SM(XR)-GB


Main Specifications

PROFINET Unit (CA-NPN20E)


CA-NPN20E
Communication Compliant standard IEEE802.3u (100BASE-TX)
Communication speed 100 Mbps (100BASE-TX)
Communication cycle 1 ms at the shortest
Connection cable STP type cable of category 5e or higher
Distance between nodes 100 m
Communication port RJ-45 x 2
Power supply Supplied from the controller
Environmental Ambient operating temperature 0 to +45°C (DIN rail mounted)/0 to +40°C (Bottom mounted)
resistance Ambient operating humidity 85% RH or less (no condensation)
Weight Approx. 500 g

Specifications and Optional Devices


XR Camera (XR-HT15M/HT40M)
XR camera XG-X connection model XR camera XG-X connection model
15-mm type 40-mm type
Model XR-HT15M XR-HT40M
Image sensor Monochrome CMOS image sensor
Image size 1408 × 1408 (704 × 704) 2048 × 2048 (1024 × 1024)
Shutter speed 50 μs to 200 ms
Reference distance 84 mm
Field of Near (FOV during XY 12.3 sq. mm (12.5 mm) 33.9 sq. mm (35.0 mm)
view XY normalization)
Reference distance 12.5 sq. mm 35.5 sq. mm
Far 12.6 sq. mm 37.0 sq. mm
Z range (from reference distance) ±1.5 mm ±5 mm
Repeatability (σ) X, Y, Z 1 μm*1 2 μm*1
Data interval X, Y 9.5 μm (19 μm) 18.5 μm (37 μm)
Light source LED (blue, red)
Connected to Dedicated camera input unit
Image transfer method Digital serial transfer
Functions Image capture functions (height image, grayscale image),
auxiliary functions (Z reference, reference plane correction, 3D calibration)
Environmental Ambient temperature 0 to +40°C*2
resistance Ambient humidity 85% RH or less (no condensation)
Vibration resistance 10 to 57 Hz 0.75 mmp-p,
57 to 500 Hz: 5G, in X, Y, and Z directions, 3 hours respectively
Impact resistance 15G / 6ms
Dimensions (mm) 250.5 × 120.5 × 54
Weight Approx. 2.5 kg Approx. 2.4 kg

*1 Value for KEYENCE standard plane workpieces when binning is ON and a 3 x 3 average filter is used once.
*2 When using 1 projection operation mode in an environment of +35°C or higher, use the camera with the trigger interval
set to a value that is 2 times the total exposure time or greater.

XG-X SM(XR)-GB 6-7


Main Specifications

Camera Cables (CA-CH** Series)


The maximum cable length of the XR series head is 10 m. Also, it cannot be extended with a repeater such as the CA-CHX10U.
Point

Standard type (CA-CH**) High flex robotic extension type (CA-CH3BE)

Model Cable length (A) Weight • CA-CH3BE cannot be used on its own
CA-CH3 3m 290 g because it is an extension cable. This is
used by connecting CA-CH3/CH3R/CH3L/
CA-CH5 5m 440 g CH3X to the connector on the controller
CA-CH10 10 m 880 g side.
NOTICE • CA-CH3BE is comparable to a 7m cable,
Specifications and Optional Devices

not a 3m cable due to the electric


High flex robotic type (CA-CH**R) characteristics. Use this within the range
of the maximum extension of the camera
Model Cable length (A) Weight that is used by converting it by
calculation to a 7m cable.
CA-CH3R 3m 250 g
CA-CH5R 5m 410 g Model Cable length (A) Weight
CA-CH10R 10 m 740 g CA-CH3BE 3m 280 g

L-shaped connector type (CA-CH**L)


Environment resistant type (CA-CH**P)
Model Cable length (A) Weight
CA-CH3L 3m 270 g Model Cable length Weight
CA-CH5L 5m 450 g CA-CH3P 3m 250 g
CA-CH10P 10 m 750 g
CA-CH10L 10 m 810 g

Environment resistant and high flex robotic type


(CA-CH**BP)

Model Cable length Weight


CA-CH5BP 5m 440 g
CA-CH10BP 10 m 840 g

Environment resistant and high flex robotic


extension type (CA-CH5PE)

Model Cable length Weight


CA-CH5BPE 5m 440 g

6-8 XG-X SM(XR)-GB


Dimensions

Dimensions

Controller Unit (XG-X2900/X2902/X2800/X2802)


145.7
19.3
118 141.6

DIN-rail
mounts

Specifications and Optional Devices


168
35.9
139.2

83.3
65.3

6
124.6

M4 M4
Depth:6 Depth:6
12.5

93

M4 M4
Depth:6 Depth:6

94
12.1
111.8

Unit: mm

With XR camera input unit CA-E100T x 2 installed


209.5
181.8
149.9
19.3 141.6
118

DIN-rail
mounts

168
35.9
139.2

83.3
65.3

90 124.6
Unit: mm

(Total weight: approx. 2850 g)

XG-X SM(XR)-GB 6-9


Dimensions

With XR camera input unit CA-E100T and CC-Link unit CA-NCL20E installed

209.5
181.8
149.9
118 141.6

DIN-rail
mounts

168
35.9
139.2

83.3
65.3
Specifications and Optional Devices

90 124.6
Unit: mm

(Total weight: approx. 2800 g)

With XR camera input unit CA-E100T and a communication expansion unit (CA-NEC20E/NEP20E/
NPN20E) installed

209.5
181.8
149.9
118 141.6

DIN-rail
mounts

168
35.9
139.2

83.3
65.3

90 124.6
Unit: mm

(Total weight: approx. 2800 g)

6-10 XG-X SM(XR)-GB


Dimensions

USB Handheld Controller (OP-87983)


30.7
20.3
47 2 5.45

17.1
11.1

81.5

114.9

φ20

Specifications and Optional Devices


4.6

φ4.5
φ10.55 Unit: mm
Cord length 2.8 m

(Weight: approx. 160 g)

Dedicated Mouse (OP-87506)

57.9

31.2
φ12.4

φ3.3

39.2

1860.0±85 113.7

Unit: mm

(Weight: approx. 100 g)

XG-X SM(XR)-GB 6-11


Dimensions

Cameras (XR-HT15M/HT40M)

XR-HT15M XR-HT40M

17.1

17.1
93.0 65.0 93.0 65.0

18.5

18.5
4×M5 4×M5
Depth: 6mm Depth: 6mm

151.0 151.0
88.0 88.0
54.0 125.5 125.5 54.0 125.5 125.0

120.5
Specifications and Optional Devices

120.5
117.7

117.7
114.3

114.3
5.2

5.2
84.0 (Reference distance)

84.0 (Reference distance)

27.0 27.0

84.0 (Reference distance)


84.0 (Reference distance)
28.6 4×φ5.4 4×φ5.4 27.0 27.0
Mounting hole 28.6
Mounting hole

79.0 (Near)
79.0 (Near)
82.5 (Near)

82.5 (Near)
85.5 (Far)

85.5 (Far)

89.0 (Far)
89.0 (Far)
12.3 (Near) 12.3 (Near)
12.5 (Reference distance) 12.5 (Reference distance) 33.9 (Near) 33.9 (Near)
12.6 (Far) 12.6 (Far)
35.5 (Reference distance) 35.5 (Reference distance)
37.0 (Far) 37.0 (Far)

110.0 31.0 110.0 31.0

25.0
25.0
16.1

4×M3 4×M3

16.1
for Air Purge Unit for Air Purge Unit
Unit: mm Unit: mm

With Camera Cable Connected


76.7

6-12 XG-X SM(XR)-GB


Dimensions

Camera Cables (CA-CH** Series)

Standard type (CA-CH**)


Camera side φ7.2 Controller side
Model Cable length (A)

φ12.5
CA-CH3 3m
31.4

CA-CH5 5m
31 CA-CH10 10 m
43 A 41
Unit: mm

High flex robotic type (CA-CH**R)

Specifications and Optional Devices


Camera side Controller side
φ7.6
Model Cable length (A)
CA-CH3R 3m
φ12.5

31.4
φ14

CA-CH5R 5m
CA-CH10R 10 m
31
54 A 41 Unit: mm

L-shaped connector type (CA-CH**L)


Camera side Controller side
φ7.2
Model Cable length (A)
CA-CH3L 3m
31.4
30

CA-CH5L 5m
CA-CH10L 10 m
φ14 31

38 A 41 Unit: mm

Direction to attach the L-shaped connector


The direction to attach the L-shaped
connector is shown in the figure below.
The attachment direction cannot be changed.
Make sure that the direction the cable is extended
towards is outwards from the center of the camera
(lengthwise).

NOTICE

High flex robotic extension type (CA-CH3BE)


Camera side Controller side
54 A 55 Model Cable length (A)
(18) 36 36 (19)
15 CA-CH3BE 3m
7.4
13
14

Unit: mm

XG-X SM(XR)-GB 6-13


Dimensions

Environment Resistant type (CA-CH**P)

I7.6
Camera side Controller side Model Cable length (A)
CA-CH3P 3m
I16.5

32
I14

CA-CH10P 10 m

18 31
55 A 41
Unit: mm

High flex robotic and environment resistant type (CA-CH**BP)

Camera side Controller side


Ø7.4
Model Cable length (A)
Specifications and Optional Devices

CA-CH5BP 5m

31.4
15

CA-CH10BP 10 m

19 36 31.7
55 A 42

Unit: mm

High flex robotic and environment resistant extension type (CA-CH5BPE)

Camera side ø7.4 Controller side


Model Cable length (A)
CA-CH5BPE 5m
14
15

19 36 36 19
55 A 55

Unit: mm

6-14 XG-X SM(XR)-GB


Dimensions

Dust-Proof Air Purge Unit (XR-AP1)

37.6
4×M3 Depth:6mm

17.5
33.0
7.0

Tube fitting mounting hole 160.2

4×M3

Specifications and Optional Devices


Fixing Screw

48.8

152.8
Unit: mm

Calibration Target (for XR-HT15M) (OP-87740)


30.0 5.0
30.0

Unit: mm

Calibration Target (for XR-HT40M) (OP-87741)


60.0 5.0
60.0

Unit: mm

Height Standard (OP-87742)


18.0
12.0 6.0
30.0

30.0 1.0
1.0
Unit: mm

XG-X SM(XR)-GB 6-15


Options

Options

List of Options

Cables

Model Description Reference page


CA-CH3 Camera cable (CA-CH** Series) (3 m) Page 6-8, 6-13
CA-CH5 Camera cable (CA-CH** Series) (5 m)
CA-CH10 Camera cable (CA-CH** Series) (10 m)
Specifications and Optional Devices

CA-CH3R High flex robotic camera cable (CA-CH** Series) (3 m)


CA-CH5R High flex robotic camera cable (CA-CH** Series) (5 m)
CA-CH10R High flex robotic camera cable (CA-CH** Series) (10 m)
CA-CH3L L-shape connector camera cable (CA-CH** Series) (3 m)
CA-CH5L L-shape connector camera cable (CA-CH** Series) (5 m)
CA-CH10L L-shape connector camera cable (CA-CH** Series) (10 m)
CA-CH3BE High flex robotic extension cable (CA-CH** Series) (3 m)
CA-CH5BP Environment resistant and high flex robotic camera cable (CA-CH** Series)
(5m)
CA-CH10BP Environment resistant and high flex robotic camera cable (CA-CH** Series)
(10 m)
CA-CH5BPE Environment resistant and high flex robotic camera extension cable
(CA-CH** Series) (5 m)
OP-26487 Serial connection cable (2.5 m, straight) Page 5-2
OP-26486 D-sub 9-pin connector (female) Page 5-2
OP-84384 D-sub 9-pin connector (male, for SYSMAC)
OP-86930 D-sub 9-pin connector (male, for MELSEC)
OP-66843 Ethernet cable (3 m, cross cable)
OP-51657 Parallel port ribbon cable (3 m)
OP-66844 USB 2.0 cable (2 m)
OP-66842 Monitor cable (3 m) Page 2-7
OP-87055 Monitor cable (10m)
OP-79426 Ver.1.10 compatible CC-Link cable (20 m) Page 5-7
OP-79427 Ver.1.10 compatible CC-Link cable (100 m) Page 5-7
OP-87264 Touch panel modular RS-232C cable (3 m) Page 6-22
OP-87265 Touch panel modular RS-232C cable (10 m)

Softwares

Model Description Reference page


XG-H1X XG-X Series Integrated Vision Editing Software
CA-H1DB Database Software for the Image Processing System
CA-AD1 Function Addition Add-on SD Card

6-16 XG-X SM(XR)-GB


Options

Others

Model Description Reference page


CA-U4 Ultracompact switching power supply (6.5 A) Page 6-18
CA-U5 Ultracompact switching power supply (12.5 A) Page 6-19
OP-87133 SD card (512 MB) Page 7-4
CA-SD1G SD card (1 GB)
CA-SD4G SD card (4 GB)
CA-SD16G SD card (16 GB)
OP-87983 USB Handheld Controller Page 6-11, 7-2
OP-87506 Dedicated Mouse Page 6-11
OP-84364 Ferrite core for the CA-NCL10E/20E Page 5
CA-MP82 LCD monitor Page 6-21

Specifications and Optional Devices


CA-MP120 LCD monitor Page 6-22
CA-MP120T Touch panel LCD monitor
OP-87262 Monitor stand for CA Series LCD monitor Page 6-22
OP-87263 Touch panel scratch-prevention sticker
XR-AP1 Dust-Proof Air Purge Unit Page 6-15
OP-87740 Calibration Target (for XR-HT15M/MD) Page 6-15
OP-87741 Calibration Target (for XR-HT40M/MD) Page 6-15
OP-87742 Height Standard Page 6-15
CA-F100 Fan unit Page 1-5

XG-X SM(XR)-GB 6-17


Options

Ultracompact switching power supply (CA-U4/U5)

Ultracompact switching power supply CA-U4

When front mounted


(12) 120 (Mounting bracket : OP-42174)

43.3

122.5 35.9

170
10

14.3
16.1 85.5 16.5
2.5
59 15
Specifications and Optional Devices

12.5
40 t=2
60 28 59 4-φ5 122
15.5

28

Screw hole for mounting


4-M3 Screw insertion depth 5 max.

When bottom mounted When side mounted


(Mounting bracket : OP-42175) (Mounting bracket : OP-51629)

132.5

157

t=2

12.5 7 15
5
12.5
t=2 12.5 50
60 75 20.5

The side mounting bracket can be attached to either side.


40 55

150
160 4-φ5
Unit: mm

6-18 XG-X SM(XR)-GB


Options

Ultracompact switching power supply CA-U5


(10.0) 131.5

124.0

35.9
P=10

46.5
16.8
2.0
70.5
140.0 96.0 16.5
78.0 21.5

10.0

Specifications and Optional Devices


120.0
Screw hole for mounting
4xM3 Screw insertion depth 5 max.
Unit: mm

XG-X SM(XR)-GB 6-19


Options

Specifications

Model CA-U4 CA-U5


Input Rated Input voltage*1 85 to 264 VAC, 110 to 370 VDC
conditions
Rated Frequency*1 47 to 63 Hz, DC
Input current (100/200 VAC) 2.2 A/1.1 A max. 3.9 A/1.8 A max.
Efficiency (100/200 VAC) 82%/85% typ. (with 100% load)
Leakage current (100/200 VAC) 0.4 mA/0.75 mA max. (with 100% load)
Rush current (100/200 VAC) 25 A/50 A max. (with 100% load, at +25 ºC cold start)
Output Rated output voltage 24 VDC
characteristics Adjustable voltage range ±5% (with V.ADJ)
Rated output current 6.5 A or more 12.5 A or more
Ripple/noise voltage 180 mVp-p max.
Specifications and Optional Devices

Input fluctuation 0.4 % max.


Load fluctuation 1.5 % max.
Temperature fluctuation 0.02 %/ºC max.
Starting time 500 ms max.
(at Surrounding Air Temperature of 0 to +55ºC under rated I/O conditions)
Output holding time 20 ms min.
(at Surrounding Air Temperature of +25ºC under rated I/O conditions)
Protection Overcurrent protection Constant current reduction. Automatic reset
7.9 A or more 15.6 A or more
*2
Overvoltage protection Activates when the voltage reaches 26.4 V or more. Voltage turn-off.
Operation resumes when the input power is turned on again.
Display Display method 3-digit, 7-segment LED (Character height: 10 mm)
Memory backup time Approx. 10 years (at +20ºC)
Display resolution 0.1 A/0.1 V/1%
Environmental Surrounding Air Temperature –10 to +55ºC, No freezing
resistance (for operation)
Ambient operating humidity 85% RH or less (no condensation)
Surrounding Air Temperature –20 to +70ºC, No freezing
(for storage)
Withstand voltage 3.0 kVAC 50/60 Hz 1 min (across input and output terminals)
2.0 kVAC 50/60 Hz 1min (across input terminal and FG terminal)
500 VAC 50/60 Hz 1 min (across output terminal and FG terminal)
Shock resistance Peak acceleration: 300 m/s2, in X, Y, and Z directions, 2 times respectively
Vibration resistance In X, Y, and Z directions, 2 hours respectively under the following conditions
10 to 57 Hz: 0.3 mm double-amplitude, 57 to 500 Hz: 19.6 m/s2 (2G), 5.5-
minute cycle
Insulation resistance 100 M min. (with 500 VDC megohmmeter) (across input and output
terminals)
(across input terminal and FG terminal) (across output terminal and FG
terminal)
Applicable Safety standard UL : UL508, UL60950-1
standard C-UL : CSA C22.2 No.14-M95, CSA C22.2 No.60950-1-03
EN : EN62368-1, EN62362-1
IEC : IEC62368-1
EMC standard FCC Part15B ClassA, EN55011 ClassA, EN61000-6-2
Harmonic current emissions EN61000-3-2
regulation
Others Parallel operation Possible (OP-42207 is required.)*3
Serial operation Possible (External diode is required.)*3
Cooling method Natural air-cooling
Weight Approx. 700g Approx. 1540g

*1 During the application for safety standard, the rated input voltage is 100 to 240 VAC and the rated frequency is 50/60 Hz.
*2 To reset the unit, turn off the input power once, wait for 1 minute or more, and then turn on the input power again.
*3 The Applicable standards do not apply for parallel and serial operations.

6-20 XG-X SM(XR)-GB


Options

LCD Monitor (CA-MP82)

CA-MP82

Panel installation diagram

241.2
(Outline of mounting bracket)

230 Panel thickness 171


1.0 to 4.0 mm
Mounting bracket 77.5 75
6
151 : 5.
pth
4 e de
Mounting screws 4-Mectiv
Eff

(Outline of
mounting bracket) 39
191.2 127.8
180 (Effective 106 75
display area) 6
4-ø 24.3 93.5

Specifications and Optional Devices


52.5

76.2 38
31.5
156 6 34 135
* When OP-66842 is connected

170.4
(Effective display
area)

Panel cut dimensions

255

205

+1
169.5 0

219.5
+1
0
Unit: mm

Specifications

CA-MP82
Display panel Display element a-Si TFT Active Matrix
Display color 16,777,216 colors
Number of display dots 1024 (W) × 768 (H) dots
Effective display area 170.4 (W) × 127.8 (H) mm
Backlight Life Average life: approx. 100,000 hours (+25°C vertical installation)
Input/Output Input signal Analog RGB signal (0.7 Vp-p, 75Ω) horizontal, vertical period signal
Input signal mode 1024 (W) x 768 (H), vertical frequency 60 Hz, or 800 (W) x 600 (H), vertical frequency 60 Hz
Connector High-density mini D-sub 15-pin, female (3WAY, inch screw)
Rating Power supply voltage 24 VDC ±10%
Current consumption 0.4 A or less
Ambient temperature 0 to +40°C
Relative humidity 85% RH or less (no condensation)
Structure Panel embedded type, dust-proof, drop-proof structure equivalent to IP65f at front only
Weight Approx. 1200 g

XG-X SM(XR)-GB 6-21


Options

Touch Panel LCD Monitor (CA-MP120T)/LCD Monitor (CA-MP120)

CA-MP120T

Panel installation diagram


247.4 4-M4
75
(Effective display area) Effective depth: 10

186
6.5 (Effective
75
display area) 35
255
240
φ10

8.1

28
15
Specifications and Optional Devices

6 (49.5) 342

360
55.5

Panel cut dimensions


Panel thickness
Mounting bracket
1.6 to 4.0 mm
Mounting screws

263
(Outline of
mounting 242 +1
0
bracket)

157.5 156.5 344 +1 Unit: mm


0

CA-MP120

Panel installation diagram


247.4 4-M4
75
(Effective display area) Effective depth: 10

6.5 186 75
(Effective 35
255
display area) 240

342
15 6 28
360 49.5
55.5

Panel cut dimensions


Mounting bracket

Mounting screws

263
(Outline of +1
242 0
mounting
bracket)

157.5 156.5 344 +10 Unit: mm

6-22 XG-X SM(XR)-GB


Options

Specifications

Model CA-MP120T CA-MP120


Liquid crystal panel Display element a-Si TFT Active Matrix
Effective display area 245 (W) x 184 (H) mm
Number of display dots 1024 (W) x 768 (H) dots or 800 (W) x 600 (H) dots
Display color 16,777,216 colors
Backlight Life Average life: approx. 100,000 hours (+25°C vertical installation)
Input/Output Input signal Analog RGB signal (0.7 Vp-p, 75) horizontal, vertical period signal
Input signal mode 1024 (W) x 768 (H), vertical frequency 60 Hz, or 800 (W) x 600 (H),
vertical frequency 60 Hz
Input signal connector High-density mini D-sub 15-pin, female (3WAY, inch screw)
Touch panel connector D-sub 9-pin, male (2WAY, inch screw) -

Specifications and Optional Devices


Handheld controller connector RJ45 connector -
Rating Power supply voltage 24 VDC ±10%
Current consumption 1.0 A or less
Ambient temperature 0 to +40°C
Relative humidity 85% RH or less (no condensation)
Structure Panel embedded type, dust-proof, drop-proof structure equivalent to IP65f at front only
Weight Approx. 2.3 kg

XG-X SM(XR)-GB 6-23


6-24 XG-X SM(XR)-GB
Options
Specifications and Optional Devices
7
Chapter

Appendix

Appendix

Documentation for the installation and configuration methods


of the controller, software, and CAD data can be downloaded
from the following URL.
www.keyence.com/xgxus

XG-X SM(XR)-GB 7-1


Controlling the Handheld Controller (Optional)

Controlling the Handheld Controller (Optional)

This section explains the common operations and functions of the USB handheld controller (OP-87983).

The Function for Each Button

Functions can be assigned to each button and to key combinations. The accessible operations on the handheld controller
Reference 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 handheld
controller. For more details about assigning functions to the handheld controller, see the XG-X VisionEditor Reference Manual.

(5) (1) No. 0 button/8-way thumbpad


Press the outer cursor button up, down, right or left to
Appendix

(1) (6) move the selected item on the screen.


Press the button in the center to confirm the setting on
the screen.
(2) (7)
(2) No. 1 button (FUNCTION)
(3) (8)
Press the button to toggle the function menu on/off.
(4) (9) It is also setup by default as a combination button.
(3) No. 4 button (SCREEN)
This button cycles the screen through different display
types (raw image 1, filtered, etc.).
(4) No. 5 button (VIEW)
Press to display the View Toolbar for zooming in or out
on the screen, or for switching between options of
such as result display or display patterns.
(5) No. 7 Back button
In Setup mode, this button is used to toggle the display
of the flowchart between normal and magnified.
In Run mode, this button is used to open the number 100
custom menu box. To open the number 100 custom
menu box, you need to create the custom menu box in
advance on the XG-X VisionEditor. For more details, see
the XG-X VisionEditor Reference Manual.
It is also setup by default as a combination button.
(6) No. 8 selector switch (RUN/STOP)
This switch toggles between Run mode and Setup
mode. Flick this switch to toggle between Run mode
and Setup mode.
(7) No. 3 button (TRIGGER)
Press this button to issue a trigger for all cameras.
Press and hold the No. 3 button in the Setup mode to
issue a continuous trigger (only when trigger input is
enabled). Press the No. 3 button (TRIGGER) again to
stop triggering.
(8) No. 6 button (MENU)
Push this button to display the Image Bar to check
archived images or run tests again.
(9) No. 2 button (ESCAPE)
Press this button to return to the previous screen or to
resume the previous operation.

7-2 XG-X SM(XR)-GB


Controlling the Handheld Controller (Optional)

Multiple Key Combinations


Various functions can be performed on the handheld controller 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.

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 No. 1 button (FUNCTION) + No. 5 button (VIEW)
(Screen capture) Or
No. 7 Back button + No. 5 button (VIEW)
Send a reset signal to the controller No. 1 button (FUNCTION) + No. 2 button (ESCAPE)
Or
No. 7 Back button + No. 2 button (ESCAPE)
Changing screens No. 1 button (FUNCTION) + No. 4 button (SCREEN)

Appendix
Or
No. 7 Back button + No. 4 button (SCREEN)
Change the level of intensity for the dialog menus No. 1 button (FUNCTION) + No. 6 button (MENU)
Or
No. 7 Back button + No. 6 button (MENU)

In addition to the above, there are also key operations which can only be used from the Flow Editor and Screen Editor.
Reference For more details, see the XG-X Series User's Manual.

XG-X SM(XR)-GB 7-3


Inserting and Removing an SD Card

Inserting and Removing an SD Card

Users can save the program settings or captured images on an SD card.

• The flash memory used as the storage element on the SD card has a read/write lifespan that, when reached, may
result in an eventual loss of data. Data stored on an SD card should be backed up regularly to other media.
NOTICE • SD Card 1 contains the global settings and other data necessary for the controller to operate. Make sure it is
inserted at startup and while the power is ON.
• Data that must be loaded by swapping SD cards should be stored on SD card 2.

Supported SD Card Models


Use the optional Keyence OP-87133 (512 MB), optional CA-SD1G (1 GB), optional CA-SD4G (4 GB) or optional CA-
SD16G (16 GB).
Note that the controller ships with one of the following SD cards inserted in the SD1 slot:
Appendix

• XG-X1000/X1002/X1200/X1202/X2000/X2002/X2200/X2202: OP-87133
• XG-X1500/X1502/X2500/X2502/X2700/X2702/X2800/X2802/X2800LJ: CA-SD1G
• XG-X2900/X2902/X2900LJ: CA-SD4G

• Do not use any SD card other than the models mentioned above. Using those cards may cause data loss or setting
NOTICE data damage.
• For details about file management on SD cards and card formatting, refer to the XG-X Series User's Manual.

Inserting an SD Card
Insert the SD card into the SD1 and SD2 slot such that the triangle inscription is on the top of the card.

SD2 slot

Insert SD card.

SD1 slot
(Do not insert or remove
while power is on.)

• Be sure the card is oriented correctly when inserting it. Inserting the card in the wrong direction may damage
the data and SD card.
• The access drive light illuminates while there is an SD card in the drive.
- Green: An SD card is inserted and accessible.
NOTICE - Red: The SD card is being accessed.
- Not lit: The SD card is not active. (The SD card can be removed from the slot.)
• When inserting the SD card into the SD1 slot, turn off the controller. Keep SD Card 1 inserted at startup and
while the power is ON.

7-4 XG-X SM(XR)-GB


Inserting and Removing an SD Card

Removing an SD Card 5 Remove the SD card from the SD2 slot on the controller.

Choose [Stop SD2 Operation], then press the SD card in


(1) Make sure the access
the SD2 slot inward to release and remove the card. drive light is not lit.
(2) Open cover.
• Make sure to take the following steps to
protect the SD card and the data it contains.
(3) Press SD card
• If you remove the SD card using a procedure to unlock it.
other than that specified, or if power is turned
off when the card is being accessed, any (4) Remove SD card.
NOTICE writing task will stop resulting in a possible
loss of data or damage to the SD card.
• SD Card 1 should not be removed while the
controller is turned on. Turn off the controller
before removing SD Card 1.

1 On the handheld controller, press the No. 1 (FUNCTION)


button.

Appendix
The Function menu appears.

2 Select [Stop SD2 Operation].

A confirmation screen appears.

3 Select [OK].

4 When a confirmation screen appears stating that


preparation to eject the card is complete, select [Close] to
close the confirmation screen.
The LED indicator turns off, indicating that SD Card 2
can now be removed.

XG-X SM(XR)-GB 7-5


Connecting and Disconnecting the USB HDD

Connecting and Disconnecting the USB HDD

Users can save the program settings or captured images on a USB HDD.

• The unit’s power GND (0V) is shared in common with the connector shield and signal GND. If there is a potential
difference with the connection for the USB HDD, this may result in breakdowns or malfunctions of the unit and the
NOTICE USB HDD.
• Depending on lifespan, malfunctions, and the like, the saved data on the USB HDD may be lost. Data stored on a
USB HDD should be backed up regularly to other media.

If you think that there are potential difference with the connections, use a USB HDD which supports bus powered drives.
Reference The controller’s bus power feed capacity is 900 mA (USB 3.0 compatible). Check with the USB HDD manufacturer
concerning the bus power drive compatibility of the USB HDD that you are using.
In addition, do not use USB hubs since they may cause the feed capacities and the data transmission speeds to decrease.

Supported USB HDD


Appendix

• External HDDs that support USB 2.0 and USB 3.0 can be connected to the controller's USB HDD connector. However,
not every external HDD that is compatible with this specification is guaranteed to function on the controller.
NOTICE • The maximum capacity that can be recognized as a disk on the controller is 2 TB. Additionally, if there are multiple
partitions on the USB HDD, the controller will recognize only the first partition that it recognized as a disk.

• The power saving function on some USB HDDs may cause the read speed from the controller to decrease. Keyence
Point recommends that you disable the power saving function in advance.
• To connect the USB cable for VisionDataStorage OP-88263, see the OP-88263 Instruction Manual and the
VisionDataStorage User’s Manual.

Connecting a USB HDD


Insert a USB cable that is compatible with the USB HDD that you are going to connect into the controller's USB HDD
connector (blue terminal).

USB HDD connector

Connect a USB cable.

Use a USB cable that is compatible with the USB HDD that you are going to connect to the controller. Using a cable
NOTICE that is not compatible may cause the controller and the USB HDD to malfunction. Check with the USB HDD
manufacturer concerning the compatible USB cable.

Make sure to format the connected USB HDD with the controller before using it. The controller may not correctly
Important recognize the USB HDD with its factory settings or if it has been formatted by a computer.
For more details about formatting the USB HDD, see the XG-X Series User's Manual.

Only the blue USB HDD connector on the controller can be used to connect a USB HDD. If you connect a USB
Point HDD to the black CONSOLE/MOUSE (USB) connector or the USB connector, it will not function.

7-6 XG-X SM(XR)-GB


Connecting and Disconnecting the USB HDD

Removing a USB HDD


After you perform the procedure to remove the USB HDD,
remove the USB cable and the USB HDD.

• To prevent the corruption of data or damaging


the USB HDD, make sure to always perform the
procedure below.
• If you perform a procedure other than the one
NOTICE specified and remove the USB HDD or turn off
power to the USB HDD while it is being
accessed, files will stop being saved, which
may corrupt data or damage the USB HDD.

1 On the handheld controller, press the No. 1


(FUNCTION) button.
The Function menu appears.

Appendix
2 Select [Stop USB HDD Operation].

A confirmation screen appears.

3 Select [OK].

4 When a confirmation screen appears stating that


preparation to remove the USB HDD is complete, select
[Close] to close the confirmation screen.
The USB HDD can now be removed.

XG-X SM(XR)-GB 7-7


Exporting and Importing Settings

Exporting and Importing Settings

By exporting and importing settings data, you can copy


settings data from another controller, or edit controller 4 Select [Save].
settings data on the XG-X VisionEditor and apply the edited
settings data to the controller. 5 For [Program File], select [All].

• By changing [Folder], you can change


Reference the name of the folder that you want to
Exporting Settings export the settings to.
• You can also export only a specific program
number. For [Program File], select [Individual]
This section will describe how to export settings data to an
and then select the program number that you
SD card. want to export in [Program file].

1 Insert an SD card into the SD2 slot. 6 Select [Execute] to start exporting the settings.
Appendix

Make sure to use an SD card that is


supported by the controller.
NOTICE For more details, see "Supported SD Card
Models" in "Inserting and Removing an
SD Card" (Page 7-4).

2 Switch to Setup mode.


For more details about how to switch modes, see
"Switching between Run Mode and Setup Mode"
(Page 4-3).

3 Select the Setting No. Display field and then select [New/
Edit/Del Programs].
7 When a confirmation screen appears stating that
exporting of settings is complete, select [Close] to close
the confirmation screen.

8 Select [Stop SD2].

A confirmation screen appears.

9 Select [OK].
When a confirmation screen appears stating that
preparation to eject the card is complete, select
[Close] to close the confirmation screen, and then
remove the SD card.

7-8 XG-X SM(XR)-GB


Exporting and Importing Settings

Importing Settings 4 Select [Load].

This section will describe how to import settings data from an 5 For [Program File], select [All].
SD card.
6 In [Load from], select the settings data that you want to
1 Insert an SD card into the SD2 slot. import.
Folders that can be imported are displayed as one of
Make sure to use an SD card that is
supported by the controller. the following icons:
NOTICE For more details, see "Supported SD Card
Models" in "Inserting and Removing an (Not selected)
SD Card" (Page 7-4).
(Selected)
2 Switch to Setup mode.
For more details about how to switch modes, see You can also import only a specific program
"Switching between Run Mode and Setup Mode" Reference number. For [Program File], select [Individual]
(Page 4-3). and then select the program number that you

Appendix
want to import in [Load from].
3 Select the Setting No. Display field and then select [New/
7 Select [Execute] to start importing the settings.
Edit/Del Programs].
A confirmation screen appears stating that the settings
have been imported.

8 Select [Restart now] to restart the controller.

If you have not selected the [System Setting]


Reference check box in [File Type], the controller does
not need to be restarted. A confirmation screen
prompting you to restart will not appear.

XG-X SM(XR)-GB 7-9


Saving Camera Images for Simulation

Saving Camera Images for Simulation

This section describes the procedure to save captured


camera images to the SD card1. 5 If necessary, set [File Naming Rule] and [Image Format],
and then select [OK] to close the [Settings] screen.
Camera images saved to the SD1 card can
Point be used for simulations on a computer and
the controller's retest function.

1 Switch to Setup mode.


For more details about how to switch modes, see
"Switching between Run Mode and Setup Mode"
(Page 4-3).

2 Select the capture unit.


Appendix

6 On the handheld controller, push the No.3 (TRIGGER)


button. A trigger is input and an image is captured.
The camera image that you want to save will be
displayed.

7 Select [Capture Image].

3 Select [Simulation Image Capture].

When a confirmation screen appears stating that


saving of the image is complete, select [Close] to
close the confirmation screen.

8 Select [OK] to close the operation screen.

4 Select [Settings].

9 Turn off the controller and remove the SD card from the
SD1 slot.

7-10 XG-X SM(XR)-GB


INDEX

INDEX

Numerics E
24 V DC power supply ............................................ 2-7 Error LED ................................................................ 1-4
3D View ................................................................. 4-11 Error Message ........................................................ 4-7
3D Viewer .............................................................. 4-12 Error Output ............................................................ 3-5
8-way thumbpad ..................................................... 7-2 ESCAPE button ...................................................... 7-2
EtherCAT Interface ................................................. 5-9
EtherCAT Unit ....................................................... 5-10
B ETHERNET connector ............................................ 1-5
Bottom of the Controller .......................................... 2-4 Ethernet Interface ................................................... 5-3
EtherNet/IP Interface ............................................ 5-11
EtherNet/IP Unit .................................................... 5-12
C
Example of connections ....................5-20, 5-21, 5-22

INDEX
CA-E100T .............................................. 6-6, 6-9, 6-10
Expansion Unit ....................................................... 2-3
CA-F100 .................................................................. 1-5
Expansion unit connector ....................................... 1-5
Calibration Target ................................................. 6-15
Exporting Settings .................................................. 7-8
Camera ................................................................... 4-6
CAMERA 1 connector ............................................. 1-5
Camera Cable ....................................................... 6-13 F
Camera Input Unit ........................................... 2-3, 6-2 Fan unit ................................................................... 1-5
CA-MP82 ............................................................... 6-21 Fixing ...................................................................... 2-4
CA-NCL20E .......................................... 5-6, 6-6, 6-10 FUNCTION button .................................................. 7-2
CA-NEC20E .......................................... 5-9, 6-6, 6-10
CA-NEP20E ......................................... 5-11, 6-6, 6-10
CA-NPN20E ........................................ 5-13, 6-7, 6-10 H
CA-U4 ................................................................... 6-18 Height Image ........................................................ 4-11
CA-U5 ................................................................... 6-19 Height Standard ................................................... 6-15
CC-Link Interface .................................................... 5-6
CC-Link Unit ............................................................ 5-8
Circuit .................................................................... 5-20
I
Communication Expansion Unit .............................. 2-3 I/O (parallel I/O) connector .................................... 1-4

Compatible Cameras by Controller ........................ 6-2 I/O Interface ........................................................... 5-1

Connecting ..................................................... 2-6, 7-6 Importing Settings .................................................. 7-9

Connecting a USB HDD ......................................... 7-6 Input circuit diagram ............................................ 5-20

Connecting Cables ................................................. 2-6 Input Signal ............................................................ 4-4

Connector Specifications ........................ 5-2, 5-3, 5-4 Input/Output Circuit .............................................. 5-20

CONSOLE/MOUSE (USB) connector ..................... 1-4 Inserting an SD Card .............................................. 7-4

Controller .................1-2, 1-3, 1-4, 2-2, 4-2, 6-3, 6-9 Installation ...............................................2-2, 2-3, 2-5

Cooling .................................................................... 2-2


Cross Hairs ............................................................. 4-6
L
LED Intensity Adjustment ..................................... 4-10
D
Dedicated Mouse ................................................. 6-11
M
Dimensions ............................................................. 6-9
Main Specifications ................................................ 6-3
DIN Rail ................................................................... 2-4
MENU button .......................................................... 7-2
Dust-Proof Air Purge Unit .............................. 1-6, 6-15

XG-X SM(XR)-GB I-1


INDEX

MONITOR (RGB output) terminal ........................... 1-4


S
Multiple Key Combinations ..................................... 7-3
Saving Camera Images ........................................ 7-10
SCREEN button ...................................................... 7-2
N Screen capture ....................................................... 7-3
SD Card .................................................................. 7-4
No.0 button ............................................................. 7-2
SD card slot ............................................................ 1-4
No.1 button ............................................................. 7-2
Selector Switch ....................................................... 7-2
No.2 button ............................................................. 7-2
Setup Mode ............................................................ 4-3
No.3 button ............................................................. 7-2
Standard System Configuration ............................. 1-2
No.4 button ............................................................. 7-2
Status Change Time ............................................... 3-8
No.5 button ............................................................. 7-2
Strobe Output ......................................................... 3-6
No.6 button ............................................................. 7-2
Supported SD Card Models ................................... 7-4
No.7 Back button .................................................... 7-2
Supported USB HDD ............................................. 7-6
No.8 selector switch ............................................... 7-2

O T
INDEX

Terminal block ........................................................ 1-5


OP-87506 ...................................................... 4-2, 6-11
Terminal Block Interface ...................................... 5-18
OP-87740 .............................................................. 6-15
Timing Chart ........................................................... 3-7
OP-87741 .............................................................. 6-15
Total Status Output ................................................. 3-6
OP-87742 .............................................................. 6-15
Trigger 1 Input ........................................................ 3-3
OP-87983 ...................................................... 4-2, 6-11
TRIGGER button ..................................................... 7-2
Options ................................................................. 6-16
OUT/IN connector (Terminal block) ........................ 1-5
Output circuit diagram .......................................... 5-21
U
Output Signal .......................................................... 4-5
USB connector ....................................................... 1-4
Output Time ............................................................ 3-8
USB driver .............................................................. 5-5
USB Handheld Controller ..............................6-11, 7-2
P USB HDD ............................................................... 7-6
USB HDD connector .............................................. 1-5
Parallel I/O Interface ............................................. 5-16
USB Interface ......................................................... 5-4
Permission Output for Trigger 1 Input .................... 3-4
Pin Layout ................................................... 5-16, 5-19
Power and ground terminals ................................... 1-5
V
Power supply LED .................................................. 1-4
VIEW button ............................................................ 7-2
Profile .................................................................... 4-11
PROFINET Interface .............................................. 5-13
PROFINET Unit ..................................................... 5-14 W
Wiring ..............................................................3-1, 4-4
Wiring Diagram ...................................................... 5-6
R
Removing a USB HDD ............................................ 7-7
Removing an SD Card ............................................ 7-5 X
Reset Signal ............................................................ 7-3 XG-X2800/X2802 .................................................... 6-9
RS-232C Interface .................................................. 5-2 XG-X2900/X2902/X2800/X2802 ............................. 6-3
RS-232C port .......................................................... 1-4 XR Calibration ........................................................ 4-9
Run Mode ............................................................... 4-3 XR Camera (XR-HT15M/HT40M) ............................ 1-6
Run Mode Output ................................................... 3-5 XR-AP1 ..........................................................1-6, 6-15
RUN/STOP switch ................................................... 7-2 XR-HT15M .....................................................6-7, 6-12
XR-HT40M .....................................................6-7, 6-12

I-2 XG-X SM(XR)-GB


INDEX

INDEX

XG-X SM(XR)-GB I-3


Revision history

Revision history

Date printed Revision number Revision contents


June 2016 Official release
October 2017 Revised 2nd edition Ver. 1.2.0000 reflected
March 2018 Revised 3rd edition Ver. 1.3.0000 reflected
January 2019 2nd revision 1st edition Ver. 2.0.0000 reflected
December 2019 2nd revision 3rd edition Ver. 2.3.0000 reflected
March 2020 3rd revision 1st edition Ver. 2.4.0000 reflected
September 2020 3rd revision 2nd edition Ver. 2.5.0000 reflected
June 2021 4th revision 1st edition Ver. 2.7.0000 reflected
March 2023 4th revision 2nd edition
WARRANTIES AND DISCLAIMERS

(1) KEYENCE warrants the Products to be free of defects in materials and workmanship for a period of one (1) year from
the date of shipment. If any models or samples were shown to Buyer, such models or samples were used merely to
illustrate the general type and quality of the Products and not to represent that the Products would necessarily
conform to said models or samples. Any Products found to be defective must be shipped to KEYENCE with all
shipping costs paid by Buyer or offered to KEYENCE for inspection and examination. Upon examination by
KEYENCE, KEYENCE, at its sole option, will refund the purchase price of, or repair or replace at no charge any
Products found to be defective. This warranty does not apply to any defects resulting from any action of Buyer,
including but not limited to improper installation, improper interfacing, improper repair, unauthorized modification,
misapplication and mishandling, such as exposure to excessive current, heat, coldness, moisture, vibration or
outdoors air. Components which wear are not warranted.
(2) KEYENCE is pleased to offer suggestions on the use of its various Products. They are only suggestions, and it is
Buyer's responsibility to ascertain the fitness of the Products for Buyer’s intended use. KEYENCE will not be
responsible for any damages that may result from the use of the Products.
(3) The Products and any samples ("Products/Samples") supplied to Buyer are not to be used internally in humans, for
human transportation, as safety devices or fail-safe systems, unless their written specifications state otherwise.
Should any Products/Samples be used in such a manner or misused in any way, KEYENCE assumes no
responsibility, and additionally Buyer will indemnify KEYENCE and hold KEYENCE harmless from any liability or
damage whatsoever arising out of any misuse of the Products/Samples.
(4) OTHER THAN AS STATED HEREIN, THE PRODUCTS/SAMPLES ARE PROVIDED WITH NO OTHER
WARRANTIES WHATSOEVER. ALL EXPRESS, IMPLIED, AND STATUTORY WARRANTIES, INCLUDING,
WITHOUT LIMITATION, THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE,
AND NON-INFRINGEMENT OF PROPRIETARY RIGHTS, ARE EXPRESSLY DISCLAIMED. IN NO EVENT SHALL
KEYENCE AND ITS AFFILIATED ENTITIES BE LIABLE TO ANY PERSON OR ENTITY FOR ANY DIRECT,
INDIRECT, INCIDENTAL, PUNITIVE, SPECIAL OR CONSEQUENTIAL DAMAGES (INCLUDING, WITHOUT
LIMITATION, ANY DAMAGES RESULTING FROM LOSS OF USE, BUSINESS INTERRUPTION, LOSS OF
INFORMATION, LOSS OR INACCURACY OF DATA, LOSS OF PROFITS, LOSS OF SAVINGS, THE COST OF
PROCUREMENT OF SUBSTITUTED GOODS, SERVICES OR TECHNOLOGIES, OR FOR ANY MATTER ARISING
OUT OF OR IN CONNECTION WITH THE USE OR INABILITY TO USE THE PRODUCTS, EVEN IF KEYENCE OR
ONE OF ITS AFFILIATED ENTITIES WAS ADVISED OF A POSSIBLE THIRD PARTY’S CLAIM FOR DAMAGES
OR ANY OTHER CLAIM AGAINST BUYER. In some jurisdictions, some of the foregoing warranty disclaimers or
damage limitations may not apply.

BUYER'S TRANSFER OBLIGATIONS:


If the Products/Samples purchased by Buyer are to be resold or delivered to a third party, Buyer must provide such
third party with a copy of this document, all specifications, manuals, catalogs, leaflets and written information provided
to Buyer pertaining to the Products/Samples.

E 1101-3
Copyright (c) 2021 KEYENCE CORPORATION. All rights reserved. 197318GB 2033-2 A23GB Printed in Japan

You might also like