Commissioning and configuration
128
BCL 504
i
Leuze electronic
10.8.2
Modules 21-27 – Decoding result
Description
The module defines the transfer of the actually decoded read results. The data is transmitted
consistently over the entire range.
Parameters
None
Input data
Module
No.
Input data
Description
Addr.
Data type
Value range
Init
value
Unit
21 … 27
Reading gate
state
The signal indicates the current
state of the reading gate.
1)
0.0
Bit
0: Off
1: On
0
-
21 … 27
New result
Signal indicates whether a new
decoding result is present.
0.1
Bit
0: No
1: Yes
0
-
21 … 27
Result state
Signal indicates whether the
barcode has been read suc-
cessfully.
0.2
Bit
0: Successful reading
1: NOREAD
0
-
21 … 27
Further
results in the
buffer
Signal indicates whether further
results are in the buffer.
0.3
Bit
0: No
1: Yes
0
-
21 … 27
Buffer over-
flow
Signal indicates that result buff-
ers are occupied and the
decoder rejects data.
0.4
Bit
0: No
1: Yes
0
-
21 … 27
New result
Toggle bit, indicates that a new
decoding result is present.
0.5
Bit
0->1:
New result
1->0:
New result
0
-
21 … 27
Result state
Toggle bit indicates that the bar-
code has not been read.
0.6
Bit
0->1:
NOREAD
1->0:
NOREAD
0
-
21 … 27
Waiting for
acknowl-
edgement
This signal represents the inter-
nal state of the control.
0.7
Bit
0: Base state
1: Control waiting for
acknowledgement
from the PROFIBUS
master
0
-
21 … 27
Barcode data
length
Data length of the actual bar-
code information.
2)
1
UNSIGNED8
0-48
0
-
21
Data
Barcode information with a
length of consistently 4 bytes.
2..
4x
UNSIGNED8
0-FFh
0
-
22
Data
Barcode information with a
length of consistently 8 bytes.
2..
8x
UNSIGNED8
0-FFh
0
-
23
Data
Barcode information with a
length of consistently 12 bytes.
2..
12x
UNSIGNED8
0-FFh
0
-
24
Data
Barcode information with a
length of consistently 16 bytes.
2..
16x
UNSIGNED8
0-FFh
0
-
25
Data
Barcode information with a
length of consistently 20 bytes.
2..
20x
UNSIGNED8
0-FFh
0
-
26
Data
Barcode information with a
length of consistently 24 bytes.
2..
24x
UNSIGNED8
0-FFh
0
-
27
Data
Barcode information with a
length of consistently 28 bytes.
2..
28x
UNSIGNED8
0-FFh
0
-
Table 10.19:
Input data for modules 21 … 27
1)
Attention: This does not necessarily correspond to the state at the time the barcode is scanned
2)
If the barcode information (barcode and, possibly, other items such as the check sum) fits in the
selected module width, this value reflects the length of the transmitted data. A value larger than the
module width indicates a loss of information caused by a module width which has been selected too
small.