Converting 32-bit signed binary data to double-precision real
number
DINT2DBL(P)
RnPCPU
RnPCPU
RnCPU RnENCPU
(Process)
(Redundant)
These instructions convert 32-bit signed binary data to a double-precision real number.
Ladder
(s)
(d)
FBD/LD
EN
ENO
s
d
*1 The engineering tool with version "1.035M" or later supports the ST.
■Execution condition
Instruction
DINT2DBL
DINT2DBLP
Setting data
■Description, range, data type
Operand
Description
(s)
Integral data to be converted to a double-precision real
number, or the start device containing integral data
(d)
Start device for storing the converted double-precision real
number
EN
Execution condition
ENO
Execution result
■Applicable devices
Operand
Bit
X, Y, M, L,
J\
SM, F, B, SB,
FX, FY
(s)
(d)
Processing details
• These instructions convert the 32-bit signed binary data in the device specified by (s) to a double-precision real number,
and store the real number in the device specified by (d).
SM402
DMOVP
M0
DINT2DBL
RnSFCPU RnSFCPU
(Standard)
(Safety)
Execution condition
Word
T, ST, C, D, W,
U\G, J\,
SD, SW, FD, R,
U3E\(H)G
ZR, RD
(s)
b31
K-123456
D0
D1, D0
FFFEH
(s)
(d)
D0
D100
*1
ST
ENO:=DINT2DBL(EN,s,d);
ENO:=DINT2DBLP(EN,s,d);
Range
-2147483648 to 2147483647
Double word Indirect
Z
LT, LST,
LZ
LC
(d)
b16
b15
b0
1DC0H
D103, D102, D101, D100
(-123456)
Data type
Data type (label)
32-bit signed binary
ANY32_S
Double-precision real
ANYREAL_64
number
Bit
BOOL
Bit
BOOL
Constant
specification
K, H E
$
b63
b49
b48
b32
b31
b16
b15
C0FEH
2400H
0000H
0000H
(-123456.0)
7 APPLICATION INSTRUCTIONS
7.9 Real Number Instructions
7
Others
b0
755