
OPERATION4. AUTOMATIC OPERATION
B–63084EN/02
428
D In MEMORY mode, if memory operation is performed.
D In
EDIT mode, if any editing is performed.
D Background editing is performed.
D When
O
and
DELETE
keys were pressed.
D Upon reset when bit 7 (MCL) of parameter No. 3203 is set to 1
After the editing operation during the stop of MDI operation was done,
operation starts from the current cursor position.
A program can be edited during MDI operation. The editing of a program,
however, is disabled until the CNC is reset, when bit 5 (MIE) of parameter
No. 3203 is set accordingly.
Programs created in MDI mode cannot be registered.
A program can have as many lines as can fit on one page of the screen.
A program consisting of up to six lines can be created. When parameter
MDL (No. 3107 #7) is set to 0 to specify a mode that suppresses the
display of continuous–state information, a program of up to 10 lines can
be created.
If the created program exceeds the specified number of lines, % (ER) is
deleted (prevents insertion and modification).
Calls to subprograms (M98) can be specified in a program created in the
MDI mode. This means that a program registered in memory can be
called and executed during MDI operation. In addition to the main
program executed by automatic operation, up to two levels of subprogram
nesting are allowed (when the custom macro option is provided, up to four
levels are allowed).
Main program
Subprogram
One–level nesting Two–level nesting
O0000;
M98P 1000;
M30;
O1000; O2000;
M98P M98P2000; 3000;
M99; M99;
Subprogram
Fig. 4.2 Nesting level of subprograms called from the MDI program
When the custom macro option is provided, macro programs can also be
created, called, and executed in the
MDI mode. However, macro call
commands cannot be executed when the mode is changed to
MDI mode
after memory operation is stopped during execution of a subprogram.
When a program is created in the
MDI mode, an empty area in program
memory is used. If program memory is full, no programs can be created
in the
MDI mode.
D Restart
D Editing a program during
MDI operation
Limitation
D Program registration
D Number of lines in a
program
D Subprogram nesting
D Macro call
D Memory area