11 - 124 11 - 124
MELSEC-Q
11 INSTRUCTIONS AND FUNCTIONS
LFILES
Instruction
LFILES
• Prints the filenames stored on a memory card, FD or HD to the printer.
LFILES [“ [<drive number> :] [ <system name>\] “] [, S]
drive number
• • • •
Specify the memory card, FD, or HD used to display
files.
Syntax
system name
• • • •
Specify the system name used to display the
filename.
LFILES”0 : ”, S
• • • •
Prints the filename, size, and creation data of the file
with no system name in the memory card attached to
AD51H-S3 MEMORY CARD 1 to the printer.
Examples
LFILES”2 : TEST\”
• • • •
Prints the filenames in system name TEST in drive
A of the console to the printer.
• The LFILES instruction prints the filenames of files in the specified <system name> in the
specified <drive number> in a memory card, FD, or HD to a printer specified by the ZLDV
instruction.
• <drive number> is used to specify the memory card, FD, or HD from which the filename is
displayed as follows.
During online programming
To specify the memory card inserted in AD51H-S3 MEMORY CARD 1
• • • •
0
To specify the memory card inserted in AD51H-S3 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 [, S] option is used to display the filename, file size, and creation data.
If the [, S] option is not specified, only the filename will be printed.
• If <system name> is omitted, the files with no system name will be displayed.