Protocols for position value output
Leuze electronic
BPS 8
94
TNT
35/7-2
4
V
Marker bar code
If information consisting of one of the capital letters A / B / C / D / Z and two digits is read,
the
MM
bit for the recognition of a marker bar code is set in the status byte:
0 = No marker data in the memory.
1 = Marker data in the memory.
The data content of the marker bar code can now be retrieved in the request telegram using
the request bit
S0
. If the data content of the marker bar code is not requested, the position
continues to be output.
The marker data are output as an ASCII hex value in the data bytes 1 … 3.
Data byte 1:
First marker bar code character (capital letter
A, B, C, D or Z
)
Data byte 2:
Second marker bar code character (digit from
0 … 9
)
Data byte 3:
Third marker bar code character (digit from
0 … 9
)
If no marker data are present in the memory of the BPS 8 and there is a marker data request,
E00
is transmitted.
For more detailed information on marker bar codes, see see chapter 5.3 "Marker bar codes"
on Page 27.
Example: output of marker data
Marker bar code:
A01
Data byte 1=
A
= 41
h
= 001000001
b
Data byte 2=
0
= 30
h
= 000110000
b
Data byte 3=
1
= 31
h
= 000110001
b
Byte no.
Designation
Bit 8
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
0
Status byte
0
D
M
A1
A0
QT1
QT0
OUT
ERR
1
Data byte 1
0
0
1
0
0
0
0
0
1
2
Data byte 2
0
0
0
1
1
0
0
0
0
3
Data byte 3
0
0
0
1
1
0
0
0
1
4
XOR combination
Bitwise exclusive OR combination of bytes 0 to 3
5
Repetition of data byte 1
0
0
1
0
0
0
0
0
1
6
Repetition of data byte 2
0
0
0
1
1
0
0
0
0
7
Repetition of data byte 3
0
0
0
1
1
0
0
0
1