EasyManuals Logo
Home>Omron>Controller>SYSMAC CJ - REFERENCE MANUAL 08-2008

Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 User Manual

Omron SYSMAC CJ - REFERENCE MANUAL 08-2008
1405 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
Page #82 background imageLoading...
Page #82 background image
42
Instruction Functions Section 2-2
EXPANDED
BLOCK COM-
PARE
BCMP2
@BCMP2
502
(CS1-H, CJ1-H, or
CS1D CPU Unit
Ver. 2.0 or later
only)
CJ1M CPU Unit
(Pre-Ver. 2.0 or
Unit Ver. 2.0 or
later)
Compares the source data to up to 256 ranges (defined by upper and
lower limits) and turns ON the corresponding bit in the result word when
the source data is within a range.
Output
Required
322
AREA RANGE
COMPARE
ZCP
@ZCP
088
(CS1-H, CJ1-H,
CJ1M, or CS1D
only)
Compares the 16-bit unsigned binary value in CD (word contents or
constant) to the range defined by LL and UL and outputs the results to
the Arithmetic Flags in the Auxiliary Area.
Output
Required
326
DOUBLE AREA
RANGE COM-
PARE
ZCPL
@ZCPL
116
(CS1-H, CJ1-H,
CJ1M, or CS1D
only)
Compares the 32-bit unsigned binary value in CD and CD+1 (word con-
tents or constant) to the range defined by LL and UL and outputs the
results to the Arithmetic Flags in the Auxiliary Area.
Output
Required
329
Instruction
Mnemonic
Code
Symbol/Operand Function Location
Execution
condition
Page
BCMP2(502)
S
T
R
S: Source data
T: 1st word of
block
R: Result word
T+1
T+3
T+2N+1
S
T
T+2
T+4
T+2N+2
0
1
D
N
D+15 max.
Bit
1: In range
0: Not in range
Source data
Range 0 A
Range 1 A
Range N A
n=255 max.
Range 0 B
Range 1 B
Range N B
Note: A can be less than
or equal to B or
g
reater the B.
ZCP(088)
CD
LL
UL
CD: Compare
data (1 word)
LL: Lower limit of
range
UL: Upper limit of
ran
g
e
ZCPL(116)
CD
LL
UL
CD: Compare
data (2 words)
LL: Lower limit of
range
UL: Upper limit of
range

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 and is the answer not in the manual?

Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 Specifications

General IconGeneral
BrandOmron
ModelSYSMAC CJ - REFERENCE MANUAL 08-2008
CategoryController
LanguageEnglish

Related product manuals