Mitsubishi MELSEC-Q/L Programming Manual page 350

Table of Contents

Advertisement

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
2 words (n2), when M0 is turned on.
[Ladder Mode]
[Operation]
D17
1FF
H
D17
Filled with 0
0
H
H
(2) The following program shifts the 12 words (n1) data in the devices starting from D21 specified by
(n2), when M0 is turned on.
[Ladder Mode]
[Operation]
348
[List Mode]
Step
D16
D15
D14
D13
0
2A
7FF
10
H
H
H
D16
D15
D14
D13
0
1FF
0
2A
H
H
H
[List Mode]
Step
D2C
D2B
D2A
D29
D28
FF
E
5
0
2A
H
H
H
H
H
D2C
D2B
D2A
D29
D28
FF
3A
1
0
0
H
H
H
H
H
Instruction
Device
D12
D11
D10
4E
5F
FF
H
H
H
H
D12
D11
D10
7FF
10
4E
H
H
H
H
Device
Instruction
D27
D26
D25
D24
D23
FF
3A
1
0
0
H
H
H
H
H
D27
D26
D25
D24
D23
10
7FF
0
0
0
H
H
H
H
H
to the right by
D
to the left by 5 words
D
D22
D21
10
7FF
H
H
D22
D21
0
0
Filled with 0
H
H
H

Advertisement

Table of Contents
loading

Table of Contents