EasyManuals Logo

Mitsubishi MELSEC Q Series Programming Manual

Mitsubishi MELSEC Q Series
1296 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #307 background imageLoading...
Page #307 background image
6-105
EDCON(P)
1
2
3
4
4
6
7
8
6.3 Data conversion instructions
6.3.17 Double precision to Single precision conversion (EDCON(P))
6.3.17 Double precision to Single precision conversion
(EDCON(P))
EDCON(P)
Function
Converts 64-bit floating-point real number specified for into 32-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
-1022
| value of specified device | 2
1024
• The value of the designated device is 0. (Error code: 4140)
• The result exceeds the following range (Conversion results in an overflow):
2
128
| Conversion result | (Error code: 4141)
: Conversion source data, or head number of the device where conversion source data is stored
(Real number (double precision))
: Head number of the device where the converted data is stored (Real number (single precision))
Setting
Data
Internal Devices
R, ZR
J\
U\G
Zn
Constants
E
Other
Bit Word Bit Word
–– –– –– ––
–– –– –– ––
Universal
Basic
Process
High
performance
Redundant
LCPU
EDCON
EDCONP
S
D
S D
EDCON
EDCONP
Command
Command
S
D
S
D
S
D
+1
D D
32-bit floating-point real numbe
r
+3 +2 +1
S
64-bit floating-point real number
S
S
S

Table of Contents

Other manuals for Mitsubishi MELSEC Q Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi MELSEC Q Series and is the answer not in the manual?

Mitsubishi MELSEC Q Series Specifications

General IconGeneral
BrandMitsubishi
ModelMELSEC Q Series
CategoryController
LanguageEnglish

Related product manuals