6 - 82 6 - 82
MELSEC-Q/QnA
6 BASIC INSTRUCTIONS
High Performance
QnA Q4AR
Basic
QCPU
PLC CPU
Process CPU
6.4.3 Character string transfers ($MOV, $MOVP)
Usable Devices
Internal Devices
(System, User)
MELSECNET/10(H)
Direct J
\
Set
Data
Bit Word
File
Register
Bit Word
Special
Function
Module
U
\G
Index
Register
Zn
Constant
$
Other
S
D
[Instruction Symbol] [Execution Condition]
Command
Command
$MOV
$MOVP
S D
S D
$MOV
$MOVP
[Set Data]
Set Data Meaning Data Type
S
Character string to be transferred (maximum number of characters in a
string: 16 characters for QnA/Q4AR, 32 characters for QCPU), or the
head number of the device storing character string.
D
Head number of device to store transferred character string
Character string
[Functions]
(1) Transfers character string data stored from device number designated by
S
from device
number designated by
D
onward.
A character string transfer involves the transfer of data from the device number designated by
S
to the device number storing the "00
H
" code in one operation.
Indicates end of character string
2nd character
+1
+2
4th character
6th character
1st character
3rd character
5th character
00
H
nth character
2nd character
b15 b8b7 b0
+1
+2
4th character
6th character
1st character
3rd character
5th character
00
H
nth character
b15 b8b7 b0
S D
S
S
D
D
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com