Indicates dangers that may result in property damage if the measures for danger avoidance are not followed.
CAUTIONSignal 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
CMOSSemiconductor process for implementing integrated circuits
DCRCamera-based code reader
EMCElectromagnetic compatibility
ENEuropean standard
FEFunctional earth
FOVRead field of the code reader (
IO or I/O
IP addressNetwork address, which is based on the Internet Protocol (IP)
LEDLED
MAC addressHardware 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)
(
PCRERegular expressions for reference code comparison
(Perl Compatible Regular Expressions)
PELVProtective extra low voltage with reliable disconnection
Protective Extra Low Voltage)
(
ROIRegion of interest of the code reader
PLC
Leuze electronicDCR 202i6
Programmable Logic Control
Page 7
About this document
TCP/IPInternet protocol family (Transmission Control Protocol/Internet Protocol)
UDPNetwork transmission protocol (
ULUnderwriters Laboratories
User Datagram Protocol)
Leuze electronicDCR 202i7
Page 8
2Safety
This code reader was developed, manufactured and tested in accordance with the applicable safety standards. It corresponds to the state of the art.
2.1Intended 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.2Foreseeable misuse
Any use other than that defined under Intended use or which goes beyond that use is considered
improper use.
Leuze electronicDCR 202i8
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.3Competent 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 independently 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.4Exemption 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 electronicDCR 202i9
Page 10
3Device description
3.1Device overview
3.1.1About 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.2Performance 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 electronicDCR 202i10
Page 11
3.1.3Accessories
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 customer service (see chapter 13).
• MA 2xxi modular connection units for connection to fieldbus systems (see chapter 7.6).
3.2Device construction
Device description
1Lens
2Control panel with indicator LEDs, control buttons, bar graph display
3LEDs for illumination (red light)
4M4 mounting thread
5Device housing
6Housing hood
7M12 connection technology
8Feedback LED (green)
Figure 3.1:Device construction
3.3Connection technology
Leuze electronicDCR 202i11
The device is connected using variously coded M12 connectors:
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.4Indicators 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 electronicDCR 202i12
Page 13
1LED indicators: PWR, NET, LINK
1
3
2
2Bar graph display
3Control buttons
Figure 3.3:Structure of the control panel
Device description
3.4.1LED indicators
PWR LED
Table 3.1:PWR indicators
ColorStateDescription
---OFFDevice off
GreenON (continuous
OrangeON (continuous
RedFlashingDevice 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 electronicDCR 202i13
Page 14
NET LED
Table 3.2:NET indicators
ColorStateDescription
---OFFNo operating voltage
• No communication possible
• Ethernet protocols not released
GreenFlashingInitialization of the device
Establishing communication
Device description
ON (continuous
light)
RedFlashingCommunication 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
ColorStateDescription
GreenON (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)
YellowFlashingData communication (ACT)
3.4.2Bar 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 electronicDCR 202i14
Page 15
Device description
If you activate the
accepts no commands via the process interface. Process mode is thereby interrupted.
3.4.3Control 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 electronicDCR 202i15
Page 16
4Functions
A
ABCD
BCDEFGHABDC
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.1Camera 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.1Single 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.2Reading 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.3Burst 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
1Continuous image capture
2Decoding
3Output of the read data
Figure 4.1:Burst mode
4.1.4Presentation 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 electronicDCR 202i16
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.2Reference 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
•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
When entering regular expressions, note the use of space characters.
4.3Leuze 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 electronicDCR 202i17
Page 18
5Applications
Typical applications for code readers include the following.
5.1Reading of 1D-codes
Applications
Figure 5.1:Reading of 1D-codes
Leuze electronicDCR 202i18
Page 19
5.2Reading of 2D-codes
Applications
Figure 5.2:Reading of 2D-codes in packaging systems
5.3Code reading with polarization filter
12
1Code reading without polarization filter
2Code 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 electronicDCR 202i19
Page 20
5.4Code reading with diffusor foil
12
1Code reading without diffusor foil
2Code 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 electronicDCR 202i20
Page 21
6Mounting
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.1Determining the mounting position of the code reader
6.1.1Selecting 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 inclination of 10° … 20° (see chapter 6.1.2 "Avoiding total reflection").
6.1.2Avoiding 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 electronicDCR 202i21
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
1Code label
2Mounting with tilt angle
3Mounting with angle of inclination
Figure 6.1:Mounting with tilt angle or angle of inclination
6.1.3Determining 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.
1Reading distance [mm]
Figure 6.2:Typical reading distances for 1D- and 2D-codes with various modulus sizes of the codes
Leuze electronicDCR 202i22
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
1Reading 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.
1Reading 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 electronicDCR 202i23
Page 24
1Camera 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
050100150200250300350
1
34
2
2Read field
3Height of the read field
4Width of the read field
Figure 6.6:Relationship between camera distance and read field size
6.2Mounting the code reader
Leuze electronicDCR 202i24
Information on mounting the code reader can also be found in document Quick Start Guide
DCR 200i.
Page 25
6.2.1Mounting 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.2Mounting with the BTU 320M-D12 mounting system
Mounting with a BTU 320M-D12 mounting system is intended for 12-mm rod mounting. For ordering information, 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.3Mounting 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.3Replace 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 electronicDCR 202i25
Page 26
1Fastening screws
1
22
2Housing hood
Figure 6.7:Replace housing hood
6.4Attaching 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 electronicDCR 202i26
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 electronicDCR 202i27
Page 28
7Electrical 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.1Overview
The code reader is provided with the following 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.
The shield of the connection cable is on the
thread of the M12 plug.
The core colors only apply when Leuze electronics 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 electronicDCR 202i30
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
1Switching input
2Switching 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
1Switching output
2Switching 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 malfunctions.
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 electronicDCR 202i31
Page 32
7.3HOST - 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/terminalDesignationAssignment
1TD+Transmit Data +
2RD+Receive Data +
3TD-Transmit Data -
4RD-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.4Ethernet 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 electronicDCR 202i32
Page 33
1Ethernet switch
1
2
3
4
2
1
3
4
1
8
2Code reader of the DCR 200i series
3Other network participants
4Host 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)DesignationPin/core color (RJ45)
1TD+1/yellow
2RD+3/white
3TD-2/orange
4RD-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.5Cable lengths and shielding
Observe the maximum cable lengths and the shielding types:
Leuze electronicDCR 202i33
Page 34
Electrical connection
ConnectionInterfaceMax. cable lengthShielding
DCR 200i hostRS 232
RS 422
Network from the first
EthernetMax. segment length:
DCR 200i to the last
network participant
Switching input10 mNot necessary
Switching output10 mNot necessary
DCR 200i power supply
unit
7.6Connecting 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 mNot necessary
Ready-made cables are available for connecting the code reader to a modular connection unit
(see chapter 15.4 "Cables accessories").
Leuze electronicDCR 202i34
Page 35
Starting up the device - Basic configuration
8Starting up the device - Basic configuration
8.1Measures 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.2Starting 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 electronicDCR 202i35
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.3Setting the communication parameters
With the communication parameters, you determine how data is exchanged between device and host
system, monitor PCs etc.
8.3.1Manually 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 electronicDCR 202i36
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.2Automatically 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.3Address 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 electronicDCR 202i37
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.4Ethernet 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 electronicDCR 202i38
Page 39
8.3.5RS 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.4Configuration via configuration codes
You can make configuration changes with the help of configuration codes (see chapter 17.3).
8.5Activating 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 scenario.
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 electronicDCR 202i39
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.6Performing further settings
8.6.1Decoding 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.2Control 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.3Activating 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 electronicDCR 202i40
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.4Control of the switching outputs
By using the switching inputs/outputs of the device, external event-controlled functions can be implemented 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 electronicDCR 202i41
Page 42
8.6.5Optimizing 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 operating 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.6Transfer 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 electronicDCR 202i42
Page 43
Commissioning – Leuze electronic webConfig tool
9Commissioning – Leuze electronic webConfig tool
The code readers of the DCR 200i series can be operated and configured via the Ethernet service interface with the integrated Leuze electronic webConfig tool.
With the webConfig tool, an operating-system independent, web-technology based, graphical user interface 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 technologies (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.1System 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
MonitorMin. resolution: 1280 x 800 pixels or higher
Internet browserInternet Explorer version 9.0 or higher
Regularly update the operating system and the Internet browser. Install the current Windows
Service Packs.
9.2Start 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 electronicDCR 202i43
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.3Short 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.1Change 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 electronicDCR 202i44
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.2Menu 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 electronicDCR 202i45
Page 46
9.3.3CONFIGURATION 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.4Configuring 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 electronicDCR 202i46
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 electronicDCR 202i47
Page 48
10Interfaces – 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 commands")
• XML-based communication via the Ethernet interface (see chapter 10.2 "XML-based communication")
10.1Online 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
CommandV
DescriptionRequests device version information
CA+
ParameterNone
Acknowledgment Example:
The first line contains the device type of the code reader, followed by the device version number and version date. The data which is actually displayed may vary from
the values given here.
Leuze electronicDCR 202i48
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
CommandH
DescriptionCarries out a software reset. The device is restarted and reinitialized, leaving it in the
same state as when the operating voltage is switched on.
ParameterNone
Acknowledgment S (start signal)
Auto setup
CommandCA
DescriptionActivates 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
xStatus
00valid CA command
01Invalid command
02Auto setup' could not be activated
function:
Auto setup
Leuze electronicDCR 202i49
Page 50
CommandCA
Answerxx yyyy zzzzzz
xxCode type of the read code
012/5 Interleaved
06UPC (A, E)
07EAN
08Code 128, EAN 128
09Pharmacode
10EAN Addendum
11Codabar
12Code 93
13GS1 DataBar Omni
Interfaces – Communication
Alignment mode
CommandJP
14GS1 DataBar Limited
15GS1 DataBar Expanded
20GS1 DataBar Truncated
32DataMatrix ECC200
33QR code
34Aztec
48PDF417
52GS1 DataBar Stacked
53GS1 DataBar Stacked Omni
54GS1 DataBar Stacked Expanded
yyyyNumber of digits of the read code
zzzzzzContents of the decoded label.
DescriptionActivates or deactivates the alignment mode for simple mounting alignment of the
device.
After activating the function with
JP+, the code reader constantly outputs status information 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 electronicDCR 202i50
Page 51
Interfaces – Communication
CommandJP
Acknowledgment yyy zzzzzz
yyyRead quality in [%].
zzzzzzCode information
Manual definition of the reference code
CommandRS
DescriptionThis 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.
ParameterRSyvxxzzzzzzzz
y, v, x and z are placeholders (variables) for the actual input.
: 60 mA per switching output; 100 mA total current
max
short-circuit proof, protected against polarity reversal
Process interfaceRS 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
Keyboard2 control buttons
LEDs1 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 selection and displaying the read quality
Table 14.3:Mechanical data
Degree of protectionIP 65 acc. to EN 60529
with screwed-on M 12 connectors or mounted caps
VDE safety classIII (EN 61140)
Connection technologyM12 connectors
Weight120 g (housing hood with plastic screen)
Dimensions (H x W x D)65.6 x 43 x 44 mm
Fastening2 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
HousingHousing: polycarbonate
Housing base: diecast aluminum
Optics coverPolycarbonate, optionally made of glass
Leuze electronicDCR 202i58
Page 59
Table 14.4:Environmental data
Ambient temp. (operation/storage)0 °C … +50 °C/-20 °C … +70 °C
Air humidityMax. 90% rel. humidity, non-condensing
Ambient lightMax. 2000 Lux
Electromagnetic compatibilityEN 61000-6-2, EN 61000-6-4
VibrationIEC 60068-2-6, test Fc
Continuous shockIEC 60068-2-29, test Eb
CertificationsUL 60950-1
ConformityCE, FCC, UL
14.2Optical data
Integrated LED illuminationRed light (visible, 616 nm)
M12 plug (4-pin, D-coded), axial connector, open cable end, shielded, UL
50106739KB ET-2000-SAEthernet connection cable, length 2 m
50106740KB ET-5000-SAEthernet connection cable, length 5 m
50106741KB ET-10000-SAEthernet connection cable, length 10 m
50106742KB ET-15000-SAEthernet connection cable, length 15 m
50106746KB ET-30000-SAEthernet connection cable, length 30 m
Table 15.8:Accessories – BUS IN/BUS OUT connection cable (to M12)
Part no.Part designationDescription
M12 plug (4-pin, D-coded), BUS IN/BUS OUT to M12 socket, shielded, UL
50106899KB ET-2000-SSABUS OUT connection cable, length 2 m
50106900KB ET-5000-SSABUS OUT connection cable, length 5 m
50106901KB ET-10000-SSABUS OUT connection cable, length 10 m
50106902KB ET-15000-SSABUS OUT connection cable, length 15 m
50106905KB ET-30000-SSABUS OUT connection cable, length 30 m
15.5Other accessories
Table 15.9:Accessories – External illumination
Part no.Part designationDescription
50132511RL-70/40r-003-M12Ring light, red with 300 mm cable and M12 plug
Table 15.10:Accessories – Mounting aids
Part no.Part designationDescription
50132150BTU 320M-D12Mounting system for 12 mm rod
50132151BT 320MMounting bracket
50132453BTU 320M-D12-RL70Mounting bracket for ring light
Leuze electronicDCR 202i65
Page 66
Ordering information and accessories
Table 15.11:Accessories – fieldbus connection
Part no.Part designationDescription
50112891MA 248iModular fieldbus connection for field use;
interfaces: RS 232 / PROFINET
50112892MA 208iModular fieldbus connection for field use;
interfaces: RS 232 / Ethernet TCP/IP
50112893MA 204iModular fieldbus connection for field use;
interfaces: RS 232 / PROFIBUS
50114154MA 235iModular fieldbus connection for field use;
interfaces: RS 232 / CANopen
50114155MA 238iModular fieldbus connection for field use;
interfaces: RS 232 / EtherCAT
50114156MA 255iModular fieldbus connection for field use;
interfaces: RS 232 / DeviceNet
50114157MA 258iModular fieldbus connection for field use;
interfaces: RS 232 / Ethernet/IP
50132488KB JST-M12A-12P-50Interconnection cable for DCR 200i to MA 2xxi
modular fieldbus connection
Leuze electronicDCR 202i66
Page 67
16EC 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 electronicDCR 202i67
Page 68
17Appendix
17.1ASCII character set
ASCIIDec.Hex.Oct.DesignationMeaning
NUL0000ZEROZero
SOH1011START OF HEADINGStart of heading
STX2022START OF TEXTStart of text characters
ETX3033END OF TEXTLast character of text
EOT4044END OF TRANSMISS.End of transmission
ENQ5055ENQUIRYRequest for data trans.
ACK6066ACKNOWLEDGEPositive acknowledgment
BEL7077BELLBell signal
BS80810BACKSPACEBackspace
Appendix
HT90911HORIZ. TABULATORHorizontal tabulator
LF100A12LINE FEEDLine feed
VT110B13VERT. TABULATORVertical tabulator
FF120C14FORM FEEDForm feed
CR130D15CARRIAGE RETURNCarriage return
SO140E16SHIFT OUTShift out
SI150F17SHIFT INShift in
DLE161020DATA LINK ESCAPEData link escape
DC1171121DEVICE CONTROL 1Device control character 1
DC2181222DEVICE CONTROL 2Device control character 2
DC3191323DEVICE CONTROL 3Device control character 3
DC4201424DEVICE CONTROL 4Device control character 4
NAK211525NEG. ACKNOWLEDGENegative acknowledge
SYN221626SYNCHRONOUS IDLESynchronization
ETB231727EOF TRANSM. BLOCK End of data transmission block
CAN241830CANCELInvalid
EM251931END OF MEDIUMEnd of medium
SUB261A32SUBSTITUTESubstitution
ESC271B33ESCAPEEscape
FS281C34FILE SEPARATORFile separator
GS291D35GROUP SEPARATORGroup separator
RS301E36RECORD SEPARATORRecord separator
Leuze electronicDCR 202i68
Page 69
ASCIIDec.Hex.Oct.DesignationMeaning
US311F37UNIT SEPARATORUnit separator
SP322040SPACESpace
!332141EXCLAMATION POINTExclamation point
"342242QUOTATION MARKQuotation mark
# 352343NUMBER SIGNNumber sign
$ 362444DOLLAR SIGNDollar sign
%372545PERCENT SIGNPercent sign
& 382646AMPERSANDAmpersand
392747APOSTROPHEApostrophe
(402850OPEN. PARENTHESISOpen parenthesis
)412951CLOS. PARENTHESISClosed parenthesis
Appendix
*422A52ASTERISKAsterisk
+ 432B53PLUSPlus sign
,442C54COMMAComma
-452D55HYPHEN (MINUS)Hyphen
.462E56PERIOD (DECIMAL)Period (decimal)
/ 472F57SLANTSlant
0 4830600Number
1 4931611Number
2 5032622Number
3 5133633Number
4 5234644Number
5 5335655Number
6 5436666Number
7 5537677Number
8 5638708Number
9 5739719Number
: 583A72COLONColon
;593B73SEMICOLONSemicolon
<603C74LESS THANLess than
= 613D75EQUALSEquals
>623E76GREATER THANGreater than
? 633F77QUESTION MARKQuestion mark
@6440100COMMERCIAL ATCommercial AT
Leuze electronicDCR 202i69
Page 70
ASCIIDec.Hex.Oct.DesignationMeaning
A6541101ACapital letter
B6642102BCapital letter
C6743103CCapital letter
D6844104DCapital letter
E6945105ECapital letter
F7046106FCapital letter
G7147107GCapital letter
H7248110HCapital letter
I7349111ICapital letter
J744A112JCapital letter
K754B113KCapital letter
Appendix
L764C114LCapital letter
M774D115MCapital letter
N784E116NCapital letter
O794F117OCapital letter
P8050120PCapital letter
Q8151121QCapital letter
R8252122RCapital letter
S8353123SCapital letter
T8454124TCapital letter
U8555125UCapital letter
V8656126VCapital letter
W8757127WCapital letter
X8858130XCapital letter
Y8959131YCapital letter
Z905A132ZCapital letter
[915B133OPENING BRACKETOpening bracket
\925C134REVERSE SLANTReverse slant
]935D135CLOSING BRACKETClosing bracket
^945E136CIRCUMFLEXCircumflex
_955F137UNDERSCOREUnderscore
`9660140GRAVE ACCENTGrave accent
a9761141aLower case letter
b9862142bLower case letter
Leuze electronicDCR 202i70
Page 71
ASCIIDec.Hex.Oct.DesignationMeaning
c9963143cLower case letter
d10064144dLower case letter
e10165145eLower case letter
f10266146fLower case letter
g10367147gLower case letter
h10468150hLower case letter
i10569151iLower case letter
j1066A152jLower case letter
k1076B153kLower case letter
l1086C154lLower case letter
m1096D155mLower case letter
Appendix
n1106E156nLower case letter
o1116F157oLower case letter
p11270160pLower case letter
q11371161qLower case letter
r11472162rLower case letter
s11573163sLower case letter
t11674164tLower case letter
u11775165uLower case letter
v11876166vLower case letter
w11977167wLower case letter
x12078170xLower case letter
y12179171yLower case letter
z1227A172zLower case letter
{1237B173OPENING BRACEOpening brace
|1247C174VERTICAL LINEVertical line
}1257D175CLOSING BRACEClosing brace
~1267E176TILDETilde
DEL1277F177DELETE (RUBOUT)Delete
Leuze electronicDCR 202i71
Page 72
17.2Code - 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 electronicDCR 202i72
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 electronicDCR 202i73
Page 74
17.3Configuration 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
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 electronicDCR 202i76
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.