Special offers from our partners!
Find Replacement BBQ Parts for 20,308 Models. Repair your BBQ today.
6-104
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
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