Comparison Instructions - Omron SYSMAC CJ - REFERENCE MANUAL 01-2008 Reference Manual

Sysmac cs/cj/one nsj series programmable controllers
Table of Contents

Advertisement

Instruction Functions
2-2-5

Comparison Instructions

Instruction
Symbol/Operand
Mnemonic
Code
Symbol Compari-
Symbol & options
son (Unsigned)
LD, AND, OR + =,
<>, <, <=, >, >=
300 (=)
305 (<>)
310 (<)
S
: Comparison
1
315 (<=)
data 1
320 (>)
S
: Comparison
2
325(>=)
data 2
Symbol Compari-
S
: Comparison
1
son (Double-
data 1
word, unsigned)
S
: Comparison
2
LD, AND, OR + =,
data 2
<>, <, <=, >, >= +
L
301 (=)
306 (<>)
311 (<)
316 (<=)
321 (>)
326 (>=)
Symbol Compari-
S
: Comparison
1
son (Signed)
data 1
LD, AND, OR + =,
S
: Comparison
2
<>, <, <=, >, >=
data 2
+S
302 (=)
307 (<>)
312 (<)
317 (<=)
322 (>)
327 (>=)
*1
: Not supported by CS1D CPU Units for Duplex-CPU Systems.
Symbol comparison instructions (unsigned) compare two values
(constants and/or the contents of specified words) in 16-bit binary
data and create an ON execution condition when the comparison
S
1
condition is true. There are three types of symbol comparison
instructions, LD (LOAD), AND, and OR.
S
2
LD
<
AND
OR
<
Symbol comparison instructions (double-word, unsigned) compare two
values (constants and/or the contents of specified double-word data) in
unsigned 32-bit binary data and create an ON execution condition when
the comparison condition is true. There are three types of symbol com-
parison instructions, LD (LOAD), AND, and OR.
Symbol comparison instructions (signed) compare two values (con-
stants and/or the contents of specified words) in signed 16-bit binary (4-
digit hexadecimal) and create an ON execution condition when the com-
parison condition is true. There are three types of symbol comparison
instructions, LD (LOAD), AND, and OR.
Function
ON execution condition when
comparison result is true.
ON execution condition
when comparison result
is true.
<
ON execution condition when
comparison result is true.
Section 2-2
Location
Page
Execution
condition
LD: Not
292
required
AND, OR:
Required
LD: Not
292
required
AND, OR:
Required
LD: Not
292
required
AND, OR:
Required
39

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents