![background image](http://html1.mh-extra.com/html/omron/sysmac-c200h/sysmac-c200h_operation-manual_742423317.webp)
Appendix B
Programming Instructions
309
IR
SR
HR
TR
AR
LR
TC
DM
#
00000 to 23515
23600 to 25507
HR 0000 to 9915
TR 0 to 7
AR 0000 to 2715
LR 0000 to 6315
TC 000 to 511
Read/Wr: DM 0000 to DM 0999
Rd only: DM 1000 to DM 1999
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
Operand Data Areas
Function
Symbol
REVERSIBLE SHIFT
REGISTER
(@)SFTR(84)
SFTR(84)
C
St
E
Shifts bits in the specified word or series of
words either left or right. Starting (St) and
ending words (E) must be specified. Con-
trol word (C) contains shift direction, reset
input, and data input. (Bit 12: 0 = shift right,
1 = shift left. Bit 13 is the value shifted into
the source data, with the bit at the opposite
end being moved to CY. Bit 14: 1 = shift en-
abled, 0 = shift disabled. If bit 15 is ON
when SFTR(89) is executed with an ON
condition, the entire shift register and CY
will be set to zero.) St and E must be in the
same data area and St must be less than
or equal to E.
CY
E
St
15
00
CY
E
IN
St
IN
00
11
12
13
14
15
Not used
C
00
15
00
15
00
15
St/E/C:
IR
HR
AR
TC
LR
DM
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 compari-
son table). If the value of CD falls within
any of the comparison ranges, corre-
sponding 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
Содержание SYSMAC C200H
Страница 1: ...OPERATION MANUAL C200H CPU01 E 03 E 11 E SYSMAC Programmable Controllers Cat No W130 E1 05 ...
Страница 2: ...C200H Programmable Controllers CPU01 E 03 E 11 E Operation Manual Revised June 2003 ...
Страница 3: ...iv ...
Страница 5: ...vi ...
Страница 8: ...TABLE OF CONTENTS ix Glossary 345 Index 363 Revision History 369 ...
Страница 342: ...336 Programmer Program Date Page Word Contents Notes Word Contents Notes Data Storage ...
Страница 374: ...Cat No W130 E1 05 C200H Programmable Controllers CPU01 E 03 E 11 E OPERATION MANUAL ...