326
Comparison Instructions Section 3-7
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-11 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 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
0100
0180
0260
1800
0500
0100
0200
2000
S: CIO 0010 0175
0017
D00201
D00203
D00205
D00231
D00233
D00235
D00237
D00247
0000
0080
0160
1200
1500
1900
1800
0100
R: CIO 0100
R: CIO 0101
Bit
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