
13.PROGRAM CONFIGURATION PROGRAMMING B-63944EN/02
- 284 -
- File name
A file name can be assigned instead of a program number.
When coding a file name, be sure to place the file name enclosed in
"<" and ">" at the beginning of a program.
Example) % ;
<PARTS_1> ;
N1 ...
:
M30 ;
%
NOTE
A file name can be coded:
- At the beginning of a program
- Immediately after M98, G65, G66, G66.1, M96,
G72.1, or G72.2
Do not code a file name in other than the above.
- 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.
Table 13.2 (e) 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
be placed. Sequence numbers can be specified in a random order, and
any numbers can be skipped. Sequence numbers may be specified
for all blocks or only for desired blocks of the program. In general,
however, it is convenient to assign sequence numbers in ascending
order in phase with the machining steps (for example, when a new tool
is used by tool replacement, and machining proceeds to a new surface
with table indexing.)
N300X200.0Z300.0 ; A sequence number is underlined.
Fig. 13.2 (b) Sequence number and block (example)
NOTE
N0 must not be used for the reason of file
compatibility with other CNC systems.
Program number 0 cannot be used. So 0 must not
be used for a sequence number regarded as a
program number.