![background image](http://html1.mh-extra.com/html/omron/sysmac-c1000h/sysmac-c1000h_operation-manual_743079332.webp)
327
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
TABLE COMPARE
(@)TCMP(85)
TCMP(85)
CD
TB
R
Compares a 4-digit hexadecimal value
(CD) with values in table consisting of 16
words (TB: is the first word of the
comparison table). If the value of CD falls
within any of the comparison ranges,
corresponding bits in result word (R) are
set (1 for agreement, and 0 for
disagreement). The table must be entirely
within the one data area.
CD
Tb
Tb+1
Tb+13
Tb+14
Tb+15
1: agreement
0: disagreement
0
1
1
0
1
R
0
CD:
IR
SR
HR
AR
LR
TC
DM
#
TB/R:
IR
HR
AR
LR
TC
DM
146
ASCII CONVERT
(@)ASC(86)
ASC(86)
S
Di
D
Converts hexadecimal digits from the
source word (S) into 8-bit ASCII values,
starting at leftmost or rightmost half of the
starting destination word (D). The
rightmost digit of Di designates the first
source digit. The next digit to the left gives
the number of digits to be converted. The
next digit specifies the whether the data is
to be transferred to the rightmost (0) or
leftmost (1) half of the first destination
word. The leftmost digit specifies parity:
0: none,
1: even, or
2: odd.
S
D
8-bit
data
0 to F
15
08 07
00
S:
IR
SR
HR
AR
LR
TC
DM
Di:
IR
HR
LR
TC
DM
#
D:
IR
HR
LR
DM
157
I/O WRITE
(@)WRIT(87)
WRIT(87)
N
S
D
Transfers word data through I/O word (D)
allocated to an Special I/O Unit and
sequentially writes data to the memory
area of the Special I/O Unit. N is the
number of words to be transferred, and S
is the address of the first PC source word
to be transferred. The EQ Flag is set when
the transfer is completed.
S
S+1
S+N–1
N
D
PC
I/O Unit
N:
IR
SR
HR
AR
LR
TC
DM
#
S:
IR
SR
HR
AR
LR
TC
DM
D:
I
218
Special Instructions
Appendix B