Data Transfer Instructions - Mitsubishi MELSEC QCPU Programming Manual

Programmable logic controller
Table of Contents

Advertisement

2 INSTRUCTION TABLES

2.4.4 Data transfer instructions

Category
MOV
16-bit data
transfer
MOVP
DMOV
32-bit data
transfer
DMOVP
Floating
EMOV
decimal
point data
EMOVP
transfer
Character
$MOV
string data
transfer
$MOVP
16-bit data
CML
negation
transfer
CMLP
32-bit data
DCML
negation
transfer
DCMLP
BMOV
Block
transfer
BMOVP
Multiple
FMOV
transfers of
same data
FMOVP
block
XCH
16-bit data
exchange
XCHP
DXCH
32-bit data
exchange
DXCHP
BXCH
Block data
exchange
BXCHP
SWAP
Exchange
of upper
and lower
SWAPP
bytes
2 - 21
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Table 2.13 Data Transfer Instructions
Symbol
MOV
S D
(S)
MOVP
S D
DMOV
S D
(S+1, S)
DMOVP
S D
(S+1, S)
EMOV
S D
EMOVP
S D
• Transfers character string designated by
$MOV
S D
(S) to device designated by (D) onward.
$MOVP
S D
CML
S D
(S)
CMLP
S D
DCML
S D
(S+1, S)
DCMLP
S D
(S)
BMOV
S D
n
BMOVP
S D
n
FMOV
S D
n
(S)
FMOVP
S D
n
XCH
S D
(S)
XCHP
S D
DXCH
S D
(S+1, S)
DXCHP
S D
(S)
BXCH
S D
n
BXCHP
S D
n
SWAP
D
SWAPP
D
Processing Details
(D)
(D+1, D)
(D+1, D)
Real number data
(D)
(D+1, D)
(D)
n
(D)
n
(D)
(D+1, D)
(D)
n
b8 b7
b15
to
to
b0
(S)
8 bits
8 bits
b15
to
b8 b7
to
b0
(D)
8 bits
8 bits
MELSEC-Q/QnA
Execution
Condition
4
6-78
1
2
6-78
2
6-80
3
3
6-82
1
6-84
2
6-84
4
6-87
4
6-89
3
6-91
3
6-91
4
6-93
3
6-95
2 - 21

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec qnacpuMelsec q modeMelsec q series

Table of Contents