![background image](http://html1.mh-extra.com/html/omron/sysmac-c1000h/sysmac-c1000h_operation-manual_743079327.webp)
322
IR
SR
HR
TR
AR
LR
TC
DM
#
00000 to 23615
23700 to 25515
HR 0000 to 9915
TR 0 to 7
AR 0000 to 2715
LR 0000 to 6315
TC 000 to 511
C1000H: DM 0000 to DM 4095
C2000H: DM 0000 to DM 6655
0000 to 9999
or 0000 to FFFF
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.
Data Areas
Name Mnemonic
Page
Operand Data
Areas
Function
Symbol
BIT COUNTER
(@)BCNT(67)
BCNT(67)
N
SB
R
Counts the number of ON bits in one or
more words (SB is the beginning source
word) and outputs the result to the
specified 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.
N:
IR
SR
HR
AR
LR
TC
DM
R:
IR
HR
AR
LR
TC
DM
SB:
IR
SR
HR
AR
LR
TC
DM
210
BLOCK COMPARE
(@)BCMP(68)
BCMP(68)
S
CB
R
Compares a 1-word binary value (S) with
the 16 ranges given in the comparison
table (CB is the starting word of the
comparison 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.
S
CB
CB+1
CB+2
CB+3
CB+4
CB+5
CB+30 CB+31
1
0
1
0
Lower limit
Upper limit
Lower limit
≤
S
≤
Upper limit
1
Re-
sult
S:
IR
SR
HR
AR
LR
TC
DM
#
CB:
IR
SR
HR
LR
TC
DM
R:
IR
HR
AR
LR
TC
DM
145
BLOCK TRANSFER
(@)XFER(70)
XFER(70)
N
S
D
Moves the content of several consecutive
source words (S gives the address of the
starting source word) to consecutive
destination words (D is the starting
destination word). All source words must
be in the same data area, as must all
destination words. Transfers can be within
one data area or between two data areas,
but the source and destination words must
not overlap.
S
S + 1
D
D + 1
S+N–1
D+N–1
No. of
Words
N:
IR
SR
HR
AR
LR
TC
DM
#
S :
IR
HR
AR
LR
TC
DM
D:
IR
SR
HR
AR
LR
TC
DM
#
138
BLOCK SET
(@)BSET(71)
BSET(71)
S
St
E
Copies the content of one word or constant
(S) to several consecutive words (from the
starting word, St, through to the ending
word, E). St and E must be in the same data
area.
S
St
E
St/E:
IR
HR
AR
LR
TC
DM
S:
IR
SR
HR
AR
LR
TC
DM
#
136
Special Instructions
Appendix B