18.12 CMV (File Move)
■
Ladder diagram
■
List of operands
Operand Description
S1
Starting address of the device area that stores the path name (folder name + file name: maximum
256 characters) of the file to be moved and the number of characters of the path name (data
format: character data)
Specify the number of characters for [S1], and path name (folder name + file name) for [S1+1] and
successive operand.
S2
Starting address of the device area that stores the path name (folder name + file name: maximum
256 characters) of the move destination file and the number of characters of the path name (data
format: character data)
Specify the number of characters for [S2], and path name (folder name + file name) for [S2+2] and
successive operand.
S3 Setting of transfer format
■
Devices that can be specified (indicated by ●)
Operan
d
16-Bit device:
32-Bit
device:
Integer
Real
numbe
r
St
rin
g
Index
modifie
r
(Note 1)
W
X
W
Y
W
R
W
L
W
S
S
D
D
T
L
D
U
M
WI
W
O
TS
C
S
TE
C
E
IX K U H SF
D
F
" "
S1 ● ● ● ● ● ● ● ●
S2 ● ● ● ● ● ● ● ●
S3 ● ● ● ● ● ● ● ● ● ●
(Note 1) Only 16-bit devices can be modified. (Integer constants and character constants cannot be specified.)
■
Outline of operation
● This instruction moves the file specified by the character string data starting with [S1] as the
file specified by the character string data starting with [S2].
● When a folder is specified in [S1], all files in the [S1] folder are transferred to the folder
specified in [S2].
● Any folders within the folder specified in [S1] are not transferred.
● Read-only files remain read-only after transfer.
● A free space larger than the file size is necessary in a card for internal operation.
● When a file is specified in [S1] and a folder is specified in [S2], the file specified in [S1] will be
transferred to the folder specified in [S2].
18.12 CMV (File Move)
WUME-FP7CPUPGR-12 18-53