11 - 68 11 - 68
MELSEC-Q
11 INSTRUCTIONS AND FUNCTIONS
FILES
Instruction
FILES
• Displays the file name of a file in a memory card, FD, HD, etc.
FILES [“ <drive number> :] [ <system name>\] [ < file name> ] “] [, S]
drive number
• • • •
Specify a memory card or FD to display the file
name.
system name
• • • •
Specify the system name to display the file name.
Syntax
file name
• • • •
Specify the file name to be displayed.
FILES “0:”, S
• • • •
The FILES instruction displays the file name, size, as
well as the created date and time of a file without the
system name in the memory card inserted in
AD51H-S3 MEMORY CARD 1 .
Examples
FILES “2:TEST\”
• • • •
Displays the file name of a file in system name TEST
of console’s A drive.
• The FILES instruction displays the file name of the file in the system name specified by
<system name> in a memory card, FD, HD, etc. specified by <drive number>.
• The FILES instruction displays only the file name if <file name> is specified.
In <drive number>, specify the memory card, FD, or HD to display the file name using the
following numbers:
In edit mode and execution mode
To specify the memory card mounted in AD51H MEMORY CARD 1
• • • •
0
To specify the memory card mounted in AD51H MEMORY CARD 2
• • • •
1
To specify the A drive of the console
• • • • • • • • • • • • • • • • • • • • • • • • • • •
2
To specify the C drive of the console
• • • • • • • • • • • • • • • • • • • • • • • • • • •
3
To specify the D drive of the console
• • • • • • • • • • • • • • • • • • • • • • • • • • •
4
During offline programming
To specify the A drive of the console
• • • • • • • • • • • • • • • • • • • • • • • • • • •
1
To specify the C drive of the console
• • • • • • • • • • • • • • • • • • • • • • • • • • •
3
To specify the D drive of the console
• • • • • • • • • • • • • • • • • • • • • • • • • • •
4
Description
• The file name, file size, as well as the creation date and time are displayed if the [, S]
option is specified. If the [, S] option is not specified, only the file name is displayed.
• If <system name> is omitted, the name of file without a system name will be displayed.
• Wildcards (ambiguous specification) may be used for <file name>.
For the use of wildcard, see Appendix 1.2.
REMARK
See the LFILES instruction and Section 3.4.1.
Содержание 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...