EasyManua.ls Logo

Panasonic FP-E - Page 936

Panasonic FP-E
1334 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
High−level Instructions
3 − 672
Description
The COS([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.
COS[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 −1.0000 to 1.0000.
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°.
・= 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: info@clrwtr.com