Herunterladen Inhalt Inhalt Diese Seite drucken

burster Sensor-Profibus-Modul 9221 Bedienungsanleitung Seite 73

Inhaltsverzeichnis
x = -0,25 wird dargestellt als
Vorzeichenbit (sign):
Exponent (ex):
Mantisse (mant):
also:
=
1
x
(
) 1
*
2
=
2
(
) 1
*
2
*
1
=
1
0 ,
*
2
2
1
=
1
0 ,
*
4
=
, 0
25
Kodierung der drei Formel-Komponenten in den vier Bytes
1. Byte (Erstes Byte)
Bit 7
Bit 6
MSB
S
E
7
2. Byte (Zweites Byte)
Bit 7
Bit 6
E
M
0
22
3. Byte (Drittes Byte)
Bit 7
Bit 6
M
M
15
14
4. Byte (Viertes Byte)
Bit 7
Bit 6
M
M
7
6
Das Bit S aus dem ersten Byte enthält das Vorzeichenbit
Die Bits E7 – E0 aus den Bytes 1 und 2 bilden den Exponenten
Die Bits M22 – M0 aus den Bytes 2 - 4 bilden die Mantisse
+
(
125
127
)
*
1 (
0 ,
, 0
) 0
1
0 ,
Bit 5
Bit 4
E
E
6
5
Bit 5
Bit 4
M
M
21
20
Bit 5
Bit 4
M
M
13
12
Bit 5
Bit 4
M
M
5
4
Seite 73 von 83
-2
-1,0 * 2
, d. h.
1 (negativ)
125
125
0,0
0,0
Bit3
Bit 2
Bit 1
E
E
E
4
3
2
Bit3
Bit 2
Bit 1
M
M
M
19
18
17
Bit3
Bit 2
Bit 1
M
M
M
11
10
9
Bit3
Bit 2
Bit 1
M
M
M
3
2
2
– 127
= -2
+ 1,0
= 1,0
Bit 0
LSB
E
1
Bit 0
M
16
Bit 0
M
8
Bit 0
M
1
Stand: 27.01.06
Inhaltsverzeichnis
loading

Inhaltsverzeichnis