EasyManua.ls Logo

Santec MPM-210H - Page 49

Default Icon
59 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
MULTI-PORT OPTICAL POWER METER MPM-210H
49 / 59
decimal number of 1/4, and the 20
th
bit the decimal number of 1/8. Each of the
lower bits expresses its corresponding number in the same rule. Based on this
structure, binary floating point data are converted into decimal numbers as in
Table 5.6.3.
Table 5.6.3 How to convert binary floating point data into decimal numbers
Description
Sign bit
Exponent bit
Fraction bit
Decimal Value
(-1)
S
x 2
E-127
x (1 + F x 2
-23
)
NaN
Don’t Care
255
0
-Infinite
1
255
0
+Infinite
0
255
0
Represents the transformation example 4 byte binary data as below.
Example)
Hexadecimal 4 Byte data
Data
4Byte data
Description
Measurement data
C7
D7
9D
BE
1
st
Byte
2
nd
Byte
3
rd
Byte
4
th
Byte
IEEE Standard Floating Point Format
Converted data
from original data
BE
9D
D7
C7
4
th
Byte
3
rd
Byte
2
nd
Byte
1
st
Byte
Original 4 byte data is separated every
8 bit. Each 8 bit rearranges from the
last 8 bit data to the first 8 bit data
Conversion Hexadecimal (4 Byte data) into Binary
1 0111110
1 0011101
11010111
11000100
4
th
Byte
3
rd
Byte
2
nd
Byte
1
st
Byte
Sign(s)
Exponent(E
FractionF
Conversion Binary into Decimal
Sign(s)
Exponent(E
FractionF
1
125
1955780
Conversion into Fractional value
Fractional value
(-1)
S
x 2
E-127
x (1 + F x 2
-23
)
= -1 x 2
125-127
x (1 + 1955780 x 2
-23
)
= -1 x 0.25 x 1. 233147144317626953125
= -0.30828678607940673828125

Related product manuals