EasyManua.ls Logo

Omron CJ - INSTRUCTIONS - Page 115

Omron CJ - INSTRUCTIONS
1308 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...
77
CS/CJ/NSJ Series Instructions Reference Manual (W474)
2. Summary of Instructions
2-2 Instruction Functions
2
2-2-13 Floating-point Math Instructions
COSINE
COS
@COS
461
Output
Required
484
HIGH-SPEED
COSINE (CJ1-H-
R and CJ2 only)
COSQ
@COSQ
476
Calculates the cosine of a 32-bit floating-point number (in radians) and
places the result in the specified result words.
Output
Required
487
TANGENT
TAN
@TAN
462
Output
Required
484
HIGH-SPEED
TANGENT (CJ1-
H-R and CJ2
only)
TAN Q
@TANQ
477
Calculates the tangent of a 32-bit floating-point number (in radians)
and places the result in the specified result words.
Output
Required
487
ARC SINE
ASIN
@ASIN
463
Output
Required
491
ARC COSINE
ACOS
@ACOS
464
Output
Required
491
Instruction
Mnemonic
Code
Symbol/Operand Function Location
Execution
condition
Page
COS(461)
S
R
S: 1st source
word
R: 1st result word
R+1 R
S
S+1
COS
Source (32-bit
floating-point
data)
Result (32-bit
floating-point
data)
Calculates the cosine of a 32-bit floating-point number (in radians)
and places the result in the specified result words.
COSQ(476)
S
R
S: 1st source
word
R: 1st result word
R+1 R
S
S+1
COS
Source (32-bit
floating-point
data)
Result (32-bit
floating-point
data)
S
R
TAN(462)
S: 1st source
word
R: 1st result word
R+1 R
S
S+1
TA N
Result (32-bit
floating-point
data
)
Source (32-bit
floating-point
data)
Calculates the tangent of a 32-bit floating-point number (in radians)
and places the result in the specified result words.
S
R
TANQ(477)
S: 1st source
word
R: 1st result word
R+1 R
S
S+1
TAN
Result (32-bit
floating-point
data)
Source (32-bit
floating-point
data)
ASIN(463)
S
R
S: 1st source
word
R: 1st result word
R+1 R
S
S+1
SIN
1
Calculates the arc sine of a 32-bit floating-point number and places
the result in the specified result words. (The arc sine function is the
inverse of the sine function; it returns the angle that produces a given
sine value between 1 and 1.)
Source (32-bit
floating-point
data)
Result (32-bit
floating-point
data)
ACOS(464)
S
R
S: 1st source
word
R: 1st result word
R+1 R
S
S+1
COS
1
Calculates the arc cosine of a 32-bit floating-point number and places
the result in the specified result words. (The arc cosine function is the
inverse of the cosine function; it returns the angle that produces a
given cosine value between 1 and 1.)
Source (32-bit
floating-point
data)
Result (32-bit
floating-point
data)

Table of Contents

Related product manuals