Omron SYSMAC CS/CJ Series Programming Manual page 131

Table of Contents

Advertisement

Floating-point Math Instructions
Instruction
Symbol/Operand
Mnemonic
Code
TANGENT
TAN(462)
TAN
@TAN
462
S: 1st source
word
R: 1st result word
ARC SINE
ASIN(463)
ASIN
@ASIN
463
S: 1st source
word
R: 1st result word
ARC COSINE
ACOS(464)
ACOS
@ACOS
464
S: 1st source
word
R: 1st result word
ARC TANGENT
ATAN(465)
ATAN
@ATAN
465
S: 1st source
word
R: 1st result word
SQUARE ROOT
SQRT(466)
SQRT
@SQRT
466
S: 1st source
word
R: 1st result word
110
Calculates the tangent of a 32-bit floating-point number (in radians) and
places the result in the specified result words.
S
TAN
S+1
R
R+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
S
1.)
R
-1
SIN
S+1
R+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
S
the cosine function; it returns the angle that produces a given cosine value
between −1 and 1.)
R
-1
COS
S+1
R+1
Calculates the arc tangent of a 32-bit floating-point number and places the
result in the specified result words. (The arc tangent function is the inverse of
the tangent function; it returns the angle that produces a given tangent value.)
S
R
-1
TAN
S+1
R+1
Calculates the square root of a 32-bit floating-point number and places the
result in the specified result words.
S
R
S+1
R+1
Function
Source (32-bit
S
floating-point
data)
Result (32-bit
R
floating-point
data)
Source (32-bit
S
floating-point
data)
Result (32-bit
R
floating-point
data)
Source (32-bit
S
floating-point
data)
Result (32-bit
R
floating-point
data)
Source (32-bit
floating-point
S
data)
Result (32-bit
R
floating-point
data)
Source (32-bit
S
floating-point
data)
Result (32-bit
R
floating-point
data)
Section 3-13
Location
Execution
condition
Output
Required
Output
Required
Output
Required
Output
Required
Output
Required

Advertisement

Table of Contents
loading

Table of Contents