Omron SYSMAC CJ - REFERENCE MANUAL 01-2008 Reference Manual page 108

Sysmac cs/cj/one nsj series programmable controllers
Table of Contents

Advertisement

Instruction Functions
Instruction
Symbol/Operand
Mnemonic
Code
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
EXPONENT
EXP(467)
EXP
@EXP
467
S: 1st source
word
R: 1st result word
LOGARITHM
LOG(468)
LOG
@LOG
468
S: 1st source
word
R: 1st result word
EXPONENTIAL
PWR(840)
POWER
PWR
@PWR
840
B: 1st base word
E: 1st exponent
word
R: 1st result word
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
S
produces a given tangent value.)
R
1
S+1
TAN
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
Calculates the natural (base e) exponential of a 32-bit floating-point
number and places the result in the specified result words.
S
R
S+1
e
R+1
Calculates the natural (base e) logarithm of a 32-bit floating-point
number and places the result in the specified result words.
S
R
log
S+1
e
R+1
Raises a 32-bit floating-point number to the power of another 32-bit
floating-point number.
B
E+1
E
R
B+1
S
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)
R
Result (32-bit
floating-point
data)
Source (32-bit
S
floating-point
data)
Result (32-bit
R
floating-point
data)
Power
E
R+1
R
Base
Section 2-2
Location
Page
Execution
condition
Output
628
Required
Output
630
Required
Output
632
Required
Output
634
Required
Output
636
Required
69

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents