EasyManua.ls Logo

Panasonic FP Series

Panasonic FP Series
1345 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...
Appendix Programming Information
1248
40.2 Floating Point Instructions
The floating point F/P instructions are designed specifically for applications that require variables of the data
type REAL. Most of these can be replaced by the more flexible IEC commands. By doing so you will reduce the
number of commands with which you need to be familiar.
The following floating point instructions are described in detail in this manual because they are not easily
duplicated with IEC instructions: F327_INT (see page 686), F328_DINT (see page 688), F333_FINT (see page
690), F334_FRINT (see page 692), F335_FSIGN (see page 694), F337_RAD (see page 696) and F338_DEG
(see pa
ge 698).
For details and example
s on the other floating point instructions, see Online help. For quick reference, please
refer to the table below.
Name Function Equivalent IEC function
used with EN/ENO
F309_FMV Constant floating point data move MOVE
F310_FADD Floating point data add ADD
F311_FSUB Floating point data subtract SUB
F312_FMUL Floating point data multiply MUL
F313_FDIV Floating point data divide DIV
F314_FSIN Floating point Sine operation SIN
F315_FCOS Floating point Cosine operation COS
F316_FTAN Floating point Tangent operation TAN
F317_ASIN Floating point Arcsine operation ASIN
F318_ACOS Floating point Arccosine operation ACOS
F319_ATAN Floating point Arctangent operation ATAN
F320_LN Floating point data natural logarithm LN
F321_EXP Floating point data exponent EXP
F322_LOG Floating point data logarithm LOG
F323_PWR Floating point data power EXPT
F324_FSQR Floating point data square root SQRT
F325_FLT
16-bit integer Floating point data
INT_TO_REAL
F326_DFLT
32-bit integer Floating point data
DINT_TO_REAL
F329_FIX
Floating point data 16-bit integer
Rounding the first decimal point down
TRUNC_TO_INT
F330_DFIX
Floating point data 32-bit integer
Rounding the first decimal point down
TRUNC_TO_DINT
F331_ROFF
Floating point data 16-bit integer
Rounding the first decimal point off
REAL_TO_INT
F332_DROFF
Floating point data 32-bit integer
Rounding the first decimal point off
REAL_TO_DINT
F336_FABS Floating point data absolute ABS

Table of Contents

Other manuals for Panasonic FP Series

Related product manuals