Panasonic FP0 User Manual page 356

Programmable controller
Hide thumbs Also See for FP0:
Table of Contents

Advertisement

Num-
Name
ber
F331
Floating-
P331
point type
data to 16-bit
integer con-
version
(rounding the
first decimal
point off to
integer)
F332
Floating-
P332
point type
data to 32-bit
integer con-
version
(rounding the
first decimal
point off to
integer)
Floating-
F333
point type
P333
data round-
ding the first
decimal point
down
Floating-
F334
point type
P334
data round-
ding the first
decimal point
off
Floating-
F335
point type
P335
data sign
changes
Floating-
F336
point type
P336
data absolute
Floating-
F337
point type
P337
data degree
→ radian
14-114
Boolean
Operand
ROFF
S, D
PROFF
DROFF
S, D
PDROFF
S, D
FINT
PFINT
S, D
FRINT
PFRINT
S, D
F+/-
PF+/-
S, D
FABS
PFABS
S, D
RAD
PRAD
Description
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".
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).
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).
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).
The real number data stored in (S+1, S) is changed
the sign, and the result is stored in (D+1, 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).
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).
Steps
8
8
8
8
8
8
8

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents