Commissioning and configuration
170
BCL 504
i
Leuze electronic
10.14 Reference code comparison
The following modules can be used to support reference code comparison.
The reference code function compares the currently decoded read results with one or more
stored comparison patterns. The function is split into two comparison units which can be
configured independently of each other.
10.14.1 Module 81 – Reference code comparator 1
Description
The module defines the mode of operation of reference code comparator 1.
Parameters
Parameter
Description
Addr.
Data type
Value range
Default
Unit
Output function
after reference
barcode com-
parison
This parameter
specifies the associ-
ated output linkage
after a reference bar-
code comparison.
0
UNSIGNED8
0: No function
1: Comparison function 1
2: Comparison function 2
3: Comparison function 1 AND 2
4: Comparison function 1 OR 2
1
-
Linking logic for
reference code
output signal
This parameter
specifies the linking
logic for the refer-
ence code output
signal.
1
UNSIGNED8
0: Length and type and ASCII
1: Length and (type or ASCII)
2: (Length or type) and ASCII
3: Length or type or ASCII
0
-
Output for refer-
ence code com-
parison
This parameter
specifies whether a
barcode length com-
parison should be
carried out.
2
UNSIGNED8
0: Length ignored
1: Comparison o.k. if length not
identical
2: Comparison o.k. if length
identical.
2
-
Barcode type
comparison
This parameter
specifies whether a
barcode type com-
parison should be
carried out.
3
UNSIGNED8
0: Type ignored
1: Comparison o.k. if types not
identical
2: Comparison o.k. if types iden-
tical.
2
-
Reference code
ASCII compari-
son
This parameter
specifies how the
ASCII comparison
should be carried
out.
4
UNSIGNED8
0: No comparison
1: Barcode not identical to RC
2: Barcode identical to RC
3: Barcode greater than RC
4: Barcode greater than or equal
to RC
5: Barcode less than RC
6: Barcode less than or equal to
RC
7: RC1 less than or equal to bar-
code less than or equal to
RC2
8: Barcode less than RC1 or
barcode greater than RC2
2
-
Table 10.55:
Parameters for module 81 – Reference code comparison