EasyManuals Logo

Omron CJ - INSTRUCTIONS User Manual

Omron CJ - INSTRUCTIONS
1308 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #571 background image
533
3. Instructions
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Double-precision Floating-point Instructions
3
SIND/COSD/TAND
Function
îš„ SIND
SIND(851) calculates the sine of the angle (in radians) expressed as a double-precision (64-bit)
floating-point value in words S to S+3 and places the result in words D to D+3.
(The floating point source data must be in IEEE754 format.)
• Specify the desired angle (-65,535 to 65,535) in radians in words S to S+3.
For information on converting between degrees and radians, see 3-16-9 DOUBLE DEGREES TO
RADIANS: RADD(849) or 3-16-10 DOUBLE RADIANS TO DEGREES: DEGD(850).
• If the angle is outside of the range -65,535 to 65,535, an error will occur and the instruction will not be
executed.
z The following diagram shows the relationship between the angle and result.
îš„ COSD
COSD(852) calculates the cosine of the angle (in radians) expressed as a double-precision (64-bit)
floating-point value in words S to S+3 and places the result in words D to D+3.
(The floating point source data must be in IEEE754 format.)
• Specify the desired angle (-65,535 to 65,535) in radians in words S to S+3.
For information on converting between degrees and radians, see 3-16-9 DOUBLE DEGREES TO
RADIANS: RADD(849) or 3-16-10 DOUBLE RADIANS TO DEGREES: DEGD(850).
• If the angle is outside of the range -65,535 to 65,535, an error will occur and the instruction will not be
executed.
z The following diagram shows the relationship between the angle and result.
îš„ TAND
TAND(853) calculates the tangent of the angle (in radians) expressed as a double-precision (64-bit)
floating-point value in words S to S+3 and places the result in words D to D+3.
(The floating point source data must be in IEEE754 format.)
S+1 S ) →SIN( S+3 S+2 D+1 DD+3 D+2
R S: Angle (radian) data
R: Result (sine)
S+1 S ) →COS( S+3 S+2 D+1 DD+3 D+2
R
S: Angle (radian) data
R: Result (cosine)
S+1 S ) →TAN( S+3 S+2 D+1 DD+3 D+2

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CJ - INSTRUCTIONS and is the answer not in the manual?

Omron CJ - INSTRUCTIONS Specifications

General IconGeneral
BrandOmron
ModelCJ - INSTRUCTIONS
CategoryController
LanguageEnglish

Related product manuals