130
St and E must be in the same data area, and E must be less than or equal to
St.
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 C8F
Lost data
0
...
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 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-13-9 WORD SHIFT – WSFT(16)
Ladder Symbols Operand Data Areas
WSFT(16)
St
E
@WSFT(16)
St
E
St: Starting word
IR, AR, DM, HR, LR
E: End word
IR, AR, DM, HR, LR
St and E must be in the same data area, and E must be greater than or equal
to St.
When the execution condition is OFF, WSFT(16) is not executed. When the
execution 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 + 1St
345210290000
E St + 1 St
Lost
0000
Flags ER: The St and E words are in different areas, or St is greater than E.
Limitations
Description
Precautions
Limitations
Description
Data Shifting Section 5-13