Protocols for position value output
Leuze electronic GmbH + Co. KG
BPS 8
82
9.5.1 Data format
Table 9.5:
BPS 8 SM 10x-10 data format
9.5.2 Request telegram to the BPS 8 SM 10x
-
10
The request telegram consists of two bytes.
Request telegram structure
Description
Bit ON:
If this bit is set to 1, measurement operation and the cyclical output of position data are
activated. The position data are transmitted cyclically from the BPS.
Bit OFF:
If this bit is set to 1, measurement operation is deactivated and the cyclical output of data
is stopped. If measurement operation and the cyclical output of position data are re-acti
-
vated, the boot time is 5 s.
Bit DIAG:
If this bit is set to 1, diagnostic data can be requested. An indicated error is reset once all
diagnostic data has been polled. This is indicated by the status LED changing from red to
green.
Data format
BPS 8 SM 10x-10
Baud rate
115.2 kBit/s
Number of data bits
8
Number of start bits
1
Number of stop bits
1
Parity
None
Addressing
None
Operating mode
RS 232 full duplex
Handshake
None
Byte
no.
Designation
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
0
Request byte
0
0
0
0
ON
OFF
0
DIAG
1
XOR combination
Exclusive OR combination of byte 0 with 00
h
(repetition of the request byte)
Byte
Bit
Name Function
Description
0
0
DIAG Request
diagnostic information
1 = Request diagnostic data
0 = Do not request diagnostic data
1
–
None
Without function, bit permanently set to 0
2
OFF
Deactivate measure
-
ment operation
1 = Deactivate measurement operation and cyclical
measurement value output
0 = No function
3
ON
Activate measurement
operation
1 = Activate measurement operation and cyclical mea
-
surement value output
0 = No function
4…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.