omron — Related Keywords

COPY monitor command COPY monitor command Syntax COPY new_program = old_program Function Create a new program as a copy of an existing program. Usage Considerations The COPY command can be used to copy a program that is executing. COPY does not copy disk files, only programs resident in system memory. The FCOPY command copies disk files. Parameters new_program Name to be given to the program created. old_program Name of the program to be copied. Details Creates a new program as an exact copy of an existing program. The new copy of the program is placed in the GLOBAL program module. This is useful for creating a new program that is similar to, or based on, an existing program.

After the COPY operation, either the new or the old program can be edited as desired. NOTE: If there is already a program in the system memory with the specified new name, the COPY operation is not performed and an error message is displayed. In this case, you must first delete or rename the conflicting program before copying, or use a different name for the copy. Example Makes a copy of program "test" and assigns the name "test.cpy" to the new copy. COPY test.cpy = test Related Keywords FCOPY monitor command RENAME monitor command eV+Operating System Reference Guide, 2.x,18321-000 Rev A Page 52