11 - 152 11 - 152
MELSEC-Q
11 INSTRUCTIONS AND FUNCTIONS
NAME
Instruction
NAME
• Changes file names of program and data files stored in a memory card, FD, and HD.
NAME ”<drive number>:<system name\> <old file name>”
AS ”<drive number>:<system name\> <new file name>”
drive number
• • • •
Specify the memory card, FD, or HD that contains
the file whose file name is to be changed.
system name
• • • •
Specify the system name that contains the file whose
file name is to be changed.
old file name
• • • •
Specify the file name of the file whose file name is to
be changed.
Syntax
new file name
• • • •
Specify the new file name to be assigned.
Examples
NAME ”0:TEST\No1.BAS”
AS ”0:TEST\No2.BAS”
• • • •
Changes the file name of the file No1.BAS stored
under system name TEST in the memory card
mounted in the AD51H-S3 MEMORY CARD 1 to
No2.BAS.
• The NAME instruction changes file names of files stored in a memory card, FD, or HD.
• <drive number> and <system name> must be the same for <old file name> and <new file
name>.
• Specify the memory card, FD, or HD that contains the file whose name is to be changed
using one of the following numbers for <drive number>.
During online programming
To specify the memory card inserted in AD51H-S3 MEMORY CARD 1
To specify the memory card inserted in AD51H-S3 MEMORY CARD 2
• • • • •
• • • • •
0
1
To specify the A drive of the console
To specify the C drive of the console
To specify the D drive of the console
• • • • • • • • • • • • • • • • • • • • • • • • • • •
• • • • • • • • • • • • • • • • • • • • • • • • • • •
• • • • • • • • • • • • • • • • • • • • • • • • • • •
2
3
4
During offline programming
To specify the A drive of the console
To specify the C drive of the console
To specify the D drive of the console
• • • • • • • • • • • • • • • • • • • • • • • • • • •
• • • • • • • • • • • • • • • • • • • • • • • • • • •
• • • • • • • • • • • • • • • • • • • • • • • • • • •
1
3
4
Description
• Specify the name of the system where the file to be deleted is stored for <system name>. If
<system name>\ is not specified, files without a system name will be deleted.