491
3. Instructions
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Floating-point Math Instructions
3
ASIN/ACOS/ATAN
ASIN/ACOS/ATAN
Applicable Program Areas
Operands
z Operand Specifications
Instruction Mnemonic Variations
Function
code
Function
ARC SINE ASIN @ASIN 463
Calculates the arc sine of a 32-bit floating-point
number and places the result in the specified
result words.
ARC COSINE ACOS @ACOS 464
Calculates the arc cosine of a 32-bit floating-point
number and places the result in the specified
result words.
ARC TANGENT ATAN @ATAN 465
Calculates the arc tangent of a 32-bit floating-point
number and places the result in the specified
result words.
Symbol
ASIN ACOS ATAN
Area
Function block
definitions
Block program areas Step program areas Subroutines Interrupt tasks
SFC action or
transition programs
Usage OK OK OK OK OK OK
Operand Description Data type Size
S
ASIN: SIN (sine) data rightmost word number
ACOS: COS (cosine) data rightmost word number
ATAN: TAN (tangent) data rightmost word number
REAL 2
R First result word REAL 2
Area
Word addresses
Indirect DM/EM
addresses
Con-
stants
Registers
TK CF
Pulse
bits
TR
bits
CIO WR HR AR T C DM EM
@DM
@EM
*DM
*EM
DR IR
Indirect
using IR
S
OK OK OK OK OK OK OK OK OK OK
OK
--- --- OK --- --- --- ---
R ---
S: First source
word
R: First result
word
ASIN(463)
S
R
S: First source
word
R: First result
word
ACOS(464)
S
R
S: First source
word
R: First result
word
ATAN(465)
S
R