Fanuc Series 15i/150i-MA (Programming) Operators Manual

12.PROGRAM CONFIGURATION PROGRAMMING B-63324EN/03
- 264 -
12.1 PROGRAM SECTION CONFIGURATION
This section describes elements of a program section.
See II-12.4 for program components other than program sections.
Fig.12.1 (a) Program configuration
- Program number
To distinguish between multiple programs stored in memory, address O
followed by an 8-digit number (1 to 99999999) is prefixed to each
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. 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 MDI panel
when the program is stored in memory (See Operation II-8.1)
- Sequence number and block
A program consists of several commands. One command unit is called
a block. One block is separated from another with an EOB of end of
block code.
Table12.1 (a) EOB code
Name ISO code EIA code
Notation in this
manual
End of block (EOB) LF CR ;
At the head of a block, a sequence number consisting of address N
followed by a number not longer than eight digits (1 to 99999999) can
NOTE
Program numbers 9000 to 9899 may be used by
machine tool builders, and the user may not be able
to use these numbers.
%
(COMMENT)
% TITLE ;
O0001 ;
N1 ... ;
M30 ;
Program section
Program number
Sequence number
Program end

Leave a Reply

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