EasyManua.ls Logo

Omron CJ1M-CPU series Programming Manual

Omron CJ1M-CPU series
383 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #136 background imageLoading...
Page #136 background image
115
Double-precision Floating-point Instructions (CS1-H, CJ1-H, or CJ1M Only) Section 3-14
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-precision
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 float-
ing-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 exe-
cution condition if the comparison result is true.
Three kinds of symbols can be used with the floating-point symbol comparison
instructions: LD (Load), AND, and OR.
LD:
Not required
AND or OR:
Required
Instruction
Mnemonic
Code
Symbol/Operand Function Location
Execution
condition
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:

Table of Contents

Other manuals for Omron CJ1M-CPU series

Question and Answer IconNeed help?

Do you have a question about the Omron CJ1M-CPU series and is the answer not in the manual?

Omron CJ1M-CPU series Specifications

General IconGeneral
SeriesCJ1M
Program MemoryFlash Memory
Power Supply Voltage24V DC
Operating Temperature0 to 55°C
TypeProgrammable Controller
CPU TypeCPU11, CPU12, CPU13, CPU21, CPU22, CPU23
Data MemorySRAM
Data Memory Capacity32K words (CJ1M-CPU11/12/13), 64K words (CJ1M-CPU21/22/23)
Instruction Execution Time (Basic Instructions)0.1 μs (LD instruction)
Instruction SetBasic instructions, advanced instructions
Programming LanguageLadder Diagram, Structured Text, Function Block Diagram
Communication PortsRS-232C
Expansion SlotsUp to 3
MountingDIN rail mounting
Storage Temperature-25 to 70°C
Dimensions90 x 90 x 70 mm
WeightApprox. 200g (0.44 lb)
Number of InstructionsOver 400 instructions

Related product manuals