Omron SYSMAC C2000H Operation Manual page 332

Hide thumbs Also See for SYSMAC C2000H:
Table of Contents

Advertisement

Special Instructions
Name Mnemonic
TABLE COMPARE
(@)TCMP(85)
ASCII CONVERT
(@)ASC(86)
I/O WRITE
(@)WRIT(87)
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
SR
00000 to 23615 23700 to 25515
Symbol
Compares a 4-digit hexadecimal value
(CD) with values in table consisting of 16
words (TB:
comparison table). If the value of CD falls
within any of the comparison ranges,
corresponding bits in result word (R) are
set
(1
disagreement). The table must be entirely
within the one data area.
TCMP(85)
CD
TB
R
Converts hexadecimal digits from the
source word (S) into 8-bit ASCII values,
starting at leftmost or rightmost half of the
starting
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
ASC(86)
leftmost (1) half of the first destination
S
word. The leftmost digit specifies parity:
Di
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
WRIT(87)
to be transferred. The EQ Flag is set when
the transfer is completed.
N
S
D
N
HR
TR
AR
HR 0000 to 9915
TR 0 to 7
AR 0000 to 2715
Function
is the first word of the
for
agreement,
and
R
Tb
CD
0
Tb+1
1
0
1
Tb+13
Tb+14
0
Tb+15
1
1: agreement
0: disagreement
destination
word
(D).
0: none,
1: even, or
2: odd.
S
0 to F
8-bit
D
data
15
08 07
00
PC
I/O Unit
S
D
S+1
S+N–1
LR
TC
LR 0000 to 6315
TC 000 to 511
Appendix B
Operand Data
Areas
CD:
TB/R:
IR
IR
SR
HR
HR
AR
AR
LR
LR
TC
0
for
TC
DM
DM
#
S:
Di:
D:
IR
IR
IR
SR
HR
HR
The
HR
LR
LR
AR
TC
DM
LR
DM
TC
#
DM
N:
S:
D:
IR
IR
I
SR
SR
HR
HR
AR
AR
LR
LR
TC
TC
DM
DM
#
DM
C1000H: DM 0000 to DM 4095
C2000H: DM 0000 to DM 6655
Page
146
157
218
#
0000 to 9999
or 0000 to FFFF
327

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac c1000h

Table of Contents