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 DCR200i series are camera-based code readers for all commonly used bar
codes, stacked codes and DataMatrix codes as well as for codes of the GS1DataBar family.
Areas of application
The code readers of the DCR200i series are especially designed for the following areas of application:
• Packaging systems
• Mounting/handling technology
• Analysis technology
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.
Ä LeuzeelectronicGmbH+Co.KG is not liable for damages caused by improper use.
Ä Read these operating instructions before commissioning the device. Knowledge of the oper-
Safety
CAUTION
ating 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 red: risk group0 (exempt group) in acc. with EN62471
NOTICE
Comply with conditions and regulations!
Ä Observe the locally applicable legal regulations and the rules of the employer's liability insur-
ance association.
2.2Foreseeable misuse
Any use other than that defined under "Intended use" or which goes beyond that use is considered improper use.
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 (except device with stainless steel housing)
• 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.
Stainless stainless steel housings must not be opened.
Ä There are no user-serviceable parts inside the device.
Ä Repairs must only be performed by Leuze electronic GmbH + Co. KG.
Leuze electronicDCR 202i8
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 operating instructions for the device.
• They have been instructed by the responsible person on the mounting and operation of the device.
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 standards
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.4Disclaimer
LeuzeelectronicGmbH+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.
Safety
Leuze electronicDCR 202i9
3Device description
3.1Device overview
Device description
3.1.1
About the DCR200i code reader
The code readers of the DCR200i series are camera-based code readers for all commonly used bar
codes, stacked codes and Data Matrix codes (e.g. Code128, EAN8/13, ECC200, QR etc.) as well as for
codes of the GS1DataBar 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 DCR200i 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 DCR2xxi code readers are available in several optics models:
• DCR2xxi with HighDensity optics (N-optics)
• DCR2xxi with MediumDensity optics (M optics)
• DCR2xxi with LowDensity optics (F optics)
The DCR2xxi 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 "Technical data".
3.1.2
Performance characteristics
• Decoding of 1D-, stacked- and 2D-codes
• Maximum depth of field and reading distance of approx. 40mm…360mm
• High object speed and decoding performance of up to 7m/s with 10decodings
• Reference code comparison
• Quality evaluation of 1D bar codes and 2D-codes in accordance with ISO/IEC15415 and ISO/
IEC15416
• Integrated process interfaces RS232, RS422 and Ethernet
The MA2xxi 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
• Optional: Robust stainless steel housing for use in the food and pharmaceutical industry; with lens
cover made of plastic or glass
• 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 IP65 acc. to EN60529
(Device with stainless steel housing: degree of protection IP67/69K)
• Diverse mounting options with mounting threads on rear and side surfaces
Leuze electronicDCR 202i10
Device description
• Variously coded M12 connections for unique assignment of the connections:
• Voltage supply, RS232/RS422, 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
3.1.3
Accessories
Special accessories are available for the code reader (see chapter 15 "Order guide and accessories"):
• 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 Leuzeelectronic subsidiary or Leuzeelectronic customer service (see chapter 13 "Service and support")
• MA2xxi modular connection units for connection to fieldbus systems (see chapter 7.6 "Connecting
code reader to fieldbus")
• MA150 modular connection unit for decentralized distribution of the signals (see chapter 7.7 "Connecting code reader to MA150 connection unit")
Leuze electronicDCR 202i11
3.2Device construction
11
2
3
4
5
6
7
8
3
2
3
4
5
6
7
8
3
Device description
1Lens
2Control panel with indicator LEDs, control buttons, bar graph display
Device with stainless steel housing: indicator LEDs
3LEDs for illumination (red light)
4M4 mounting thread
5Device housing
6Housing hood
7M12 connection technology
8Feedback LED (green)
Fig.3.1: Device construction
Leuze electronicDCR 202i12
3.3Connection technology
PWR / SWIOHOST
12
The device is connected using variously coded M12 connectors:
Ready-made cables are available for all connections (see chapter 15.4 "Cables accessories").
NOTICE
Shielding connection!
Ä The shielding is connected via the M12 connector housing.
3.4Indicators and operational controls
NOTICE
Devices with stainless steel housing do not have any control buttons.
Devices with stainless steel housing do not have a bar graph indicator.
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 reading quality (SIGNALQUALITY)
– not with devices with stainless steel housing
• Two control buttons – not on devices with stainless steel housing
Leuze electronicDCR 202i13
11
3
2
1LED indicators: PWR, NET, LINK
2Bar graph display
3Control buttons
Device description
Fig.3.3: Layout of indicator and control panel
3.4.1
LED indicators
PWR LED
Tab.3.1: PWR indicators
ColorStateDescription
---OFFDevice off
GreenFlashingDevice ok
ON (continuous light)Device ok
OrangeON (continuous light)Service mode
No operating voltage
• Initialization phase
• Code reading not possible
• Operating voltage applied
• Self test running
• Code reading possible
• Self test successfully finished
• Device monitoring active
• Code reading possible
• No data on the host interface
FlashingWave function (synchronous with NET LED)
• Code reading possible
Leuze electronicDCR 202i14
ColorStateDescription
RedFlashingDevice ok, warning set
• Code reading possible
• Temporary operating fault
ON (continuous light)Device error/parameter enable
No code reading possible
NET LED
Tab.3.2: NET indicators
ColorStateDescription
---OFFNo operating voltage
• No communication possible
• Ethernet protocols not released
GreenFlashingInitialization of the device
Establishing communication
ON (continuous light)Operation ok
• Network mode ok
• Connection and communication to Host established
Device description
RedFlashingCommunication error
• Temporary connection error
• If DHCP active: No IP address could be obtained
ON (continuous light)Network error
• No connection established
• No communication possible
NOTICE
NET indicator only for Ethernet communication!
The NET indicator refers only to the Ethernet communication, not to the RS232/RS422.
Devices with stainless steel housing do not have any control buttons.
Devices with stainless steel housing do not have a bar graph indicator.
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: Teach function for teaching a reference code
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.
NOTICE
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.
3.4.3
NOTICE
If you activate the TRIG, AUTO, ADJ or TEACH function via the control buttons, the device accepts no commands via the process interface. Process mode is thereby interrupted.
NOTICE
On devices with stainless steel housing, it is not possible to select functions using the control
buttons.
Control buttons
The functions of the bar graph display are controlled via the control buttons.
NOTICE
Devices with stainless steel housing do not have any control buttons.
Devices with stainless steel housing do not have a bar graph indicator.
NOTICE
In the Service operating mode (which is set using the webConfig tool), the code reader cannot
be operated using 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.
Leuze electronicDCR 202i16
NOTICE
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.
Device description
Leuze electronicDCR 202i17
4Functions
A
ABCD
BCDEFGHABDC
1
1
2
3
This chapter describes the functions of the code reader:
• Camera operating modes (see chapter 4.1 "Camera operating modes")
• Reference code comparison (see chapter 4.2 "Reference code comparison")
• Code quality (see chapter 4.3 "Code quality")
• webConfig tool (see chapter 4.4 "Leuze webConfig tool")
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.
Functions
4.1.1
4.1.2
4.1.3
Single trigger mode
In the "Single trigger mode" camera operating mode, the code reader captures one image and attempts to
decode it. Under uniform conditions, this camera operating mode makes fast decoding possible.
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.
Burst mode
In the "Burst mode" camera operating mode, the code reader captures multiple images in quick succession
after activation by a trigger signal. The maximum number of image acquisitions can be set.
• 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.
1Continuous image capture
2Decoding
3Output of the read data
Fig.4.1: "Burst mode" camera operating mode
Leuze electronicDCR 202i18
Functions
4.1.4
4.1.5
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 switches
back to the wait mode and the illumination switches off after a few seconds.
Reading the same code multiple times
To prevent the same code from being read and output repeatedly in the "Presentation mode" camera operating mode, a delay time can be defined that must elapse before a code can be read again.
The delay time is set or deactivated with the webConfig tool (see chapter 9 "Commissioning – Leuzeelectronic webConfig tool").
Configuration > Control > Reread delay
Sensitivity
This function can only be activated in the "Presentation mode" camera operating mode. You can set the
sensitivity threshold at which a change in the field of view is to be detected: 0…100.
• 0 = not sensitive
• 100 = sensitive
Continuous mode
In the "Continuous mode" camera operating mode, the code reader operates continuously in process
mode. In this mode, image acquisition is started again immediately after an image has been processed. An
external trigger signal is not required.
Image frequency
You can limit the maximum number of images per second. A reduction in image frequency is recommended for slow applications where the object with the code moves slowly past the code reader. Consider
here the decoding time per decoding.
• It is recommended to limit the decoding time.
• It is recommended to deactivate the NOREAD output.
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.
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.3Code quality
Overview
To check the code quality, you can activate the Code quality function. This function determines the code
quality for bar codes and 2D-codes in compliance with ISO/IEC15416 and ISO/IEC15415.
NOTICE
Activating the Code quality function increases the decoding time.
The code quality is given as follows: A…F
• A = High quality
• F = Low quality
The following options are available:
• Determination of individual features for bar codes and 2D-codes
• Setting of a minimum quality (= NOMINALMINIMUM)
• Output of each feature via the interface and as a programmable switching output
ISO/IEC15416 mode: Individual features for bar codes
• Overall quality
• Symbol contrast (SC)
• Modulation (MOD)
• Decodability
• Minimal edge contrast (EC
• Minimal reflectance (R
• Defects
• Decodes
min
)
min
)
Leuze electronicDCR 202i20
Functions
ISO/IEC15415 mode: Individual features for 2D-codes
• Overall quality
• Symbol contrast (SC)
• Modulation (MOD)
• Decodability
• Fixed pattern damage (FPD)
• Axial non-uniformity (AN)
• Grid non-uniformity (GN)
• Unused error correction (UEC)
• Reflectance margin
• Print growth
• Defects (only PDF417)
• Start/stop pattern (only PDF417)
• Codeword yield (only PDF417)
Overall quality
The "Overall quality" feature corresponds to the lowest ascertained individual quality. If multiple codes are
decoded, the minimum quality is output via the switching output for the first found code only.
4.4Leuze 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 – Leuzeelectronic webConfig tool").
The wizard of the webConfig tool can be used to easily configure the code reader in just a few steps.
Leuze electronicDCR 202i21
5Applications
5.1Reading of 1D-codes
Applications
Fig.5.1: Reading of 1D-codes
Leuze electronicDCR 202i22
5.2Reading of 2D-codes
12
Applications
Fig.5.2: Reading of 2D-codes in packaging systems
5.3Code reading with polarization filter
1Code reading without polarization filter
2Code reading with polarization filter
Fig.5.3: Using the polarization filter
By using the linear polarization filter integrated in the housing hood, you can avoid interfering reflections.
NOTICE
When the polarization filter is used, the exposure settings change. The exposure time is increased considerably.
Leuze electronicDCR 202i23
5.4Code reading with diffusor foil
1
2
1Code reading without diffusor foil
2Code reading with diffusor foil
Fig.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.
NOTICE
When the diffusor foil is used, the exposure settings change.
Applications
Leuze electronicDCR 202i24
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 the rear of the device (devices with stainless steel housing)
• Mounting using two M4 mounting threads on each of the side surfaces of the device
• Mounting on a 12 mm rod using the BTU320M-D12 mounting system
• Mounting on the BT320M mounting bracket
NOTICE
Ä Mount the device on a metal mounting bracket.
6.1Determining the mounting position of the code reader
Mounting
6.1.1
Selecting a mounting location
NOTICE
The size of the code module influences the maximum reading distance and the width of the
reading 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 main-
tained.
Ä 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 colli-
sion or jammed parts.
Ä Avoid possible ambient light influence (no direct sunlight).
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.
Leuze electronicDCR 202i25
Mounting
10° … 20°10° … 20°
1
2
3
1
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.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.
Recommended tilt angle or angle of inclination: 10°…20°
1Code label
2Mounting with tilt angle
3Mounting with angle of inclination
Fig.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.
NOTICE
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 reading field size, see the section "Relationship between
camera distance and reading field size".
Leuze electronicDCR 202i26
Reading distances for code reader with N1-optics
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
NOTICE
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]
Fig.6.2: Typical reading distances for 1D- and 2D-codes with various modulus sizes of the codes
Leuze electronicDCR 202i27
Reading distances for code reader with M1-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
NOTICE
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]
Fig.6.3: Typical reading distances for 1D- and 2D-codes with various modulus sizes of the codes
Leuze electronicDCR 202i28
Reading distances for code reader with F-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
1
2
3
4
NOTICE
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]
Fig.6.4: Typical reading distances for 1D- and 2D-codes with various modulus sizes of the codes
Relationship between camera distance and reading 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 202i29
1Camera distance
2Reading field
3Height of the reading field
4Width of the reading field
Fig.6.6: Relationship between camera distance and reading field size
6.2Mounting the code reader
NOTICE
Information on mounting the code reader can also be found in document "Quick Start Guide
DCR200i".
6.2.1
6.2.2
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.4Nm
ð Location and thread depth of the mounting thread: see chapter 14.3 "Dimensioned drawings"
Mounting with the BTU320M-D12 mounting system
Mounting with a BTU320M-D12 mounting system is intended for 12-mm rod mounting. For ordering information, see chapter 15.5 "Other accessories".
Ä 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.4Nm
ð Location and thread depth of the mounting thread: see chapter 14.3 "Dimensioned drawings"
Leuze electronicDCR 202i30
Mounting
6.2.3
Mounting with the BT320M mounting bracket
Mounting with a BT320M mounting bracket is intended for wall mounting. For ordering information, see
chapter 15.5 "Other accessories".
Ä 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.4Nm
ð Location and thread depth of the mounting thread: see chapter 14.3 "Dimensioned drawings"
6.2.4
Mounting with the BTU320M-D12-RL70 mounting bracket
Mounting using a BTU320M-D12-RL70 mounting bracket is intended for 12mm rod mounting in combination with the RL-70/40r-003-M12 ring light. For ordering information, see chapter 15.5 "Other accessories".
Ä Mount the ring light to the mounting bracket with M4 fastening screws.
Ä Mount the device to the mounting bracket with M4 fastening screws.
ð Max. tightening torque of the fastening screws: 1.4Nm
ð Location and thread depth of the mounting thread: see chapter 14.3 "Dimensioned drawings"
Ä Mount the mounting bracket on the rod with the clamp profile (system-side).
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 "Optical accessories".
NOTICE
Replacement of housing hood not permitted with stainless steel housing!
Ä On devices with stainless steel housing, it is not permitted to replace the housing hood.
NOTICE
Only replace the housing hood while the device is in a de-energized state!
Only replace the housing hood if no voltage is being applied to the device.
Ä 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 housing 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.25Nm.
Leuze electronicDCR 202i31
1
22
1Fastening screws
2Housing hood
Fig.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.
Fig.6.8: Orientation of the diffusor foil
Ä Attach the diffusor foil to the housing screen from bottom to top.
Fig.6.9: Attaching the diffusor foil
Leuze electronicDCR 202i32
Mounting
NOTICE
Avoid air bubbles when attaching the diffusor foil!
Ä When attaching the diffusor foil, take care to prevent bubbles from forming under the film.
Leuze electronicDCR 202i33
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 acci-
dentally being started.
NOTICE
Shielding connection!
The shielding is connected 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
7.1Overview
The code reader is provided with the following connections:
• HOST: D-coded, 4-pin, M12 connection for the Ethernet connection
NOTICE
Protective Extra Low Voltage (PELV)!
The device is designed in accordance with protection classIII for supply with PELV (Protective
Extra-Low Voltage).
NOTICE
Degrees of protection IP65 or IP67/69K!
Degree of protection IP65 or IP67/69K (with devices with stainless steel housing) is achieved
only if the connectors and caps are screwed into place.
Leuze electronicDCR 202i34
PWR / SWIOHOST
12
1PWR/SWIO, M12 plug, 12-pin, A-coded
4
11
3
2
1
10
9
8
12
5
6
7
2HOST, M12 socket, 4-pin, D-coded
Fig.7.1: Electrical connections
NOTICE
Electrical connection
Ready-made cables are available for all connections (see chapter 15.4 "Cables accessories").
Voltage supply, RS232/RS422 and switching inputs/outputs
The voltage supply (18V…30 V DC) is connected at the PWR/SWIO M12 plug.
The RS232/RS422 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., Leuzeelectronic 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.2PWR/SWIO – voltage supply / RS232/RS422 / switching inputs/outputs
The shield of the connection cable is on the thread of
the M12 plug.
NOTICE
The core colors only apply if Leuze electronic’s original connection cables are used (see chapter
15.4 "Cables accessories").
NOTICE
UL applications!
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.
NOTICE
The function as switching input or switching output is set via the webConfig configuration tool
(CONFIGURATION > DEVICE > Switching inputs/outputs, see chapter 9 "Commissioning –
Leuzeelectronic webConfig tool").
The four switching inputs/outputs are configured by default as follows:
• SWI1
Trigger switching input (default)
• SWO2
GOODREAD switching output (default)
• SWIO3
As switching output: NOREAD (default)
• SWIO4
As switching output: device ready (default)
Leuze electronicDCR 202i36
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
Fig.7.3: Switching input SWIO3 and SWIO4 connection
NOTICE
Maximum input current!
Ä The input current of the respective switching input is maximum 8mA.
Electrical connection
Function as switching output
1Switching output
2Switching output from controller
Fig.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 60mA at
+18V…+30 V DC in normal operation.
Ä Each configured switching output is short-circuit proof.
NOTICE
SWIO3 and SWIO4 as switching output!
Ä Do not operate pins2 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 pin2, and pin2 of the code
reader is, at the same time, configured as a switching output (and not as a switching in-
Leuze electronicDCR 202i37
put), the switching output malfunctions.
RS232/RS422 interface
1
3
2
4
The RS232/RS422 interface is used primarily for outputting the read and decoded code contents of the
activated code types.
7.3HOST - Host input / Ethernet
4-pin, M12 socket (D-coded) for connecting to HOST.
Fig.7.5: HOST connection
Tab.7.2: HOST pin assignment
Pin/terminalDesignationAssignment
1TD+Transmit Data +
2RD+Receive Data +
Electrical connection
3TD-Transmit Data -
4RD-Receive Data -
Thread (M12
FE (functional earth)Connection cable shield.
socket)
NOTICE
Use ready-made cables!
Ä If possible, use the ready-made cables from Leuzeelectronic (see chapter 15.4 "Cables ac-
cessories").
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/100Mbit.
• 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 10Mbit/s (10BASET) and 100Mbit/s
(10BASETX), 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 202i38
1
2
3
4
1Ethernet switch
2
1
3
4
1
8
2Code reader of the DCR200i series
3Other network participants
4Host interface - PC/control
Electrical connection
Fig.7.6: Ethernet star topology
Ethernet cable assignment
Fig.7.7: HOST to RJ-45 cable assignments
Designed as shielded cable, max. 100m.
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 CAT5 cable for the connection.
Leuze electronicDCR 202i39
7.5Cable lengths and shielding
Observe the maximum cable lengths and the shielding types:
ConnectionInterfaceMax. cable lengthShielding
Electrical connection
DCR200i hostRS232
RS422
Network from the first
DCR200i to the last network participant
Switching input10mNot necessary
Switching output10mNot necessary
DCR200i power supply
unit
EthernetMax. segment length:
7.6Connecting code reader to fieldbus
The code reader can be connected to the following fieldbuses via the MA2xxi modular connection units:
• CANopen: MA235i
• EtherCAT: MA238i
• EtherNet/IP: MA258i
• DeviceNET: MA255i
• PROFIBUS: MA204i
• PROFINET: MA248i
10m
1200m
(dependent on baud
rate)
100m for 100BASE-TX
twistedpair (min.CAT5)
30mNot necessary
Shielding absolutely necessary
RS422 conductors,
stranded in pairs
Shielding absolutely necessary
NOTICE
Ready-made cables are available for connecting the code reader to a modular connection unit
(see chapter 15.4 "Cables accessories").
7.7Connecting code reader to MA150 connection unit
The signals from the code reader are distributed in the machine decentrally via the MA150 modular connection unit. The following components can be connected to the MA150 connection unit:
• Code reader of the DCR200i series
• Photoelectric sensor/diffuse sensor to activate the code reader
• Voltage supply
• External illumination
• Serial communication RS232/RS422
Leuze electronicDCR 202i40
Circuit diagram example for electrical installation with MA150 connection unit
ð Only then can you be certain whether a code has been read (code contents are trans-
mitted) or not (the "NOREAD" character is transmitted at the end of the reading gate).
Ä Before commissioning, familiarize yourself with the operation and configuration of the de-
vice.
Ä Before connecting the operating voltage, recheck all connections and ensure that they have
been properly made.
NOTICE
No additional configuration software is necessary for commissioning.
8.2Starting the device
Ä Connect the 18V…30V DC operating voltage.
Ä 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 RS232 interface:
<STX><Code data><CR><LF>
(9600baud, 8data bits, no parity, 1stop bit)
• With the factory settings, the device can decode the following code types:
• 2/5Interleaved; number of digits: 10
• Code128; number of digits: 4…63
• Code39; number of digits: 4…30
• EAN8/13; number of digits: 8 and 13
• UPC; number of digits: 8...12
• Codabar; number of digits: 4…63
• Code93; number of digits: 4…63
• GS1DataBar OMNIDIRECTIONAL; number of digits: 14
• GS1DataBar LIMITED; number of digits: 14
• GS1DataBar EXPANDED; number of digits: 14…21
• GS1DataBar TRUNCATED; number of digits: 14
• DataMatrix code ECC200; number of digits: 10x10…144x144, or 8x18…16x48
• QRcode; number of digits: 11x11…161x161
• Azteccode; number of digits: 11x11…151x151
Leuze electronicDCR 202i42
NOTICE
Deviations from these settings must be set via the webConfig tool (see chapter 9 "Commissioning – Leuzeelectronic webConfig tool").
Ä Using the online commands, important device functions can be checked, e.g. reading activation (see
chapter 10.1 "Online commands").
NOTICE
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
settings on the devices and on the host, contact your responsible Leuzeelectronic subsidiary or
Leuzeelectronic 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.
Starting up the device – Basic configuration
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 DCR200i 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 Start > System control > Network and Internet > Network and Sharing Center.
ð Select LAN connection and double-click to open the Properties dialog.
Ä Select Internet Protocol Version 4 (TCP/IPv4) and click on the [Properties] button.
Ä Set the IP address of the PC.
ð 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 192.168.060.101.
Ä In the webConfig tool, change the IP address to the IP address of the system:
Configuration > Control > Ethernet DCR
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.
Leuze electronicDCR 202i43
Starting up the device – Basic configuration
IP
00:15:7B:20:00:15
DCR 202i MAC
Name
Setting the IP address with Device-Finder
Ä Download the program Device-Finder from the Internet to the PC.
ð Call up the Leuze home page: www.leuze.com.
ð Enter the type designation or part number of the device as the search term.
ð The program Device-Finder can be found on the product page for the device under the Downloads
tab.
Ä Connect the Ethernet interface of the device directly to the LAN port of the PC.
Ä Start the program Device-Finder.
ð The program displays all code readers DCR2xxi that are available in the network.
Ä Select the DCR2xxi code reader from the list.
ð The IP address of the code reader can now be changed to the desired IP address.
Setting the IP address with the DCRConfigurator
With the "DCRConfigurator" 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: www.leuze.com.
ð Enter the type designation or part number of the device as the search term.
ð The "DCRConfigurator" smartphone app can be found on the product page for the device on the
Downloads tab.
Ä Open the "DCR Configurator" smartphone app.
Ä Select the Assign IP address configuration menu item and enter the desired IP address.
ð The "DCRConfigurator" 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 AUTO function on the control panel.
Ä Hold the configuration code generated by the "DCRConfigurator" 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
8.3.3
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").
Address Link Label
The "Address Link Label" is an additional stick-on label that is affixed to the device.
Fig.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.
Leuze electronicDCR 202i44
Starting up the device – Basic configuration
• 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.
NOTICE
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:
ð 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.
Leuze electronicDCR 202i45
Starting up the device – Basic configuration
Ä 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 webConfig tool:
Configuration > Control > Host > Ethernet > TCP/IP
8.3.5
8.3.6
RS232/RS422 communication
The code reader sends an S to the interface as a start-up message and to announce that the device is
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 RS232 interface according to the following protocol.
<STX><Code data><CR><LF>
(9600baud, 8data bits, no parity, 1stop bit)
FTP client
To transfer images and log files, you can configure process data output via an FTP server.
Ä You can set the IP address and the port number of the FTP server with which communication is to oc-
cur.
Ä Assign user names and password settings or define the direction of communication using the Passive
mode option.
ð When the Passive mode option is activated, the FTP client sets up an outgoing connection to the
server.
Ä Activate the FTP client.
Ä Select which images (OK/NOK) are transferred. You can assign each one a name.
Ä Use the Target directory function to specify a directory relative to the root directory in which the data is
to be stored.
The corresponding adjustment options can be found in the webConfig tool:
Configuration > Control > Host > FTP client
NOTICE
Ä You can set the time stamp via Maintenance > System clock.
ð The system clock is reset if the operating voltage is interrupted.
8.4Configuration via configuration codes
You can make configuration changes with the help of configuration codes (see chapter 17.3 "Configuration
via configuration codes").
Leuze electronicDCR 202i46
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 "Bar graph
display").
NOTICE
On devices with stainless steel housing, it is not possible to select functions using the control
buttons.
TRIG
Trigger function that activates a read process with the configuration stored in the device, e.g., reading gate
control.
Starting up the device – Basic configuration
AUTO
By activating the AUTO function, the following sequence is started:
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 AUTO function while at a standstill!
Ä Only activate the AUTO function if the code is not moving relative to the device.
NOTICE
AUTO function not for Pharmacode!
Ä The AUTO function cannot be used for Pharmacode codes.
ADJ
Adjustment function for aligning the device.
The reading 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 ADJ function!
Ä You must deactivate the 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 202i47
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 function for Pharmacode!
Before teaching Pharmacode codes, the number of bars, the read direction and the region of interest (ROI) must be configured using the webConfig tool.
8.6Performing further settings
Starting up the device – Basic configuration
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 parameter.
• Setting the Search mode in which the system is to search for the codes (see chapter 8.6.5 "Optimizing
reading performance").
• Fast
• Optimized
• Robust
• 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.
ð webConfig tool: Configuration > Decoder
ð Control buttons (not on devices wit stainless steel housing): AUTO function
ð Control buttons: AUTO function
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
"PWR/SWIO – voltage supply / RS232/RS422 / switching inputs/outputs").
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 (AUTO function)
• Start alignment mode
Ä Connect the required control devices, e.g., photoelectric sensor, proximity switch, etc., to the device
(see chapter 7 "Electrical connection").
Leuze electronicDCR 202i48
Starting up the device – Basic configuration
Ä 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 > Control > DigitalI/Os
NOTICE
Alternatively, depending on the camera operating mode, you can activate decoding using the+
online command and deactivate it using the– online command (see chapter 10.1 "Online commands").
8.6.3
8.6.4
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").
The following options are available for activating the camera operating mode:
• Online command via the host interface (see chapter 10.1 "Online commands")
• Trigger signal via a digital trigger input
Control 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
"PWR/SWIO – voltage supply / RS232/RS422 / switching inputs/outputs").
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:
• 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 > DigitalI/Os
Leuze electronicDCR 202i49
Starting up the device – Basic configuration
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: Configuration > Decoder > Code types
• 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: Configuration > Image acquisition
• Image resolution
A reduced image resolution enables fast decoding. If the image resolution is reduced, the modulus size
of the code that is to be read must be taken into account.
The adjustment options can be found in the webConfig tool: Configuration > Image acquisition
• Working range
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: Configuration > Decoder > Region of in-
terest
• 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 Single trigger mode camera operating mode for fast complete decoding.
The adjustment options can be found in the webConfig tool: Configuration > Control > Camera oper-
ating mode
• Max. no. of codes
If the maximum number of codes to be expected in an image (ROI) is small and known, the code
search is 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: Configuration > Decoder > Extended
• Image transfer
Deactivation of image transfer in process mode increases the decoding rate.
Adjustment options can be found in the webConfig tool: Configuration > Device > Image transfer
• Search mode
Select the Optimized search mode for fast decoding. This search mode can only be used for 2D-codes.
The adjustment options can be found in the webConfig tool: Configuration > Decoder > Extended
You must then teach the found codes using the [Optimize code] button.
• Color mode
If it is known beforehand whether the codes are printed black on a white background or white on a
black background, you can select the color mode accordingly. Set the Automatic color mode if codes in
both print variants are present.
The adjustment options can be found in the webConfig tool: Configuration > Decoder > Extended
8.6.6
Transfer configuration data
Transferring configuration data with the webConfig tool
With the webConfigtool, you can store complete device configurations on data carriers and transfer them
from these to the device: Maintenance > Backup/Restore
This storage of configuration data is especially useful if you want to store basic configurations which will require only minor changes.
Leuze electronicDCR 202i50
Commissioning – Leuzeelectronic webConfig tool
9Commissioning – Leuzeelectronic webConfig tool
The code readers of the DCR200i series can be operated and configured via the Ethernet service interface
with the integrated Leuzeelectronic webConfig tool.
With the webConfig tool, an operating-system independent, web-technology based, graphical user interface
is available for configuring code readers.
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.
NOTICE
The webConfig tool is offered in the following languages:
German, English, French, Italian, Spanish, Chinese, Korean
9.1System requirements
To use the webConfig tool, you need a PC or laptop with the following specifications:
Tab.9.1: System requirements for the webConfig tool
MonitorMin. resolution: 1280x800 pixels or higher
Internet browserInternet Explorer version9.0 or higher
Firefox version 30 or higher
Chrome version 40 or higher
NOTICE
Ä 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 de-
vice is made via the LAN port of the PC.
Ä Start the webConfig tool via your PC's Internet browser with IP address 192.168.60.101 or with the IP
address set by you.
ð 192.168.60.101 is the standard Leuzeelectronic IP address for communication with code readers
of the DCR200i series.
The PC displays the webConfig start page with the current process information in the Process operating
mode:
• Current image of the code reader
• Current decoding result
• Brief history of the last decoding operations
• States of the switching inputs/outputs
• Statistics counter
NOTICE
The process information may be displayed with a time delay depending on the current processing speed.
Leuze electronicDCR 202i51
1
1Changing the operating mode (Process - Service)
Commissioning – Leuzeelectronic webConfig tool
Fig.9.1: The start page of the webConfig tool
The user interface of the webConfigtool is largely self-explanatory.
NOTICE
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 depending on the firmware
version.
Clear 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 web-
Config tool.
ð Example for Internet Explorer10:
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.
Ä Do not use the refresh functions of the Internet browser:
[Shift] [F5] or [Shift] + mouse click
9.3Short description of the webConfigtool
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.
Leuze electronicDCR 202i52
Commissioning – Leuzeelectronic webConfig tool
1
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.
• 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 Service operating mode!
Ä Changes made using the 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 (Process - Service).
After changing to the Service operating mode, the CONFIGURATION menu is displayed.
1Changing the operating mode (Process - Service)
Fig.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
Leuze electronicDCR 202i53
• CONFIGURATION
• Configuring decoding
• Configuring data formatting and data output
• Configuring the switching inputs/outputs
• Configuring communication parameters and interfaces
• General device settings, e.g. device names
• DIAGNOSTICS
• Event logging of warnings and errors
• MAINTENANCE
• Assigning user roles (user management)
• Backup/restore the configuration file
• Update firmware
• Setting system time (system clock)
• Managing user guidance
Commissioning – Leuzeelectronic webConfig tool
9.3.3
CONFIGURATION menu
NOTICE
Configuration changes only in the Service operating mode!
Ä Changes made using the CONFIGURATION menu can only be performed in the Service op-
erating mode.
Fig.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
Leuze electronicDCR 202i54
Commissioning – Leuzeelectronic webConfig tool
9.3.4
Configuring applications with the wizard
With the configuration wizard, you can set up your application in just a few steps.
Fig.9.4: Configuration wizard
Ä Select CONFIGURATION > [Start Wizard].
Ä Make the settings using the configuration steps presented by the wizard.
NOTICE
The settings are not saved until the final configuration step (FINISH) is performed.
Leuze electronicDCR 202i55
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 RS232/RS422 interface (see chapter 10.1 "Online commands")
• XML-based communication via the Ethernet interface (see chapter 10.2 "XML-based communication")
10.1Online commands
Interfaces – Communication
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
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
10.1.2
Transmitted is:’CA+’
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.
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 202i56
Interfaces – Communication
NOTICE
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 pro-
tocol.
Software reset
Command’H’
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
Command’CA’
DescriptionActivates the Auto setup function:
• 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 Auto setup
Acknowledgment’CS=x’
xStatus
’00’Valid ’CA’ command
’01’Invalid command
’02’‘Auto setup' could not be activated
Leuze electronicDCR 202i57
Command’CA’
Answer’xx yyyy zzzzzz’
xxCode type of the read code
Interfaces – Communication
’01’2/5Interleaved
’02’Code 39
’06’UPC (A, E)
’07’EAN
’08’Code128, EAN128
’09’Pharmacode
’10’EAN Addendum
’11’Codabar
’12’Code93
’13’GS1 DataBar Omni
’14’GS1 DataBar Limited
’15’GS1 DataBar Expanded
’20’GS1 DataBar Truncated
’32’DataMatrix ECC200
’33’QRcode
’34’Aztec
’48’PDF417
’52’GS1 DataBar Stacked
’53’GS1 DataBar Stacked Omni
’54’GS1 DataBar Stacked Expanded
yyyyNumber of digits of the read code
zzzzzzContents of the decoded label.
Alignment mode
Command’JP’
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 10image 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 (SIGNALQUALITY).
Parameter’+’activates the alignment mode
’-’deactivates the alignment mode
Acknowledgment’yyyzzzzzz’
yyyReading quality in [%].
zzzzzzCode information
Leuze electronicDCR 202i58
Interfaces – Communication
Manual definition of the reference code
Command’RS’
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.
Parameter’RSyvxxzzzzzzzz’
y, v, x and z are placeholders (variables) for the actual input.
yDef. reference code no.
’1’(Code1)
vStorage location for reference code:
’3’RAM only
xxDefined code type (see command 'CA')
zDefined code information (1…244 characters)
Acknowledgment’RS=x’
xStatus
’00’ Valid ’Rx’ command
’01’ Invalid command
’02’ Insufficient memory for reference code
’03’ Reference code has not been saved
’04’ Reference code invalid
ExampleEntry = ’RS133211032010’
Code1 (1), RAM(03)+EEPROM(0), DataMatrix ECC200 (32), code information
Teach-in
Command’RT’
DescriptionThis command enables a reference code to be defined quickly by reading an exam-
ple label.
Parameter’RTy’
yFunction
’1’Defines reference code1
AcknowledgmentThe 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.
yDef. reference code no.
’1’(Code1)
vStorage location for reference code:
’3’RAM only
xxDefined code type (see command 'CA')
zDefined code information (1…244 characters)
NOTICE
With this function, only code types are recognized that are identified using the Auto setup function or which were set in the setup.
Leuze electronicDCR 202i59
Interfaces – Communication
Reading a reference code
Command’RR’
DescriptionThe 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 code1
AcknowledgmentOutput 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.
yDef. reference code no.
’1’(Code1)
vStorage location for reference code:
’3’RAM only
xx’00’ is always output
zDefinedcodeinformation (1…244 characters)
Device status
Command’SST?’
DescriptionThe command queries the device status. If the command is sent via the host
interface (Ethernet, RS232/RS422), acknowledgment is only given in the
Process operating mode. The host interface is blocked in the Service operating
mode.
ParameterNone
Acknowledgment’SST=xxxxxxxx’
x stands for a single bit (value ’1’ or ’0’)
Bit7 is at the far left, bit0 is at the far right
0Ready for testing
’1’The code reader is ready to receive a trigger and start a
check program.
’0’The code reader does not respond to an incoming trigger
signal.
1Operating mode
’1’Process operating mode
’0’Service operating mode
2Device error
’1’Device error, no inspection possible
’0’No device error, ready
3…7No function, value is always ’0’
Alternatively, the following acknowledgment is output:
50132511RL-70/40r-003-M12Ring light, red with 300 mm cable and M12 plug
Tab.15.10: Accessories–Mounting aids
Part no.Part designationDescription
50132150BTU320M-D12Mounting system for 12 mm rod
50132151BT320MMounting bracket
50132453BTU320M-D12-RL70Mounting bracket for ring light
Leuze electronicDCR 202i74
Order guide and accessories
Tab.15.11: Accessories – fieldbus connection
Part no.Part designationDescription
50112891MA248iModular fieldbus connection for field use; interfaces:
RS232 / PROFINET
50112892MA208iModular fieldbus connection for field use; interfaces:
RS232 / EthernetTCP/IP
50112893MA204iModular fieldbus connection for field use; interfaces:
RS232 / PROFIBUS
50114154MA235iModular fieldbus connection for field use; interfaces:
RS232 / CANopen
50114155MA238iModular fieldbus connection for field use; interfaces:
RS232 / EtherCAT
50114156MA255iModular fieldbus connection for field use; interfaces:
RS232 / DeviceNet
50114157MA258iModular fieldbus connection for field use; interfaces:
RS232 / Ethernet/IP
50132488KB JST-M12A-12P-50Interconnection cable for DCR200i to MA2xxi modu-
lar fieldbus connection
Tab.15.12: Accessories – Modular connection unit
Part no.Part designationDescription
50130109MA150Modular connection unit for decentralized distribution
of the signals in the machine
Leuze electronicDCR 202i75
16EC Declaration of Conformity
The code readers of the DCR200i series have been developed and manufactured in accordance with the
applicable European standards and directives.
EC Declaration of Conformity
Leuze electronicDCR 202i76
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
HT90911HORIZ. TABULATORHorizontal tabulator
LF100A12LINE FEEDLine feed
Appendix
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. BLOCKEnd of data transmission block
CAN241830CANCELInvalid
EM251931END OF MEDIUMEnd of medium
SUB261A32SUBSTITUTESubstitution
ESC271B33ESCAPEEscape
FS281C34FILE SEPARATORFile separator
GS291D35GROUP SEPARATORGroup separator
RS301E36RECORD SEPARATORRecord separator
US311F37UNIT SEPARATORUnit separator
SP322040SPACESpace
!332141EXCLAMATION POINTExclamation point
"342242QUOTATION MARKQuotation mark
#352343NUMBER SIGNNumber sign
$362444DOLLAR SIGNDollar sign
%372545PERCENT SIGNPercent sign
Leuze electronicDCR 202i77
ASCIIDec.Hex.Oct.DesignationMeaning
&382646AMPERSANDAmpersand
’392747APOSTROPHEApostrophe
(402850OPEN. PARENTHESISOpen parenthesis
)412951CLOS. PARENTHESISClosed parenthesis
*422A52ASTERISKAsterisk
+432B53PLUSPlus sign
,442C54COMMAComma
-452D55HYPHEN (MINUS)Hyphen
.462E56PERIOD (DECIMAL)Period (decimal)
/472F57SLANTSlant
04830600Number
14931611Number
25032622Number
35133633Number
Appendix
45234644Number
55335655Number
65436666Number
75537677Number
85638708Number
95739719Number
:583A72COLONColon
;593B73SEMICOLONSemicolon
<603C74LESS THANLess than
=613D75EQUALSEquals
>623E76GREATER THANGreater than
?633F77QUESTION MARKQuestion mark
@6440100COMMERCIAL ATCommercial AT
A6541101ACapital letter
B6642102BCapital letter
C6743103CCapital letter
D6844104DCapital letter
E6945105ECapital letter
F7046106FCapital letter
G7147107GCapital letter
H7248110HCapital letter
I7349111ICapital letter
J744A112JCapital letter
K754B113KCapital letter
L764C114LCapital letter
M774D115MCapital letter
Leuze electronicDCR 202i78
ASCIIDec.Hex.Oct.DesignationMeaning
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
Appendix
\925C134REVERSE SLANTReverse slant
]935D135CLOSING BRACKETClosing bracket
^945E136CIRCUMFLEXCircumflex
_955F137UNDERSCOREUnderscore
`9660140GRAVE ACCENTGrave accent
a9761141aLower case letter
b9862142bLower case letter
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
n1106E156nLower case letter
o1116F157oLower case letter
p11270160pLower case letter
q11371161qLower case letter
r11472162rLower case letter
s11573163sLower case letter
t11674164tLower case letter
u11775165uLower case letter
Leuze electronicDCR 202i79
ASCIIDec.Hex.Oct.DesignationMeaning
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
17.2Code samples
Appendix
Module 0.3
Fig.17.1: Code type: 2/5Interleaved
Module 0.3
Fig.17.2: Code type: Code39
Module 0.3
Fig.17.3: Code type: Codabar
Module 0.3
Fig.17.4: Code type: Code128
Module 0.3
Fig.17.5: Code type: EAN128
Leuze electronicDCR 202i80
SC 2
Fig.17.6: Code type: UPC-A
SC 3
Fig.17.7: Code type: EAN8
Appendix
SC 0 S
Fig.17.8: Code type: EAN13add-on
DCR200i
Fig.17.9: Code type: DataMatrix ECC200
DCR200i
Fig.17.10: Code type: QRCode
Test symbol
Fig.17.11: Code type: Aztec
DCR200i series
Fig.17.12: Code type: PDF417
Leuze electronicDCR 202i81
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 (AUTO function).
NOTICE
On devices with stainless steel housing, it is not possible to select functions using the control
buttons.
Proceed as follows to read in a configuration code:
Ä Connect the code reader to the operating voltage and activate the AUTO function on the control panel.
Ä 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.
Appendix
Reset to factory settings (without IP address)
Fig.17.13: Configuration code: reset to factory settings
Setting the IP address to the Leuze default address
Fig.17.14: Configuration code: Setting the IP address
DHCP activation
Fig.17.15: Configuration code: DHCP activation
DHCP deactivation
Fig.17.16: Configuration code: DHCP deactivation
Leuze electronicDCR 202i82
Activation of reading gate control
Fig.17.17: Configuration code: Reading gate control activation
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 DCR200i
Leuze electronicDCR 202i83
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.