23 Macro
23-32
MOVE_FILE F0 F1 F2
Function: File movement
This macro command is used to move the file or folder [F0] to the path [F1].
File renaming is also possible.
Available memory
: Setting enabled (indirect designation disabled)
: Setting enabled (indirect designation enabled)
Range
Example
• Movement from “C:\DAT0000\RECIPE\REC0000.csv” to “C:\DAT0000\RECIPE\SEISAN\abc.csv”:
$u00100 = 'C:\DAT0000\RECIPE\REC0000.csv'
$u00200 = 'C:\DAT0000\RECIPE\SEISAN\abc.csv'
MOVE_FILE $u00100 $u00200
Supplementary information
• If an illegal full pathname is specified, this macro command does not work. An error will result.
• For the V8 series, the result of macro execution is stored in $s1062.
When the execution of the macro is normally complete, the value at the address is not updated.
Therefore, before macro execution, resetting the value at the address to zero is recommended.
• In the case of a read-only file movement between drives, the file is copied to the target location,
and the file at the original location is not deleted.
• A folder to be moved is allowed to contain a maximum of 5 hierarchical levels under the folder. If
files or folders at further lower levels exist under the folder, the folder and the files/folders placed
under it are copied to the target location, but those at the original location are not deleted.
Internal Memory
PLC1 - PLC8 Memory
Memory Card
Constant
F0
F1
F2
Value
Remarks
F0
Source full pathname (within 255
alphanumerics)
Drive designation
A: USB-FDD drive
B: (not used)
C: Built-in CF card drive
D: Memory connected to USB port
F1
Target full pathname (within 255
alphanumerics)
F2
0 fixed
Code (DEC)
Description
−
1
Execution error
96
MB
CompactFlash Card
RECIPE
DAT0000
REC0000.csv
REC0001.csv
REC0002.csv
96
MB
CompactFlash Card
RECIPE
DAT0000
SEISAN
abc.csv
REC0001.csv
REC0002.csv
(Drive C:) (Drive C:)
Move
* The file
“REC0000.csv” is
deleted.
Содержание MONITOUCH V8 SERIES
Страница 1: ...Reference Additional Functions V8series...
Страница 57: ...2 Global Overlap 2 12 Please use this page freely...
Страница 101: ...7 2 Panel Meter Extended 7 18 Please use this page freely...
Страница 123: ...9 2 Acknowledge Function 9 18 Please use this page freely...
Страница 127: ...10 RGB Display touch switch emulation 10 4 Please use this page freely...
Страница 187: ...14 3 Addition of Titles to a CSV File Sampling Data 14 20 Please use this page freely...
Страница 199: ...15 Item Show Hide Function 15 12 Please use this page freely...
Страница 211: ...16 FTP Server 16 12 With Explorer or Internet Explorer To log out close Explorer Click the close button to log out...
Страница 213: ...16 FTP Server 16 14 ls command This command is used to display the names of files and folders...
Страница 221: ...16 FTP Server 16 22 Please use this page freely...
Страница 233: ...17 2 Two Ethernet Ports 17 12 Please use this page freely...
Страница 241: ...18 Network Camera 18 8 5 The Live view window is displayed...
Страница 261: ...18 Network Camera 18 28 Please use this page freely...
Страница 327: ...20 MES Interface Function 20 38 6 The table is created...
Страница 369: ...22 Security Function 22 12 Please use this page freely...
Страница 429: ...24 Tag 24 24 Please use this page freely...
Страница 491: ...26 6 USB FDD Floppy Disk Drive 26 14 Please use this page freely...
Страница 503: ...27 Ladder Transfer via USB or Ethernet 27 12 Please use this page freely...