3 - 15 3 - 15
MELSEC-Q
3 LET'S CREATE AND EXECUTE A PROGRAM
3.3.3 Loading programs
Programs stored in the file area of a memory card, FD, or HD can be read into the
communication module's memory using the LOAD instruction.
The LOAD instruction is entered in the following format.
LOAD "[Drive Name] : [System Name¥][File Name]"
(1) [Drive Name], [System Name¥], and [File Name] are specified in the same
manner as for the SAVE instruction.
See (1) through (3) of Section 3.3.1.
(2) If a non-existent [System Name¥] or [File Name] is specified, an error (File not
found) will occur.
Usage examples
LOAD "1 : Nagata¥SUMPLE" • • • • • • • • • Read a program with the file name
'SUMPLE.BAS' and the system name
'Nagata' from the file area of the
memory card mounted in MEMORY
CARD 2 .
LOAD "2 : LINE. P01"
• • • • • • • • • Read a program with the file name
'LINE1.P01' without a system name
from the A drive of the console.
Use the FILES instruction to view programs stored in a FD or memory card.
See Section 3.4.1 for details.
Содержание 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...