Leuze electronic BPS 8 Original Operating Instructions page 114

Bar code positioning system
Table of Contents

Advertisement

Diagnostic data
If the diagnostic bit DIB in the status byte is set to 1, diagnostic data are present and may
be retrieved.
By setting the bit DIAG (bit 0) in the request byte, the diagnostic data are retrieved. The diag-
nostic bit DIB 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.
The diagnostic data is 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 data outside of measurement range
E09 = invalid control bar code
If bit 2 OFF is set to 1 in the request byte and in the status byte bit 2 DIB has the value 1,
BPS 8 is in Standby mode (laser and polygon wheel motor off). If bit 2 OFF is set to 0 in the
request byte, the BPS 8 returns to positioning mode after a boot time of approx. 5 s. 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
0
0
0
0
1
0
0
0
1
1
0
1
1
Bit 3
Bit 2
Bit 1
0
DIB
OUT
0
0
0
0
1
0
0
0
0
0
1
0
Bit 0
ERR
0
1
0
1
112

Advertisement

Table of Contents
loading

Table of Contents