Delta AS Series Operation Manual page 142

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

A S S e r i e s O p e r a t i o n M a n u a l
Example 2:
-23 is represented by a single-precision floating-point number.
Converting -23.0 into the floating-point number uses the same steps as converting 23.0 into the floating-point
number, except that the sign bit is 1.
1 10000011 01110000000000000000000
5.2.2.2 Decimal Floating-point Numbers
-23 is represented by a single-precision floating-point number.
Converting -23.0 into the floating-point number uses the same steps as converting 23.0 into the floating-point
number, except that the sign bit is 1.
1 10000011 01110000000000000000000
5.2.2.2 Decimal Floating-point Numbers
_5
Single-precision floating-point numbers and double-precision floating-point numbers can be converted
into decimal floating-point numbers so people can read them. However, the PLC uses single-precision
floating-point numbers and double-precision floating-point numbers internally.
A 32-bit decimal floating-point number is represented by two consecutive registers. The constant is
stored in the register whose number is smaller while the exponent is stored in the register whose
number is bigger. Take (D1, D0) for example.
D eci mal f lo ati ng -po in t nu mb er=[C on sta nt
Base number D0=±1,000 to ±9,999
Exponent D1=-41–+35
The base number 100 does not exist in D0 because 100 is represented by 1,000×10
point numbers range from ±1175×10
5 - 1 0
=C1B80000
2
16
=C1B80000
2
16
]*
1 0
D 0
-41
+35
to ±402×10
.
[Ex ponent
]
D1
-1
. 32-bit decimal floating-

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents