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

PROGRAMMING
B–62764EN/01
13. PROGRAM CONFIGURATION
157
This section describes program components other than program sections.
See II–13.2 for a program section.
% TITLE ;
O0001 ;
M30 ;
%
(COMMENT)
Tape start
Program section
Leader section
Program start
Comment section
Tape end
Fig. 13.1(a) Program configuration
The tape start indicates the start of a file that contains NC programs.
The mark is not required when programs are entered using SYSTEM P
or ordinary personal computers. The mark is not displayed on the CRT
display screen.
However, if the file is output,the mark is automatically output at the start
of the file.
Table 13.1(a) Code of a tape start
Name ISO
code
EIA
code
Notation in this manual
Tape start % ER %
Data entered before the programs in a file constitutes a leader section.
When machining is started, the label skip state is usually set by turning
on the power or resetting the system. In the label skip state, all
information is ignored until the first end–of–block code is read. When a
file is read into the CNC unit from an I/O device, leader sections are
skipped by the label skip function.
A leader section generally contains information such as a file header.
When a leader section is skipped, even a TV parity check is not made. So
a leader section can contain any codes except the EOB code.
The program start code is to be entered immediately after a leader section,
that is, immediately before a program section.
This code indicates the start of a program, and is always required to
disable the label skip function.
With SYSTEM P or ordinary personal computers, this code can be entered
by pressing the return key.
Table 13.1(b) Code of a program start
Name ISO
code
EIA
code
Notation in this manual
Program start LF CR ;
13.1
PROGRAM
COMPONENTS
OTHER THAN
PROGRAM
SECTIONS
Explanations
D Tape start
D Leader section
D Program start

Leave a Reply

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