Leuze DCR 248i Operating Instructions

DCR 248i
Camera-based code reader
EN 2017/08 - 50135643
We reserve the right to
make technical changes
O r i g i n a l o p e r a t i n g i n s t r u c t i o n s
© 2017 Leuze electronic GmbH & Co. KG In der Braike 1 D-73277 Owen / Germany Phone: +49 7021 573-0 Fax: +49 7021 573-199 http://www.leuze.com
Leuze electronic DCR 248i 2

Table of contents

Table of contents
1 About this document ............................................................................................6
1.1 Used symbols and signal words .............................................................................................6
2 Safety .....................................................................................................................8
2.1 Intended use ...........................................................................................................................8
2.2 Foreseeable misuse ............................................................................................................... 8
2.3 Competent persons ................................................................................................................ 9
2.4 Disclaimer ...............................................................................................................................9
3 Device description ..............................................................................................10
3.1 Device overview.................................................................................................................... 10
3.1.1 About the DCR200i code reader ......................................................................................10
3.1.2 Performance characteristics..............................................................................................10
3.1.3 Accessories .......................................................................................................................11
3.2 Device construction .............................................................................................................. 12
3.3 Connection technology .........................................................................................................13
3.4 Indicators and operational controls....................................................................................... 13
3.4.1 LED indicators ...................................................................................................................14
3.4.2 Bar graph display ..............................................................................................................15
3.4.3 Control buttons ..................................................................................................................16
4 Functions.............................................................................................................17
4.1 Camera operating modes .....................................................................................................17
4.1.1 Single trigger mode ...........................................................................................................17
4.1.2 Reading gate control .........................................................................................................17
4.1.3 Burst mode ........................................................................................................................17
4.1.4 Presentation mode ............................................................................................................18
4.1.5 Continuous mode ..............................................................................................................18
4.2 Reference code comparison................................................................................................. 18
4.3 Code quality.......................................................................................................................... 19
4.4 Leuze webConfig tool ...........................................................................................................20
5 Applications ........................................................................................................21
5.1 Reading of 1D-codes ............................................................................................................21
5.2 Reading of 2D-codes ............................................................................................................22
5.3 Code reading with polarization filter...................................................................................... 22
5.4 Code reading with diffusor foil .............................................................................................. 23
6 Mounting..............................................................................................................24
6.1 Determining the mounting position of the code reader .........................................................24
6.1.1 Selecting a mounting location ...........................................................................................24
6.1.2 Avoiding total reflection .....................................................................................................25
6.1.3 Determining the reading distance...................................................................................... 25
6.2 Mounting the code reader..................................................................................................... 28
6.2.1 Mounting with M4 fastening screws ..................................................................................28
6.2.2 Mounting with the BTU320M-D12 mounting system ........................................................28
6.2.3 Mounting with the BT320M mounting bracket ..................................................................29
6.2.4 Mounting with the BTU320M-D12-RL70 mounting bracket..............................................29
6.3 Replace housing hood ..........................................................................................................29
6.4 Attaching the diffusor foil ...................................................................................................... 30
Leuze electronic DCR 248i 3
Table of contents
7 Electrical connection..........................................................................................32
7.1 Overview............................................................................................................................... 33
7.2 PWR/SWIO – voltage supply / RS232/RS422 / switching inputs/outputs......................... 33
7.3 HOST - Host input / Ethernet / PROFINET........................................................................... 36
7.4 Ethernet star topology........................................................................................................... 36
7.5 Cable lengths and shielding.................................................................................................. 38
7.6 Connecting code reader to fieldbus ......................................................................................38
7.7 Connecting code reader to MA150 connection unit............................................................. 38
8 Starting up the device – Basic configuration...................................................40
8.1 Measures to be performed prior to the initial commissioning ............................................... 40
8.2 Starting the device ................................................................................................................40
8.3 Setting the communication parameters ................................................................................41
8.3.1 Manually setting the IP address ........................................................................................41
8.3.2 Automatically setting the IP address .................................................................................42
8.3.3 Address Link Label............................................................................................................42
8.3.4 Ethernet host communication............................................................................................43
8.3.5 RS232/RS422 communication ........................................................................................44
8.3.6 FTP client ..........................................................................................................................44
8.4 Configuration via configuration codes................................................................................... 44
8.5 Activating device functions ................................................................................................... 44
8.6 Performing further settings ................................................................................................... 46
8.6.1 Decoding and processing the read data............................................................................ 46
8.6.2 Control of the decoding .....................................................................................................46
8.6.3 Activating camera operating mode....................................................................................47
8.6.4 Control of the switching outputs ........................................................................................47
8.6.5 Optimizing reading performance .......................................................................................47
8.6.6 Transfer configuration data ...............................................................................................48
9 Commissioning – Leuzeelectronic webConfig tool........................................49
9.1 System requirements............................................................................................................ 49
9.2 Start webConfig tool ............................................................................................................. 49
9.3 Short description of the webConfigtool ................................................................................50
9.3.1 Change operating mode....................................................................................................51
9.3.2 Menu options of the webConfig tool ..................................................................................51
9.3.3 CONFIGURATION menu ..................................................................................................52
9.3.4 Configuring applications with the wizard ...........................................................................53
10 PROFINET ............................................................................................................54
10.1 Overview............................................................................................................................... 54
10.2 GSDML file............................................................................................................................ 54
10.3 Configuring for the Siemens SIMATIC-S7 control ................................................................55
10.4 PROFINET project modules .................................................................................................59
10.4.1 Overview of the modules...................................................................................................59
10.4.2 Module10–Activation ......................................................................................................61
10.4.3 Module13–Fragmented result ........................................................................................62
10.4.4 Module16–Fragmented entry .........................................................................................63
10.4.5 Module21–Result data 1 ................................................................................................63
10.4.6 Module22–Result data 2 ................................................................................................64
10.4.7 Module23–Result data 3 ................................................................................................65
10.4.8 Module24–Result data 4 ................................................................................................66
10.4.9 Module25–Result data 5 ................................................................................................67
10.4.10 Module26–Result data 6 ................................................................................................68
10.4.11 Module27–Result data 7 ................................................................................................69
10.4.12 Module28–Result data 8 ................................................................................................70
Leuze electronic DCR 248i 4
Table of contents
10.4.13 Module101–Entry data1 ................................................................................................71
10.4.14 Module102–Entry data2 ................................................................................................73
10.4.15 Module103–Entry data3 ................................................................................................74
10.4.16 Module104–Entry data4 ................................................................................................75
10.4.17 Module105–Entry data5 ................................................................................................77
10.4.18 Module106–Entry data6 ................................................................................................78
10.4.19 Module107–Entry data7 ................................................................................................79
10.4.20 Module108–Entry data8 ................................................................................................81
10.4.21 Module60-Device status and control ..............................................................................82
10.4.22 Module61-Device application status and control............................................................83
10.4.23 Module74–I/O status and control ...................................................................................83
11 Interfaces – Communication ..............................................................................87
11.1 Online commands................................................................................................................. 87
11.1.1 Overview of commands and parameters........................................................................... 87
11.1.2 General online commands ................................................................................................87
11.1.3 Online commands for system control ................................................................................92
11.2 XML-based communication ..................................................................................................92
12 Care, maintenance and disposal .......................................................................93
13 Diagnostics and troubleshooting ......................................................................94
14 Service and support ...........................................................................................95
14.1 What to do should servicing be required? ............................................................................ 95
15 Technical data .....................................................................................................96
15.1 General specifications .......................................................................................................... 96
15.2 Optical data........................................................................................................................... 97
15.2.1 Reading performance........................................................................................................97
15.2.2 Code specifications ...........................................................................................................97
15.3 Dimensioned drawings ......................................................................................................... 98
15.4 Dimensioned drawings - Accessories................................................................................... 98
16 Order guide and accessories...........................................................................102
16.1 Nomenclature ..................................................................................................................... 102
16.2 Type overview..................................................................................................................... 102
16.3 Optical accessories............................................................................................................. 103
16.4 Cables accessories............................................................................................................. 103
16.5 Other accessories............................................................................................................... 104
17 EC Declaration of Conformity ..........................................................................106
18 Appendix............................................................................................................107
18.1 ASCII character set............................................................................................................. 107
18.2 Code samples..................................................................................................................... 110
18.3 Configuration via configuration codes................................................................................. 112
18.4 License terms...................................................................................................................... 113
18.5 Communication examples .................................................................................................. 114
Leuze electronic DCR 248i 5

