11 - 370 11 - 370
MELSEC-Q
11 INSTRUCTIONS AND FUNCTIONS
RUN (2)
Instruction
RUN
• Executes after loading a program into memory from a memory card, FD, or HD.
RUN "[<drive number>:][<system name>\]<file name>"
Syntax
drive number
• • • •
Specify the memory card, FD, or HD where the
program is saved.
system name
• • • •
Specify the system name under which the program is
saved.
file name
• • • •
Specify the file name of the saved program.
Examples
RUN"0:TEST\NO1.BAS"
• • • •
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.
• The RUN (2) instruction loads a program into memory from a memory card, FD, or HD,
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
• • • •
0
To specify the memory card inserted in AD51H-S3 MEMORY CARD 2
• • • •
1
To specify the A drive of the console
• • • •
2
To specify the C drive of the console
• • • •
3
Description
To specify the D drive of the console
• • • •
4
• 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.
REMARK
See Section 3.3.
Содержание A1SD51S
Страница 183: ...11 13 11 13 MELSEC Q 11 INSTRUCTIONS AND FUNCTIONS RUN Before swap A 0 H924 A 1 H1159 After swap A 0 H1159 A 1 H924 OK...
Страница 331: ...11 161 11 161 MELSEC Q 11 INSTRUCTIONS AND FUNCTIONS REMARK See the CON ON OFF STOP and ZOPEN functions and Section 7 4...
Страница 557: ...11 387 11 387 MELSEC Q 11 INSTRUCTIONS AND FUNCTIONS REMARK See the CHR SPACE and SPC functions...
Страница 629: ...11 459 11 459 MELSEC Q 11 INSTRUCTIONS AND FUNCTIONS REMARK See the ZOPEN ZSEND and ZCNTL instructions and Section 7 3 4...
Страница 645: ...11 475 11 475 MELSEC Q 11 INSTRUCTIONS AND FUNCTIONS REMARK See the ZEVENT ZSIGNAL and DEF ZEVENT instructions...