
OPERATION
B–64114EN/01
4. AUTOMATIC OPERATION
423
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 four levels of
subprogram nesting are allowed (when the custom macro option is
provided, up to four levels are allowed).
O0001 ;
M98P1000 ;
M30 ;
Main program
O3000 ;
M99 ;
O1000 ;
M98P2000 ;
M99 ;
O2000 ;
M98P3000 ;
M99 ;
Subprogram
(One–level nesting) (Two–level nesting) (Three–level nesting)
Subprogram Subprogram
O4000 ;
M99 ;
(Four–level nesting)
Subprogram
M98P4000 ;
Fig. 4.2 Nesting level of subprograms called from the MDI program
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