Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 522

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

Advertisement

Processing details
• These instructions exchange the (n) points of 16-bit binary data starting from the device specified by (d1) with the (n) points
of 16-bit binary data starting from the device specified by (d2).
b15
∙∙∙
(d1)
0 0 0
0
1
1 1 1 0
(d1)+1
1 1 1
1
1
1 1 1 0
(d1)+2
0 0 0
0
0
0 0 0 1
(d1)+(n)-2 1 0 1
0
1
0 1 0 1
(d1)+(n)-1 0 1 0
1
0
1 0 1 0
b15
∙∙∙
(d1)
0 0 1
1
0
0 1 1 0
(d1)+1
1 1 0
0
0
0 1 1 1
(d1)+2
1 1 1
1
1
1 1 1 0
(d1)+(n)-2 1 1 1
1
1
1 1 1 1
(d1)+(n)-1 0 0 0
0
0
0 0 0 1
Operation error
Error code
Description
(SD0)
2821H
The device ranges specified by (d1) and (d2) are overlapping.
6 BASIC INSTRUCTIONS
520
6.7 Data Transfer Instructions
b8b7
∙∙∙
b0
(d2)
0
0
0 1 1 1 1
(d2)+1
0
0
0 0 0 0 0
(d2)+2
1
1
1 1 1 1 1
(n)
(d2)+(n)-2 1 1 1
0
1
0 1 0 1 0
(d2)+(n)-1 0 0 0
1
0
1 0 1 0 1
b8b7
∙∙∙
b0
(d2)
0
1
1 0 0 1 1
(d2)+1
1
0
0 0 0 1 1
(d2)+2
0
0
0 0 0 0 0
(n)
1
1
1 1 1 1 1
(d2)+(n)-2 1 0 1
1
1
1 1 1 1 1
(d2)+(n)-1 0 1 0
b15
∙∙∙
b8b7
∙∙∙
0 0 1
1
0
0 1 1 0
0
1
1 0 0 1 1
1 1 0
0
0
0 1 1 1
1
0
0 0 0 1 1
1 1 1
1
1
1 1 1 0
0
0
0 0 0 0 0
1
1
1 1 1 1
1
1
1 1 1 1 1
0
0
0 0 0 1
1
1
1 1 1 1 1
b15
∙∙∙
b8b7
∙∙∙
0 0 0
0
1
1 1 1 0
0
0
0 1 1 1 1
1 1 1
1
1
1 1 1 0
0
0
0 0 0 0 0
0 0 0
0
0
0 0 0 1
1
1
1 1 1 1 1
0
1
0 1 0 1
0
1
0 1 0 1 0
1
0
1 0 1 0
1
0
1 0 1 0 1
b0
(n)
b0
(n)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents