Flt (Conversion: Integer → Floating Point Real Number Data) - Panasonic FP7 Series Command Reference Manual

Cpu unit
Hide thumbs Also See for FP7 Series:
Table of Contents

Advertisement

11.26 FLT (Conversion: Integer → Floating Point Real Number Data)
11.26 FLT (Conversion: Integer → Floating Point Real Number Data)
Ladder diagram
Available operation units (●: Available)
Operatio
bit
n unit
i
List of operands
Operand
Description
S
Conversion target data (device address or constant (data format: according to the operation unit))
D
Conversion result (device address (data format: single-precision floating point real number data)
Available devices (●: Available)
Operan
d
W
W
X
Y
S
D
(Note 1)
Cannot be specified when the operation unit is 16-bit integer (SS, US).
(Note 2)
Index register (I0 to IE)
(Note 3)
Can be specified only when the operation unit is signed integer (SS, SL).
(Note 4)
Can be specified only when the operation unit is unsigned integer (US, UL).
Outline of operation
● According to the operation unit [i], the integer value stored in the area starting with [S] is
converted into a single-precision floating point real number value.
● The calculation result is stored in the area starting with [D].
WUME-FP7CPUPGR-12
US
16-Bit device:
W
W
W
S
D
L
R
L
S
D
T
D
SS
UL
32-Bit
device:
(Note 1)
TS
TE
U
W
WI
C
C
M
O
S
E
SL
SF
Real
Integer
numbe
r
IX
K
(N
(N
(N
H
SF
ote
ote
ote
2)
3)
4)
DF
St
rin
g
Index
modifie
r
D
" "
F
11-55

Advertisement

Table of Contents
loading

Table of Contents