157
Precautions If
a power failure occurs during a shift operation across more than 50 words, the
shift operation might not be completed. Set the range between E and St to a
maximum of 50 words.
Flags ER: The St and E words are in different areas, or St is less 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-9 WORD SHIFT – WSFT(16)
Ladder Symbols Operand Data Areas
WSFT(16)
St
E
@WSFT(16)
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
, WSFT(16) is not executed. When the exe
-
cution condition is ON, WSFT(16) shifts data between St and E in word units.
Zeros are written into St and the content of E is lost.
F0C234521029
ESt
+ 1
St
345210290000
E
St + 1
St
Lost
0000
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-10 ASYNCHRONOUS SHIFT REGISTER – ASFT(17)
ASFT(17)
C
St
E
Ladder Symbols
ASFT(17)
C
St
E
C: Control word
IR, SR, AR, DM, HR, LR
St: Starting word
IR, SR, AR, DM, HR, LR
E: End word
IR, SR, AR, DM, HR, LR
Operand Data Areas
Limitations St
and E must be in the same data area, and St must be less than or equal to E.
Data Shifting Section 5-15