
12. PROGRAM CONFIGURATION
(Example) Used as heading
FlOOOCR(
Significant section Name of tape, etc.
)NllO
Significant section
(Note 1) The rewind stop code (% or ER) cannot be used in the comment section. Reading this code resets
the NC.
The comment section is not discriminated during rewinding the tape. If a rewind stop code is punched in the
comment section, the rewinding operation stops at the rewind stop code. However, this feature is indifferent to
in the memory operation.
(Note 2) When a comment section is in the middle of a program section and is long, movement is interrupted
for a long time. Therefore, insert comment sections in a place where movement can be interrupted or a place
specifying no movement
(Note 3) The length of the comment section is unlimited.
(Note 4) When the control out code does not come first and only the control in code is read in, it is ignored.
(Note 5) The TV check for the comment section can be disabled by specifying parameter (CTV : No. lOO#l).
12.3 Program End
The end of Program is indicated by punching the following code at the end of the
Program Section.
I
EIA
I
IS0 1
Meaning
I
M02CR 1 MO2LF 1 Program End
I
M30CR
M99CR
M30LF Program End and Rewind
M99LF Subprogram End
When the End of Program is sensed during the execution of a program, the CNC
terminates the execution of the program and enters a reset state. In case of MSOCR or
M3OLF, the program is returned to its beginning (in AUTO mode). When the
subprogram end code is sensed in a subprogram, control is returned to the program
which called the subprogram. (Whether or not the tape is rewound by execution of
M30 depends on the machine tool.)
l-48