EasyManua.ls Logo

Mitsubishi Electric MELSEC-Q/L - Page 405

Mitsubishi Electric MELSEC-Q/L
1084 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
7 APPLICATION INSTRUCTIONS
7.3 Shift Instructions
403
7
Program example
The following program shifts the 8 words (n1) data stored in the devices starting from D10 specified by (D) to the right by 2
words (n2), when M0 is turned on.
The following program shifts the 12 words (n1) data in the devices starting from D21 specified by (D) to the left by 5 words
(n2), when M0 is turned on.
[Ladder Mode] [List Mode]
[Operation]
[Ladder Mode] [List Mode]
[Operation]
Step
Instruction
Device
1FF 0 2A 7FF 10 4E
1FF 0 2A 7FF 10 4E
5F FF
D10D11D12D13D14D15D16D17
00
D10D11D12D13D14D15D16D17
HH
HH HHH HHH
HHHHHH
Filled with 0H
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

Table of Contents

Related product manuals