EasyManua.ls Logo

Omron SYSMAC CJ - REFERENCE MANUAL 08-2008

Omron SYSMAC CJ - REFERENCE MANUAL 08-2008
1405 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
320
Comparison Instructions Section 3-7
3-7-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.
R: Result word
Each bit of R contains the result of a comparison between S and one of the 16
ranges defined the 32-word block. Bit n of R (n = 00 to 15) contains the result
of the comparison between S and the n
th
pair of words.
Operand Specifications
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
15 014
R
1
Comparison result for S
and range B B+1
Comparison result for S
and range B+2 B+3
Comparison result for S
and range B+28 B+29
Comparison result for S
and range B+30 B+31
Area S B R
CIO Area CIO 0000 to
CIO 6143
CIO 0000 to
CIO 6112
CIO 0000 to
CIO 6143
Work Area W000 to W511 W0000 to W480 W000 to W511
Holding Bit Area H000 to H511 H000 to H480 H000 to H511
Auxiliary Bit Area A000 to A959 A000 to A928 A448 to A959
Timer Area T0000 to T4095 T0000 to T4064 T0000 to T4095
Counter Area C0000 to C4095 C0000 to C4064 C0000 to C4095
DM Area D00000 to
D32767
D00000 to
D32736
D00000 to
D32767
EM Area without bank E00000 to
E32767
E00000 to
E32736
E00000 to
E32767

Table of Contents

Related product manuals