11 - 140 11 - 140
MELSEC-Q
11 INSTRUCTIONS AND FUNCTIONS
MERGE
Instruction
MERGE
• Merges programs in the memory and a program stored in a memory card, FD, or HD.
MERGE ” <drive number> : <system name>\<file name> ”
drive number
• • • •
Specify the memory card, FD or HD where the file to
be merged is stored.
system name
• • • •
Specify the name of the system where the file to be
merged is stored.
Syntax
file name
• • • •
Specify the name of the file to be merged.
Examples
LOAD”0:TEST\No1.BAS”
• • • •
Merges the program in the memory and the program
No1.BAS stored in system TEST in the memory card
inserted in AD51H-S3 MEMORY CARD 1 .
• The MERGE instruction merges the program currently in memory with a program stored on
a memory card, FD, or HD. The merged program is treated as a new program and stored
in the memory.
• <drive number> is used to specify the program to be merged placed on a memory card,
FD, or HD using the following numbers.
During online programming
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
To specify the D drive of the console
• • • •
4
During offline programming
To specify the A drive of the console
• • • •
1
To specify the C drive of the console
• • • •
3
To specify the D drive of the console
• • • •
4
Description
• <system name> is used to specify the system name in which the saved program is stored.
If the specified file does not exist, a “File not found” error will be generated.
• <filename> is used to specify the program file name and extension that will be merged. To
specify a filename with no extension, specify only the filename.