NAiS FP Series User Manual page 313

Applicable plc
Hide thumbs Also See for FP Series:
Table of Contents

Advertisement

Specifications
No.
Name
F331
Floating-point
type data to
16-bit integer
conversion
(rounding the
first decimal
point off to
integer)
F332
Floating-point
type data to
32-bit integer
conversion
(rounding the
first decimal
point off to
integer)
F333
Floating-point
type data
rounding the
first decimal
point down
F334
Floating-point
type data
rounding the
first decimal
point off
F335
Floating-point
type data sign
changes
F336
Floating-point
type data
absolute
F337
Floating-point
type data
degree →
radian
F338
Floating-point
type data
radian →
degree
13 - 64
Boolean
Operand Description
ROFF
S, D
Converts real number data specified by (S+1, S) to the
16-bit integer data with sign (rounding the first decimal
point off), and the converted data is stored in "D".
DROFF
S, D
Converts real number data specified by (S+1, S) to the
32-bit integer data with sign(rounding the first decimal
point off), and the converted data is stored in (D+1, D).
FINT
S, D
The decimal part of the real number data specified in
(S+1, S) is rounded down, and the result is stored in
(D+1, D).
FRINT
S, D
The decimal part of the real number data stored in
(S+1, S) is rounded off, and the result is stored in (D+1,
D).
F+/ -
S, D
The real number data stored in (S+1, S) is changed the
sign, and the result is stored in (D+1, D).
FABS
S, D
Takes the absolute value of real number data specified
by (S+1, S), and the result (absolute value) is stored in
(D+1, D).
RAD
S, D
The data in degrees of an angle specified in (S+1, S) is
converted to radians (real number data), and the result
is stored in (D+1, D).
DEG
S, D
The angle data in radians (real number data) specified
in (S+1, S) is converted to angle data in degrees, and
the result is stored in (D+1, D).
FPΣ
Steps
8
8
8
8
8
8
8
8

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fps seriesFpg-c32tFpg-c32t2Fpg-c24r2

Table of Contents