3 - 10 3 - 10
MELSEC-Q
3 LET'S CREATE AND EXECUTE A PROGRAM
3.3 Saving and Loading a Program
The program in the memory of the communication module disappears entirely once the
power is turned OFF or the NEW instruction is invoked. Once a program is created, it
should be saved and managed on a memory card, floppy disk, or hard disk.
3.3.1 Memory cards used for AD51H-BASIC (AD51H-S3 only)
Memory cards used with the AD51H-S3 must be formatted using the CFORMAT
instruction in system mode. This CFORMAT instruction will separate the memory card
into two areas.
MITSUBISHI
MEMORY CARD
A6MEM-512KA-W
File Area
This area is used to store data files used by programs and
programs that are saved by the SAVE instruction in BASIC.
This area is used to store programs that are automatically
started upon startup of the AD51H-S3 and programs that
are started from the PLC CPU or a BASIC program being
executed.
Executable
program Area
Input and output to these areas can only be performed under the following conditions.
Executable program area
Programs may be registered in system mode.
S>
Can only be used in system mode.
………………
File area
Data and programs may be registered using various BASIC instructions.
Can be used whenever a BASIC
instruction can be executed.
OK
………………
The target of processing for all input/output instructions for memory cards
described in this manual is the file area.
REMARK
• See the AD51H-BASIC Programming Manual (Program Editing/Compiling) for
information on the CFORMAT instruction and system mode.
• See Chapter 6 for information on data files.