Protocols for position value output
Leuze electronic GmbH + Co. KG
BPS 8
77
Diagnostic data: E05
Data byte 1 = E = 45
h
= 01000101
b
Data byte 2 = 0 = 30
h
= 00110000
b
Data byte 3 = 5 = 35
h
= 00110101
b
Standby mode
9.4
Binary protocol 4 – BPS 8 SM 10x-04
9.4.1 Data format
Table 9.4:
BPS 8 SM 10x-04 data format
9.4.2 Request telegram to the BPS 8 SM 10x
-
04
The request telegram consists of 6 bytes.
Request telegram structure
Byte
no.
Designation
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
0
Status byte
0
SLEEP
=0
A1
A0
CALC=
1
DB=1 OUT
ERR
1
Data byte 1
0
1
0
0
0
1
0
1
2
Data byte 2
0
0
1
1
0
0
0
0
3
Data byte 3
0
0
1
1
0
1
0
1
4
XOR combination
Bitwise exclusive OR combination of bytes 0 to 3
NOTE
If bit SLEEP (bit 6) in status byte is set to 1, the BPS is in Standby mode. In a diagnostic
response during Standby mode, the bits CALC, DB and SLEEP are set as follows:
• CALC = 0
• DB
= 0
• SLEEP = 1
In Standby mode, the data bits P00 to P20 are always 0.
NOTE
With the BPS Configuration Tool, the user can individually adapt the binary protocols 1 and 6
to the specific requirements of the application. The binary protocols 2, 3 and 4, on the other
hand, have a fixed structure and cannot be modified.
Data format
BPS 8 SM 10x-04
Baud rate
62.5 kBit/s
Number of data bits
9
Number of start bits
1
Number of stop bits
1
Parity
None
Addressing
0 … 3
Operating mode
RS232 half duplex
Handshake
None
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