FANUC Series 16/18/160/180-Model C for Lathe Operator Manual

9. EDITING PROGRAMS
B–62754EN/01
OPERATION
584
This section outlines the procedure for inserting, modifying, and deleting
a word in a program registered in memory.
Procedure for inserting, altering and deleting a word
1 Select EDIT mode.
2 Press
PROG
.
3 Select a program to be edited.
If a program to be edited is selected, perform the operation 4.
If a program to be edited is not selected, search for the program
number.
4 Search for a word to be modified.
Scan method
Word search method
5 Perform an operation such as altering, inserting, or deleting a word.
A word is an address followed by a number. With a custom macro, the
concept of word is ambiguous.
So the editing unit is considered here.
The editing unit is a unit subject to alteration or deletion in one operation.
In one scan operation, the cursor indicates the start of an editing unit.
An insertion is made after an editing unit.
Definition of editing unit
(i) Program portion from an address to immediately before the next
address
(ii) An address is an alphabet,
IF, WHILE, GOTO, END, DO=,or ; (EOB).
According to this definition, a word is an editing unit.
The word “word,” when used in the description of editing, means an
editing unit according to the precise definition.
WARNING
The user cannot continue program execution after altering,
inserting, or deleting data of the program by suspending
machining in progress by means of an operation such as a
single block stop or feed hold operation during program
execution. If such a modification is made, the program may
not be executed exactly according to the contents of the
program displayed on the screen after machining is
resumed. So, when the contents of memory are to be
modified by part program editing, be sure to enter the reset
state or reset the system upon completion of editing before
executing the program.
9.1
INSERTING,
ALTERING AND
DELETING A WORD
Explanation
D Concept of word and
editing unit

Leave a Reply

Your email address will not be published. Required fields are marked *