EasyManua.ls Logo

Panasonic FP-E - Page 960

Panasonic FP-E
1334 pages
Print Icon
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...
High−level Instructions
3 − 696
Program example
The “f1.732048” is stored to DT20 and DT22 when the R0 turns on.
F316 TAN, f1.047197, DT20
R0
Radians of 60 °
Precautions during programming
The accuracy of the calculation decreases as the absolute value of the angle data specified in S+1 and S
increases. We recommend that angle data be set within the following range:
−2π (radians)
[S+1, S] 2π (radians)
For FP0, this instruction F316 (TAN) cannot be programmed in the interrupt program.
Flag conditions
・Error flag (R9007): Turns on and stays on when:
・Error flag (R9008): Turns on for an instant when:
− The area specified using the index modifier exceeds the limit.
− If data other than real number data is specified in S+1 and S.
− If result of processing is outside integer range when integer device is
specified in D+1 and D.
− Absolute value of S+1 and S is 52707176 or greater.
・Carry flag (R9009): Turns on for an instant when the result is overflowed.
・= flag (R900B): Turns on when result of processing is recognized as “0.”
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com