High−level Instructions
3 − 700
Program example
The “f0.7853980 (radians of 45 degrees)” is stored to DT20 and DT21 when the R0 turns on.
F318 ACOS, f0.7071069, DT20
R0
Precautions during programming
D+1 and D is stored within the following range: 0.0 (radians) [D+1, D] π (radians)
For FP0, this instruction F318 (ACOS) 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.
− S+1 and S is not within the range −1.0
[S+1, S] 1.0
− If result of processing is outside integer range when integer device is
specified in D+1 and D.
・= flag (R900B): Turns on when result of processing is recognized as “0.”
・Carry flag (R9009): Turns on for an instant when the result is overflowed.