Leuze electronic DCR 202i Original Operating Instructions

Page 1
EN 2016/01 - 50130061 We reserve the right to
Original operating instructions
make technical changes
DCR 202i
Camera-based code reader
Page 2
© 2016 Leuze electronic GmbH + Co. KG In der Braike 1 D-73277 Owen / Germany Phone: +49 7021 573-0 Fax: +49 7021 573-199 http://www.leuze.com info@leuze.de
Leuze electronic DCR 202i 2
Page 3
1 About this document . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1.1 Used symbols and signal words . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2 Safety . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.1 Intended use . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.2 Foreseeable misuse . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.3 Competent persons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2.4 Exemption of liability . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
3 Device description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
3.1 Device overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
3.1.1 About the DCR 200i code reader . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
3.1.2 Performance characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
3.1.3 Accessories . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
3.2 Device construction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
3.3 Connection technology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
3.4 Indicators and operational controls . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
3.4.1 LED indicators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
3.4.2 Bar graph display. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
3.4.3 Control buttons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
4 Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
4.1 Camera operating modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
4.1.1 Single trigger mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
4.1.2 Reading gate control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
4.1.3 Burst mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
4.1.4 Presentation mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
4.2 Reference code comparison . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
4.3 Leuze webConfig tool . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
5 Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
5.1 Reading of 1D-codes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
5.2 Reading of 2D-codes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
5.3 Code reading with polarization filter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
5.4 Code reading with diffusor foil . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
6 Mounting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
6.1 Determining the mounting position of the code reader . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
6.1.1 Selecting a mounting location . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
6.1.2 Avoiding total reflection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
6.1.3 Determining the reading distance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
6.2 Mounting the code reader . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
6.2.1 Mounting with M4 fastening screws. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
6.2.2 Mounting with the BTU 320M-D12 mounting system . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
6.2.3 Mounting with the BT 320M mounting bracket . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
6.3 Replace housing hood. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
6.4 Attaching the diffusor foil . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
7 Electrical connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
7.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
7.2 PWR / SWIO – voltage supply / RS 232/RS 422 / switching inputs/outputs . . . . . . . . . . . 29
7.3 HOST - Host input / Ethernet. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
7.4 Ethernet star topology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Leuze electronic DCR 202i 3
Page 4
7.5 Cable lengths and shielding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
7.6 Connecting code reader to fieldbus. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
8 Starting up the device - Basic configuration. . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
8.1 Measures to be performed prior to the initial commissioning . . . . . . . . . . . . . . . . . . . . . . 35
8.2 Starting the device. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
8.3 Setting the communication parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
8.3.1 Manually setting the IP address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
8.3.2 Automatically setting the IP address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
8.3.3 Address Link Label . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
8.3.4 Ethernet host communication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
8.3.5 RS 232/RS 422 communication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
8.4 Configuration via configuration codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
8.5 Activating device functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
8.6 Performing further settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
8.6.1 Decoding and processing the read data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
8.6.2 Control of the decoding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
8.6.3 Activating camera operating mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
8.6.4 Control of the switching outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
8.6.5 Optimizing reading performance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
8.6.6 Transfer configuration data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
9 Commissioning – Leuze electronic webConfig tool . . . . . . . . . . . . . . . . . . . . . . 43
9.1 System requirements. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
9.2 Start webConfig tool . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
9.3 Short description of the webConfig tool. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
9.3.1 Change operating mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
9.3.2 Menu options of the webConfig tool . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
CONFIGURATION menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
9.3.3
9.3.4 Configuring applications with the wizard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
10 Interfaces – Communication. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
10.1 Online commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
10.1.1Overview of commands and parameters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
10.1.2General online commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
10.1.3Online commands for system control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
10.2 XML-based communication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
11 Care, maintenance and disposal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
11.1 Cleaning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
11.2 Servicing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
11.3 Disposing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
12 Diagnostics and troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
13 Service and support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
13.1 What to do should servicing be required? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
14 Technical data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
14.1 General specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
14.2 Optical data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
14.2.1Reading performance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
14.2.2Code specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
14.3 Dimensioned drawing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
Leuze electronic DCR 202i 4
Page 5
14.4 Dimensioned drawings - Accessories . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
15 Ordering information and accessories . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
15.1 Nomenclature . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
15.2 Type overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
15.3 Optical accessories . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
15.4 Cables accessories . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
15.5 Other accessories . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
16 EC Declaration of Conformity. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
17 Appendix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
17.1 ASCII character set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
17.2 Code - sample . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
17.3 Configuration via configuration codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
17.4 License terms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
Leuze electronic DCR 202i 5
Page 6

1 About this document

1.1 Used symbols and signal words

