EasyManua.ls Logo

Omron SYSMAC CV Series - Page 226

Omron SYSMAC CV Series
636 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...
214
Code FunctionNameMnemonic
305 <> NOT EQUAL
TRUE WHEN S
1
S
2
306 <>L DOUBLE NOT EQUAL
307 <>S SIGNED NOT EQUAL
308 <>SL DOUBLE SIGNED NOT
EQUAL
310 < LESS THAN
TRUE WHEN S
1
< S
2
311 <L DOUBLE LESS THAN
312 <S SIGNED LESS THAN
313 <SL DOUBLE SIGNED LESS
THAN
315 <= LESS THAN OR EQUAL
TRUE WHEN S
1
S
2
316 <=L DOUBLE LESS THAN OR
EQUAL
317 <=S SIGNED LESS THAN OR
EQUAL
318 <=SL DOUBLE SIGNED LESS
THAN OR EQUAL
320 > GREATER THAN
TRUE WHEN S
1
> S
2
321 >L DOUBLE GREATER THAN
322 >S SIGNED GREATER THAN
323 >SL DOUBLE SIGNED GREATER
THAN
325 >= GREATER THAN OR EQUAL
TRUE WHEN S
1
S
2
326 >=L DOUBLE GREATER THAN
OR EQUAL
327 >=S SIGNED GREATER THAN
OR EQUAL
328 >=SL DOUBLE SIGNED GREATER
THAN OR EQUAL
Input comparison instructions cannot be used as right-hand instructions, i.e.,
another instruction must be used between them and the right bus bar.
Note Refer to page 115 for general precautions on operand data areas.
Example < (310)
When CIO 000000 is ON in the following example, the contents of D00100 and
D00200 are compared in as binary data. If the contents of D00100 is less than
that of D00200, CIO 005000 is turned ON and execution proceeds to the next
line. If the content of D00100 is not less than that of D00200, the remainder of the
instruction line is skipped and execution moves to the next instruction line.
When CIO 000000 is OFF, CIO 005000 is turned OFF.
<S(312)
When CIO 000001 is ON in the following example, the contents of D00110 and
D00210 are compared as binary data. If the content of D00110 is less than that of
D00210, CIO 005001 is turned ON and execution proceeds to the next line. If the
content of D00110 is not less than that of D00210, the remainder of the instruc-
tion line is skipped and execution moves to the next instruction line.
Precautions
Comparison Instructions Section 5-16

Table of Contents

Related product manuals