Converting 32-bit signed binary data to single-precision real
number
DINT2FLT(P)
RnPCPU
RnPCPU
RnCPU RnENCPU
(Process)
(Redundant)
These instructions convert 32-bit signed binary data to a single-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
DINT2FLT
DINT2FLTP
Setting data
■Description, range, data type
Operand
Description
(s)
Integral data to be converted to a single-precision real
number, or the start device containing integral data
(d)
Start device for storing the converted single-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)
RnSFCPU RnSFCPU
(Standard)
(Safety)
Execution condition
Word
T, ST, C, D, W,
U\G, J\,
SD, SW, FD, R,
U3E\(H)G
ZR, RD
*1
ST
ENO:=DINT2FLT(EN,s,d);
ENO:=DINT2FLTP(EN,s,d);
Range
Data type
-2147483648 to 2147483647
32-bit signed binary
Single-precision real
number
Bit
Bit
Double word Indirect
Z
LT, LST,
LZ
LC
7 APPLICATION INSTRUCTIONS
Data type (label)
ANY32_S
ANYREAL_32
BOOL
BOOL
Constant
Others
specification
K, H E
$
7.9 Real Number Instructions
7
745