Protocols for position value output
Leuze electronic BPS 8 105
TNT 35/7-24V
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 F7F6F5F4F3F2F1F0
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
3
0…7
F0 … F7 Function identifier The function identifier describes the action which is executed by the
BPS and answered:
90
d
(5A
h
) = Request position data
91
d
(5B
h
) = Request one-time transmission of position data
92
d
(5C
h
) = Activate positioning mode
8 – None Without function, bit permanently set to 0
4
0
OUT Tape error 1 = No bar code decodable
0 = Bar code decodable
1
RNG Measurement range error 1 = Configured measurement range exceeded/undershot
(Measurement range default: 0 … 10,000m, no negative values)
0 = Position values within the configured measurement range
2
Q0 Reading quality Q1Q0 00 = Reading quality > 75%
01 = Reading quality 75% … 50%
3
Q1 10 = Reading quality 50% … 25%
11 = Reading quality < 25%
4…7
DIA0
…
DIA3
Diagnostic information These 4 bits contain coded diagnostic data
(see following description)
6
SLEEP Standby state 1 = Device is in Standby mode
(see request telegram)
0 = Device is in positioning mode
7 – None Without function, bit permanently set to zero