Description ODSL 30
22
ODSL 30
Leuze electronic
Figure 3.8: Serial transmission formats ODSL 30/D…
7
0
7
0
7
0
0
0
0
1
x x
1
0
7
0
7
0
0
1
Measurement value = 16 bits (measurement range 0 … 30m, resolution 1mm)
1. Low Byte (bit 0 = 0, bit 1 = 0)
Measurement value = 14 bits (measurement range 0 … 15m, resolution 1mm)
Measurement value ASCII transmission
Transmission format:
MMMMM<CR>
MMMMM
= 5-digit measurement value
<CR>
= ASCII character "Carriage Return" (x0D)
bit 5
bit 4
bit 3
bit 2
bit 1
bi
t 0
(LSB)
bit 1
1
bit 1
0
bit 9
bit 8
bit 7
bit 6
don’t care
don’t care
bit 1
5
(MSB)
bit 1
4
bit 1
3
bit 1
2
2. Middle Byte (bit 0 = 1, bit 1 = 0)
3. High Byte (bit 0 = 0, bit 1 = 1)
1. Low Byte (bit 0 = 0)
2. High Byte (bit 0 = 1)
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0 (LSB)
bit 13
(MSB)
bit 12
bit 11
bit 10
bit 9
bit 8
bit 7
Remote control operation
ASCII transfer of the measurement value on request
4 digits
(4 bytes),
5 digits
(5 bytes)
or 6 digits
(6 bytes).
Measurement value ASCII transmission, resolution 0.1mm
Transmission format:
MMMMMM<CR>
MMMMMM
= 6-digit measurement value in tenths of a mm without decimal point
<CR>
= ASCII character "Carriage Return" (x0D)
7
0
0
0
7
0
0
1
7
0
1
0
7
0
x x x x
1
1
Measurement value = 20bits (measurement range 0 … 30m, resolution 0.1mm)
1. Low Byte
(bit 0 = 0, bit 1 = 0)
bi
t 5
bi
t 4
bi
t 3
bi
t 2
bi
t 1
bi
t 0 (LSB
)
bi
t 11
bi
t 10
bi
t 9
bi
t 8
bi
t 7
bi
t 6
bi
t 17
bi
t 16
bi
t 15
bi
t 14
bi
t 13
bi
t 12
do
n’t
care
do
n’t
care
do
n’t
care
do
n’t
care
bi
t 19 (MSB
)
bi
t 18
bi
t 19 (MSB
)
2. Middle Low Byte
(bit 0 = 1, bit 1 = 0)
3. Middle High Byte
(bit 0 = 0, bit 1 = 1)
4. High Byte
(bit 0 = 1, bit 1 = 1)