Leuze electronic Binary protocol type 1
Leuze electronic BPS 8 71
TNT 35/7-24V
Output of the marker information
Example marker information: A01
Data byte 2 = A = 41 Hex = 01000001 Bin
Data byte 3 = 0 = 30 Hex = 00110000 Bin
Data byte 4 = 1 = 31 Hex = 00110001 Bin
Notice!
If there is no marker in the marker memory of the BPS 8 and a marker query is received,
E00 is transmitted as three ASCII characters.
Answer to diagnostic query
If the diagnostic bit D in the status byte is set to 1, diagnostic data is present and may be
retrieved.
By setting the respective D bit in the control byte (= bit 0), the diagnostic data is retrieved.
The diagnostic bit D remains set to 1 as long as data is present. Only after the memory for
diagnostic data is empty, the bit changes to 0 and the red status LED returns to normal
mode.
Just as the marker information, the diagnostic data is transmitted as 3 ASCII characters.
Diagnostic information offered:
The diagnostic data have the following format:
Byte 1 = E defines the diagnostic data
Byte 2 = x number describing the error.
Byte 3 = x number describing the error.
Possible diagnostic data:
100 = software version number of the BPS 8, 1.00 in this example
E01 = interface problem
E02 = motor problem
E03 = laser problem
E04 = internal problem
E05 = position value outside the measurement range
SOS = BPS 8 in SLEEP mode (S
ystem Operation Standby/SLEEP)
Byte no. Designation Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
0 Status byte 0 0 0 SLEEP MM D OUT ERR
1 Data byte 1 00000000
2 Data byte 2 01000001
3 Data byte 3 00110000
4 Data byte 4 00110001
5 XOR logic Exclusive OR logic of bytes 0 to 5