11 - 72 11 - 72
MELSEC-Q
11 INSTRUCTIONS AND FUNCTIONS
FORMAT
Instruction
FORMAT
• Initializes (logical format) the file area of a memory card.
FORMAT <drive number>
Syntax
drive number
• • • •
Specify the memory card to initialize (logical format)
the file area.
Examples
FORMAT 0
• • • •
Initializes (logical format) the memory card inserted
in AD51H-S3 MEMORY CARD 1 .
• The FORMAT instruction initializes (logical format) the file area of a memory card and
enables to write the BASIC program and data file.
• The BASIC program and data file cannot be written to the memory card if the file area has
not been initialized (logical format) by the FORMAT instruction.
• The memory card cannot be used only by the initialization (logical format) with the
FORMAT instruction of the BASIC. To make the memory card in the usable condition,
initialize (physical format) the entire memory card in the file maintenance mode or system
mode. After the initialization, execute the FORMAT instruction of the BASIC and initialize
(logical format) the file area.
Reference Manual
Initialization (physical format) of the
entire memory card in the file
maintenance mode
• • • •
SW IVD-AD51HP/SW NX-AD51HP
type AD51H-BASIC Software Package
Operating Manual
Initialization (physical format) of the
entire memory card in the system
mode
• • • •
AD51H-BASIC Programming Manual
(Program Edit and Compile Edition)
• <drive number> specifies which memory card’s file area to initialize (logical format).
The specification method is as follows:
Description
To initialize the file of memory card mounted in MEMORY CARD 1 of
the AD51H-S3
• • • •
0
To initialize the file of memory card mounted in MEMORY CARD 2 of
the AD51H-S3
• • • •
1