Protocols for position value output
Leuze electronic BPS 8 93
TNT 35/7-24V
9.2.3 BPS 8 SM 10x-02 response telegram
The response telegram consists of 8 bytes.
Response telegram structure
Description
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 P23 P22 P21 P20 P19 P18 P17 P16
2 Data byte 2 0 P15 P14 P13 P12 P11 P10 P09 P08
3 Data byte 3 0 P07 P06 P05 P04 P03 P02 P01 P00
4 XOR combination Bitwise exclusive OR combination of bytes 0 to 3
5 Repetition of data byte 1 0 P23 P22 P21 P20 P19 P18 P17 P16
6 Repetition of data byte 2 0 P15 P14 P13 P12 P11 P10 P09 P08
7 Repetition of data byte 3 0 P07 P06 P05 P04 P03 P02 P01 P00
Byte Bit Name Function Description
0
0
ERR Internal error 1 = An internal error has occurred
0 = No error exists
1
OUT Tape error 1 = No bar code decodable
0 = Bar code decodable
2
QT0 Reading quality Q1Q0 00 = Reading quality > 75%
01 = Reading quality 75% … 50%
3
QT1 10 = Reading quality 50% … 25%
11 = Reading quality < 25%
4
A0 Address A1A0 in
RS 485 network
00 = Address 0
01 = Address 1
5
A1 10 = Address 2
11 = Address 3
6
M Marker data exists 1 = Marker data are in the memory
0 = No marker data in the memory
7
D Diagnostic data exist 1 = Diagnostic data are present in the memory
0 = No diagnostic data exists
8 – None Without function, bit permanently set to zero
1…3
0…8
Data,
P23 … P00
Data Depending on the request, the data is transferred here; either posi-
tion data, diagnostic data or marker data.
40…8XOR XOR combination Bitwise exclusive OR combination of bytes 0 to 3
5…7
0…8
Data,
P23 … P00
Data resend Depending on the request, the data is transferred here; either posi-
tion data, diagnostic data or marker data.