Leuze electronic BPS 8 Original Operating Instructions page 92

Bar code positioning system
Table of Contents

Advertisement

Diagnostic data
If the diagnostic bit D in the status byte is set to 1, diagnostic data is present and may be
retrieved.
The diagnostic data are retrieved by setting the bit D (bit 0) in the request byte. The diag-
nostic bit D remains set to 1 as long as data are present. Only after the memory for diag-
nostic data is empty, the bit changes to 0 and the red status LED returns to normal mode.
Like the marker data, the diagnostic data are output as an ASCII hex value in the data bytes
2 ... 4.
Data byte 2:
Data byte 3:
Data byte 4:
Possible diagnostic data:
E01 = interface problem
E02 = motor problem
E03 = laser problem
E04 = internal problem
E05 = position value outside of measurement range
E09 = invalid control bar code
If bit 2 SLEEP is set to 1 in the request byte and in the status byte bit 2 D has the value 1,
BPS 8 is in Standby mode (SLEEP – laser and polygon wheel motor off). If bit 2 SLEEP in
the control byte is set to 0, the BPS 8 returns to positioning mode after a boot time of approx.
5s. If polling takes place while the BPS 8 boots and there is no valid position data yet, the
error message No decodable bar code (bit OUT) is generated.
Example: output of diagnostic data
Diagnostic data: E05
Data byte 2 = E = 45
Data byte 3 = 0 = 30
Data byte 4 = 5 = 35
Byte no.
Designation
0
Status byte
1
Data byte 1
2
Data byte 2
3
Data byte 3
4
Data byte 4
5
XOR combination
Leuze electronic
First diagnostic data character
Second diagnostic data character
Third diagnostic data character
= 01000101
h
b
= 00110000
h
b
= 00110101
h
b
Bit 7
0
0
0
0
0
Exclusive OR combination of bytes 0 to 4
BPS 8
Protocols for position value output
Bit 6
Bit 5
Bit 4
Q1
Q0
SLEEP
0
0
0
1
0
0
0
1
1
0
1
1
Bit 3
Bit 2
Bit 1
MM
D
OUT
0
0
0
0
1
0
0
0
0
0
1
0
Bit 0
ERR
0
1
0
1
90

Advertisement

Table of Contents
loading

Table of Contents