EasyManua.ls Logo

Panasonic FP7 Series - DINT (Conversion: Double-Precision Real Number Data Integer (Round Down))

Panasonic FP7 Series
1222 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
11.29 DINT (Conversion: Double-precision Real Number Data → Integer
(Round Down))
Ladder diagram
DINT.US DT10 DT0
i S D
R0
Available operation units (●: Available)
Operatio
n unit
bit US SS UL SL SF DF
i
List of operands
Operand Description
S
Starting address of the device where the target data to be converted is stored or the constant
(data format: double-precision real number data)
D
Starting address of the device where conversion results are stored (data format: according to the
operation unit)
Available devices (●: Available)
Operan
d
16-Bit device:
32-Bit
device:
(Note 1)
Integer
Real
numbe
r
St
rin
g
Index
modifie
r
(Note 2)
W
X
W
Y
W
R
W
L
W
S
S
D
D
T
L
D
U
M
WI
W
O
TS
C
S
TE
C
E
IX
(N
ote
3)
K H SF
D
F
" "
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 (the largest possible integer without exceeding the real
number).
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.
11.29 DINT (Conversion: Double-precision Real Number Data → Integer
(Round Down))
11-64 WUME-FP7CPUPGR-12

Table of Contents

Other manuals for Panasonic FP7 Series

Related product manuals