Omron C200HE ユーザーズマニュアル

ページ / 564
177
5-15-7
ONE DIGIT SHIFT LEFT – SLD(74)
Ladder Symbols
Operand Data Areas
SLD(74)
St
E
@SLD(74)
St
E
St: Starting word
IR, SR, AR, DM, HR, LR
E: End word
IR, SR, AR, DM, HR, LR
Limitations
St and E must be in the same data area, and St must be less than or equal to E.
Description
When the execution condition is OFF, SLD(74) is not executed. When the execu-
tion condition is ON, SLD(74) shifts data between St and E (inclusive) by one
digit (four bits) to the left. 0 is written into the rightmost digit of the St, and the
content of the leftmost digit of E is lost.
5
E
8
1
St
F C
9
7
D
Lost data
0
...
Precautions
If a power failure occurs during a shift operation across more than 50 words, the
shift operation might not be completed.
Flags
ER:
The St and E words are in different areas, or St is greater than E.
Indirectly addressed DM word is non-existent. (Content of 
DM word is
not BCD, or the DM area boundary has been exceeded.)
5-15-8
ONE DIGIT SHIFT RIGHT – SRD(75)
Ladder Symbols
Operand Data Areas
SRD(75)
E
St
@SRD(75)
E
St
E: End word
IR, SR, AR, DM, HR, LR
St: Starting word
IR, SR, AR, DM, HR, LR
Limitations
St and E must be in the same data area, and St must be less than or equal to E.
Description
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.
2
St
3
1
E
4 5
C
8
F
Lost data
0
...
Data Shifting
Section 5-15