16-Bit And 32-Bit Data Exchanges: Xch, Dxch - Mitsubishi Electric MELSEC Q Series Programming Manual

Motion controller
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

5 SEQUENCE INSTRUCTIONS FOR MOTION CPU

5.4.12 16-bit and 32-bit data exchanges: XCH, DXCH

Setting
data
X
Y
M
(S)
(D)
[Setting data]
[Function]
Bit device
SM
F
T
C
D
[Instruction]
Command
XCH
Command
DXCH
Setting data
(D1)
(D2)
(1) 16-bit data exchange (XCH)
• Conducts 16-bit data exchange between (D1) and (D2).
Before execution
0
0
After execution
(2) 32-bit data exchange (DXCH)
• Conducts 32-bit data exchange between (D1)+1, (D1) and (D2)+1, (D2).
Before execution
0
0
After execution
Usable device
Word device
W
T
C
SD
Z
XCH
DXCH
Head number of the devices where the data to be exchanged is stored
(D1)
16 bits
1
1
1
0
0
0
1
1
0
0
1
0
0
0
1
1
1
0
0
1
1
0
(D1)+1
(D1)
16 bits
16 bits
1
1
0
0
0
1
1
0
1
0
0
1
1
1
0
0
1
0
5 - 45
Constant
Pointer
Level
K
H
P
N
(D1)
(D2)
(D1)
(D2)
Description
(BIN 16/32 bits)
16 bits
0
1
0
1
0
0
0
0
1
1
1
1
0
1
0
0
1
1
1
0
0
0
(D2)+1
16 bits
0
1
0
1
0
0
0
1
1
1
1
0
1
0
0
1
1
0
0
0
Digit
desig-
Index
nation
: Usable
(D2)
0
0
1
1
0
1
0
1
0
1
1
0
0
1
0
1
0
1
(D2)
16 bits
0
0
1
0
1
0
1
0
1
1
0
1
0
1
0
1

Advertisement

Table of Contents
loading

Table of Contents