Table 1.1: Warning symbols and signal words
Symbol indicating dangers to persons
NOTICE Signal word for property damage
Indicates dangers that may result in property damage if the measures for dan­ger avoidance are not followed.
CAUTION Signal word for minor injuries
Indicates dangers that may result in minor injury if the measures for danger avoidance are not followed.
Table 1.2: Other symbols
Symbol for tips Text passages with this symbol provide you with further information.
About this document
Table 1.3: Terms and abbreviations
CMOS Semiconductor process for implementing integrated circuits
DCR Camera-based code reader
EMC Electromagnetic compatibility
EN European standard
FE Functional earth
FOV Read field of the code reader (
IO or I/O
IP address Network address, which is based on the Internet Protocol (IP)
LED LED
MAC address Hardware address of a device in the network
Symbols for action steps Text passages with this symbol instruct you to perform actions.
(Complementary Metal-Oxide-Semiconductor)
Dual Code Reader)
(
Field of View)
Input/Output
(Light Emitting Diode)
Media Access Control address)
(
PCRE Regular expressions for reference code comparison
(Perl Compatible Regular Expressions)
PELV Protective extra low voltage with reliable disconnection
Protective Extra Low Voltage)
(
ROI Region of interest of the code reader
PLC
Leuze electronic DCR 202i 6
Programmable Logic Control
Page 7
About this document
TCP/IP Internet protocol family (Transmission Control Protocol/Internet Protocol)
UDP Network transmission protocol (
UL Underwriters Laboratories
User Datagram Protocol)
Leuze electronic DCR 202i 7
Page 8

2 Safety

This code reader was developed, manufactured and tested in accordance with the applicable safety stan­dards. It corresponds to the state of the art.

2.1 Intended use

The code readers of the DCR 200i series are camera-based code readers for all commonly used bar codes, stacked codes and DataMatrix codes as well as for codes of the GS1 DataBar family.
Areas of application The code readers of the DCR 200i series are especially designed for the following areas of application:
• Packaging systems
• Mounting/handling technology
• Analysis technology
CAUTION
Observe intended use!
Only operate the device in accordance with its intended use.
The protection of personnel and the device cannot be guaranteed if the device is operated in a manner not complying with its intended use.
Leuze electronic GmbH + Co. KG is not liable for damages caused by improper use.
Read the technical description before commissioning the device.
Knowledge of this technical description is an element of proper use.
Safety
CAUTION
Observe intended use! The protection of personnel and the device cannot be guaranteed if the device is operated in a manner
not complying with its intended use.
Only operate the device in accordance with its intended use.
Leuze electronic GmbH + Co. KG is not liable for damages caused by improper use.
Read these original operating instructions before commissioning the device.
Knowledge of the original operating instructions is an element of proper use.
NOTICE
Integrated illumination! The code readers of the DCR 200i series correspond to the following classification with respect to the
integrated illumination:
Illumination
NOTICE
Comply with conditions and regulations!
Observe the locally applicable legal regulations and the rules of the employer's liability insurance asso-
ciation.
red: risk group 0 (exempt group) in acc. with EN 62471

2.2 Foreseeable misuse

Any use other than that defined under Intended use or which goes beyond that use is considered improper use.
Leuze electronic DCR 202i 8
Page 9
In particular, use of the device is not permitted in the following cases:
• in rooms with explosive atmospheres
• in circuits which are relevant to safety
• In food processing
• for medical purposes
NOTICE
Do not modify or otherwise interfere with the device!
Do not carry out modifications or otherwise interfere with the device.
The device must not be tampered with and must not be changed in any way.
The device may only be opened for exchanging the housing hood.
There are no user-serviceable parts inside the device.
Repairs must only be performed by Leuze electronic GmbH + Co. KG.

2.3 Competent persons

Connection, mounting, commissioning and adjustment of the device must only be carried out by competent persons.
Prerequisites for competent persons:
• They have a suitable technical education.
• They are familiar with the rules and regulations for occupational safety and safety at work.
• They are familiar with the original operating instructions of the device.
• They have been instructed by the responsible person on the mounting and operation of the device.
Safety
Certified electricians Electrical work must be carried out by a certified electrician. Due to their technical training, knowledge and experience as well as their familiarity with relevant stan-
dards and regulations, certified electricians are able to perform work on electrical systems and indepen­dently detect possible dangers.
In Germany, certified electricians must fulfill the requirements of accident-prevention regulations BGV A3 (e.g. electrician foreman). In other countries, there are respective regulations that must be observed.

2.4 Exemption of liability

Leuze electronic GmbH + Co. KG is not liable in the following cases:
• The device is not being used properly.
• Reasonably foreseeable misuse is not taken into account.
• Mounting and electrical connection are not properly performed.
• Changes (e.g., constructional) are made to the device.
Leuze electronic DCR 202i 9
Page 10

3 Device description

3.1 Device overview

3.1.1 About the DCR 200i code reader

The code readers of the DCR 200i series are camera-based code readers for all commonly used bar codes, stacked codes and Data Matrix codes (e.g. Code 128, EAN 8/13, ECC200, QR etc.) as well as for codes of the GS1 DataBar family.
The extensive options for device configuration via control buttons, configuration codes or software enable adaptation to a multitude of reading tasks. The high resolution in combination with a very high depth of field as well as the compact design make the device ideal for use in packaging machines.
Code readers of the DCR 200i series perform numerous tasks in industrial code reading such as:
• Omnidirectional code reading
• Reading of codes while at a standstill or in motion
• Manual reading by holding up codes
• In packaging machines
• In automatic handling and testing machines
The DCR 202i code readers are available in several optics models:
• DCR 202i FIX-N1-102-R3 with high-density optics (N-optics)
• DCR 202i FIX-M1-102-R3 with medium-density optics (M-optics)
• DCR 202i FIX-F1-102-R3 with low-density optics (F-optics)
The DCR 202i code readers are operated as a stand-alone single device with individual IP address in an Ethernet star topology.
Information on technical data and characteristics: see chapter 14.
Device description

3.1.2 Performance characteristics

• Decoding of 1D-, stacked- and 2D-codes.
• Maximum depth of field and reading distance of approx. 40 mm … 360 mm.
• High object speed and decoding performance of up to 6 m/s with 10 decodings.
• Reference code comparison.
• Integrated process interfaces RS 232, RS 422 and Ethernet. The MA 2xxi modular connection units are available for connecting to other fieldbus systems, e.g., PROFIBUS, PROFINET, EtherCAT, etc.
• Four freely programmable switching inputs/outputs for the activation or signaling of states.
• 1 switching input
• 1 switching output
• 2 switching inputs/outputs
• Integrated red LED illumination for illumination of the rectangular read field.
• Green feedback LED for direct acknowledgment of whether the read process was successful.
• Two control buttons for intuitive operation without PC.
• Industrial design: degree of protection IP 65 acc. to EN 60529.
• Diverse mounting options with mounting threads on rear and side surfaces.
• Variously coded M12 connections for unique assignment of the connections:
• Voltage supply, RS 232/RS 422, switching inputs/outputs
• Ethernet connection
• webConfig, a web-based configuration tool for configuration of all device parameters. No additional configuration software necessary.
• Installation wizard for simple configuration in just a few steps.
• Integrated teach functions for automatic adjustment of the exposure time, of the code types, and of the number of digits and for teaching a reference code.
Leuze electronic DCR 202i 10
Page 11

3.1.3 Accessories

2
3
3
1
8
5
7
6
4
Special accessories are available for the code reader (see chapter 15):
• Mounting systems for mounting.
• Housing hood with integrated protective screen made of glass for increased protection against scratches or welding sparks.
• Housing hood with integrated linear polarisation filter – avoids additional interfering reflections.
• Diffusor foil that can be affixed to housing hoods, with plastic or glass screen. The diffusor foil reduces interfering reflections.
• Ready-made connection and interconnection cables for M12 connectors.
• External illumination and mounting bracket for external illumination. For further information, contact your responsible Leuze electronic subsidiary or Leuze electronic cus­tomer service (see chapter 13).
• MA 2xxi modular connection units for connection to fieldbus systems (see chapter 7.6).

3.2 Device construction

Device description
1 Lens 2 Control panel with indicator LEDs, control buttons, bar graph display 3 LEDs for illumination (red light) 4 M4 mounting thread 5 Device housing 6 Housing hood 7 M12 connection technology 8 Feedback LED (green)
Figure 3.1: Device construction

3.3 Connection technology

Leuze electronic DCR 202i 11
The device is connected using variously coded M12 connectors:
• A-coded, 12-pin, M12 connection for operating voltage, switching inputs/outputs, RS 232/RS 422 interface
• D-coded, 4-pin, M12 connection for the Ethernet connection
Page 12
1 2
PWR / SWIO HOST
1 PWR / SWIO, M12 plug, 12-pin, A-coded 2 HOST, M12 socket, 4-pin, D-coded
Figure 3.2: Electrical connections
Ready-made cables are available for all connections (see chapter 15.4 "Cables accessories").
Device description
NOTICE
Shielding connection!
The shielding connection is done via the M12 connector housing.

3.4 Indicators and operational controls

The device is equipped with the following indicators and operational controls:
• Feedback LED The green feedback LED indicates whether a read process was successful. This function is activated upon shipment of the device from the factory and can be deactivated via the webConfig tool. Upon successful decoding, the feedback LED illuminates briefly (GOOD READ, MATCH).
• Three indicator LEDs (PWR, NET, LINK)
• Six-level bar graph display for function selection and display of the read quality (SIGNAL QUALITY)
• Two control buttons
Leuze electronic DCR 202i 12
Page 13
1 LED indicators: PWR, NET, LINK
1
3
2
2 Bar graph display 3 Control buttons
Figure 3.3: Structure of the control panel
Device description

3.4.1 LED indicators

PWR LED
Table 3.1: PWR indicators
Color State Description
--- OFF Device off
Green ON (continuous
Orange ON (continuous
Red Flashing Device ok, warning set
light)
light)
ON (continuous light)
No operating voltage
Device ok
• Code reading possible
• Self test successfully finished
• Device monitoring active
Service mode
• Code reading possible
• No data on the host interface
• Code reading possible
• Temporary operating fault
Device error/parameter enable No code reading possible
Leuze electronic DCR 202i 13
Page 14
NET LED
Table 3.2: NET indicators
Color State Description
--- OFF No operating voltage
• No communication possible
• Ethernet protocols not released
Green Flashing Initialization of the device
Establishing communication
Device description
ON (continuous light)
Red Flashing Communication error
ON (continuous light)
NOTICE
NET indicator only for Ethernet communication! The NET indicator refers only to the Ethernet communication, not to the RS 232/RS 422.
LED LINK
Table 3.3: LINK indicators
Color State Description
Green ON (continuous
light)
Operation OK
• Network mode ok
• Connection and communication to Host established
• Temporary connection error
• If DHCP active: No IP address could be obtained
Network error
• No connection established
• No communication possible
Ethernet connected (LINK)
Yellow Flashing Data communication (ACT)

3.4.2 Bar graph display

Function selection The following functions are selected and displayed via the bar graph display (see chapter 8.5 "Activating
device functions"):
TRIG
: Trigger function for activating a read process
AUTO
: Auto setup function for determining the optimum read setting
ADJ
: Adjustment function for aligning the device
TEACH
The individual functions are selected and activated with the control buttons.
• Select function with the navigation button : The function LED flashes.
• Activate function with the enter button : The function LED illuminates continuously.
: Teach function for teaching a reference code
A preselected function (flashing LED) does not yet have any influence on the functionality. If no button is pressed for a longer period of time, flashing of the LED is ended automatically by the device.
Leuze electronic DCR 202i 14
Page 15
Device description
If you activate the accepts no commands via the process interface. Process mode is thereby interrupted.

3.4.3 Control buttons

The functions of the bar graph display are controlled via the control buttons.
– Navigation button: Scroll through the functions in the bar graph display from left to right.
– Navigation button: Scroll through the functions in the bar graph display.
A preselected function (flashing LED) does not yet have any influence on the functionality. If no button is pressed for a longer period of time, flashing of the LED is ended automatically by the device.
Example: Activation of the trigger
Press the navigation button .
• The TRIG LED flashes and the Trigger function is preselected.
Press the enter button .
• The TRIG LED illuminates continuously.
• The configured Trigger function (e.g., reading gate control) is started.
TRIG, AUTO, ADJ
or
TEACH
function via the control buttons, the device
Leuze electronic DCR 202i 15
Page 16

4 Functions

A
ABCD
BCDEFGH A B DC
1
1
2
3
This chapter describes the functions of the code reader:
• Camera operating modes; see chapter 4.1
• Reference code comparison; see chapter 4.2
• webConfig tool; see chapter 4.3

4.1 Camera operating modes

The camera operating mode defines how the code reader starts a read process and decodes the codes if a code is located in the read field.

4.1.1 Single trigger mode

In the Single trigger mode camera operating mode, the code reader captures decode it. Under uniform conditions, this camera operating mode makes fast decoding possible.

4.1.2 Reading gate control

The Reading gate control camera operating mode is activated upon shipment from the factory. The reading gate control opens a time window for the read process in the code reader – the reading gate. In this time window, the code reader can capture and decode one or more codes.
Functions
one
image and attempts to

4.1.3 Burst mode

In the Burst mode camera operating mode, the code reader captures after activation by a trigger signal. Decoding occurs following image capture, thereby allowing the codes to be detected more quickly. As soon as the decoding result corresponds to the settings, the decoding stops the capture of the remaining images.
multiple
images in quick succession
1 Continuous image capture 2 Decoding 3 Output of the read data
Figure 4.1: Burst mode

4.1.4 Presentation mode

In the Presentation mode camera operating mode, the code reader is in the idle state in a kind of wait mode.
In the event of a change in the image area, e.g., by holding up a code, the code reader captures images with illumination (as previously configured) until a code is read successfully. The code reader then
Leuze electronic DCR 202i 16
switches back to the wait mode and the illumination switches off after a few seconds.
Page 17
Reading the same code multiple times To prevent the same code from being read and output repeatedly in the Presentation mode camera oper-
ating mode, a delay time ( a code again.
The delay time is set or deactivated with the webConfig tool (see chapter 9 "Commissioning – Leuze electronic webConfig tool").
Configuration > Control > Reread delay
Reread Delay

4.2 Reference code comparison

With the reference code comparison, the code reader compares the actual decoding result with a stored reference code – the exact code content is compared.
Options for teaching-in a new reference code:
• webConfig tool:
• Online command via the host interface
• Signal via a digital switching input
• TEACH function on the control panel of the code reader
In the webConfig tool, the exact code content can be entered for comparison.
Regular expressions As an alternative to the exact code comparison, regular expressions can be used for a partial comparison. Regular expressions can only be entered via the webConfig tool (see chapter 9 "Commissioning –
Leuze electronic webConfig tool"). Detailed information on regular expressions can be found on the Internet under Perl Compatible Regular
Expressions (PCRE)
Configuration > Decoder > Reference
http://www.pcre.org/.
Functions
) can be defined that must elapse before the code reader can read
•Example 1 The code reader is to perform a partial comparison of two characters 42. Any number of characters and content may precede the string 42.
• Comparison string entered in the webConfig tool: 42
• Positive reference code comparison (match): 123
• Negative reference code comparison (mismatch): 12345
•Example 2 The code reader is to perform a partial comparison of two characters 42. Beginning with the string 42, any number of characters and content may follow.
• Comparison string entered in the webConfig tool: ^42
• Positive reference code comparison (match):
• Negative reference code comparison (mismatch): 12345
NOTICE
Using space characters with regular expressions!
When entering regular expressions, note the use of space characters.

4.3 Leuze webConfig tool

The webConfig configuration tool offers a graphical user interface for the configuration of the code reader via a PC (see chapter 9 "Commissioning – Leuze electronic webConfig tool").
The wizard of the webConfig tool can be used to easily configure the code reader in just a few steps.
425
42345
Leuze electronic DCR 202i 17
Page 18

5 Applications

Typical applications for code readers include the following.

5.1 Reading of 1D-codes

Applications
Figure 5.1: Reading of 1D-codes
Leuze electronic DCR 202i 18
Page 19

5.2 Reading of 2D-codes

Applications
Figure 5.2: Reading of 2D-codes in packaging systems

5.3 Code reading with polarization filter

1 2
1 Code reading without polarization filter 2 Code reading with polarization filter
Figure 5.3: Using the polarization filter
By using the linear polarization filter integrated in the housing hood, you can avoid interfering reflections.
When the polarization filter is used, the exposure settings change. The exposure time is in- creased considerably.
Leuze electronic DCR 202i 19
Page 20

5.4 Code reading with diffusor foil

1 2
1 Code reading without diffusor foil 2 Code reading with diffusor foil
Figure 5.4: Using the diffusor foil
The diffusor foil reduces interfering reflections by increasing the scatter of the integrated LED illumination of the code reader.
When the diffusor foil is used, the exposure settings change.
Applications
Leuze electronic DCR 202i 20
Page 21

6 Mounting

The code reader can be mounted in the following ways:
• Mounting using four M4 mounting threads on the rear of the device
• Mounting using two M4 mounting threads on each of the side surfaces of the device
• Mounting on a 12 mm rod using the BTU 320M-D12 mounting system
• Mounting on the BT 320M mounting bracket

6.1 Determining the mounting position of the code reader

6.1.1 Selecting a mounting location

The size of the code module influences the maximum reading distance and the width of the read- ing field. Therefore, when selecting a mounting location and/or the suitable code label, take into account the different reading characteristics of the code reader with various code modules.
NOTICE
Observe when choosing the mounting location!
Make certain that the required environmental conditions (humidity, temperature) are maintained.
Avoid possible soiling of the reading window due to liquids, abrasion by boxes, or packaging material
residues.
Ensure the lowest possible chance of damage to the code reader through mechanical collision or
jammed parts.
Avoid possible ambient light influence (no direct sunlight).
Mounting
Take the following factors into account when selecting the correct mounting location:
• Size, orientation, and position tolerance of the bar codes or Data Matrix codes on the objects to be scanned.
• The reading distance resulting from the code size and code type (see chapter 6.1.3 "Determining the reading distance").
• Time of data output. Position the device in such a way that, taking into consideration the time required for data processing and the conveyor belt speed, there is sufficient time to e.g. initiate sorting operations on the basis of the read data.
• The permissible line lengths between code reader and host system depending on which interface is used.
• Visibility of the control panel and access to the control buttons.
• No direct sunlight and/or no strong ambient light on the code that is to be read.
Observe the following criteria for the best read results:
• The reading distance is located in the middle part of the read field (see chapter 6.1.3 "Determining the reading distance").
• There is no direct sunlight and protect against ambient light effects.
• The code labels are of good print quality and have good contrast ratios.
• Do not use glossy labels.
• The bar code or DataMatrix code is moved past the reading window with a tilt angle or angle of incli­nation of 10° … 20° (see chapter 6.1.2 "Avoiding total reflection").

6.1.2 Avoiding total reflection

If the illumination light of the code reader is directly incident on the surface of the code at an angle of 90°, total reflection occurs. The illumination light directly reflected by the code label may overload the code reader and thereby result in non-reading of the code.
Mount the code reader with a tilt angle or angle of inclination of ±10° … 20° from vertical.
Leuze electronic DCR 202i 21
Page 22
Recommended tilt angle or angle of inclination: 10° … 20°
10° … 20° 10° … 20°
1
2
3
1
1D-Codes
2D-Codes
400
[mm]
350300250200150100500
0.127 mm (5 mil)
0.19 mm (7.5mil)
0.25 mm (10 mil)
0.5 mm (20 mil)
0.127 mm (5 mil)
0.19 mm (7.5 mil)
0.25 mm (10 mil)
0.5 mm (20 mil)
1
1 Code label 2 Mounting with tilt angle 3 Mounting with angle of inclination
Figure 6.1: Mounting with tilt angle or angle of inclination

6.1.3 Determining the reading distance

In general, the read field of the code reader becomes larger with increasing reading distance. This also results in a decrease in the resolution, however.
The following figures show typical reading distances for the individual optics models of the code reader.
Mounting
Code reading while in motion is dependent on the code type, code size, cell or modulus size of the code and the position of the code in the read field of the code reader.
For the relationship between camera distance and read field see figure 6.6.
Reading distances for code readers with N-optics
Please note that the actual reading distances are also influenced by factors such as labeling material, printing quality, reading angle, printing contrast etc., and may thus deviate from the reading distances specified here.
1 Reading distance [mm]
Figure 6.2: Typical reading distances for 1D- and 2D-codes with various modulus sizes of the codes
Leuze electronic DCR 202i 22
Page 23
Reading distances for code readers with M-optics
1D-Codes
2D-Codes
400
[mm]
350300250200150100500
0.19 mm (7.5 mil)
0.25 mm (10 mil)
0.35 mm (14 mil)
0.5 mm (20 mil)
0.19 mm (7.5 mil)
0.25 mm (10 mil)
0.35 mm (14 mil)
0.5 mm (20 mil)
1
1D-Codes
2D-Codes
400
[mm]
350300250200150100500
0.19 mm (7.5 mil)
0.25 mm (10 mil)
0.35 mm (14 mil)
0.5 mm (20 mil)
0.19 mm (7.5 mil)
0.25 mm (10 mil)
0.35 mm (14 mil)
0.5 mm (20 mil)
1
Please note that the actual reading distances are also influenced by factors such as labeling material, printing quality, reading angle, printing contrast etc., and may thus deviate from the reading distances specified here.
Mounting
1 Reading distance [mm]
Figure 6.3: Typical reading distances for 1D- and 2D-codes with various modulus sizes of the codes
Reading distances for code readers with F-optics
Please note that the actual reading distances are also influenced by factors such as labeling material, printing quality, reading angle, printing contrast etc., and may thus deviate from the reading distances specified here.
1 Reading distance [mm]
Figure 6.4: Typical reading distances for 1D- and 2D-codes with various modulus sizes of the codes
Relationship between camera distance and read field size The following images show the relationship between the camera distance and the resulting read field for
the individual optics models of the code reader. The camera distance is the path from the front edge of the code reader to the code.
Leuze electronic DCR 202i 23
Page 24
1 Camera distance
1
2
3
4
0 x 0
20 x 15
40 x 30
60 x 45
80 x 60
100 x 75
120 x 90
140 x 105
0 50 100 150 200 250 300 350
1
3 4
2
2 Read field 3 Height of the read field 4 Width of the read field
Figure 6.5: Camera distance and read field
Mounting
1 Camera distance [mm] 2 Read field: Width x Height [mm] 3 N-optics, M-optics 4F-optics
Figure 6.6: Relationship between camera distance and read field size

6.2 Mounting the code reader

Leuze electronic DCR 202i 24
Information on mounting the code reader can also be found in document Quick Start Guide DCR 200i.
Page 25

6.2.1 Mounting with M4 fastening screws

Mount the device on the system with M4 fastening screws (not included in delivery contents).
Max. tightening torque of the fastening screws: 1.4 Nm
Location and thread depth of the mounting thread: see figure 14.1

6.2.2 Mounting with the BTU 320M-D12 mounting system

Mounting with a BTU 320M-D12 mounting system is intended for 12-mm rod mounting. For ordering infor­mation, see chapter 15.5.
Mount the mounting system on the rod with the clamp profile (system-side).
Mount the device to the mounting system with M4 fastening screws.
Max. tightening torque of the fastening screws: 1.4 Nm
Location and thread depth of the mounting thread: see figure 14.1

6.2.3 Mounting with the BT 320M mounting bracket

Mounting with a BT 320M mounting bracket is intended for wall mounting. For ordering information, see chapter 15.5.
Mount the mounting bracket on the system side with M4 fastening screws (included in delivery con-
tents).
Mount the device to the mounting bracket with M4 fastening screws.
Max. tightening torque of the fastening screws: 1.4 Nm
Location and thread depth of the mounting thread: see figure 14.1
Mounting

6.3 Replace housing hood

In individual cases, you can exchange the housing hood of the code reader, e.g., if the protective screen is scratched or if changed operating conditions necessitate a housing hood with polarization filter. For ordering information, see chapter 15.3.
NOTICE
Only replace the housing hood while the device is in a de-energized state! Only replace the housing hood if
Disconnect the device from the voltage supply before replacing the device hood.
NOTICE
Check the seal before mounting!
Check the seal on the base of the code reader housing for cleanliness before mounting the new hous-
ing hood.
NOTICE
Clean the new housing hood before mounting!
Clean the new housing hood with a soft cloth before mounting.
Loosen the four fastening screws of the housing hood.
First tip the housing hood downward and away from the housing base.
Then lift the housing hood up and off of the housing base.
Then mount the new housing hood in the reverse order.
The tightening torque of the fastening screws is 0.25 Nm.
no voltage
is being applied to the device.
Leuze electronic DCR 202i 25
Page 26
1 Fastening screws
1
2 2
2 Housing hood
Figure 6.7: Replace housing hood

6.4 Attaching the diffusor foil

To reduce interfering reflections, you can attach a diffusor foil to the screen of the housing hood.
Mounting
NOTICE
Do not use diffusor foil in combination with polarization filter! The diffusor foil is not suitable for use in combination with the polarization filter.
NOTICE
Only attach diffusor foil to dust- and grease-free surface!
Before attaching the foil, make certain that the surface is free of dust and grease.
Make certain that the diffusor foil is correctly oriented.
Small recess at top, large recess at bottom
Figure 6.8: Orientation of the diffusor foil
Attach the diffusor foil to the housing screen from bottom to top.
Figure 6.9: Attaching the diffusor foil
Leuze electronic DCR 202i 26
Page 27
NOTICE
Avoid air bubbles when attaching the diffusor foil!
When attaching the diffusor foil, take care to prevent bubbles from forming under the film.
Mounting
Leuze electronic DCR 202i 27
Page 28

7 Electrical connection

CAUTION
Safety notices!
Before connecting the device please ensure that the operating voltage matches the value printed on
the nameplate.
Only allow competent persons to perform the electrical connection.
Ensure that the functional earth (FE) is connected correctly.
Fault-free operation is only guaranteed if the functional earth is connected properly.
If faults cannot be rectified, take the device out of operation. Protect the device from accidentally being
started.
NOTICE
Shielding connection! The shielding connection is done via the M12 connector housing
NOTICE
UL applications! For UL applications, use is only permitted in Class 2 circuits in accordance with the NEC (National
Electric Code).
Electrical connection
NOTICE
Protective Extra Low Voltage (PELV)! The device is designed in accordance with safety class III for supply with PELV (Protective Extra-Low
Voltage).
NOTICE
Degree of protection IP 65! Degree of protection IP 65 is achieved only if the connectors and caps are screwed into place.

7.1 Overview

The code reader is provided with the following connections:
• PWR / SWIO: A-coded, 12-pin, M12 connection for operating voltage, switching inputs/outputs, RS 232/RS 422 interface
• HOST: D-coded, 4-pin, M12 connection for the Ethernet connection
Leuze electronic DCR 202i 28
Page 29
1 2
4
11
3
2
1
10
9
8
12
5
6
7
PWR / SWIO HOST
1 PWR / SWIO, M12 plug, 12-pin, A-coded 2 HOST, M12 socket, 4-pin, D-coded
Figure 7.1: Electrical connections
Ready-made cables are available for all connections (see chapter 15.4 "Cables accessories").
Electrical connection
Voltage supply, RS 232/RS 422 and switching inputs/outputs The voltage supply (18 … 30 V DC) is connected at the PWR / SWIO M12 plug. The RS 232/RS 422 interface on the PWR / SWIO M12 plug is directly connected to the host. To connect to other fieldbus systems, e.g., PROFIBUS, PROFINET, EtherCAT, etc., Leuze electronic
offers various connection units (see chapter 7.6 "Connecting code reader to fieldbus"). Four freely programmable switching inputs/outputs for individual adaptation to the respective application
are also available on the PWR / SWIO M12 plug.
Standalone operation in Ethernet network The code reader is operated as a stand-alone single device in an Ethernet star topology with individual
IP address. The host interface of the superior system is connected to the HOST M12 socket.

7.2 PWR / SWIO – voltage supply / RS 232/RS 422 / switching inputs/outputs

12-pin M12 plug (A-coded)
Figure 7.2: PWR / SWIO connection
Table 7.1: PWR / SWIO pin assignment
Pin Designation Core color Assignment
1 VIN Brown +18 … +30 V DC operating voltage
Leuze electronic DCR 202i 29
2 GNDIN Blue Negative operating voltage (0 V DC)
3 SWI1 White Digital switching input 1 (default: Trigger)
Page 30
Electrical connection
Pin Designation Core color Assignment
4 SWO2 Green Digital switching output 2 (default: Good Read)
5 FE Pink Functional earth
6 GNDOUT Yellow Ground reference RS 232/RS 422
7 RX- Black RS 422: RX- signal
8 TX- Gray RS 422: TX- signal
9 RXD/RX+ Red RS 232: RXD signal
RS 422: RX+ signal
10 TXD/TX+ Violet RS 232: TXD signal
RS 422: TX+ signal
11 SWIO3 Gray/pink Digital switching input/output 3 (configurable)
(default: switching output No read)
12 SWIO4 Red/blue Digital switching input/output 4 (configurable)
(default: switching output Device ready)
Thread (M12 plug)
FE (functional earth) Connection cable shield.
The shield of the connection cable is on the thread of the M12 plug.
The core colors only apply when Leuze electronics original connection cables are used (see chapter 15.4 "Cables accessories").
NOTICE
Attention!
For UL applications, use is only permitted in Class 2 circuits in accordance with the NEC (National
Electric Code).
Switching input/output The code reader features four freely programmable switching inputs/outputs: SWI1, SWO2, SWIO3 and
SWIO4.
The function as switching input or switching output is set via the webConfig configuration tool
CONFIGURATION > DEVICE > Switching inputs/outputs, see chapter 9).
(
The four switching inputs/outputs are configured by default as follows:
•SWI1 Trigger switching input (default)
•SWO2 GOOD READ switching output (default)
•SWIO3 As switching output: NO READ (default)
•SWIO4 As switching output: device ready (default)
Leuze electronic DCR 202i 30
Page 31
Function as switching input
18-30 V DC
max. 8 mA
SWI (Pin 3) SWIO (Pin 11/12)
VIN (Pin 1)
GNDIN (Pin 2)
2
1
18-30 V DC
SWO (Pin 4) SWIO (Pin 11/12)
VIN (Pin 1)
VIN
GNDIN (Pin 2)
max. 60 mA
2
1
1 Switching input 2 Switching input to controller
Figure 7.3: Switching input SWIO3 and SWIO4 connection
NOTICE
Maximum input current
The input current of the respective switching input is maximum 8 mA.
Electrical connection
Function as switching output
1 Switching output 2 Switching output from controller
Figure 7.4: Switching output SWIO3 and SWIO4 connection
NOTICE
Maximum loading of the switching outputs!
Do not load the respective switching output of the code reader with more than 60 mA at
+18 … +30 V DC in normal operation.
Each configured switching output is short-circuit proof.
NOTICE
SWIO3 and SWIO4 as switching output!
Do not operate pins 2 and 4 as switching output if sensors which function as switching input are also
connected to these pins.
If, for example, the inverted sensor output is connected to pin 2, and pin 2 of the code reader is, at the same time, configured as a switching output (and not as a switching input), the switching output mal­functions.
RS 232/RS 422 interface The RS 232/RS 422 interface is used primarily for outputting the read and decoded code contents of the
activated code types.
Leuze electronic DCR 202i 31
Page 32

7.3 HOST - Host input / Ethernet

1
3
2
4
4-pin, M12 socket (D-coded) for connecting to HOST.
Figure 7.5: HOST connection
Table 7.2: HOST pin assignment
Pin/terminal Designation Assignment
1 TD+ Transmit Data +
2 RD+ Receive Data +
3 TD- Transmit Data -
4 RD- Receive Data -
Electrical connection
Thread (M12
FE (functional earth) Connection cable shield.
socket)
NOTICE
Use ready-made cables!
If possible, use the ready-made cables from Leuze electronic (see chapter 15.4).

7.4 Ethernet star topology

The code reader is operated as a stand-alone single device in an Ethernet star topology with individual IP address.
• The code reader is designed as an Ethernet device with a standard baud rate of 10/100 Mbit.
• A fixed MAC address is assigned to each device by the manufacturer; this address cannot be changed.
• The device automatically supports the transmission rates of 10 Mbit/s (10BASE T) and 100 Mbit/s (10BASE TX), as well as auto-negotiation and auto-crossover.
• The device supports the following protocols and services:
• TCP / IP (client/server)
•UDP
•DHCP
•ARP
•PING
• For communication with the superior host system, the corresponding TCP/IP protocol (client/server mode) or UDP must be selected.
The shield of the connection cable is on the thread of the M12 socket.
Leuze electronic DCR 202i 32
Page 33
1 Ethernet switch
1
2
3
4
2
1
3
4
1
8
2 Code reader of the DCR 200i series 3 Other network participants 4 Host interface - PC/control
Figure 7.6: Ethernet star topology
Electrical connection
Ethernet cable assignment
Figure 7.7: HOST to RJ-45 cable assignments
Designed as shielded cable, max. 100 m.
Pin (M12) Designation Pin/core color (RJ45)
1 TD+ 1/yellow
2 RD+ 3/white
3 TD- 2/orange
4 RD- 6/blue
NOTICE
Self-configured cables with Ethernet interface!
Ensure adequate shielding.
The entire interconnection cable must be shielded and earthed.
The RD+/RD- and TD+/TD- wires must be stranded in pairs.
Use at least a CAT 5 cable for the connection.

7.5 Cable lengths and shielding

Observe the maximum cable lengths and the shielding types:
Leuze electronic DCR 202i 33
Page 34
Electrical connection
Connection Interface Max. cable length Shielding
DCR 200i host RS 232
RS 422
Network from the first
Ethernet Max. segment length: DCR 200i to the last network participant
Switching input 10 m Not necessary
Switching output 10 m Not necessary
DCR 200i power supply unit

7.6 Connecting code reader to fieldbus

The code reader can be connected to the following fieldbuses via the MA 2xxi modular connection units:
• CANopen: MA 235i
• EtherCAT: MA 238i
• EtherNet/IP: MA 258i
• DeviceNET: MA 255i
• PROFIBUS: MA 204i
• PROFINET: MA 248i
10 m 1200 m (dependent on baud rate)
Shielding absolutely necessary RS 422 conductors, stranded in pairs
Shielding absolutely
100 m for 100BASE-TX
necessary twisted pair (min. CAT 5)
30 m Not necessary
Ready-made cables are available for connecting the code reader to a modular connection unit (see chapter 15.4 "Cables accessories").
Leuze electronic DCR 202i 34
Page 35
Starting up the device - Basic configuration

8 Starting up the device - Basic configuration

8.1 Measures to be performed prior to the initial commissioning

NOTICE
Please observe the notes for device arrangement (see chapter 6.1 "Determining the mounting position
of the code reader").
If possible, always trigger the code reader with the aid of commands or an external signal transmitter
(photoelectric sensor).
Only then can you be certain whether a code has been read (code co n tents a re tr ansm itt ed) or n ot ( t h e No Read character is transmitted at the end of the reading gate).
Before commissioning, familiarize yourself with the operation and configuration of the device.
Before connecting the operating voltage, recheck all connections and ensure that they have been
properly made.
No additional configuration software is necessary for commissioning.

8.2 Starting the device

Connect the 18 V … 30 V DC operating voltage.
After connecting the operating voltage, the code reader performs an automatic Power On function test. If the PWR LED illuminates green constantly, stored customer-specific settings may be active.
After applying the operating voltage, the device operates with the factory settings:
• Activation of the reading gate via SWI1. The integrated illumination becomes visible.
• If a code is detected, it is output via the interfaces. Protocol of the RS 232 interface: <STX><Code data><CR><LF> (9600 baud, 8 data bits, no parity, 1 stop bit)
• With the factory settings, the device can decode the following code types:
• 2/5 Interleaved; number of digits: 10
• Code 128; number of digits: 4 … 63
• Code 39; number of digits: 4 … 30
• EAN 8/13; number of digits: 8 and 13
• UPC; number of digits: 8 ... 12
• Codabar; number of digits: 4 … 63
• Code 93; number of digits: 4 … 63
• GS1 Data Bar OMNIDIRECTIONAL; number of digits: 14
• GS1 Data Bar LIMITED; number of digits: 14
• GS1 Data Bar EXPANDED; number of digits: 14 … 21
• GS1 Data Bar TRUNCATED; number of digits: 14
• DataMatrix code ECC200; number of digits: 10x10 … 144x144, or 8x18 … 16x48
• QR code; number of digits: 11x11 … 161x161
• Aztec code; number of digits: 11x11 … 151x151
Deviations from these settings must be set via the webConfig tool (see chapter 9 "Commission- ing – Leuze electronic webConfig tool").
Using the Online commands, important device functions can be checked, e.g. reading activation (see
chapter 10.1 "Online commands").
Leuze electronic DCR 202i 35
Page 36
For information on how to proceed in the event of problems during commissioning of the devices see chapter 12 "Diagnostics and troubleshooting".
If a problem occurs that cannot be rectified even after checking all electrical connections and set- tings on the devices and on the host, contact your responsible Leuze electronic subsidiary or Leuze electronic customer service (see chapter 13 "Service and support").

8.3 Setting the communication parameters

With the communication parameters, you determine how data is exchanged between device and host system, monitor PCs etc.

8.3.1 Manually setting the IP address

Set the IP manually if your system does not include a DHCP server or if the IP addresses of the devices are to be set permanently.
Factory settings for the network address of the code readers of the DCR 200i series:
• IP address: 192.168.060.101
• Subnet mask: 255.255.255.0
Setting the IP address via PC/laptop Set the network address on the PC (example for Windows7).
Log in as administrator.
Select
Select
Select
Set the
The IP address of the PC must not be identical to the IP address of the code reader.
Example: IP address of the code reader: 192.168.060.101
IP address of the PC: 192.168.060.110
Set the subnet mask of the PC to the same value as on the code reader.
Example: 255.255.255.0
Confirm all of the settings dialogs with [OK] or [Close].
Connect the Ethernet interface of the device directly to the LAN port of the PC.
Start the webConfig tool using your PC's Internet browser with IP address
In the webConfig tool, change the IP address to the IP address of the system:
Configuration > Control > Ethernet DCR
Start > System control > Network and Internet > Network and Sharing Center LAN connection
and double-click to open the
Internet Protocol Version 4 (TCP/IPv4)
IP address
of the PC.
Starting up the device - Basic configuration
Properties
and click on the [Properties] button.
dialog.
192.168.060.101.
.
NOTICE
The device cannot be accessed if the IP address is incorrect!
Make certain that the correct IP address is entered. The device can otherwise no longer be accessed.
Setting the IP address with Network Scan
Download the program
• Call up the Leuze home page:
• Enter the type designation or part number of the device as the search term.
• The program tab.
Connect the Ethernet interface of the device directly to the LAN port of the PC.
Start the program
The program displays all code readers of the DCR 200i series that are available in the network.
Select the DCR 202i code reader from the list.
Leuze electronic DCR 202i 36
Network Scan
Network Scan
can be found on the product page for the device under the
Network Scan
from the Internet to the PC.
www.leuze.com.
Downloads
Page 37
Starting up the device - Basic configuration
IP
00:15:7B:20:00:15
DCR 202i MAC
Name
The IP address of the code reader can now be changed to the desired IP address.
Setting the IP address with the DCR Configurator With the DCR Configurator smartphone app, you can set the IP address of the code reader without a PC.
Download the DCR Configurator smartphone app from the Internet.
• Call up the Leuze home page:
• Enter the type designation or part number of the device as the search term.
• The DCR Configurator smartphone app can be found on the product page for the device on the
Downloads
Open the DCR Configurator smartphone app.
Select the
The DCR Configurator generates a configuration code for changing the IP address to the desired value. The configuration code is displayed on the smartphone.
Connect the code reader to the voltage supply and select the
Hold the configuration code generated by the DCR Configurator at the correct distance in front of the
optics of the code reader.
• The code reader adjusts the illumination and reads the configuration code.
• The code reader changes the device configuration and saves the new configuration.

8.3.2 Automatically setting the IP address

Set the IP address automatically if a DHCP server assigns the IP addresses in the system.
Select the option to obtain the IP address automatically in the webConfig tool:
Configuration > Control > Ethernet DCR > DHCP
Use the configuration code to obtain the IP address automatically (see chapter 17.3 "Configuration via
configuration codes").
tab.
Assign IP address configuration menu item and enter the desired IP address.
www.leuze.com.
AUTO
function on the control panel.

8.3.3 Address Link Label

The Address Link Label is an additional stick-on label that is affixed to the device.
Figure 8.1: Example of an Address Link Label; the device type varies depending on the series
• The Address Link Label contains the MAC address (Media Access Control address) of the device and makes it possible to enter the IP address and the device name manually. The area of the Address Link Label on which the MAC address is printed can be separated from the remainder of the stick-on label if necessary using the perforation.
• The Address Link Label can be removed from the device and affixed in the installation and layout diagrams to designate the device.
• Once it is affixed in the documents, the Address Link Label establishes a unique reference between the mounting location, the MAC address or the device, and the associated control program. There is no need for time-consuming searching, reading, and manually writing down of the MAC addresses of every device that is installed in the system.
Leuze electronic DCR 202i 37
Page 38
Each device with Ethernet interface is uniquely identified via the MAC address assigned during production. The MAC address is also listed on the name plate of the device.
If multiple devices are commissioned in a system, the MAC address of each installed device must be correctly assigned, e.g., during programming of the control.

8.3.4 Ethernet host communication

You can configure the connections to an external host system via the Ethernet host communication.
You can use both the UDP protocol as well as the TCP/IP protocol – in either client or in server mode. Both protocols can be activated simultaneously and used in parallel.
• The connection-free UDP protocol is used primarily to transfer process data to the host (monitor operation).
• The connection-oriented TCP/IP protocol can also be used to transfer commands from the host to the device. With this connection, the data is backed up by the TCP/IP protocol itself.
• If you would like to use the TCP/IP protocol, you must also define whether the device is to operate as a TCP client or as a TCP server.
UDP The device requires from the user the IP address and the port number of the communication partner. In
the same way, the host system (PC/control) also requires the set IP address of the device and the selected port number. By assigning these parameters, a socket is formed via which the data can be sent and received.
Activate the UDP protocol.
Set the following values:
Starting up the device - Basic configuration
• IP address of the communication partner
• Port number of the communication partner
The corresponding adjustment options can be found in the webConfig tool: Configuration > Control > Host > Ethernet > UDP
TCP/IP
Activate the TCP/IP protocol.
Set the TCP/IP mode of the device.
• In TCP client mode, the device actively establishes the connection to the superior host system, e.g., PC/control as server. The device requires from the user the IP address of the server (host system) and the port number on which the server (host system) accepts a connection. In this case, the device determines when and with whom a connection is established.
• In TCP server mode, the superior host system (PC/control) actively establishes the connection and the connected device waits for the connection to be set up. The TCP/IP stack must be informed by the user as to the local port of the device (port number) on which connection requests from a client application (host system) are to be received. If there is a connection request and a connection is established by the superior host system (PC/control as client), the device – in server mode – accepts the connection. Data can then be sent and received.
With a device as TCP client, set the following values:
• IP address of the TCP server, normally the IP address of the control or the host computer
• Port number of the TCP server
• Timeout for the wait time for an answer from the server
• Repetition time for renewed communication attempt following a timeout
With a device as TCP server, set the following values:
• Port number for the communication of the device with the TCP clients
The corresponding adjustment options can be found in the webCon
fig tool:
Configuration > Control > Host > Ethernet > TCP/IP
Leuze electronic DCR 202i 38
Page 39

8.3.5 RS 232/RS 422 communication

The code reader sends an ready.
The device operates as follows with the factory settings:
• Activation of the reading gate via SWI1. The integrated illumination becomes visible.
• If a code is detected, it is output via the RS 232 interface according to the following protocol. <STX><Code data><CR><LF> (9600 baud, 8 data bits, no parity, 1 stop bit)
S to the interface as a start-up message and to announce that the device is

8.4 Configuration via configuration codes

You can make configuration changes with the help of configuration codes (see chapter 17.3).

8.5 Activating device functions

You can activate the following device functions via the control buttons on the control panel:
TRIG
AUTO
ADJ
TEACH
Connect the code reader to the voltage supply.
Select the desired function via the control buttons on the control panel (see chapter 3.4.2).
Starting up the device - Basic configuration
TRIG
Trigger function that activates a read pro cess with the configuration stored in the device, e.g., reading gate control.
AUTO
By activating the
1. Optimum image setting: The device determines the optimum illumination setting for the given sce­nario.
2. Determine code types and number of digits: If codes are found, they are decoded.
3. Decoder table: The contents of the decoder table stored in the device are deleted. The new codes (code type and number of digits) are stored in the decoder table.
NOTICE
Only activate the
Only activate the
NOTICE
AUTO
function not for Pharmacode!
The
AUTO
AUTO
function, the following sequence is started:
AUTO
function while at a standstill!
AUTO
function if the code is not moving relative to the device.
function cannot be used for Pharmacode codes.
ADJ
Adjustment function for aligning the device. The read quality is visually displayed as a percentage in the bar graph display. The bar graph display
depicts the average value over the last ten measurements.
NOTICE
Deactivate the
You must deactivate the
ADJ
function!
ADJ
function with the enter button .
TEACH
With activation of the teach function, a present code is taught-in as a reference code. During the teach event, the reading gate is opened and a code located in the read field is decoded. The
decoded code is stored as a new reference code in the device.
Leuze electronic DCR 202i 39
Page 40
NOTICE
Only one code in the read field during the teach function!
Upon activation of the teach function, only one code may be located in the read field of the device.
NOTICE
TEACH
The teach function cannot be used for Pharmacode codes.
function not for Pharmacode!

8.6 Performing further settings

8.6.1 Decoding and processing the read data

The device offers the following possibilities:
• Setting the number of code labels to be decoded for each reading gate (0 … 99). This is done via the
Max. no. of labels
• Further parameters can be set for many code types, e.g.
• Code type (symbology)
• Number of digits
Either a number of digits, e.g., 10, 12, 24, or a number of digits range, e.g., 8 … 22
• Check digit method used for decoding as well as the type of check digit transmission for the output
of the read result. Standard: corresponds to the standard for the selected code type/symbology Not standard
Define at least one code type with the desired settings.
parameter.
Starting up the device - Basic configuration
• webConfig tool:
• Control buttons:

8.6.2 Control of the decoding

In general, decoding is controlled via the configurable switching inputs/outputs. The corresponding connection to the PWR / SWIO interface must be configured as a switching input for this purpose (see chapter 7.2).
Controlling decoding via a switching input:
• Start/stop decoding
• Start decoding and then stop decoding after a configurable time period
• Read in a reference code
• Start automatic code type configuration (
• Start alignment mode
Connect the required control devices, e.g., photoelectric sensor, proximity switch, etc., to the device
(see chapter 7 "Electrical connection").
Configure the connected switching inputs according to your requirements.
• First set the I/O mode to input
• Then configure the switching behavior.
• webConfig tool:
Configuration > Decoder
AUTO
Configuration > Control > Digital I/Os
function
AUTO
function)

8.6.3 Activating camera operating mode

The camera operating mode defines how the code reader starts a read process and decodes the codes if a code is located in the read field (see chapter 4.1 "Camera operating modes").
Leuze electronic DCR 202i 40
Page 41
The following options are available for activating the camera operating mode:
• webConfig tool (see chapter 9 "Commissioning – Leuze electronic webConfig tool") CONFIGURATION > CONTROL > Camera operating mode
• Online command via the host interface (see chapter 10.1 "Online commands")
• Trigger signal via a digital trigger input

8.6.4 Control of the switching outputs

By using the switching inputs/outputs of the device, external event-controlled functions can be imple­mented without assistance from the superior process control. Switching inputs/outputs SWO2, SWIO3 and SWIO4 on the PWR / SWIO connection must be configured as switching output for this purpose (see chapter 7.2).
A switching output can, for example, be activated according to the following criteria:
• At the start/end of the reading gate
• Upon actuation by an external flash
• Depending on the read result:
• Reference code comparison positive/negative
• Read result valid/invalid
• Depending on the state of the device:
Starting up the device - Basic configuration
• Device ready/not ready
• Data transmission active/not active
• Active/standby
• Error/no error
Connect the required switching outputs (see chapter 7 "Electrical connection").
Configure the connected switching outputs according to your requirements.
• First set the I/O mode to output
• Then configure the switching behavior.
• webConfig tool:
Configuration > Control > Digital I/Os
Leuze electronic DCR 202i 41
Page 42

8.6.5 Optimizing reading performance

Optimize the reading performance of the code reader using the following settings in the webConfig tool:
Decoding table
• Limiting of the code types being searched for and the number of digits The adjustment options can be found in the webConfig tool:
Exposure time
A short exposure time enables high object speeds. Because the image brightness is thereby reduced, it may be necessary to adjust the signal gain. Image noise increases as a result, however. The adjustment options can be found in the webConfig tool:
Region of interest
Define a region of interest (ROI) to restrict coding to a single part of the image. If no region of interest is defined, the complete image is defined as the region of interest. The adjustment options can be found in the webConfig tool: interest
Max. decoding time
Define the maximum decoding time to limit the execution time of the code search algorithm. The adjustment options can be found in the webConfig tool: Configuration > Decoder > Properties
Camera operating mode
Select the The adjustment options can be found in the webConfig tool: Configuration > Control > Camera oper­ating mode
Maximum number of codes
If the maximum number of codes to be expected in an image (ROI) is small and known, the code search will be accelerated. Define the maximum number of codes that can be decoded in a test program. If the defined number of codes has been decoded, the code search algorithm is interrupted. The adjustment options can be found in the webConfig tool:
Image transfer
Deactivation of image transfer in process mode increases the decoding rate. Adjustment options can be found in the webConfig tool:
Single trigger mode
Starting up the device - Basic configuration
Configuration > Decoder > Code types
Configuration > Image acquisition
Configuration > Decoder > Region of
camera operating mode for fast complete decoding.
Configuration > Decoder > Extended
Configuration > Device > Image transfer

8.6.6 Transfer configuration data

Transferring configuration data with the webConfig tool With the webConfig tool, you can store complete device configurations on data carriers and transfer them
from these to the device: This storage of configuration data is especially useful if you want to store basic configurations which will
require only minor changes.
Maintenance > Backup/Restore
Leuze electronic DCR 202i 42
Page 43
Commissioning – Leuze electronic webConfig tool

9 Commissioning – Leuze electronic webConfig tool

The code readers of the DCR 200i series can be operated and configured via the Ethernet service inter­face with the integrated Leuze electronic webConfig tool.
With the webConfig tool, an operating-system independent, web-technology based, graphical user inter­face is available for configuring code readers of the DCR 200i series.
Through the use of HTTP as communication protocol and the client-side restriction to standard technolo­gies (HTML, JavaScript and AJAX), which are supported by all of today's popular, modern browsers, it is possible to operate the webConfig tool on any Internet-enabled PC.
The webConfig tool is offered in the following languages:
German, English, French, Italian, Spanish, Chinese

9.1 System requirements

To use the webConfig tool, you need a PC or laptop with the following specifications:
Table 9.1: System requirements for the webConfig tool
Monitor Min. resolution: 1280 x 800 pixels or higher
Internet browser Internet Explorer version 9.0 or higher
Regularly update the operating system and the Internet browser. Install the current Windows Service Packs.

9.2 Start webConfig tool

Prerequisite: IP address and subnet mask for the LAN connection with the device are set correctly.
Connect the operating voltage to the device.
Connect the HOST interface of the device to the PC.
The connection to the HOST interface of the device is made via the LAN port of the PC.
Start the webConfig tool via your PC's Internet browser with IP address
address set by you.
192.168.60.101 is the standard Leuze electronic IP address for communication with code readers of the
DCR 200i series.
The PC displays the webConfig start page with the current process information in the mode:
• Current image of the code reader
• Current decoding result
• Brief history of the last decoding operations
• Statuses of the switching inputs/outputs
• Statistics counter
Firefox version 30 or higher Chrome version 40 or higher
192.168.60.101 or with the IP
Process
operating
The process information may be displayed with a time delay depending on the current process- ing speed.
Leuze electronic DCR 202i 43
Page 44
Commissioning – Leuze electronic webConfig tool
Changing the operating mode (
Process
-
Service
) (upper left)
Figure 9.1: The start page of the webConfig tool
The user interface of the webConfig tool is largely self-explanatory.
The webConfig tool is completely contained in the firmware of the device.
The pages and functions of the webConfig tool may appear and be displayed differently depend- ing on the firmware version.
Clearing browser history The cache of the Internet browser is to be cleared if different device types or devices with different firmware
were connected to the webConfig tool.
Delete cookies and temporary Internet and website data from browser history before starting the
webConfig tool.
Example for Internet Explorer 10: Settings > Security > Browser History > [Delete]
Note limit of Firefox sessions for version 17.0 and higher If the limited number of Firefox sessions is exceeded, it may no longer be possible to address the device
via the webConfig tool.
not use the refresh functions of the Internet browser:
Do
[Shift] [F5] or [Shift] + mouse click

9.3 Short description of the webConfig tool

The menus and dialog boxes of the webConfig tool are intuitive to operate and provide texts and tool tips. The start page of the webConfig tool displays the current process information.

9.3.1 Change operating mode

For configurations with the webConfig tool, you can switch between the following operating modes:
Process
The device is connected to the control or to the PC.
• The process communication to the control is activated.
• The switching inputs/outputs are activated.
• The image currently recorded by the code reader is displayed if the function was not deactivated
in the webConfig tool.
Leuze electronic DCR 202i 44
Page 45
Commissioning – Leuze electronic webConfig tool
• The configuration cannot be changed.
Service
• Process communication to the control or to the PC has been interrupted.
• The switching inputs/outputs are deactivated.
• The configuration can be changed.
NOTICE
Configuration changes only in the
Changes made using the
Service
operating mode!
CONFIGURATION
function can only be performed in the
Service
operating
mode.
Located in the upper left of all pages of the webConfig tool is a software switch for changing the operating mode (
After changing to the
Process
-
Service
).
Service
operating mode, the CONFIGURATION menu is displayed.
Changing the operating mode (
Figure 9.2:
CONFIGURATION menu of the webConfig tool

9.3.2 Menu options of the webConfig tool

The webConfig tool offers the following menu functions:
PROCESS
• Information on the current read result
• Current camera image
• Status of the switching inputs/outputs
• Reading statistics
CONFIGURATION
• Configuration of the decoding
• Configuration of the data formatting and data output
• Configuration of the switching inputs/outputs
• Setting the communication parameters and interfaces
DIAGNOSIS
• Event logging of warnings and errors
• MAINTENANCE Firmware update
Process
-
Service
) (upper left)
Leuze electronic DCR 202i 45
Page 46

9.3.3 CONFIGURATION menu

NOTICE
Configuration changes only in the
Changes made using the
mode.
Commissioning – Leuze electronic webConfig tool
Service
operating mode!
CONFIGURATION menu can only be performed in the
Service
operating
Figure 9.3: CONFIGURATION menu
Select the application that you would like to configure.
• [Start wizard]: Quick configuration in just a few steps
• [Edit project]: Configuration via the full view of the webConfig tool
• [Load project from PC]: Configuration via an existing configuration project
• [Save project on PC]: Save configuration project

9.3.4 Configuring applications with the wizard

With the configuration wizard, you can set up your application in just a few steps.
Figure 9.4: Configuration wizard
Leuze electronic DCR 202i 46
Page 47
Commissioning – Leuze electronic webConfig tool
Select CONFIGURATION > [Start Wizard]
Make the settings using the configuration steps presented by the wizard.
The settings are not saved until the final configuration step (FINISH) is performed.
Leuze electronic DCR 202i 47
Page 48

10 Interfaces – Communication

Commands can be used to send commands directly to the code reader for control and configuration. The following transmission options are available for the commands:
• Online commands via the Ethernet or RS 232/RS 422 interface (see chapter 10.1 "Online com­mands")
• XML-based communication via the Ethernet interface (see chapter 10.2 "XML-based communica­tion")

10.1 Online commands

10.1.1 Overview of commands and parameters

Online commands can be used to send commands directly to the code reader for control and configuration. For this, the code reader has to be connected to a computer (host) via the serial interface or the Ethernet interface (see chapter 8.3.4 "Ethernet host communication").
Online commands offer the following options for controlling and configuring the code reader:
• Control/decode the reading gate
• Read/write/copy parameters
• Carry out an automatic configuration
• Teach-in/set reference codes
• Call up error messages
• Query statistical device information
• Perform a software RESET and re-initialize the code reader
Interfaces – Communication
Syntax Online commands consist of one or two ASCII characters followed by command parameters. No separation characters may be entered between the command and the command parameter(s). Both
small and capitalized letters can be used. Example:
Command CA: Auto setup function
Parameter +: Activation
Transmitted is:
Notation Commands, parameters and returned data are enclosed between single quotation marks   in the text of
this manual. Most online commands are acknowledged by the device and any requested data returned. For commands
that are not acknowledged, command execution can be observed or monitored directly on the device.

10.1.2 General online commands

Software version number
Command V
Description Requests device version information
CA+
Parameter None
Acknowledgment Example:
The first line contains the device type of the code reader, followed by the device ver­sion number and version date. The data which is actually displayed may vary from the values given here.
Leuze electronic DCR 202i 48
DCR 202i FIX-F1-102-R2 V1.0.0 2016-01-01
Page 49
Interfaces – Communication
You can use this command to check whether the communication between PC and code reader is functional. If you do not receive an acknowledgment, please check the interface connections or the protocol.
Software reset
Command H
Description Carries out a software reset. The device is restarted and reinitialized, leaving it in the
same state as when the operating voltage is switched on.
Parameter None
Acknowledgment S (start signal)
Auto setup
Command CA
Description Activates the
Auto setup
• Determine optimum illumination settings.
• Decode present code.
• Permanently store found code types and number of digits in the decoder table.
This is performed if a configuration code is present!
Parameter + activates
Acknowledgment CS=x
x Status
00 valid CA command
01 Invalid command
02 Auto setup' could not be activated
function:
Auto setup
Leuze electronic DCR 202i 49
Page 50
Command CA
Answer xx yyyy zzzzzz
xx Code type of the read code
01 2/5 Interleaved
06 UPC (A, E)
07 EAN
08 Code 128, EAN 128
09 Pharmacode
10 EAN Addendum
11 Codabar
12 Code 93
13 GS1 DataBar Omni
Interfaces – Communication
Alignment mode
Command JP
14 GS1 DataBar Limited
15 GS1 DataBar Expanded
20 GS1 DataBar Truncated
32 DataMatrix ECC200
33 QR code
34 Aztec
48 PDF417
52 GS1 DataBar Stacked
53 GS1 DataBar Stacked Omni
54 GS1 DataBar Stacked Expanded
yyyy Number of digits of the read code
zzzzzz Contents of the decoded label.
Description Activates or deactivates the alignment mode for simple mounting alignment of the
device. After activating the function with
JP+, the code reader constantly outputs status infor­mation on the serial and Ethernet interface. With the online command, the code reader is set so that it constantly outputs the floating average value of the last 10 image acquisitions in [%] and the decoding result. These values can be used to determine the reading quality or decoding quality. The values are also output on the bar graph display of the device (SIGNAL QUALITY).
Parameter + Activates the alignment mode
- Deactivates the alignment mode
Leuze electronic DCR 202i 50
Page 51
Interfaces – Communication
Command JP
Acknowledgment yyy zzzzzz
yyy Read quality in [%].
zzzzzz Code information
Manual definition of the reference code
Command RS
Description This command can be used to define a new reference code in the code reader by
means of direct input via the serial interface or the Ethernet interface.
Parameter RSyvxxzzzzzzzz
y, v, x and z are placeholders (variables) for the actual input.
y Def. reference code no.
1 (Code 1)
v Storage location for reference code:
3 RAM only
xx Defined code type (see command 'CA')
z Defined code information (1 … 244 characters)
Acknowledgment RS=x
x Status
00 Valid 'Rx' command
01 Invalid command
02 Insufficient memory for reference code
03 Reference code has not been saved
04 Reference code invalid
Example Entry = RS103211032010
Code 1 (1), RAM+EEPROM (0), DataMatrix ECC 200 (32), code information
Teach-in
Command RT
Description This command enables a reference code to be defined quickly by reading an exam-
ple label.
Parameter RTy
y Function
1 Defines reference code 1
Leuze electronic DCR 202i 51
Page 52
Interfaces – Communication
Command RT
Acknowledgment The code reader responds with command RS and corresponding status (see com-
mand RS). After a code has been read, it sends the result in the following format:
RCyvxxzzzzz
 y, v, x and z are placeholders (variables) for the actual input.
y Def. reference code no.
1 (Code 1)
v Storage location for reference code:
3 RAM only
xx Defined code type (see command 'CA')
z Defined code information (1 … 244 characters)
With this function, only code types are recognized that are identified using the Auto setup' func- tion or which were set in the setup.
Reading a reference code
Command RR
Description The command reads out the reference code defined in the code reader. If no param-
eters are specified, all defined codes are output.
Parameter <reference code number>
1 Reference code 1
Acknowledgment Output in the following format:
RCyvxxzzzz
 If no reference codes are defined, nothing is entered for zzzz. y, v, x and z are placeholders (variables) for the actual input.
y Def. reference code no.
1 (Code 1)
v Storage location for reference code:
3 RAM only
xx 00 is always output
z Defined code information (1 … 244 characters)
Device status
Command SST?
Description The command queries the device status independent of whether the code reader is
in the
Service
operating mode or in the
Process
operating mode.
Parameter None
Leuze electronic DCR 202i 52
Page 53
Command SST?
Acknowledgment SST=xxxxxxxx
x stands for a single bit (value 1 or 0) Bit 7 is at the far left, bit 0 is at the far right
0 Ready for testing
1 The code reader is ready to receive a trigger and start a check pro-
0 The code reader does not respond to an incoming trigger signal.
1 Operating mode
1
0
2 Device error
1 Device error, no inspection possible
0 No device error, ready
gram.
Process
Service
Interfaces – Communication
operating mode
operating mode
3 … 7 No function, value is always 0
Alternatively, the following acknowledgment is output: DS=xx
x Error acknowledgment
00 Syntax error
01 Other error

10.1.3 Online commands for system control

Activate decoding
Command +
Description The command activates configured decoding.
Parameter None
Acknowledgment None
Deactivate decoding
Command -
Description The command deactivates configured decoding.
Parameter None
Acknowledgment None

10.2 XML-based communication

You can send commands for control and configuration directly to the code reader via XML-based commu­nication.
• The code reader must be connected to a computer (host) via the Ethernet interface (see chapter 8.3.4 "Ethernet host communication").
• The code reader is designed as an XML server and communicates on port 10004.
Leuze electronic DCR 202i 53
Page 54
Interfaces – Communication
You can find detailed information on XML-based communication on the Leuze home page: www.leuze.com
• Enter the type designation or part number of the device as the search term.
• You can find the information on the
Downloads
tab.
Leuze electronic DCR 202i 54
Page 55

11 Care, maintenance and disposal

Usually, the code reader does not require any maintenance by the operator.

11.1 Cleaning

Clean the protective screen of the code reader with a soft cloth before mounting.
NOTICE
Do not use aggressive cleaning agents!
Do not use aggressive cleaning agents such as thinner or acetone for cleaning the device.

11.2 Servicing

Repairs to the device must only be carried out by the manufacturer.
For repairs, contact your responsible Leuze electronic subsidiary or Leuze electronic customer service
(see chapter 13 "Service and support").

11.3 Disposing

For disposal observe the applicable national regulations regarding electronic components.
Care, maintenance and disposal
Leuze electronic DCR 202i 55
Page 56

12 Diagnostics and troubleshooting

Error signaling via LED
Table 12.1: Meaning of the LED indicators
Error Possible error causes Measures
PWR LED
Diagnostics and troubleshooting
Off
Red, continuous light
Red, flashing Warning set
NET LED
Off
Red, continuous light
Red, flashing No communication Check interface
• No operating voltage connected to the device
• Hardware error
Device error/parameter enable Contact Leuze electronic customer service
• Temporary operating fault
• No operating voltage connected to the device
• Hardware error
Network error Check interface
• Check operating voltage
• Contact Leuze electronic customer service (see chapter 13)
(see chapter 13)
Query diagnostic data and carry out the result­ing measures
• Check operating voltage
• Contact Leuze electronic customer service (see chapter 13)
Leuze electronic DCR 202i 56
Page 57

13 Service and support

24-hour on-call service at: +49 (0) 7021 573-0
Service hotline: +49 (0) 7021 573-123 Monday to Friday 8.00 a.m. to 5.00 p.m. (UTC+1)
E-mail: service.identify@leuze.de
Repair service and returns: Procedure and Internet form can be found at www.leuze.com/repair
Return address for repairs: Service center Leuze electronic GmbH + Co. KG In der Braike 1 D-73277 Owen / Germany
Service and support

13.1 What to do should servicing be required?

NOTICE
Please use this chapter as a master copy if service is required!
Enter the contact information and fax the form together with your service order to the fax number given
below.
Customer data (please complete)
Device type:
Serial number:
Firmware:
Status of LEDs:
Error description:
Company:
Contact person/department:
Phone (direct dial):
Fax:
Street/No:
ZIP code/City:
Country:
Leuze Service fax number: +49 (0) 7021 573-199
Leuze electronic DCR 202i 57
Page 58

14 Technical data

14.1 General specifications

Table 14.1: Electrical equipment
Technical data
Operating voltage U
B
18 … 30 V DC PELV, Class 2 / SELV
Power consumption 8 W maximum (without load on the switching output)
Switching input Switching output
• SWI1: Digital switching input 1 (default: Trigger)
• SWO2: Digital switching output 2 (default: Good Read)
• SWI/O3: Digital switching input/output 3 (default: switching output No read)
• SWI/O4: Digital switching input/output 4 (default: switching output Device ready)
18 … 30 V DC depending on operating voltage I
: 60 mA per switching output; 100 mA total current
max
short-circuit proof, protected against polarity reversal
Process interface RS 232/RS 422, Ethernet 10/100 Mbit/s
RS 232 with adjustable data format. Default:
• 9600 Bd, 8 data bits, no parity, 1 stop bit
• <STX> <data> <CR><LF>
Table 14.2: Operating and display elements
Keyboard 2 control buttons
LEDs 1 dual LED (green/red) for power (PWR)
1 dual LED (green/red) for bus state (NET) 1 dual LED (green/yellow) for link state (LINK) Bar graph display with 6 LEDs (green) for function selec­tion and displaying the read quality
Table 14.3: Mechanical data
Degree of protection IP 65 acc. to EN 60529
with screwed-on M 12 connectors or mounted caps
VDE safety class III (EN 61140)
Connection technology M12 connectors
Weight 120 g (housing hood with plastic screen)
Dimensions (H x W x D) 65.6 x 43 x 44 mm
Fastening 2 M4 threaded inserts on each of the side walls, 5 mm
deep 4 M4 threaded inserts on the rear, 3.5 mm / 5 mm deep
Housing Housing: polycarbonate
Housing base: diecast aluminum
Optics cover Polycarbonate, optionally made of glass
Leuze electronic DCR 202i 58
Page 59
Table 14.4: Environmental data
Ambient temp. (operation/storage) 0 °C … +50 °C/-20 °C … +70 °C
Air humidity Max. 90% rel. humidity, non-condensing
Ambient light Max. 2000 Lux
Electromagnetic compatibility EN 61000-6-2, EN 61000-6-4
Vibration IEC 60068-2-6, test Fc
Continuous shock IEC 60068-2-29, test Eb
Certifications UL 60950-1
Conformity CE, FCC, UL

14.2 Optical data

Integrated LED illumination Red light (visible, 616 nm)
Technical data
CAN/CSA C22.2 No. 60950-1-07 CSA C22.2 No. 60950-1-07
Risk group 0 (exempt group) Acc. to IEC 60825-1, EN 62471:2008
Integrated feedback LED Green (528 nm)
Beam exit Front
Image sensor Global shutter CMOS Imager
Number of pixels 1280 x 960 pixels
Optics models Resolution
Electronic shutter speeds 68 µs … 5 ms (flash)

14.2.1 Reading performance

Read fields
Reading distance see chapter 6.1.3 "Determining the reading distance"
Object speed
• High Density (N)
0.127 mm (5 mil) … 0.25 mm (10 mil)
• Medium Density (M)
0.19 mm (7.5 mil) … 0.33 mm (13 mil)
• Low Density (F)
0.25 mm (10 mil) … 0.5 mm (20 mil)
• N-optics: 40 mm … 90 mm at m=0.19 mm (7,5 mil)
• M-optics: 60 mm … 150 mm at m=0.25 mm (10 mil)
• F-optics: 80 mm … 300 mm at m=0.33 mm (13 mil)
• N-optics: Up to 4 ms at m=0.19 mm (7.5 mil)
• M-optics: Up to 5 ms at m=0.25 mm (10 mil)
• F-optics: Up to 6 ms at m=0.33 mm (13 mil)
Leuze electronic DCR 202i 59
Page 60

14.2.2 Code specifications

Code type: 1D Code 128 EAN 128 (GS1-128), Code 39, Code 2/5 Interleaved, EAN 8/
Code type: stacked codes GS1 DataBar (Omnidirectional, Expanded, Limted, Truncated)
Code type: 2D DataMatrix (ECC200), Aztec Code, GS1 Aztec Code, GS1 DataBar

14.3 Dimensioned drawing

Technical data
EAN 13, UPC A/E, Pharmacode, Codabar (Monarch), Code 93
GS1 DataBar (Stacked Omnidirectional, StackedExpanded) PDF417
(ECC200) QR-Code, GS1 QR-Code
all dimensions in mm
Figure 14.1: DCR 200i dimensioned drawing

14.4 Dimensioned drawings - Accessories

all dimensions in mm
Figure 14.2: Dimensioned drawing of the BTU 320M-D12 mounting system
Leuze electronic DCR 202i 60
Page 61
Technical data
all dimensions in mm
Figure 14.3: Dimensioned drawing of the BT 320M mounting bracket
Leuze electronic DCR 202i 61
Page 62
Technical data
all dimensions in mm
Figure 14.4: Dimensioned drawing of the BTU 320M-D12-RL70 mounting bracket for ring light
Leuze electronic DCR 202i 62
Page 63

15 Ordering information and accessories

15.1 Nomenclature

Part designation: DCR 2xxi FIX-f -102-Rr-Z
Table 15.1: Part number code
DCR Operating principle: Dual Code Reader
2 Series: DCR 200
xx Host interface
02: Ethernet TCP/IP, UDP, RS 232/RS 422
i Integrated fieldbus technology
FIXED Fixed focal length
f Optics model:
N: High Density M: Medium Density F: Low Density
Ordering information and accessories
102 Device with connector/socket
R Illumination: red light
r Resolution range:
Z Type of protective screen:
A list with all available device types can be found on the Leuze electronic website at www.leuze.com.

15.2 Type overview

Table 15.2: Type overview
Type designation Description Part no.
DCR 202i FIX-N1-102-R3 Stationary 2D-code reader, N-optics 50128782
Beam exit at front
3: 1280 x 960 pixels
-: Plastic G: Glass P: Polarization filter
DCR 202i FIX-M1-102-R3 Stationary 2D-code reader, M-optics 50128783
DCR 202i FIX-F1-102-R3 Stationary 2D-code reader, F-optics 50128784
DCR 202i FIX-N1-102-R3-G Stationary 2D-code reader, N-optics, glass pane 50128785
DCR 202i FIX-M1-102-R3-G Stationary 2D-code reader, M-optics, glass pane 50128786
DCR 202i FIX-F1-102-R3-G Stationary 2D-code reader, F-optics, glass pane 50128787
Leuze electronic DCR 202i 63
Page 64
Ordering information and accessories
Type designation Description Part no.
DCR 202i FIX-N1-102-R3-P Stationary 2D-code reader, N-optics, polarization
DCR 202i FIX-M1-102-R3-P Stationary 2D-code reader, M-optics, polarization
DCR 202i FIX-F1-102-R3-P Stationary 2D-code reader, F-optics, polarization

15.3 Optical accessories

Table 15.3: Accessories – housing hoods
Part no. Part designation Description
50131462 Cover DCR 200i Housing hood with plastic pane
50131461 Cover DCR 200i-G Housing hood with glass pane
50131460 Cover DCR 200i-P Housing hood with polarization filter
50131459 Diffusor DCR 200i Diffusor foil

15.4 Cables accessories

50128788
filter
50128789
filter
50128790
filter
Table 15.4: Accessories – PWR connection cable (open cable end)
Part no. Part designation Description
M12 socket (12-pin, A-coded), axial connector, open cable end, shielded, UL
50130281 KD S-M12-CA-P1-020 PWR connection cable, length 2 m
50130282 KD S-M12-CA-P1-050 PWR connection cable, length 5 m
50130283 KD S-M12-CA-P1-1000 PWR connection cable, length 10 m
Table 15.5: Accessories – PWR connection cable (extension, to M12 plug)
Part no. Part designation Description
M12 socket (12-pin, A-coded), axial connector M12 plug (12-pin, A-coded), shielded, UL
50130284 KDS S-M12-CA-M12-CA-P1-020 Connection cable, length 2 m
50130285 KDS S-M12-CA-M12-CA-P1-050 Connection cable, length 5 m
50130286 KDS S-M12-CA-M12-CA-P1-100 Connection cable, length 10 m
Table 15.6: Accessories – Ethernet connection cable (to RJ-45)
Part no. Part designation Description
M12 plug (4-pin, D-coded), axial connector to RJ-45 connector, shielded, UL
50109880 KB ET-2000-SA-RJ45 Ethernet connection cable (on RJ-45), length 2 m
50109881 KB ET-5000-SA-RJ45 Ethernet connection cable (on RJ-45), length 5 m
Leuze electronic DCR 202i 64
Page 65
Ordering information and accessories
Part no. Part designation Description
50109882 KB ET-10000-SA-RJ45 Ethernet connection cable (on RJ-45), length 10 m
50109883 KB ET-15000-SA-RJ45 Ethernet connection cable (on RJ-45), length 15 m
50109886 KB ET-30000-SA-RJ45 Ethernet connection cable (on RJ-45), length 30 m
Table 15.7: Accessories – Ethernet connection cable (open cable end)
Part no. Part designation Description
M12 plug (4-pin, D-coded), axial connector, open cable end, shielded, UL
50106739 KB ET-2000-SA Ethernet connection cable, length 2 m
50106740 KB ET-5000-SA Ethernet connection cable, length 5 m
50106741 KB ET-10000-SA Ethernet connection cable, length 10 m
50106742 KB ET-15000-SA Ethernet connection cable, length 15 m
50106746 KB ET-30000-SA Ethernet connection cable, length 30 m
Table 15.8: Accessories – BUS IN/BUS OUT connection cable (to M12)
Part no. Part designation Description
M12 plug (4-pin, D-coded), BUS IN/BUS OUT to M12 socket, shielded, UL
50106899 KB ET-2000-SSA BUS OUT connection cable, length 2 m
50106900 KB ET-5000-SSA BUS OUT connection cable, length 5 m
50106901 KB ET-10000-SSA BUS OUT connection cable, length 10 m
50106902 KB ET-15000-SSA BUS OUT connection cable, length 15 m
50106905 KB ET-30000-SSA BUS OUT connection cable, length 30 m

15.5 Other accessories

Table 15.9: Accessories – External illumination
Part no. Part designation Description
50132511 RL-70/40r-003-M12 Ring light, red with 300 mm cable and M12 plug
Table 15.10: Accessories – Mounting aids
Part no. Part designation Description
50132150 BTU 320M-D12 Mounting system for 12 mm rod
50132151 BT 320M Mounting bracket
50132453 BTU 320M-D12-RL70 Mounting bracket for ring light
Leuze electronic DCR 202i 65
Page 66
Ordering information and accessories
Table 15.11: Accessories – fieldbus connection
Part no. Part designation Description
50112891 MA 248i Modular fieldbus connection for field use;
interfaces: RS 232 / PROFINET
50112892 MA 208i Modular fieldbus connection for field use;
interfaces: RS 232 / Ethernet TCP/IP
50112893 MA 204i Modular fieldbus connection for field use;
interfaces: RS 232 / PROFIBUS
50114154 MA 235i Modular fieldbus connection for field use;
interfaces: RS 232 / CANopen
50114155 MA 238i Modular fieldbus connection for field use;
interfaces: RS 232 / EtherCAT
50114156 MA 255i Modular fieldbus connection for field use;
interfaces: RS 232 / DeviceNet
50114157 MA 258i Modular fieldbus connection for field use;
interfaces: RS 232 / Ethernet/IP
50132488 KB JST-M12A-12P-50 Interconnection cable for DCR 200i to MA 2xxi
modular fieldbus connection
Leuze electronic DCR 202i 66
Page 67

16 EC Declaration of Conformity

The code readers of the DCR 200i series have been developed and manufactured in accordance with the applicable European standards and directives.
EC Declaration of Conformity
Leuze electronic DCR 202i 67
Page 68

17 Appendix

17.1 ASCII character set

ASCII Dec. Hex. Oct. Designation Meaning
NUL 0 00 0 ZERO Zero
SOH 1 01 1 START OF HEADING Start of heading
STX 2 02 2 START OF TEXT Start of text characters
ETX 3 03 3 END OF TEXT Last character of text
EOT 4 04 4 END OF TRANSMISS. End of transmission
ENQ 5 05 5 ENQUIRY Request for data trans.
ACK 6 06 6 ACKNOWLEDGE Positive acknowledgment
BEL 7 07 7 BELL Bell signal
BS 8 08 10 BACKSPACE Backspace
Appendix
HT 9 09 11 HORIZ. TABULATOR Horizontal tabulator
LF 10 0A 12 LINE FEED Line feed
VT 11 0B 13 VERT. TABULATOR Vertical tabulator
FF 12 0C 14 FORM FEED Form feed
CR 13 0D 15 CARRIAGE RETURN Carriage return
SO 14 0E 16 SHIFT OUT Shift out
SI 15 0F 17 SHIFT IN Shift in
DLE 16 10 20 DATA LINK ESCAPE Data link escape
DC1 17 11 21 DEVICE CONTROL 1 Device control character 1
DC2 18 12 22 DEVICE CONTROL 2 Device control character 2
DC3 19 13 23 DEVICE CONTROL 3 Device control character 3
DC4 20 14 24 DEVICE CONTROL 4 Device control character 4
NAK 21 15 25 NEG. ACKNOWLEDGE Negative acknowledge
SYN221626SYNCHRONOUS IDLE Synchronization
ETB 23 17 27 EOF TRANSM. BLOCK End of data transmission block
CAN241830CANCEL Invalid
EM 25 19 31 END OF MEDIUM End of medium
SUB 26 1A 32 SUBSTITUTE Substitution
ESC 27 1B 33 ESCAPE Escape
FS 28 1C 34 FILE SEPARATOR File separator
GS 29 1D 35 GROUP SEPARATOR Group separator
RS 30 1E 36 RECORD SEPARATOR Record separator
Leuze electronic DCR 202i 68
Page 69
ASCII Dec. Hex. Oct. Designation Meaning
US 31 1F 37 UNIT SEPARATOR Unit separator
SP 32 20 40 SPACE Space
! 33 21 41 EXCLAMATION POINT Exclamation point
" 34 22 42 QUOTATION MARK Quotation mark
# 352343NUMBER SIGN Number sign
$ 362444DOLLAR SIGN Dollar sign
% 37 25 45 PERCENT SIGN Percent sign
& 382646AMPERSAND Ampersand
39 27 47 APOSTROPHE Apostrophe
( 40 28 50 OPEN. PARENTHESIS Open parenthesis
) 41 29 51 CLOS. PARENTHESIS Closed parenthesis
Appendix
* 42 2A 52 ASTERISK Asterisk
+ 432B53PLUS Plus sign
, 44 2C 54 COMMA Comma
- 45 2D 55 HYPHEN (MINUS) Hyphen
. 46 2E 56 PERIOD (DECIMAL) Period (decimal)
/ 472F57SLANT Slant
0 4830600 Number
1 4931611 Number
2 5032622 Number
3 5133633 Number
4 5234644 Number
5 5335655 Number
6 5436666 Number
7 5537677 Number
8 5638708 Number
9 5739719 Number
: 583A72COLON Colon
; 59 3B 73 SEMICOLON Semicolon
< 60 3C 74 LESS THAN Less than
= 613D75EQUALS Equals
> 62 3E 76 GREATER THAN Greater than
? 633F77QUESTION MARK Question mark
@ 64 40 100 COMMERCIAL AT Commercial AT
Leuze electronic DCR 202i 69
Page 70
ASCII Dec. Hex. Oct. Designation Meaning
A 65 41 101 A Capital letter
B 66 42 102 B Capital letter
C 67 43 103 C Capital letter
D 68 44 104 D Capital letter
E 69 45 105 E Capital letter
F 70 46 106 F Capital letter
G 71 47 107 G Capital letter
H 72 48 110 H Capital letter
I 73 49 111 I Capital letter
J 74 4A 112 J Capital letter
K 75 4B 113 K Capital letter
Appendix
L 76 4C 114 L Capital letter
M 77 4D 115 M Capital letter
N 78 4E 116 N Capital letter
O 79 4F 117 O Capital letter
P 80 50 120 P Capital letter
Q 81 51 121 Q Capital letter
R 82 52 122 R Capital letter
S 83 53 123 S Capital letter
T 84 54 124 T Capital letter
U 85 55 125 U Capital letter
V 86 56 126 V Capital letter
W 87 57 127 W Capital letter
X 88 58 130 X Capital letter
Y 89 59 131 Y Capital letter
Z 90 5A 132 Z Capital letter
[ 91 5B 133 OPENING BRACKET Opening bracket
\ 92 5C 134 REVERSE SLANT Reverse slant
] 93 5D 135 CLOSING BRACKET Closing bracket
^ 94 5E 136 CIRCUMFLEX Circumflex
_ 95 5F 137 UNDERSCORE Underscore
` 96 60 140 GRAVE ACCENT Grave accent
a 97 61 141 a Lower case letter
b 98 62 142 b Lower case letter
Leuze electronic DCR 202i 70
Page 71
ASCII Dec. Hex. Oct. Designation Meaning
c 99 63 143 c Lower case letter
d 100 64 144 d Lower case letter
e 101 65 145 e Lower case letter
f 102 66 146 f Lower case letter
g 103 67 147 g Lower case letter
h 104 68 150 h Lower case letter
i 105 69 151 i Lower case letter
j 106 6A 152 j Lower case letter
k 107 6B 153 k Lower case letter
l 108 6C 154 l Lower case letter
m 109 6D 155 m Lower case letter
Appendix
n 110 6E 156 n Lower case letter
o 111 6F 157 o Lower case letter
p 112 70 160 p Lower case letter
q 113 71 161 q Lower case letter
r 114 72 162 r Lower case letter
s 115 73 163 s Lower case letter
t 116 74 164 t Lower case letter
u 117 75 165 u Lower case letter
v 118 76 166 v Lower case letter
w 119 77 167 w Lower case letter
x 120 78 170 x Lower case letter
y 121 79 171 y Lower case letter
z 122 7A 172 z Lower case letter
{ 123 7B 173 OPENING BRACE Opening brace
| 124 7C 174 VERTICAL LINE Vertical line
} 125 7D 175 CLOSING BRACE Closing brace
~ 126 7E 176 TILDE Tilde
DEL 127 7F 177 DELETE (RUBOUT) Delete
Leuze electronic DCR 202i 71
Page 72

17.2 Code - sample

Figure 17.1: Code type: 2/5 Interleaved
Figure 17.2: Code type: Code 39
Appendix
Module 0.3
Module 0.3
Module 0.3
Figure 17.3: Code type: Codabar
Module 0.3
Figure 17.4: Code type: Code 128
Module 0.3
Figure 17.5: Code type: EAN 128
SC 2
Figure 17.6: Code type: UPC-A
Leuze electronic DCR 202i 72
Page 73
SC 3
Figure 17.7: Code type: EAN 8
SC 0 S
Figure 17.8: Code type: EAN 13 add-on
Appendix
DCR 200i
Figure 17.9: Code type: DataMatrix ECC200
DCR 200i
Figure 17.10: Code type: QR Code
Test symbol
Figure 17.11: Code type: Aztec
DCR 200i series
Figure 17.12: Code type: PDF417
Leuze electronic DCR 202i 73
Page 74

17.3 Configuration via configuration codes

The code reader can also be configured using configuration codes. The device parameters in the device are set and permanently saved after reading this code.
Configuration changes via the configuration codes are only possible via button activation on the control panel of the device (
Proceed as follows to read in a configuration code:
Connect the code reader to the operating voltage and activate the
Hold the configuration code at the correct distance in front of the optics of the code reader.
NOTICE
Read in configuration codes individually! The configuration codes can only be read in individually.
• The code reader adjusts the illumination and reads the configuration code.
• The code reader changes the device configuration and saves the new configuration.
Reset to factory settings (without IP address)
AUTO
function).
AUTO
function on the control panel.
Appendix
Figure 17.13: Configuration code: reset to factory settings
Setting the IP address to the Leuze default address
Figure 17.14: Configuration code: Setting the IP address
DHCP activation
Figure 17.15: Configuration code: DHCP activation
Leuze electronic DCR 202i 74
Page 75
DHCP deactivation
Figure 17.16: Configuration code: DHCP deactivation
Activation of reading gate control
Appendix
Figure 17.17: Configuration code: Reading gate control activation
Activation of presentation mode
Figure 17.18: Configuration code: Presentation mode activation
Activation of single trigger mode
Figure 17.19: Configuration code: Single trigger mode activation
Leuze electronic DCR 202i 75
Page 76
Activation of burst mode
Figure 17.20: Configuration code: Burst mode activation

17.4 License terms

This product contains software components that are licensed by the copyright holders as free software or as open source software under the GNU General Public License, Version 2. We can provide you with the source code of these software components on a data carrier/download (CD-ROM or DVD) if you submit a request to our customer support within three years of distribution of the product at the following address:
Service center Leuze electronic GmbH + Co. KG In der Braike 1 D-73277 Owen / Germany Source code DCR 200i
Appendix
Leuze electronic DCR 202i 76
Loading...