![Omron CJ1G-CPUxx Instructions Manual Download Page 295](http://html1.mh-extra.com/html/omron/cj1g-cpuxx/cj1g-cpuxx_instructions-manual_742491295.webp)
274
Comparison Instructions
Section 3-7
D00203 and D00204, D00247 and D00248, and the other words in the com-
parison block, and bit 1 in CIO 0100, bit 7 in CIO 1010, and the other bits in
the result words are manipulated according to the results of comparison.
3-7-10 AREA RANGE COMPARE: ZCP(088)
Purpose
Compares a 16-bit unsigned binary value (CD) with the range defined by
lower limit LL and upper limit UL. The results are output to the Arithmetic
Flags.
This instruction is supported by the CS1-H, CJ1-H, CJ1M, and CS1D CPU
Units only.
Ladder Symbol
Variations
Applicable Program Areas
Operand Specifications
BCMP2
0010
D00200
0100
000000
D00202
D00204
D00206
D00232
D00234
D00236
D00238
D00248
0
1
0
0
0
1
8
0
0
2
6
0
1
8
0
0
0
5
0
0
0
1
0
0
0
2
0
0
2
0
0
0
R: CIO 0100
R: CIO 0101
Bit
S: CIO 0010
0
1
7
5
0
0
1
7
D00201
D00203
D00205
D00231
D00233
D00235
D00237
D00247
0
0
0
0
0
0
8
0
0
1
6
0
1
2
0
0
1
5
0
0
1
9
0
0
1
8
0
0
0
1
0
0
ZCP(088)
CD
LL
UL
CD: Comparison Data
LL: Lower limit of range
UL: Upper limit of range
Variations
Executed Each Cycle for ON Condition
ZCP(088)
Executed Once for Upward Differentiation
Not supported
Executed Once for Downward Differentiation Not supported
Immediate Refreshing Specification
Not supported
Block program areas
Step program areas
Subroutines
Interrupt tasks
OK
OK
OK
OK
Area
CD
LL
UL
CIO Area
CIO 0000 to CIO 6143
Work Area
W000 to W511
Holding Bit Area
H000 to H511
Auxiliary Bit Area
A000 to A959
Timer Area
T0000 to T4095
Counter Area
C0000 to C4095
DM Area
D00000 to D32767
EM Area without bank
E00000 to E32767
Summary of Contents for CJ1G-CPUxx
Page 3: ...iv N o t i c e ...
Page 5: ...vi ...
Page 21: ...xxii Conformance to EC Directives 6 ...
Page 35: ......
Page 1131: ...1110 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...