Organizing Memory Cards And Fds; Displaying File Names - Mitsubishi QD51 Programming Manual

Logic controller
Hide thumbs Also See for QD51:
Table of Contents

Advertisement

3 LET'S CREATE AND EXECUTE A PROGRAM

3.4 Organizing Memory Cards and FDs

3.4.1 Displaying file names

3 - 16
Besides BASIC programs, data can also be saved onto memory cards, FDs, and HD.
(See Chapter 6 for how to store data.) Programs and data stored on a memory card or
FD are collectively referred to as "files." This section describes how to organize files,
such as listing files and renaming files.
It is possible to display a list of files saved in the file area of a memory card or FD and
HD. To display the list, use the FILES instruction in the format shown below.
FILE "[Drive Name] : [System Name¥][File Name]"[,S]
(1) See Section 3.3.1 (1) through (3) for how to specify [Drive Name], [System
Name¥], and [File Name].
(2) [System Name] and [File Name] can be omitted.
Wildcards (fuzzy specification) can also be used for the [File Name]. See
Appendix 1 for how to use wildcards.
(3) Specifying [, S] will also display the size and data along with the file name.
Usage examples
Let's assume that the files are stored in the following manner in the file area of the
memory card in MEMORY CARD 2
1)
MEMORY CARD
A6MEM-512KA-W
MITSUBISHI
..................
1)
FILES"1:"
\ A B C
: \ H I J
H DAT :123 BAS:
OK
¥denotes a system name. This means that on this memory card, system names
ABC, HIJ, and CCC are registered.
2)
ABC
HIJ
CCC
TEST.BAS
H.DAT
123.BAS
This displays names of files without
a system name in the file area of
the memory card.
: \ C C C
: T E S T B A S :
MELSEC-Q
III.BAS
EFG.BAS
HST.BAS
JJR.DAT
4)
C.BAS
3 - 16

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ad51h-s3Qd51-r24A1sd51s

Table of Contents