Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 373

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Processing details
• These instructions shift the (n1) word(s) of data starting from the specified device to the right by (n2) word(s).
Ex.
When (n1)=9 and (n2)=4
(d)+8
(d)+7
(d)+6
(d)+5
30FH
1EH
100H
0H
(d)+8
(d)+7
(d)+6
(d)+5
0H
0H
0H
0H
(1)
(1) Filled with 0Hs.
• The (n2) word(s) from the most significant bit is/are filled with 0H(s).
• If (n1) or (n2) is 0H, no processing is performed.
• In the case of (n1)(n2), (n1) words of data starting from the device specified by (d) become all 0Hs.
Operation error
There is no operation error.
(n1)
(n2)
(d)+4
(d)+3
(d)+2
(d)+1
1FFH
10H
1FH
7FFH
(d)+4
(d)+3
(d)+2
(d)+1
30FH
1EH
100H
0H
(d)
2AH
(d)
1FFH
6 BASIC INSTRUCTIONS
371
6.5 Shift Instructions
6

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents