Stod (Conversion: Single-Precision Real Number Data → Double-Precision Real Number) - Panasonic FP7 Series Command Reference Manual

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

Advertisement

11.22 STOD (Conversion: Single-precision Real Number Data → Double-
11.22 STOD (Conversion: Single-precision Real Number Data →
Double-precision Real Number)
Ladder diagram
Available operation units (●: Available)
Operatio
bit
n unit
i
List of operands
Operand
Description
Starting address of the device where the target data to be converted is stored or the constant
S
(data format: single-precision real number data)
Starting address of the device where conversion results are stored (data format: double-precision
D
real number data)
Devices that can be specified (indicated by ●)
Operan
d
W
W
X
Y
S
D
(Note 1)
Only 16-bit devices, and 32-bit devices can be modified (real number constants cannot be specified).
(Note 2)
Index register (I0 to IE)
Outline of operation
● This instruction converts the single-precision floating point real number stored in the area
starting with [S] to a double-precision floating point real number.
● The conversion 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:
TS
TE
U
W
WI
C
C
M
O
S
E
precision Real Number)
SL
SF
Real
Integer
numbe
r
IX
(N
D
K
H
SF
F
ote
2)
DF
St
rin
g
Index
modifie
r
(Note 1)
" "
11-45

Advertisement

Table of Contents
loading

Table of Contents