High−level Instructions
3 − 704
Program example
The “f1.6094379” is stored to DT20 and DT21 when the R0 turns on.
F320 LN, K 5, DT20
R0
The “f−0.3160815” is stored to DT30 and DT31 when the R0 turns on.
F320 LN, f0.729, DT30
R0
Precaution during programming
For FP0, this instruction F320 (LN) 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.
− The S+1 and S is not greater than zero.
− 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.