EasyManua.ls Logo

Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 - Comparison Instructions; Input Comparison Instructions (300 to 328)

Omron SYSMAC CJ - REFERENCE MANUAL 08-2008
1405 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
Loading...
291
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-24 Single-precision Floating-point Comparison Instructions for
details on single-precision floating-point input comparison instructions and
3-
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 =, <>, <, <=, >, >=
(S, L) (LD, AND, OR)
300 to 328 291
Time Comparison Instructions =DT, <>DT, <DT, <=DT, >DT,
>=DT (LD, AND, OR)
341 to 346 297
COMPARE CMP 020 303
DOUBLE COMPARE CMPL 060 306
SIGNED BINARY COMPARE CPS 114 309
DOUBLE SIGNED BINARY
COMPARE
CPSL 115 312
MULTIPLE COMPARE MCMP 019 315
TABLE COMPARE TCMP 085 317
BLOCK COMPARE BCMP 068 320
EXPANDED BLOCK COMPARE BCMP2 502 322
AREA RANGE COMPARE ZCP 088 326
DOUBLE AREA RANGE COM-
PAR E
ZCPL 116 329
S
1
S
2
S1: Comparison data 1
S
2: Comparison data 2
Symbol & options
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

Table of Contents

Related product manuals