One Digit Shift Right - Srd(75); Reversible Shift Register - Sftr(84) - Omron CQM1H - PROGRAM Programming Manual

Programmable controllers; inner boards
Table of Contents

Advertisement

Shift Instructions
5-17-8 ONE DIGIT SHIFT RIGHT – SRD(75)
Limitations
Description
Precautions
Flags
5-17-9 REVERSIBLE SHIFT REGISTER – SFTR(84)
Limitations
266
Ladder Symbols
SRD(75)
@SRD(75)
E
St
St and E must be in the same data area, and E must be less than or equal to
St.
DM 6144 to DM 6655 cannot be used for St or E.
When the execution condition is OFF, SRD(75) is not executed. When the
execution condition is ON, SRD(75) shifts data between St and E (inclusive)
by one digit (four bits) to the right. 0 is written into the leftmost digit of St and
the rightmost digit of E is lost.
If a power failure occurs during a shift operation across more than 50 words,
the shift operation might not be completed.
A 0 will be shifted into the most significant digit of St every cycle if the undiffer-
entiated form of SRD(75) is used. Use the differentiated form (@SRD(75)) or
combine SRD(75) with DIFU(13) or DIFD(14) to shift just one time.
ER:
The St and E words are in different areas, or St is less than E.
Indirectly addressed EM/DM word is non-existent.
(Content of *EM/*DM word is not BCD, or the EM/DM area boundary
has been exceeded.)
Ladder Symbols
SFTR(84)
@SFTR(84)
C
St
E
St and E must be in the same data area and St must be less than or equal
to E.
DM 6144 to DM 6655 cannot be used for C, St, or E.
Operand Data Areas
IR, SR, AR, DM, EM, HR, LR
E
St
IR, SR, AR, DM, EM, HR, LR
St
E
...
3
4 5
2
F
8
C
1
Lost data
0
IR, SR, AR, DM, EM, HR, LR
C
IR, SR, AR, DM, EM, HR, LR
St
E
IR, SR, AR, DM, EM, HR, LR
Section 5-17
E: End word
St: Starting word
Operand Data Areas
C: Control word
St: Starting word
E: End word

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cqm1h seriesSysmac cqm1h-cpu series

Table of Contents