High
−
level Instructions
3
−
702
Program example
The “f1.047197 (radians of 60 degres)” is stored to DT20 and DT21 when the R0 turns on.
F319 ATAN, f1.73205, DT20
R0
Precautions during programming
D+1 and D is stored within the following range:
−
π
/2 (radians) < [D+1, D] <
π
/2 (radians)
For FP0, this instruction
F319 (ATAN)
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.
・
= 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.
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: [email protected]
Summary of Contents for FP-X
Page 1: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Page 2: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Page 24: ...Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...
Page 1333: ...5 245 Phone 800 894 0412 Fax 888 723 4773 Web www clrwtr com Email info clrwtr com ...