Omron SYSMAC CV Series Operation Manual page 112

Ladder diagrams
Hide thumbs Also See for SYSMAC CV Series:
Table of Contents

Advertisement

Using Version-2 CVM1 CPUs
Features
100
Most of these instructions are shown with a symbol and options. When the op-
tions are not included, the instructions will handle unsigned one-word data.
Symbol
=
(Equal)
< >
(Not equal)
<
(Less than)
<=
(Less than or equal)
>
(Greater than)
>=
(Greater than or equal)
Unsigned input comparison instructions (i.e., instructions without the S option)
can handle unsigned binary or BCD data. Signed input comparison instructions
(i.e., instructions with the S option) can handle signed binary data. For informa-
tion concerning signed binary data, refer to 4-13 Data Formats .
The following table shows the function codes, mnemonics, and names of all of
the input comparison instructions. For details, refer to 5-16-7 Input Comparison
Instructions (300 to 328) .
Code Mnemonic
300
=
EQUAL
301
=L
DOUBLE EQUAL
302
=S
SIGNED EQUAL
303
=SL
DOUBLE SIGNED EQUAL
305
<>
NOT EQUAL
306
<>L
DOUBLE NOT EQUAL
307
<>S
SIGNED NOT EQUAL
308
<>SL
DOUBLE SIGNED NOT EQUAL
310
<
LESS THAN
311
<L
DOUBLE LESS THAN
312
<S
SIGNED LESS THAN
313
<SL
DOUBLE SIGNED LESS THAN
315
<=
LESS THAN OR EQUAL
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
321
>L
DOUBLE GREATER THAN
322
>S
SIGNED GREATER THAN
323
>SL
DOUBLE SIGNED GREATER THAN
325
>=
GREATER THAN OR EQUAL
326
>=L
DOUBLE GREATER THAN OR EQUAL
327
>=S
SIGNED GREATER THAN OR EQUAL
328
>=SL
DOUBLE SIGNED GREATER THAN OR EQUAL
With the earlier comparison instructions, CMP(020) and CMPL(021), the com-
parison result was output to the Greater Than Flag (A50005), Equals Flag
(A50006), and Less Than Flag (A50007), and those flags then had to serve as
the input condition for subsequent processing in accordance with the compari-
son result.
Option (data format)
Option (data length)
S (signed)
L (double)
Name
Section 4-12

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cv2000Cvm1Cv500Cv1000

Table of Contents