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

OPERATION
B–62754EN/01
4. AUTOMATIC OPERATION
519
PROGRAM
N020 X100.0 (DNC–PROG) ;
N030 X90.0 ;
N040 X80.0 ;
N050 X70.0 ;
N060 X60.0 ;
N070 X50.0 ;
N080 X40.0 ;
N090 X30.0 ;
N100 X20.0 ;
N110 X10.0 ;
N120 X0.0 ;
N130 Z100.0 ;
N140 Z90.0 ;
N150 Z80.0 ;
N160 Z70.0 ;
N170 Z60.0 ;
N180 Z50.0 ;
N190 Z40.0 ;
N200 Z30.0 ;
N210 Z20.0 ;
N220 Z10.0 ;
N230 Z0.0 ;
N240 M02 ;
%
RMT STRT MTN *** *** 22:23:24
PRGR CHEC (OPR
M KT)
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, programs 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 ;
When control is returned from a subprogram or macro program to the
calling program during DNC operation, it becomes impossible to use a
return command (M99P****) for which a sequence number is specified.
D Program screen
(9.5/14 CRT)
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
D M99

Leave a Reply

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