High
−
level Instructions
3
−
674
Description
The TAN([S]) of an angle data (units are degrees) specified by S is calculated and the result stored in the
3-word area beginning at D.
TAN[S]
→
[D] [D+1]. [D+2]
D: Sign
D+1: Integer value
D+2: Decimal
Select a BCD value for S within the range 0
°
to 360
°
in units of 1 degree. Be sure to specify the value using
BCD H data.
The sign stored in D is 0 when the result of processing is positive, and 1 when the result is negative.
The result of processing stored in D+1 and D+2 is a BCD value within the range
−
57.2900 to 57.2900.
The decimal stored in D+2 is rounded off to four digits.
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 is not BCD value.
−
If data specified in S is not within 0
°
to 360
°
.
−
If data specified in S is 90
°
to 270
°
.
・
= 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 ...