Omron SYSMAC C200H Installation Manual page 156

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

Advertisement

Programming Instructions
Name
Mnemonic
REVERSIBLE SHIFT
REGISTER
(@)SFTR(84)
TABLE COMPARE
(@)TCMP(85)
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
142
Downloaded from
Elcodis.com
electronic components distributor
Symbol
SFTR(84)
C
St
E
TCMP(85)
CD
TB
R
SR
HR
TR
HR 0000 to 9915
TR 0 to 7
Function
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.
15
14
13
12
11
C
15
00
E
CY
15
00
IN
E
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 + 1
Tb + 13
Tb + 14
Tb + 15
AR
LR
AR 0000 to 2715
LR 0000 to 6315
TC 000 to 511
Appendix E
Operand Data Areas
St/E/C:
IR
HR
AR
TC
LR
DM
00
Not used
15
00
St
IN
15
00
St
CY
CD:
IR
SR
HR
AR
LR
TC
DM
#
R
Tb
0
1
0
1
0
1
1: agreement
0: disagreement
TC
DM
Read/Wr: DM 0000 to DM 0999
Rd only: DM 1000 to DM 1999
TB/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