10996-8000
June 1999
OPERATION
EDITING P ROGRAMS
The EDIT mode is used to make changes to a program already in memory. If a program does not exist yet, the
LIST PROG mode is used to create it. A newly created program contains only the program Onnnnn name and
an EOB.
To enter the EDIT mode, press the EDIT mode key. The screen will display the current program. If no program
file exists, program O0000 will be displayed. To change a program name, move the cursor to the existing
Onnnnn, type in the letter O followed by a four digit number, such as O1234, and press the ALTER key. The
upper right hand screen will display the new program number. Your data will first appear in the lower left screen
and will be input to the upper screen upon pressing INSERT, ALTER, or WRITE.
To enter a program from the keypad, type in the data you wish and press the INSERT key. More than one
code, such as X, Y, and Z, can be entered before you press INSERT. After a program is entered, you may wish
to change the data. Highlight the characters you wish to change, enter the new characters, and press ALTER.
To add characters move the cursor to where text is to be added, enter the new characters, and press INSERT.
To remove characters highlight the characters and press DELETE. Use the UNDO button to reverse any
changes. The UNDO button will work for the last nine entries.
The CURSOR up and down keys can be used to search for the entered value. Simply enter the value being
searched for on the bottom line and press the CURSOR up or down keys. The CURSOR up key will search for
the entered item backwards to the start of the program. The CURSOR down key will search forward to the end
of the program. Searching also works in MEM mode. If you enter a letter without a number, the search will stop
on the first use of that letter with any value.
You can change to a different program while in the EDIT mode by using the CURSOR up and down keys,
enter Onnnnn on the input line and then press the CURSOR up and down keys or the F4 key. Onnnnn is the
program you wish to change to.
The jog handle can be used to move the cursor during editing. Parameter 57 is used to enable this function. If
enabled, the handle will act like the CURSOR left and right buttons.
Background editing is also possible with this machine and is now a standard feature. If background editing is
available on your control, all of the above editing functions can be used while a program is running in MEM.
Background edit is described in detail later on in this chapter.
Editing error messages:
Guarded Code You tried to remove the Onnnnn from start of a program.
Bad Code A line contained invalid data or comment over 80 characters.
Editing Error Some previous edit was not completed; fix the problem or press UNDO.
Bad Name Program name Onnnnn is invalid or missing.
Invalid Number The number with an alphabet code was invalid.
Block Too Long A block may only be 256 characters.
No Code An insert was done without any data to insert.
Canîš’t Undo May only use undo for previous nine changes.
End Of Prg End of prog EOB cannot be deleted.