1 About this document

1.1 Used symbols and signal words

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

2 Safety

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

2.1 Intended use

The code readers of the DCR200i series are camera-based code readers for all commonly used bar codes, stacked codes and DataMatrix codes as well as for codes of the GS1DataBar family.
Areas of application
The code readers of the DCR200i series are especially designed for the following areas of application:
• Packaging systems
• Mounting/handling technology
• Analysis technology
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 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 group0 (exempt group) in acc. with EN62471
NOTICE
Comply with conditions and regulations!
Ä Observe the locally applicable legal regulations and the rules of the employer's liability insur-
ance association.

2.2 Foreseeable misuse

Any use other than that defined under "Intended use" or which goes beyond that use is considered im­proper 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
• 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.
Leuze electronic DCR 248i 8

2.3 Competent persons

Connection, mounting, commissioning and adjustment of the device must only be carried out by competent persons.
Prerequisites for competent persons:
• They have a suitable technical education.
• They are familiar with the rules and regulations for occupational safety and safety at work.
• They are familiar with the 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 de­tect possible dangers.
In Germany, certified electricians must fulfill the requirements of accident-prevention regulations BGV A3 (e.g. electrician foreman). In other countries, there are respective regulations that must be observed.

2.4 Disclaimer

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.
Safety
Leuze electronic DCR 248i 9

