Omron SYSMAC C200H Installation Manual page 150

Programmable
Hide thumbs Also See for SYSMAC C200H:
Table of Contents

Advertisement

Programming Instructions
Name
Mnemonic
BIT COUNTER
(@)BCNT(67)
BLOCK COMPARE
(@)BCMP(68)
Data Areas
These footnote tables show the actual ranges of all data areas. Bit numbers are provided (except for DM and TC areas); remove the rightmost two digits for word numbers.
IR
00000 to 23515 23600 to 25507
136
Downloaded from
Elcodis.com
electronic components distributor
Symbol
BCNT(67)
N
SB
R
BCMP(68)
S
CB
R
SR
HR
TR
HR 0000 to 9915
TR 0 to 7
Function
Counts the number of ON bits in one or
more words (SB is the beginning source
word) and outputs the result to the speci-
fied result word (R). N gives the number of
words to be counted. All words in which bit
are to be counted must be in the same data
area.
Compares a 1-word binary value (S) with
the 16 ranges given in the comparison
table (CB is the starting word of the com-
parison block). If the value falls within any
of the ranges, the corresponding bits in the
result word (R) will be set. The comparison
block must be within one data area.
Lower limit Upper limit
CB
CB+1
CB+2
CB+3
CB+4
CB+5
S
CB+30 CB+31
Lower limit
S
Upper limit
AR
LR
AR 0000 to 2715
LR 0000 to 6315
TC 000 to 511
Appendix E
Operand Data Areas
N:
R:
IR
IR
SR
HR
HR
AR
AR
LR
LR
TC
TC
DM
DM
S:
CB:
IR
IR
SR
SR
HR
HR
AR
LR
LR
TC
TC
DM
DM
#
1
0
Result
1
0
1
TC
DM
Read/Wr: DM 0000 to DM 0999
Rd only: DM 1000 to DM 1999
SB:
IR
SR
HR
AR
LR
TC
DM
R:
IR
HR
AR
LR
TC
DM
#
0000 to 9999
or 0000 to FFFF

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents