![background image](http://html1.mh-extra.com/html/omron/sysmac-cs-series/sysmac-cs-series_reference-manual_742030334.webp)
294
Comparison Instructions
Section 3-7
comparison will be for one-word unsigned data. With the three input types and
two options, there are 72 different input comparison instructions.
Unsigned input comparison instructions (i.e., instructions without the S option)
can handle unsigned binary or BCD data. Signed input comparison instruc-
tions (i.e., instructions with the S option) handle signed binary data.
Summary of Input Comparison Instructions
The following table shows the function codes, mnemonics, names, and func-
tions of the 72 input comparison instructions. (For one-word comparisons
C1=S
1
and C2=S
2
; for double comparisons C1=S
1
+1, S
1
and C2=S
2
+1, S
2
.)
Symbol
Option (data format)
Option (data length)
=
(Equal)
< >
(Not equal)
<
(Less than)
<=
(Less than or equal)
>
(Greater than)
>=
(Greater than or equal)
None: Unsigned data
S: Signed data
None: One-word data
L: Double-length data
Code
Mnemonic
Name
Function
300
LD=
LOAD EQUAL
True if
C1 = C2
AND=
AND EQUAL
OR=
OR EQUAL
301
LD=L
LOAD DOUBLE EQUAL
AND=L
AND DOUBLE EQUAL
OR=L
OR DOUBLE EQUAL
302
LD=S
LOAD SIGNED EQUAL
AND=S
AND SIGNED EQUAL
OR=S
OR SIGNED EQUAL
303
LD=SL
LOAD DOUBLE SIGNED EQUAL
AND=SL
AND DOUBLE SIGNED EQUAL
OR=SL
OR DOUBLE SIGNED EQUAL
305
LD<>
LOAD NOT EQUAL
True if
C1
≠
C2
AND<>
AND NOT EQUAL
OR<>
OR NOT EQUAL
306
LD<>L
LOAD DOUBLE NOT EQUAL
AND<>L
AND DOUBLE NOT EQUAL
OR<>L
OR DOUBLE NOT EQUAL
307
LD<>S
LOAD SIGNED NOT EQUAL
AND<>S
AND SIGNED NOT EQUAL
OR<>S
OR SIGNED NOT EQUAL
308
LD<>SL
LOAD DOUBLE SIGNED NOT EQUAL
AND<>SL
AND DOUBLE SIGNED NOT EQUAL
OR<>SL
OR DOUBLE SIGNED NOT EQUAL
Содержание SYSMAC CS Series
Страница 2: ......
Страница 4: ...iv ...
Страница 30: ...xxx ...
Страница 186: ...146 List of Instructions by Function Code Section 2 4 ...
Страница 194: ...154 3 35 4 MOVE BIT MOVBC 568 1273 3 35 5 BIT COUNTER BCNTC 621 1275 3 35 6 GET VARIABLE ID GETID 286 1277 ...
Страница 1320: ...1280 Model Conversion Instructions Unit Ver 3 0 or Later Section 3 35 ...
Страница 1390: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...
Страница 1391: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits ...
Страница 1392: ...1352 ASCII Code Table Appendix A ...
Страница 1404: ...1364 Revision History ...