3 Device description

3.1 Device overview

Device description
3.1.1
About the DCR200i code reader
The code readers of the DCR200i series are camera-based code readers for all commonly used bar codes, stacked codes and Data Matrix codes (e.g. Code128, EAN8/13, ECC200, QR etc.) as well as for codes of the GS1DataBar family.
The extensive options for device configuration via control buttons, configuration codes or software enable adaptation to a multitude of reading tasks. The high resolution in combination with a very high depth of field as well as the compact design make the device ideal for use in packaging machines.
Code readers of the DCR200i series perform numerous tasks in industrial code reading such as:
• Omnidirectional code reading
• Reading of codes while at a standstill or in motion
• Manual reading by holding up codes
• In packaging machines
• In automatic handling and testing machines
The DCR2xxi code readers are available in several optics models:
• DCR2xxi with HighDensity optics (N-optics)
• DCR2xxi with MediumDensity optics (M optics)
• DCR2xxi with LowDensity optics (F optics)
The DCR2xxi 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 15 "Technical data".
3.1.2

Performance characteristics

• Decoding of 1D-, stacked- and 2D-codes
• Maximum depth of field and reading distance of approx. 40mm…360mm
• High object speed and decoding performance of up to 7m/s with 10decodings
• Reference code comparison
• Quality evaluation of 1D bar codes and 2D-codes in accordance with ISO/IEC15415 and ISO/ IEC15416
• Integrated process interfaces RS232, RS422, Ethernet and PROFINET
The MA2xxi modular connection units are available for connecting to other fieldbus systems, e.g., PROFIBUS, 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/PROFINET connection
• webConfig, a web-based configuration tool for configuration of all device parameters
No additional configuration software necessary
Leuze electronic DCR 248i 10
Device description
• 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 16 "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 Leuzeelectronic subsidiary or Leuzeelectronic cus­tomer service (see chapter 14 "Service and support")
• MA2xxi modular connection units for connection to fieldbus systems (see chapter 7.6 "Connecting code reader to fieldbus")
• MA150 modular connection unit for decentralized distribution of the signals (see chapter 7.7 "Connect­ing code reader to MA150 connection unit")
Leuze electronic DCR 248i 11

3.2 Device construction

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

3.3 Connection technology

