Fanuc Power Mate i-D/H Operator Manual

PROGRAMMING
(Common to Power Mate i–D and –H)
11. PROGRAM CONFIGURATION
B–63174EN/03
82
This section describes program components other than program sections.
See Section II–11.2 for a program section.
% TITLE ;
O0001 ;
M30 ;
%
(COMMENT)
Tape start
Program section
Leader section
Program start
Comment section
Tape end
Fig.11.1 Program configuration
The tape start indicates the start of a file that contains CNC programs.
The mark is not required when programs are entered using ordinary
personal computers. The mark is not displayed on the Program display
screen display screen.
However, if the file is output,the mark is automatically output at the start
of the file.
Table 11.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 machine operation 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 controller 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 ordinary personal computers, this code can be entered by pressing
the return key.
Table 11.1 (b) Code of a program start
Name
ISO
code
EIA
code
Notation in this manual
Program start LF CR ;
11.1
PROGRAM
COMPONENTS
OTHER THEN
PROGRAM
SECTIONS
Explanations
Tape start
Leader section
Program start

Leave a Reply

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