Omron CJ2 CPU UNIT SOFTWARE User Manual page 528

Cj2 cpu unit software
Hide thumbs Also See for CJ2 CPU UNIT SOFTWARE:
Table of Contents

Advertisement

Appendices
Instruction
Mnemonic
DOUBLE ARC
ATAND
856
TANGENT
@ATAND
DOUBLE
SQRTD
857
SQUARE
@SQRTD
ROOT
DOUBLE
EXPD
858
EXPONENT
@EXPD
DOUBLE LOG-
LOGD
859
ARITHM
@LOGD
DOUBLE
PWRD
860
EXPONEN-
@PWRD
TIAL POWER
DOUBLE SYM-
LD, AND. or
LD,
BOL COMPARI-
OR
AND.
SON
or OR
+
+
=D, <>D, <D,
335
<=D, >D, or
(=D),
>=D
336
(<>D),
337
(<D),
338
(<=D),
339
(>D),
340
(>=D)
A-44
Code
Symbol/Operand
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
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
Using LD:
Symbol, option
S1
S2
Using AND:
Symbol, option
S1
S2
Using OR:
Symbol, option
S1
S2
S1: Comparison data 1
S2: Comparison data 2
Function
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 function; it
returns the angle that produces a given tangent value.)
Calculates the square root of the specified double-preci-
sion floating-point data (64 bits) and outputs the result
to the result words.
Calculates the natural (base e) exponential of the speci-
fied double-precision floating-point data (64 bits) and
outputs the result to the result words.
Calculates the natural (base e) logarithm of the speci-
fied double-precision floating-point data (64 bits) and
outputs the result to the result words.
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.
Compares the specified double-precision data (64 bits)
and creates an ON execution condition if the compari-
son result is true.
Three kinds of symbols can be used with the floating-
point symbol comparison instructions: LD (Load), AND,
and OR.
Execution
Location
condition
Output
Required
Output
Required
Output
Required
Output
Required
Output
Required
LD:
LD:
Logical
Not
start.
required
AND or
AND or
OR: Con-
OR:
tinues on
Required
rung
CJ2 CPU Unit Software User's Manual

Advertisement

Table of Contents
loading

Table of Contents