![background image](http://html1.mh-extra.com/html/omron/sysmac-cs1d-cpu/sysmac-cs1d-cpu_reference-manual_742268108.webp)
69
Instruction Functions
Section 2-2
ARC TANGENT
ATAN
@ATAN
465
Output
Required
628
SQUARE ROOT
SQRT
@SQRT
466
Output
Required
630
EXPONENT
EXP
@EXP
467
Output
Required
632
LOGARITHM
LOG
@LOG
468
Output
Required
634
EXPONENTIAL
POWER
PWR
@PWR
840
Output
Required
636
Instruction
Mnemonic
Code
Symbol/Operand
Function
Location
Execution
condition
Page
ATAN(465)
S
R
S
: 1st source
word
R
: 1st result word
R+1
R
S
S+1
TAN
−
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.)
Source (32-bit
floating-point
data)
Result (32-bit
floating-point
data)
S
R
SQRT(466)
S
: 1st source
word
R
: 1st result word
R+1
R
S
S+1
Source (32-bit
floating-point
data)
Result (32-bit
floating-point
data)
Calculates the square root of a 32-bit floating-point number and
places the result in the specified result words.
EXP(467)
S
R
S
: 1st source
word
R
: 1st result word
R+1
R
S
S+1
e
Calculates the natural (base e) exponential of a 32-bit floating-point
number and places the result in the specified result words.
Source (32-bit
floating-point
data)
Result (32-bit
floating-point
data)
LOG(468)
S
R
S
: 1st source
word
R
: 1st result word
Calculates the natural (base e) logarithm of a 32-bit floating-point
number and places the result in the specified result words.
Source (32-bit
floating-point
data)
Result (32-bit
floating-point
data)
R+1
R
S
S+1
log
e
PWR(840)
B
E
R
B
: 1st base word
E
: 1st exponent
word
R
: 1st result word
R+1
B+1
S
E
E+1
R
Base
Raises a 32-bit floating-point number to the power of another 32-bit
floating-point number.
Power
Summary of Contents for SYSMAC CS1D-CPU**
Page 3: ...iv...
Page 29: ...xxx...
Page 185: ...146 List of Instructions by Function Code Section 2 4...
Page 1389: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2...
Page 1390: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits...
Page 1391: ...1352 ASCII Code Table Appendix A...