Delta Electronics — 5.2.2.2 Decimal Floating-point Numbers

AS Series Operation Manual 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 100 0001 1 011 1000 0000 0000 0000 0000 2 =C1B80000 16 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 100 0001 1 011 1000 0000 0000 0000 0000 2 =C1B80000 16 5.2.2.2 Decimal Floating-point Numbers  Single-precision floating-point numbers and double-precision floating-point numbers can be converted _5 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.

10 Decimal floating-point number=[Constant ]* D0 [Exponent ] D1 Base number D0=±1,000 to ±9,999 Exponent D1=-41–+35 point numbers range from ±1175Ч10 -41 to ±402Ч10 +35 . The base number 100 does not exist in D0 because 100 is represented by 1,000Ч10 -1 . 32-bit decimal floating- 5-10