Protocols for position value output
Leuze electronic GmbH + Co. KG
BPS 8
63
Description
Bit SINGLE:
If this bit is set to 1, a single measurement is output
(laser on – measurement – laser off).
The response telegram to the "SINGLE" request is sent after around 40 ms. The
"SINGLE" request cycle must be greater than 40 ms.
Bit POS:
If this bit is set to 1, the position data is output.
The "POS" request cycle must be greater than 10 ms. If the no "POS" request occurs
within 10 ms, the laser is deactivated. A response telegram is sent to a repeat "POS"
request after approx. 30 ms.
Bit SLEEP:
If this bit is set to 1, the Standby mode is activated.
The polygon wheel motor and the laser are switched off in Standby. Diagnosis of the read
system cannot be performed. When the device is reactivated, the system start-up time is
approx. 5 s.
Bit M:
If this bit is set to 1, the marker bar code content is output.
Bit D:
If this bit is set to 1, the diagnostic data is sent in response. An indicated error is reset once
all diagnostic data has been polled. This is indicated by the status LED changing from red
to green.
Priority of the bits in the request byte:
• Priority 1:
Diagnostic data request (D)
• Priority 2:
Marker data request (M)
• Priority 3:
Standby request (SLEEP)
• Priority 4:
Position data request (POS)
• Priority 5:
Request for one-time transmission of position data (SINGLE)
9.1.3 BPS 8 SM 10x
-
01 / BPS 8 SM 10x
-
05 response telegram
The response telegram consists of 6 bytes.
Response telegram structure
Byte
Bit
Name Function
Description
0
0
D
Request
diagnostic information
1 = Request diagnostic data
0 = Do not request diagnostic data
1
M
Request
marker data
1 = Request marker data
0 = Do not request marker data
2
SLEEP Activate
Standby mode
1 = Activate Standby mode.
0 = Positioning mode
3
POS
Request
position information
1 = Request position data
0 = Do not request position data
4
SIN
-
GLE
Request
single measurement
1 = Request single measurement (laser on, measure
-
ment, laser off)
0 = Do not request single measurement
5…7
–
None
Without function, bit permanently set to 0
1
0
XOR
XOR combination
Exclusive OR combination of byte 0 with 00
h
NOTE
It is advisable to set only one bit in the request byte, as the BPS can only answer one request
at a time. If several bits are set, the function with the highest priority is executed.
Byte
no.
Designation
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
0
Status byte
0
Q1
Q0
SLEEP MM
D
OUT
ERR
1
Data byte 1
P31
P30
P29
P28
P27
P26
P25
P24
2
Data byte 2
P23
P22
P21
P20
P19
P18
P17
P16
3
Data byte 3
P15
P14
P13
P12
P11
P10
P09
P08
4
Data byte 4
P07
P06
P05
P04
P03
P02
P01
P00
5
XOR combination
Bitwise exclusive OR combination of bytes 0 to 4