
Commissioning and configuration
192
BCL 548
i
Leuze electronic
10.15 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.15.1 Module 81 – Reference code comparator 1
PROFINET-IO module identifier
Module-ID 1081
Submodule-ID 1
Description
The module defines the mode of operation of reference code comparator 1.
Parameter
Parameter
Description
Addr.
Data type
Value range
Default
Unit
Output function
after reference bar
code comparison
This parameter specifies
the associated 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
reference 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 bar code length
comparison should be
carried out.
2
UNSIGNED8
0: Length ignored
1: Comparison o.k. if length not iden-
tical
2: Comparison o.k. if length identical.
2
-
Bar code type
comparison
This parameter specifies
whether a bar code type
comparison should be
carried out.
3
UNSIGNED8
0: Type ignored
1: Comparison o.k. if types not iden-
tical
2: Comparison o.k. if types identical.
2
-
Reference code
ASCII comparison
This parameter specifies
how the ASCII comparison
should be carried out.
4
UNSIGNED8
0: No comparison
1: Bar code not identical to RC
2: Bar code identical to RC
3: Bar code greater than RC
4: Bar code greater than or equal to
RC
5: Bar code less than RC
6: Bar code less than or equal to RC
7: RC1 less than or equal to bar code
less than or equal to RC2
8: Bar code less than RC1 or bar code
greater than RC2
2
-
Table 10.52:
Parameters for module 81 – Reference code comparison