
OPERATION
B–63864EN/03
4. AUTOMATIC OPERATION
437
PROGRAM O0001 N00020
N020 X100.0 Z100.0 (DNC–PROG) ;
N030 X200.0 Z200.0 ;
N040 X300.0 Z300.0 ;
N050 X400.0 Z400.0 ;
N060 X500.0 Z500.0 ;
N070 X600.0 Z600.0 ;
N080 X700.0 Z400.0 ;
N090 X800.0 Z400.0 ;
N100 x900.0 z400.0 ;
N110 x1000.0 z1000.0 ;
N120 x800.0 z800.0 ;
RMT STRT MTN *** *** 21:20:05
[ PRGRM ] [ CHECK ] [ ] [ ] [ (OPRT) ]
D Program screen
Seven soft key type
During DNC operation, the program currently being executed is
displayed on the program check screen and program screen.
The number of displayed program blocks depends on the program being
executed.
Any comment enclosed between a control–out mark “(” and control–in
mark “)” within a block is also displayed.
D During DNC operation, subprograms stored in memory can be called.
D During DNC operation, macro programs stored in memory can be
called.
In program display, no more than 256 characters can be displayed.
Accordingly, character display may be truncated in the middle of a block.
In DNC operation, M198 cannot be executed. If M198 is executed, P/S
alarm No. 210 is issued.
In DNC operation, custom macros can be specified, but no repeat
instruction and branch instruction can be programmed. If a repeat
instruction or branch instruction is executed, P/S alarm No. 123 is issued.
When reserved words (such as IF, WHILE, COS, and NE) used with
custom macros in DNC operation are displayed during program display,
a blank is inserted between adjacent characters.
Example
[During DNC operation]
#102=SIN[#100] ; → #102 = S I N[#100] ;
IF[#100NE0]GOTO5 ; → I F[#100NE0] G O T O 5 ;
Explanations
Limitations
D Limit on number of
characters
D M198 (command for
calling a program from
within an external
input/output unit)
D Custom macro