6-102
ECON(P)
6.3.16 Single precision to Double precision conversion
(ECON(P))
ECON(P)
Function
Converts 32-bit floating-point real number specified for into 64-bit floating-point real
number, and stores the conversion result to the device specified for .
Operation Error
(1) In any of the following cases, an operation error occurs, the error flag (SM0) turns ON, and
an error code is stored into SD0.
• The value of the specified device is not in the following range: (Error code: 4140)
0,2
-126
| value of specified device | 2
128
• The value of the specified device is 0, unnormalized number, nonnumeric, and ± .
(Error code: 4140)
: Conversion source data, or head number of the device where conversion source data is stored
(Real number (single precision))
: Head number of the device where the converted data is stored (Real number (double precision))
Setting
Data
Internal Devices
R, ZR
J\
U\G
Zn
Constants
E
Other
Bit Word Bit Word
–– –– ––
–– –– –– ––
Universal
Basic
Process
High
performance
Redundant
ECON
ECONP
S
D
S D
ECON
ECONP
Command
Command
S
D
S
D
S
D
+1
S S
32-bit floating-point real number
+3 +2
+1
DDD
D
64-bit floating-point real number