Panasonic FP-E Programming Manual page 934

Fp series
Table of Contents

Advertisement

High−level Instructions
Description
The SIN([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.
SIN[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):
・Error flag (R9008):
・= flag (R900B):
3 − 670
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
Turns on and stays on when:
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°.
Turns on when result of processing is recognized as "0."

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fp0Fp2Fp2shFp0rFrsFp10sh ... Show all

Table of Contents