3 - 18 3 - 18
MELSEC-Q
3 LET'S CREATE AND EXECUTE A PROGRAM
3.4.2 Renaming files
It is sometimes necessary to change the name of a file stored in the file area of a
memory card, or on a FD or HD. The NAME instruction is used to perform this task.
The NAME format is as shown below.
NAME "[Drive Number] : [System Name¥][File name to be Changed]"AS
"[Drive Number] : [System Name¥][New File Name]"
(1) See Section 3.3.1 (1) and (2) for the contents and specification method of [Drive
Name] and [System Name¥].
(2) [File name to be Changed] and [New File Name] are specified exactly in the same
manner as [File Name] described in Section 3.3.1 (3).
Usage examples
Rename file 'NO1.BAS' under system name 'TEST' in the memory card mounted in
MEMORY CARD 2 to 'N02.BAS.'
TEST
No1.BAS
No2.BAS
NAME Instruction
TEST
LOAD"1 : TEST¥NO2"
NAME"1 : TEST¥NO1.BAS"
MITSUBISHI
MEMORY CARD
A6MEM-512KA-W
SAVE"1 : TEST¥NO1"
AS"1 : TEST¥NO2.BAS"
Содержание A1SD51S
Страница 183: ...11 13 11 13 MELSEC Q 11 INSTRUCTIONS AND FUNCTIONS RUN Before swap A 0 H924 A 1 H1159 After swap A 0 H1159 A 1 H924 OK...
Страница 331: ...11 161 11 161 MELSEC Q 11 INSTRUCTIONS AND FUNCTIONS REMARK See the CON ON OFF STOP and ZOPEN functions and Section 7 4...
Страница 557: ...11 387 11 387 MELSEC Q 11 INSTRUCTIONS AND FUNCTIONS REMARK See the CHR SPACE and SPC functions...
Страница 629: ...11 459 11 459 MELSEC Q 11 INSTRUCTIONS AND FUNCTIONS REMARK See the ZOPEN ZSEND and ZCNTL instructions and Section 7 3 4...
Страница 645: ...11 475 11 475 MELSEC Q 11 INSTRUCTIONS AND FUNCTIONS REMARK See the ZEVENT ZSIGNAL and DEF ZEVENT instructions...