EasyManua.ls Logo

NAiS FP Series - Page 312

NAiS FP Series
326 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...
FPΣ
13.8 Table of Instructions
13 - 63
No. Name Boolean Operand Description Steps
F322 Floating-point
type data
logarithm
LOG S, D LOG (S+1, S) (D+1, D) 10
F323 Floating-point
type data
power
PWR S1, S2, D
(S1+1, S1) (S2+1, S2) (D+1, D)
14
F324 Floating-point
type data
square root
FSQR S, D
(S+1, S) (D+1, D)
10
F325 16-bit integer
data to
floating-point
type data
conversion
FLT S, D Converts the 16-bit integer data with sign specified by
“S” to real number data, and the converted data is
stored in “D”.
6
F326 32-bit integer
data to
floating-point
type data
conversion
DFLT S, D Converts the 32-bit integer data with sign specified by
(S+1, S) to real number data, and the converted data is
stored in (D+1, D).
8
F327 Floating-point
type data to
16-bit integer
conversion(the
largest integer
not exceeding
the floating-
point typedata)
INT S, D Converts real number data specified by (S+1, S) to the
16-bit integer data with sign (the largest integer not
exceeding the floating-point data), and the converted
data is stored in “D”.
8
F328 Floating-
point type data
to 32-bit
integer conver-
sion (the
largest integer
not exceeding
the floating-
point typedata)
DINT S, D Converts real number data specified by (S+1, S) to the
32-bit integer data with sign (the largest integer not
exceeding the floating-point data), and the converted
data is stored in (D+1, D).
8
F329 Floating-
point type data
to 16-bit inte-
ger conversion
(rounding the
first decimal
point down to
integer)
FIX S, D Converts real number data specified by (S+1, S) to the
16-bit integer data with sign (rounding the first decimal
point down), and the converted data is stored in “D”.
8
F330 Floating-
point type data
to 32-bit inte-
ger conversion
(rounding the
first decimal
point down to
integer)
DFIX S, D Converts real number data specified by (S+1, S) to the
32-bit integer data with sign (rounding the first decimal
point down), and the converted data is stored in (D+1,
D).
8

Table of Contents

Other manuals for NAiS FP Series

Related product manuals