Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 377

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 left by (n2) word(s).
Ex.
When (n1)=9 and (n2)=4
(n2)
(d)+8
(d)+7
(d)+6
(d)+5
1FFH
10H
0H
7FFH
(d)+8
(d)+7
(d)+6
(d)+5
3AH
1FH
30H
0H
(1) Filled with 0Hs.
• The (n2) word(s) from the least 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)
(d)+4
(d)+3
(d)+2
(d)+1
3AH
1FH
30H
0H
(d)+4
(d)+3
(d)+2
(d)+1
FFH
0H
0H
0H
(1)
(d)
FFH
(d)
0H
6 BASIC INSTRUCTIONS
375
6.5 Shift Instructions
6

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents