![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
Содержание SYSMAC CS1D-CPU**
Страница 3: ...iv...
Страница 29: ...xxx...
Страница 185: ...146 List of Instructions by Function Code Section 2 4...
Страница 193: ...154 3 35 4 MOVE BIT MOVBC 568 1274 3 35 5 BIT COUNTER BCNTC 621 1276 3 35 6 GET VARIABLE ID GETID 286 1278...
Страница 1389: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2...
Страница 1390: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits...
Страница 1391: ...1352 ASCII Code Table Appendix A...