11 - 471 11 - 471
MELSEC-Q
11 INSTRUCTIONS AND FUNCTIONS
When reading a program from a memory card, FD or HD, and starting it
• If "<drive number>:<system name>\<file name>" is specified after <number>, then the
program is read into the task area specified by <number> from the specified memory card,
FD, or HD, and started up.
• Only the programs stored in the file area can be read from a memory card. Programs
residing in the executable program area cannot be read.
• Specify the memory card, FD, or HD that contains the program to be read in <drive
number>, using the following numbers.
To specify the memory card mounted in the AD51H-S3 MEMORY CARD 1 • • • •
0
To specify the memory card mounted in the 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
• Specify the system name under which the program is saved in <system name>. If the
specified system name does not exist, a "File not found" error occurs.
• Specify the name and extension of the file for the saved program in <file name>.
• In order to start up a program using this method, it is necessary that the task area specified
by <number> should be in one of the following conditions:
(1) When the task area is set to "ON" or "BOOT" by the SET command in system mode of
the communication module.
(2) When the task area is set to "START" by the SET command in system mode of the
communication module and the started program has been stopped by the END
instruction.
(3) When the program has been started by the ZSTART instruction or by an interrupt from
the PLC CPU and is subsequently stopped by the END instruction.
• An error occurs if a program is currently being executed in the task area specified by
<number> or if the task area is set to "OFF" by the SET command in system mode of the
communication module.
When reading and starting a program in a task area in a stop status, be aware
that a program that was stored will be deleted.