Delta AS Series Operation Manual page 262

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

Send Quote Requests to info@automatedpt.com
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
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
=C1B80000
2
16
=C1B80000
2
16
D 0
-41
+35
to ±402×10
.
Send Quote Requests to info@automatedpt.com
Call +1(800)985-6929 To Order or Order Online At Deltaacdrives.com
Call +1(800)985-6929 To Order or Order Online At Deltaacdrives.com
[ Ex ponent
]
D1
]*
1 0
-1
. 32-bit decimal floating-

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents