Econ, Econp - Mitsubishi MELSEC-Q/L Programming Manual

Table of Contents

Advertisement

[Operation]
D100 BCD 8080
1 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0
D101 BCD 7654
0 0 1 1 1 0 1 1 0 0 1 0 1 0 1 0
D102 BCD 9999
1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1
D200 BIN 8080
0 0 0 1 1 1 1 1 1 0 0 1 0 0 0
0 0 0 1 1 1 0 1 1 1 1 0 0 1 1
D201 BIN 7654
D202 BIN 9999
0 0 1 0 0 1 1 1 0 0 0 0 1 1 1
6.3.16

ECON, ECONP

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

Advertisement

Table of Contents
loading

Table of Contents