Protocols for position value output
Leuze electronic GmbH + Co. KG
BPS 8
79
90
d
(5A
h
):
Request position data:
Activates positioning mode when this is deactivated. Once a position value is available, it
is sent to the control. Positioning mode remains active, and is only deactivated after 10 s.
If a position value is requested once again within these 10 s, positioning mode remains
active (retrigger).
• Response time with deactivated positioning mode:
≤ 4 ms with BUSY response (see diagnostic data)
• Response time with activated positioning mode:
≤ 4 ms
• Minimum request interval: 10 ms
• Maximum request interval for retrigger: 10s
91
d
(5B
h
):
Request one-time transmission of position data:
Activates positioning mode; determines and sends position data once. Positioning mode is
subsequently deactivated (laser on – measurement – laser off).
• Response time with deactivated positioning mode:
≤ 40 ms
• Response time with activated positioning mode:
≤ 4 ms
• Minimum request interval: 40 ms
92
d
(5C
h
):
Activate positioning mode:
Activates positioning mode; the BUSY response is sent immediately. The bits DIA0 to DIA3
(see diagnostic data) and the bit OUT are set to 1 in the status byte of the response tele
-
gram. 0 is sent as a position value.
If a request is sent after approx. 35ms with the function identifier "Request position data" or
"Request one-time transmission of position data", this request is answered with a response
time of ≤ 4 ms.
9.4.3 BPS 8 SM 10x
-
04 response telegram
The response telegram consists of 10 byte.
Response telegram structure
Description
Byte
no.
Designation
Bit 8 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
0
Target address (BPS)
1
AZ7
AZ6
AZ5
AZ4
AZ3
AZ2
AZ1
AZ0
1
Source address (host)
0
AQ7 AQ6 AQ5 AQ4 AQ3 AQ2 AQ1 AQ0
2
Length (without checksum) 0
L7
L6
L5
L4
L3
L2
L1
L0
3
Function identifier
0
F7
F6
F5
F4
F3
F2
F1
F0
4
Status byte
0
DIA3 DIA2 DIA1 DIA0 Q1
Q0
RNG OUT
5
Data byte 0
0
P31
P30
P29
P28
P27
P26
P25
P24
6
Data byte 1
0
P23
P22
P21
P20
P19
P18
P17
P16
7
Data byte 2
0
P15
P14
P13
P12
P11
P10
P09
P08
8
Data byte 3
0
P07
P06
P05
P04
P03
P02
P01
P00
9
Checksum
Bitwise exclusive OR combination of bytes 0 to 3
Byte
Bit
Name
Function
Description
0
0…7
AZ0 …
AZ7
Target address of the
host in the
RS 485 network
Permissible source addresses: 1
d
or 129
d
8
–
None
Without function, bit permanently set to 1
1
0…7
AQ0 …
AQ7
Source address of the
BPS in the
RS 485 network
Permissible address range: 2
d
… 255
d
, default
address = 81
d
8
–
None
Without function, bit permanently set to 0
2
0…7
L0 … L7 Length
Length of the response telegram (number of data bytes
+ status byte),
Value permanently at 5
d
(4 data bytes + 1 status byte)
8
–
None
Without function, bit permanently set to 0