Block Compare: Bcmp - Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 Reference Manual

Programmable controllers
Hide thumbs Also See for SYSMAC CJ - REFERENCE MANUAL 08-2008:
Table of Contents

Advertisement

Comparison Instructions
3-7-9

BLOCK COMPARE: BCMP(068)

Purpose
Ladder Symbol
Variations
Applicable Program Areas
Operands
Operand Specifications
320
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.
BCMP(068)
S
B
R
Variations
Executed Each Cycle for ON Condition
Executed Once for Upward Differentiation
Executed Once for Downward Differentiation Not supported
Immediate Refreshing Specification
Block program areas
OK
OK
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
15
14
R
Comparison result for S
and range B+28
Comparison result for S
and range B+30
Area
CIO Area
Work Area
Holding Bit Area
Auxiliary Bit Area
Timer Area
Counter Area
DM Area
EM Area without bank
S: Source data
B: First word of block
R: Result word
Step program areas
Subroutines
OK
th
pair of words.
1
0
Comparison result for S
and range B
Comparison result for S
and range B+2
B+29
B+31
S
CIO 0000 to
CIO 0000 to
CIO 6143
CIO 6112
W000 to W511
W0000 to W480
H000 to H511
H000 to H480
A000 to A959
A000 to A928
T0000 to T4095
T0000 to T4064
C0000 to C4095
C0000 to C4064
D00000 to
D00000 to
D32767
D32736
E00000 to
E00000 to
E32767
E32736
Section 3-7
BCMP(068)
@BCMP(068)
Not supported
Interrupt tasks
OK
B+1
B+3
B
R
CIO 0000 to
CIO 6143
W000 to W511
H000 to H511
A448 to A959
T0000 to T4095
C0000 to C4095
D00000 to
D32767
E00000 to
E32767

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cs seriesSysmac one nsj seriesSysmac cj series

Table of Contents