PWR / SWIO HOST
1 2
The device is connected using variously coded M12 connectors:
• A-coded, 12-pin, M12 connection for operating voltage, switching inputs/outputs, RS232/RS422 inter­face
• D-coded, 4-pin, M12 connection for the Ethernet/PROFINET connection
Device description
1 PWR/SWIO, M12 plug, 12-pin, A-coded 2 HOST, M12 socket, 4-pin, D-coded
Fig.3.2: Electrical connections
NOTICE
Ready-made cables are available for all connections (see chapter 16.4 "Cables accessories").
NOTICE
Shielding connection!
Ä The shielding is connected via the M12 connector housing.

3.4 Indicators and operational controls

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

LED indicators

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

Bar graph display

Function selection
The following functions are selected and displayed via the bar graph display (see chapter 8.5 "Activating device functions"):
TRIG: Trigger function for activating a read process
AUTO: Auto setup function for determining the optimum read setting
ADJ: Adjustment function for aligning the device
TEACH: 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.
Leuze electronic DCR 248i 15
Device description
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.
NOTICE
If you activate the TRIG, AUTO, ADJ or TEACH function via the control buttons, the device ac­cepts no commands via the process interface. Process mode is thereby interrupted.
3.4.3

Control buttons

The functions of the bar graph display are controlled via the control buttons.
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.
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.
Leuze electronic DCR 248i 16

4 Functions

A
A B C D
B C D E F G H A B DC
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.1 Camera operating modes

The camera operating mode defines how the code reader starts a read process and decodes the codes if a code is located in the read field.
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 read­ing 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.
• 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 re­maining images.
1 Continuous image capture 2 Decoding 3 Output of the read data
Fig.4.1: "Burst mode" camera operating mode
Leuze electronic DCR 248i 17
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 oper­ating 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 – Leuzeelec­tronic 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 recom­mended 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 NOREAD output.

4.2 Reference code comparison

With the reference code comparison, the code reader compares the actual decoding result with a stored reference code – the exact code content is compared.
Options for teaching-in a new reference code:
• webConfig tool: Configuration > Decoder > Reference
• 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) http://www.pcre.org/.
• Example1
The code reader is to perform a partial comparison of two characters "42". Any number of characters and content may precede the string "42".
• Comparison string entered in the webConfig tool: 42
• Positive reference code comparison (match): 123425
• Negative reference code comparison (mismatch): 12345
Leuze electronic DCR 248i 18
• Example2
The code reader is to perform a partial comparison of two characters "42". Beginning with the string "42", any number of characters and content may follow.
• Comparison string entered in the webConfig tool: ^42
• Positive reference code comparison (match): 42345
• Negative reference code comparison (mismatch): 12345
NOTICE
Using space characters with regular expressions!
Ä When entering regular expressions, note the use of space characters.

4.3 Code 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/IEC15416 and ISO/IEC15415.
NOTICE
Functions
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 (= NOMINALMINIMUM)
• Output of each feature via the interface and as a programmable switching output
ISO/IEC15416 mode: Individual features for bar codes
• Overall quality
• Symbol contrast (SC)
• Modulation (MOD)
• Decodability
• Minimal edge contrast (EC
• Minimal reflectance (R
min
)
min
)
• Defects
• Decodes
ISO/IEC15415 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
Leuze electronic DCR 248i 19
• 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.4 Leuze webConfig tool

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

5 Applications

5.1 Reading of 1D-codes

Applications
Fig.5.1: Reading of 1D-codes
Leuze electronic DCR 248i 21

5.2 Reading of 2D-codes

1 2
Applications
Fig.5.2: Reading of 2D-codes in packaging systems

5.3 Code reading with polarization filter

1 Code reading without polarization filter 2 Code 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 in­creased considerably.
Leuze electronic DCR 248i 22

5.4 Code reading with diffusor foil

1
2
1 Code reading without diffusor foil 2 Code 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 electronic DCR 248i 23

6 Mounting

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

