FANUC Series 16/18/160/180-Model C Machining Center Operators Manual

PROGRAMMING
13. PROGRAM CONFIGURATION
B–62764EN/01
160
This section describes elements of a program section. See II–13.1 for
program components other than program sections.
%
(COMMENT)
% TITLE;
O0001 ;
N1 ;
M30 ;
Program section
Comment section
Program number
Sequence number
Program end
Fig. 13.2(a) Program configuration
A program number consisting of address O followed by a four–digit
number is assigned to each program at the beginning registered in
memory to identify the program.
In ISO code, the colon ( : ) can be used instead of O.
When no program number is specified at the start of a program, the
sequence number (N....) at the start of the program is regarded as its
program number. If a five–digit sequence number is used, the lower four
digits are registered as a program number. If the lower four digits are all
0, the program number registered immediately before added to 1 is
registered as a program number. Note, however, that N0 cannot be used
for a program number.
If there is no program number or sequence number at the start of a
program, a program number must be specified using the CRT/MDI panel
when the program is stored in memory (See III–8.4 or III–10.1)
NOTE
Program numbers 8000 to 9999 may be used by machine
tool builders, and the user may not be able to use these
numbers.
13.2
PROGRAM SECTION
CONFIGURATION
D Program number

Leave a Reply

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