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 #526 background imageLoading...
Page #526 background image
3. Instructions
488
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Function
z SINQ
SINQ(475) calculates the sine of the angle (in radians) expressed as a 32-bit floating-point value in S+1
and S and places the result in R+1 and R.
(The floating point source data must be in IEEE754 format.)
• Specify the desired angle (–65,535 to 65,535) in radians in S+1 and S.
For information on converting between degrees and radians, see 3-15-9 DEGREES TO RADIANS:
RAD(458) and 3-15-10 RADIANS TO DEGREES: DEG(459).
• If the angle is outside of the range -65,535 to 65,535, an unpredictable value will be output, but the
Error Flag will not be turned ON.
The following diagram shows the relationship between the input data and result.
z COSQ
COSQ(476) calculates the cosine of the angle (in radians) expressed as a 32-bit floating-point value in
S+1 and S and places the result in R+1 and R.
(The floating point source data must be in IEEE754 format.)
• Specify the desired angle (-65,535 to 65,535) in radians in S+1 and S.
For information on converting between degrees and radians, see 3-15-9 DEGREES TO RADIANS:
RAD(458) and 3-15-10 RADIANS TO DEGREES: DEG(459).
• If the angle is outside of the range -65,535 to 65,535, an unpredictable value will be output, but the
Error Flag will not be turned ON.
The following diagram shows the relationship between the input data and result.
R+1 R
S
S+1
SIN
Source (32-bit floating-point data)
Result (32-bit floating-point data)
3
2
Ï€
2
Ï€
2
3
2
π π
−2 π
−π
0
π 2 π
−1
1
S
R
S: Angle (radian) data
R: Result (sine)
−
−
R+1 R
S
S+1
COS
Source (32-bit floating-point data)
Result (32-bit floating-point data)
3
2
Ï€
2
Ï€
2
3
2
ππ
−2 π
−π
0
−1
1
π 2 π
S
D
S: Angle (radian) data
R: Result (cosine)
−
−

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