![background image](http://html1.mh-extra.com/html/omron/sysmac-cs-series/sysmac-cs-series_reference-manual_742030331.webp)
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-
PARE
ZCPL
116
329
S
1
S
2
S
1
: 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
Содержание 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 ...