![Omron CJ1G-CPUxx Instructions Manual Download Page 90](http://html1.mh-extra.com/html/omron/cj1g-cpuxx/cj1g-cpuxx_instructions-manual_742491090.webp)
69
Instruction Functions
Section 2-2
DOUBLE ARC
TANGENT
ATAND
@ATAND
856
Calculates the angle (in radians) from the tangent value in the specified
double-precision floating-point data (64 bits) and outputs the result to the
result words. (The arc tangent function is the inverse of the tangent func-
tion; it returns the angle that produces a given tangent value.)
Output
Required
DOUBLE
SQUARE ROOT
SQRTD
@SQRTD
857
Calculates the square root of the specified double-precision floating-point
data (64 bits) and outputs the result to the result words.
Output
Required
DOUBLE EXPO-
NENT
EXPD
@EXPD
858
Calculates the natural (base e) exponential of the specified double-preci-
sion floating-point data (64 bits) and outputs the result to the result words.
Output
Required
DOUBLE LOGA-
RITHM
LOGD
@LOGD
859
Calculates the natural (base e) logarithm of the specified double-precision
floating-point data (64 bits) and outputs the result to the result words.
Output
Required
DOUBLE EXPO-
NENTIAL
POWER
PWRD
@PWRD
860
Raises a double-precision floating-point number (64 bits) to the power of
another double-precision floating-point number and outputs the result to
the result words.
Output
Required
DOUBLE SYM-
BOL COMPARI-
SON
LD, AND. or OR
+
=D (335),
<>D (336),
<D (337),
<=D (338),
>D (339),
or >=D (340)
Compares the specified double-precision data (64 bits) and creates an ON
execution condition if the comparison result is true.
Three kinds of symbols can be used with the floating-point symbol com-
parison instructions: LD (Load), AND, and OR.
LD:
Not
required
AND or
OR:
Required
Instruction
Mnemonic
Code
Symbol/Operand
Function
Location
Execution
condition
Page
S: 1st source
word
R: 1st result word
ATAND(856)
S
R
S: 1st source
word
R: 1st result word
SQRTD(857)
S
R
S: 1st source
word
R: 1st result word
EXPD(858)
S
R
S: 1st source
word
R: 1st result word
LOGD(859)
S
R
B: 1st base word
E: 1st exponent
word
R: 1st result word
PWRD(860)
B
E
R
S1: Comparison data 1
S2: Comparison data 2
Symbol, option
S1
S2
Using LD:
Symbol, option
S1
S2
Using AND:
Symbol, option
S1
S2
Using OR:
Summary of Contents for CJ1G-CPUxx
Page 3: ...iv N o t i c e ...
Page 5: ...vi ...
Page 21: ...xxii Conformance to EC Directives 6 ...
Page 35: ......
Page 1131: ...1110 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...