Siemens 500 NIM User Manual

Page 128

Advertising
background image

Floating Point Numbers

B-6

SIMATIC TIWAY I Series 500 NIM User Manual

IEEE Format (continued)

EXAMPLES:

Base 10 Number

Hexadecimal Contents

of Memory Word

1.0

0.5

-0.5

0.03125

100.0

3F80

3F00

BF00

3D00

42C8

0000

0000

0000

0000

0000

1st

Word

2nd

Word

Mantissa

Sign Bit

Exponent

(8 bits)

Most Significant

(7 bits)

Least Significant 16 bits of number

S

MSB

LSB

Figure B-2

IEEE Floating Point Representation

Advertising