Dfix (Conversion: Double-Precision Real Number Data → Integer (Round Decimal Digits)) - Panasonic FP7 Series Command Reference Manual

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

Advertisement

11.31 DFIX (Conversion: Double-precision Real Number Data → Integer
11.31 DFIX (Conversion: Double-precision Real Number Data → Integer
(Round Decimal Digits))
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: double-precision real number data)
Starting address of the device where conversion results are stored (data format: according to the
D
operation unit)
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)
Only 16-bit devices, 32-bit devices, and integer constants can be modified. (Real number constants,
and character constants cannot be specified.)
(Note 3)
Index register (I0 to IE)
Outline of operation
● This instruction converts the double-precision floating point real number data stored in the
area starting with [S] to an integer (rounding the first decimal point down).
● The conversion result is stored in the area starting with [D].
● The data setting ranges for conversion target data [S] by operation units are indicated below.
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
(Round Decimal Digits))
SL
SF
Real
Integer
numbe
r
IX
(N
D
K
H
SF
F
ote
3)
DF
St
rin
g
Index
modifie
r
(Note 2)
" "
11-71

Advertisement

Table of Contents
loading

Table of Contents