6.1 Determining 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.
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.
Leuze electronic DCR 248i 24
Mounting
10° … 20° 10° … 20°
1
2
3
1
• Do not use glossy labels.
• The bar code or DataMatrix code is moved past the reading window with a tilt angle or angle of inclina­tion 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° 1 Code label 2 Mounting with tilt angle 3 Mounting with angle of inclination
6.1.3
Fig.6.1: Mounting with tilt angle or angle of inclination

Determining the reading distance

In general, the read field of the code reader becomes larger with increasing reading distance. This also re­sults 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".
Reading distances for code reader with N1-optics
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.
Leuze electronic DCR 248i 25
1D-Codes
2D-Codes
400
[mm]
350300250200150100500
0.127 mm (5 mil)
0.19 mm (7.5mil)
0.25 mm (10 mil)
0.5 mm (20 mil)
0.127 mm (5 mil)
0.19 mm (7.5 mil)
0.25 mm (10 mil)
0.5 mm (20 mil)
1
1 Reading distance [mm]
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
Mounting
Fig.6.2: Typical reading distances for 1D- and 2D-codes with various modulus sizes of the codes
Reading distances for code reader with M1-optics
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.
1 Reading distance [mm]
Fig.6.3: Typical reading distances for 1D- and 2D-codes with various modulus sizes of the codes
Leuze electronic DCR 248i 26
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
1 Reading 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 electronic DCR 248i 27
1 Camera distance 2 Reading field 3 Height of the reading field 4 Width of the reading field
Fig.6.5: Camera distance and read field
Mounting
0 x 0
20 x 15
40 x 30
60 x 45
80 x 60
100 x 75
120 x 90
140 x 105
0 50 100 150 200 250 300 350
1
3 4
2
1 Camera distance [mm] 2 Reading field: widthxheight [mm] 3 N1-optics, M1-optics 4 F-optics
Fig.6.6: Relationship between camera distance and reading field size

6.2 Mounting the code reader

NOTICE
Information on mounting the code reader can also be found in document "Quick Start Guide DCR200i".
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.4Nm ð Location and thread depth of the mounting thread: see chapter 15.3 "Dimensioned drawings"
Mounting with the BTU320M-D12 mounting system
Mounting with a BTU320M-D12 mounting system is intended for 12-mm rod mounting. For ordering infor­mation, see chapter 16.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.4Nm ð Location and thread depth of the mounting thread: see chapter 15.3 "Dimensioned drawings"
Leuze electronic DCR 248i 28
Mounting
6.2.3
Mounting with the BT320M mounting bracket
Mounting with a BT320M mounting bracket is intended for wall mounting. For ordering information, see chapter 16.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.4Nm ð Location and thread depth of the mounting thread: see chapter 15.3 "Dimensioned drawings"
6.2.4
Mounting with the BTU320M-D12-RL70 mounting bracket
Mounting using a BTU320M-D12-RL70 mounting bracket is intended for 12mm rod mounting in combina­tion with the RL-70/40r-003-M12 ring light. For ordering information, see chapter 16.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.4Nm ð Location and thread depth of the mounting thread: see chapter 15.3 "Dimensioned drawings"
Ä Mount the mounting bracket on the rod with the clamp profile (system-side).

6.3 Replace housing hood

In individual cases, you can exchange the housing hood of the code reader, e.g., if the protective screen is scratched or if changed operating conditions necessitate a housing hood with polarization filter. For order­ing information, see chapter 16.3 "Optical accessories".
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.25Nm.
Leuze electronic DCR 248i 29
1
2 2
1 Fastening screws 2 Housing hood
Fig.6.7: Replace housing hood

6.4 Attaching the diffusor foil

To reduce interfering reflections, you can attach a diffusor foil to the screen of the housing hood.
Mounting
NOTICE
Do not use diffusor foil in combination with polarization filter!
The diffusor foil is not suitable for use in combination with the polarization filter.
NOTICE
Only attach diffusor foil to dust- and grease-free surface!
Ä Before attaching the foil, make certain that the surface is free of dust and grease.
Ä Make certain that the diffusor foil is correctly oriented.
Small recess at top, large recess at bottom.
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 electronic DCR 248i 30
Loading...
+ 85 hidden pages