EasyManua.ls Logo

Omron CJ - PROGRAMMING MANUAL 12-2009 - Page 164

Omron CJ - PROGRAMMING MANUAL 12-2009
448 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
124
Double-precision Floating-point Instructions
Section 3-14
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
LOGD(859)
S
R
S: 1st source
word
R: 1st result word
PWRD(860)
B
E
R
B: 1st base word
E: 1st exponent
word
R: 1st result word
S1
S2
S1
S1
S2
S1: Comparison data 1
S2: Com
p
arison data 2
Symbol, option
Using LD:
Symbol, option
S2
Using AND:
Symbol, option
Using OR:

Table of Contents

Related product manuals