Mitsubishi QD51 Programming Manual page 540

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

Advertisement

11 INSTRUCTIONS AND FUNCTIONS
RUN (2)
Instruction
• Executes after loading a program into memory from a memory card, FD, or HD.
RUN "[<drive number>:][<system name>\]<file name>"
Syntax
drive number
system name
file name
RUN"0:TEST\NO1.BAS"
Examples
• The RUN (2) instruction loads a program into memory from a memory card, FD, or HD,
Description
and executes it.
• Specify the memory card, FD, or HD from which the program is read in <drive number>,
using the following numbers:
To specify the memory card inserted in AD51H-S3 MEMORY CARD 1
To specify the memory card inserted in AD51H-S3 MEMORY CARD 2
To specify the A drive of the console
To specify the C drive of the console
To specify the D drive of the console
• Specify the name given to the program when it was stored in the memory card or FD using
the SAVE instruction for <system name> and <file name>.
• The RUN instruction closes all open files and erases all data in memory before loading a
program.
11 - 370
RUN
• • • •
• • • •
• • • •
• • • •
REMARK
See Section 3.3.
Specify the memory card, FD, or HD where the
program is saved.
Specify the system name under which the program is
saved.
Specify the file name of the saved program.
Reads the file NO1.BAS stored under system name
TEST in the memory card inserted in the AD51H-S3
MEMORY CARD 1 drive and executes it.
MELSEC-Q
• • • •
0
• • • •
1
• • • •
2
• • • •
3
• • • •
4
11 - 370

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ad51h-s3Qd51-r24A1sd51s

Table of Contents