Leuze electronic Binary protocol type 2
Leuze electronic BPS 8 75
TNT 35/7-24V
9.2.2.2 Response from the BPS 8
Data content:
Description of the status byte
Notice!
At a resolution of 1mm and with 24 position bits, a maximum position of up to 16'777'215mm
can be transmitted.
Notice!
The P00 data bit corresponds to the LSB
,
the P23 data bit corresponds to the MSB.
Response to marker information
If information consisting of one of the capital letters A / B / C / D / Z and two digits is read,
the M bit for the recognition of the marker information is set in the status byte. The S-Bit 0
control bit can now be used to retrieve the marker information. If the marker info is not
requested, the position continues to be output.
The marker information is output as an ASCII hex value in three bytes.
Byte no. Designation Bit 8 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
0 Status byte NU 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 logic Exclusive OR logic 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 Function Value Explanation
0
0ERR
0 No errors occurred during the calculation of the position value.
1 During the calculation of the position value, (int.) errors occurred.
1OUT
0 Scanning beam is positioned on the bar code tape.
1 Scanning beam is positioned outside of the bar code tape.
2 QTO Read quality.
3 QT1 Read quality.
4 A0 Address.
5 A1 Address.
6M
0 No marker information present.
1 Marker information present.
7D
0 No diagnostic data present.
1 Diagnostic data present.
8 NU 0 No meaning - bit is permanently set to 0.
1 … 3 0 … 8 POS -- Position value, binary encoded.
4 0 … 8 XOR -- Block check digit, exclusive-OR logic of byte 0 to byte 3.
5 … 7 0 … 8 WPOS -- Repetition of position value, binary encoded.