EasyManuals Logo
Home>Omron>Controller>CJ - INSTRUCTIONS

Omron CJ - INSTRUCTIONS User Manual

Omron CJ - INSTRUCTIONS
1308 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 #585 background imageLoading...
Page #585 background image
547
3. Instructions
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Double-precision Floating-point Instructions
3
=D, <>D, <D, <=D, >D, >=D
Function
îš„ Options
With the three input types and six symbols, there are 18 different possible combinations.
The input comparison instruction
compares the data specified in S1 and S2
as double-precision floating point values
(64-bit IEEE754 data) and creates an ON
execution condition when the comparison
condition is true. When the data is stored
in words, S1 and S2 specify the first of
four words containing the 64-bit data. The
64-bit floating-point data cannot be input
as constants.
The input comparison instructions are
treated just like the LD, AND, and OR
instructions to control the execution of
subsequent instructions
• LD: The instruction can be connected
directly to the left bus bar.
• AND: The instruction cannot be
connected directly to the left bus bar.
• OR: The instruction can be connected
directly to the left bus bar.
Symbol
(LD, AND, and OR cannot be
used in a ladder program)
Option (data format)
LD=, AND=, OR=, LD<>, AND<>,
OR<>, LD<, AND<, OR<, LD<=,
AND<=, OR<=LD>, AND>, OR>,
LD>=, AND>=, OR>=
+
D: Double-precision floating-point
data
Code Mnemonic Name Function
335 LD=D LOAD DOUBLE FLOATING EQUAL True if
C1 = C2
AND=D AND DOUBLE FLOATING EQUAL
OR=D OR DOUBLE FLOATING EQUAL
336 LD<>D LOAD DOUBLE FLOATING NOT EQUAL True if
C1 ≠ C2
AND<>D AND DOUBLE FLOATING NOT EQUAL
OR<>D OR DOUBLE FLOATING NOT EQUAL
337 LD<D LOAD DOUBLE FLOATING LESS THAN True if
C1 < C2
AND<D AND DOUBLE FLOATING LESS THAN
OR<D OR DOUBLE FLOATING LESS THAN
338 LD<=D LOAD DOUBLE FLOATING LESS THAN OR EQUAL True if
C1 ≤ C2
AND<=D AND DOUBLE FLOATING LESS THAN OR EQUAL
OR<=D OR DOUBLE FLOATING LESS THAN OR EQUAL
339 LD>D LOAD DOUBLE FLOATING GREATER THAN True if
C1 > C2
AND>D AND DOUBLE FLOATING GREATER THAN
OR>D OR DOUBLE FLOATING GREATER THAN
<D
<D
<D
LD connection
AND connection
OR connection
ON execution condition when
comparison result is true.
ON execution condition when
comparison result is true.
ON execution condition when
comparison result is true.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CJ - INSTRUCTIONS and is the answer not in the manual?

Omron CJ - INSTRUCTIONS Specifications

General IconGeneral
BrandOmron
ModelCJ - INSTRUCTIONS
CategoryController
LanguageEnglish

Related product manuals