Protocols for position value output
Leuze electronic GmbH + Co. KG
BPS 8
64
Description
Position data
The position data are output in two's complement as a 32-bit signed integer value by default in millimeters
with a resolution of 1 mm (see chapter 8.5.2 "Position detection")
Marker bar code
If information consisting of two of the capital letters A / B / C / D / E / F / G and one digit 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 requested in the request telegram using the request
bit M. 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 2 … 4.
Data byte 2:
First marker bar code character (capital letter A, B, C, D, E, F, G)
Data byte 3:
Second marker bar code character (capital letter A, B, C, D, E, F, G)
Data byte 4:
Third marker bar code character (digit 1)
Example: output of marker data
Marker bar code: AA1
Data byte 2 = A = 41
h
= 01000001
b
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
D
Diagnostic data exist 1 = Diagnostic data are present in the memory
0 = No diagnostic data exists
3
MM
Marker bar code pres
-
ent
1 = The content of a marker bar code is in the memory
0 = No content of a marker bar code in the memory
4
SLEEP
Standby state
1 = Device is in Standby mode
(see request telegram)
0 = Device is in positioning mode
5
Q0
Reading quality Q1Q0 00 = Reading quality > 75%
01 = Reading quality 75% … 50%
6
Q1
10 = Reading quality 50% … 25%
11 = Reading quality < 25%
7
–
None
Without function, bit permanently set to zero
1…4
0…7
Data,
P31 … P
00
Data
Depending on the request, the data are transferred
here; either position data, diagnostic data, marker data
or SLEEP response.
5
0…7
XOR
XOR combination
Bitwise exclusive OR combination of bytes 0 to 4
NOTE
The P00 data bit corresponds to the LSB, the P31 data bit corresponds to the MSB.
NOTE
If no marker data are present in the memory of the BPS 8 and the request bit M is set, E00 is
transmitted.
NOTE
For more detailed information on marker bar codes, see see chapter 5.3 "Marker bar codes" on