High
−
level Instructions
3
−
680
Description
TAN
−
1
(the arctangent) of the value specified in S, S+1, and S+2 is calculated, and the result (an angle) is
stored in D.
TAN
−
1
([S][S+1]. [S+2])
→
[D]
S: Sign
S+1: Integer value
S+2: Decimal
Set 0 for the sign in S when the data to be processed is positive, and set 1 for the sign when the data is
negative.
Set the integer and decimal parts of the data each within a range of 0 to 9999.9999 in S+1 and S+2.
The result of the calculation will be stored in D as a BCD value within the range 0
°
to 90
°
or 270
°
to 360
°
(in
degrees).
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 specified in S+2, S+1 and S are not BCD value.
・
= 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: [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 ...