3 - 19 3 - 19
MELSEC-Q
3 LET'S CREATE AND EXECUTE A PROGRAM
3.4.3 Deleting files
The number of files that can be saved on a memory card or FD is limited. If all the files
saved are needed, a new memory card or FD must be prepared. If there are files that
are no longer needed, deleting them will free some space to save new programs or
data.
Use the KILL instruction to delete files on a memory card or FD. The KILL instruction is
entered in a format shown below.
KILL "[Drive Name] : [System Name¥][File Name]"
(1) See Section 3.3.2 (1) and (2) for the contents and specification method of [Drive
Name], and [System Name¥].
(2) [File Name] is specified exactly in the same manner as [File Name] described in
Section 3.3.2 (3).
Usage examples
Delete file 'NO1.BAS' under system name 'TEST' in the memory card mounted in
MEMORY CARD 2 .
TEST
NO1.BAS
TEST
KILL" 1 : TEST@ NO1.BAS"
MITSUBISHI
MEMORY CARD
A6MEM-512KA-W
SAVE"1 : TEST@ NO1"
MITSUBISHI
MEMORY CARD
A6MEM-512KA-W
Files deleted using the KILL instruction cannot be
recovered. Proceed with caution.
REMARK
System names that are no longer needed can be deleted using the KILL instruction
as well. See the description of the KILL instruction for details.