235
Comparison Instructions Section 3-6
3-6-9 BLOCK COMPARE: BCMP(068)
Purpose Compares the source data to 16 ranges (defined by 16 lower limits and 16
upper limits) and turns ON the corresponding bit in the result word when the
source data is within a range.
Ladder Symbol
Variations
Applicable Program Areas
Operands B: First word of block
Specifies the beginning of a 32-word block (16 lower/upper limit pairs). B and
B+31 must be in the same data area.
S: D100
R: D300
0.00
D100
D200
D300
T: D200
D201
D202
D203
D204
D205
D206
D207
D208
D209
D210
D211
D212
D213
D214
D215
BCMP(068)
S
B
R
S: Source data
B: First word of block
R: Result word
Variations Executed Each Cycle for ON Condition BCMP(068)
Executed Once for Upward Differentiation @BCMP(068)
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