Справочник Пользователя для Mitsubishi Electronics QCPU

Скачать
Страница из 1204
6-112
$MOV(P)
6.4.4  
Character string transfers ($MOV(P))
$MOV(P)
Function
(1) Transfers the character string data designated by 
 to the devices from the device 
designated by 
 and onward.
The character string data enclosed in " (double quotes) or devices from the number 
specified by 
 to the device number storing "00
H
" are transferred all at once.
(2) Processing will be performed without error even in cases where the range for the devices 
storing the character data to be transferred (
 to 
+n) overlaps with the range of the 
devices which will store the character string data after it has been transferred (
 to 
+n).
The following occurs when the character string data that had been stored from D10 to D13 is 
transferred to D11 to D14:
: Character string to be transferred (maximum string length: 32 characters) or head number of the devices 
where the character string to be transferred is stored 
(character string)
:
 
Head number of the devices where the transferred character string will be stored (character string)
Setting 
Data
Internal Devices 
R, ZR
J
\
U
\G
Zn
Constants
$
Other
Bit
Word
Bit
Word
––
––
––
––
––
––
––
Basic
Process
High
performance
Redundant Universal
Command
Command
$MOV
$MOVP
S
D
S
D
$MOV
$MOVP
S
D
S
D
S
D
S
Indicates the end of character string.
2nd character
4th character
6th character
1st character
3rd character
5th character
nth character
+ 1
+ 2
00
H
b15
b8 b7
b0
 + 1
 + 2
00
H
b15
b8 b7
b0
S
D
S
S
D
D
2nd character
4th character
6th character
1st character
3rd character
5th character
nth character
S
S
D
D
32
H
(2)
b15
b8
31
H
(1)
b7
b0
D11
31
H
(1)
33
H
(3)
32
H
(2)
00
H
34
H
(4)
D12
D13
D14
D10
35
H
(5)
36
H
(6)
Character string before 
transfer is remained. 
32
H
(2)
b15
b8
31
H
(1)
b7
b0
D11
33
H
(3)
35
H
(5)
34
H
(4)
00
H
36
H
(6)
D12
D13
D14
D10