
PROGRAMMING10. PROGRAM CONFIGURATION
B–63664EN/02
116
This section describes program components other than program sections.
See II–10.2 for a program section.
% TITLE ;
O0001 ;
M30 ;
%
(COMMENT)
Tape start
Program section
Leader section
Program start
Comment section
Tape end
Fig.10.1 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 screen.
However, if the file is output,the mark is automatically output at the start
of the file.
Table 10.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 10.1 (b) Code of a program start
Name
ISO
code
EIA
code
Notation in this manual
Program start LF CR ;
NOTE
If one file contains multiple programs, the EOB code for
label skip operation must not appear before a second or
subsequent program number.
10.1
PROGRAM
COMPONENTS
OTHER THAN
PROGRAM
SECTIONS
Explanations
D Tape start
D Leader section
D Program start