Single Precision To Double Precision Conversion (Econ(P)) - Mitsubishi MELSEC Q Series Programming Manual

Common instruction 1/2
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

6.3.16
Single precision to Double precision conversion
(ECON(P))
ECON(P)
ECON
ECONP
Setting
Data
S
D
Function
Converts 32-bit floating-point real number specified for
number, and stores the conversion result to the device specified for
32-bit floating-point real number
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:
0,2
• The value of the specified device is
Command
Command
: Conversion source data, or head number of the device where conversion source data is stored
S
(Real number (single precision))
: Head number of the device where the converted data is stored (Real number (double precision))
D
Internal Devices
R, ZR
Bit
Word
––
––
S
+1
S
-126
| value of specified device |
High
Basic
performance
ECON
ECONP
J
\
U
\G
Bit
Word
––
––
into 64-bit floating-point real
S
D
+3
D
+2
D
+1
64-bit floating-point real number
128
2
0, unnormalized number, nonnumeric, and ±
ECON(P)
Process
Redundant
Universal
LCPU
S
D
S
D
Constants
Zn
Other
E
––
––
––
.
D
D
(Error code: 4140)
.
(Error code: 4140)
6-103
1
2
3
4
4
6
7
8

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents