Functions
Leuze electronic
DCR 202i
17
Reading the same code multiple times
To prevent the same code from being read and output repeatedly in the Presentation mode camera oper
-
ating mode, a delay time (
Reread Delay
) can be defined that must elapse before the code reader can read
a code again.
The delay time is set or deactivated with the webConfig tool (see chapter 9 "Commissioning –
Leuze electronic webConfig tool").
Configuration > Control > Reread delay
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
• 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
4.3
Leuze webConfig tool
The webConfig configuration tool offers a graphical user interface for the configuration of the code reader
via a PC (see chapter 9 "Commissioning – Leuze electronic webConfig tool").
The wizard of the webConfig tool can be used to easily configure the code reader in just a few steps.
NOTICE
Using space characters with regular expressions!
When entering regular expressions, note the use of space characters.