
PROGRAMMING
B–63444EN/01
12. PROGRAM CONFIGURATION
87
This section describes program components other than program sections.
See Section 12.2 for a program section.
% TITLE ;
O0001 ;
M30 ;
%
(COMMENT)
Tape start
Program section
Leader section
Program start
Comment section
Tape end
Fig.12.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 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 12.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 12.1 (b) Code of a program start
Name
ISO
code
EIA
code
Notation in this manual
Program start LF CR ;
12.1
PROGRAM
COMPONENTS
OTHER THAN
PROGRAM
SECTIONS
Explanations
D Tape start
D Leader section
D Program start