![background image](http://html1.mh-extra.com/html/omron/sysmac-cs-series/sysmac-cs-series_reference-manual_742030363.webp)
323
Comparison Instructions
Section 3-7
Variations
Applicable Program Areas
Operands
B: First word of block
Specifies the beginning of a comparison block containing up to 513 words
including up to 256 lower/upper limit pairs). All words must be in the same
data area.
R: First result word
Each bit of each R word contains the result of a comparison between S and
one of the ranges defined the comparison block. The maximum number of
result words is 16, i.e., m equals 0 to 15.
Variations
Executed Each Cycle for ON Condition
BCMP2(502)
Executed Once for Upward Differentiation
@BCMP2(502)
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
B+31
B+32
B+33
B+34
B+35
B+36
B+37
B+38
B+2N+1
B+2(N+1)
B
B+1
B+2
B+3
B+4
B+5
B+6
0
7
8
15
Range 15 value A
Range 15 value B
Range 16 value A
Range 16 value B
Range 17 value A
Range 17 value B
Range 18 value A
Range 18 value B
Range N value A
Range N value B
Range 0 value A
Range 0 value B
Range 1 value A
Range 1 value B
Range 2 value A
Range 2 value B
Comparison block
Word
N: 00 to FF hex
(0 to 255)
00 hex
Last range "N"
Range 0
Range 1
Range 2
Range 15
Range 16
Range 17
Range 18
Range
data
Range N
15
0
14
Comparison result for
S and range 15m + 14
Comparison result for
S and range 15m + n
Comparison result for
S and range 15m
Comparison result for
S and range 15m + 15
R+m
n
Содержание SYSMAC CS Series
Страница 2: ......
Страница 4: ...iv ...
Страница 30: ...xxx ...
Страница 186: ...146 List of Instructions by Function Code Section 2 4 ...
Страница 194: ...154 3 35 4 MOVE BIT MOVBC 568 1273 3 35 5 BIT COUNTER BCNTC 621 1275 3 35 6 GET VARIABLE ID GETID 286 1277 ...
Страница 1320: ...1280 Model Conversion Instructions Unit Ver 3 0 or Later Section 3 35 ...
Страница 1390: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...
Страница 1391: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits ...
Страница 1392: ...1352 ASCII Code Table Appendix A ...
Страница 1404: ...1364 Revision History ...