![Omron CJ1G-CPUxx Instructions Manual Download Page 267](http://html1.mh-extra.com/html/omron/cj1g-cpuxx/cj1g-cpuxx_instructions-manual_742491267.webp)
246
Comparison Instructions
Section 3-7
3-7
Comparison Instructions
This section describes instructions used to compare data of various lengths
and in various ways.
3-7-1
Input Comparison Instructions (300 to 328)
Purpose
Input comparison instructions compare two values (constants and/or the con-
tents of specified words) and create an ON execution condition when the
comparison condition is true. Input comparison instructions are available to
compare signed or unsigned data of one-word or double length data.
Note Refer to 3-15-21 Single-precision Floating-point Comparison Instructions for
details on single-precision floating-point input comparison instructions and
16-21 Double-precision Floating-point Input Instructions for details on double-
precision floating-point input comparison instructions.
Ladder Symbol
Variations
Applicable Program Areas
Operand Specifications
for Instructions for One-
word Data
Instruction
Mnemonic
Function code
Page
Input Comparison Instructions
LD, AND, OR
=, <>, <, <=, >, >=, L, S
300 to 328
COMPARE
CMP
020
DOUBLE COMPARE
CMPL
060
SIGNED BINARY COMPARE
CPS
114
DOUBLE SIGNED BINARY
COMPARE
CPSL
115
MULTIPLE COMPARE
MCMP
019
TABLE COMPARE
TCMP
085
BLOCK COMPARE
BCMP
068
EXPANDED BLOCK COMPARE BCMP2
502
S
1
: Comparison data 1
S
2
: Comparison data 2
Symbol & options
S
1
S
2
Variations
Creates ON Each Cycle Comparison is True
Input compari-
son instruction
Immediate Refreshing Specification
Not supported
Block program areas
Step program areas
Subroutines
Interrupt tasks
OK
OK
OK
OK
Area
S
1
S
2
CIO Area
CIO 0000 to CIO 6143
Work Area
W000 to W511
Holding Bit Area
H000 to H511
Auxiliary Bit Area
A000 to A959
Timer Area
T0000 to T4095
Counter Area
C0000 to C4095
DM Area
D00000 to D32767
EM Area without bank
E00000 to E32767
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 ...