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

PROGRAMMING
B–62754EN/01
13. PROGRAM CONFIGURATION
133
This section describes elements of a program section. See Section II–13.1
for program components other than program sections.
%
(COMMENT)
% TITLE ;
O0001 ;
N1 ;
M30 ;
Program 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.
When the 8–digit program number option is used, however, specify eight
digits for the program number (see Section II.13.4).
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 Section 8.4 or 10.1 in Part
III.).
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 *