![Omron CJ1G-CPU series Programming Manual Download Page 131](http://html1.mh-extra.com/html/omron/cj1g-cpu-series/cj1g-cpu-series_programming-manual_742489131.webp)
110
Floating-point Math Instructions
Section 3-13
TANGENT
TAN
@TAN
462
Output
Required
ARC SINE
ASIN
@ASIN
463
Output
Required
ARC COSINE
ACOS
@ACOS
464
Output
Required
ARC TANGENT
ATAN
@ATAN
465
Output
Required
SQUARE ROOT
SQRT
@SQRT
466
Output
Required
Instruction
Mnemonic
Code
Symbol/Operand
Function
Location
Execution
condition
S: 1st source
word
R: 1st result word
TAN(462)
S
R
Calculates the tangent of a 32-bit floating-point number (in radians) and
places the result in the specified result words.
R+1
R
S
Source (32-bit
floating-point
data)
S+1
Result (32-bit
floating-point
data)
TAN
S: 1st source
word
R: 1st result word
ASIN(463)
S
R
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.)
R+1
R
S
Source (32-bit
floating-point
data)
S+1
Result (32-bit
floating-point
data)
SIN
-1
S: 1st source
word
R: 1st result word
ACOS(464)
S
R
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.)
R+1
R
S
Source (32-bit
floating-point
data)
S+1
Result (32-bit
floating-point
data)
COS
-1
S: 1st source
word
R: 1st result word
ATAN(465)
S
R
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.)
R+1
R
S
Source (32-bit
floating-point
data)
S+1
Result (32-bit
floating-point
data)
TAN
-1
S: 1st source
word
R: 1st result word
SQRT(466)
S
R
Calculates the square root of a 32-bit floating-point number and places the
result in the specified result words.
R+1
R
S
Source (32-bit
floating-point
data)
S+1
Result (32-bit
floating-point
data)
Summary of Contents for CJ1G-CPU series
Page 3: ...iv...
Page 5: ...vi...
Page 21: ...xxii Conformance to EC Directives 6...
Page 169: ...148 Task Control Instructions Section 3 32...
Page 203: ...182 Programming Device Operations for Tasks Section 4 4...
Page 253: ...232 Using File Memory Section 5 3...
Page 337: ...316 Other Functions Section 6 11...
Page 347: ......
Page 369: ......
Page 373: ......
Page 379: ......
Page 381: ...360 Revision History...