![background image](http://html1.mh-extra.com/html/omron/sysmac-cs1d-cpu/sysmac-cs1d-cpu_reference-manual_742268369.webp)
330
Comparison Instructions
Section 3-7
3-7-12 DOUBLE AREA RANGE COMPARE: ZCPL(116)
Purpose
Compares a 32-bit unsigned binary value (CD+1, CD) with the range defined
by lower limit (LL+1, LL) and upper limit (UL+1, UL). The results are output to
the Arithmetic Flags.
This instruction is supported by CS1-H, CJ1-H, CJ1M, and CS1D CPU Units
only.
Ladder Symbol
Variations
Applicable Program Areas
Operand Specifications
D00000
LL
CD
UL
= ON(1)
D00000
> ON(1)
D00000
< ON(1)
≤
>
≤
>
0005Hex
001FHex
001FHex
0005Hex
002000
000000
>
002001
=
002002
<
ZCP
D00000
#0005
#001F
CD
LL
UL
Arithmetic
Flags
ZCPL(116)
CD
LL
UL
CD
: First word of Comparison Data
LL
: First word of Lower Limit
UL
: First word of Upper Limit
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 6142
Work Area
W000 to W510
Holding Bit Area
H000 to H510
Auxiliary Bit Area
A000 to A958
Timer Area
T0000 to T4094
Counter Area
C0000 to C4094
DM Area
D00000 to D32766
EM Area without bank
E00000 to E32766
EM Area with bank
En_00000 to En_32766
(n = 0 to C)
Summary of Contents for SYSMAC CS1D-CPU**
Page 3: ...iv...
Page 29: ...xxx...
Page 185: ...146 List of Instructions by Function Code Section 2 4...
Page 1389: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2...
Page 1390: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits...
Page 1391: ...1352 ASCII Code Table Appendix A...