348
SFTWR, SFTWRP, SFTWL, SFTWLP
Program Example
(1) The following program shifts the 8 words (n1) data stored in the devices starting from D10 specified by to the right by
2 words (n2), when M0 is turned on.
[Ladder Mode] [List Mode]
[Operation]
(2) The following program shifts the 12 words (n1) data in the devices starting from D21 specified by to the left by 5 words
(n2), when M0 is turned on.
[Ladder Mode] [List Mode]
[Operation]
D
Step
Instruction
Device
1FF 0 2A 7FF 10 4E
1FF 0 2A 7FF 10 4E
5F FF
D10D11D12D13D14D15D16D17
00
D10D11D12D13D14D15D16D17
HH
HH HH H HHH
HHHHHH
Filled with 0H
D
Step
Instruction
Device
FF E 5 0 2A
FF 3A 1 0 0 10 7FF
D21D22D23D24D25D26D27D28D29D2AD2BD2C
00 000
D21D22D23D24D25D26D27D28D29D2AD2BD2C
Filled with 0H
HHHHHHHH
FF 3A 1 0 0 10 7FF
HHHHHHHHHHHH
HHHH