
B–63284EN/03
1. MACHINING PROGRAMS FOR
2–AXES (X AND Z–AXIS) LATHES
TYPES OF MACHINING
PROGRAMS
395
In the M–code process, only M–codes are output. Up to five M–codes can
be output.
When the cursor is at a machining type item after a new process is created,
pressing the [M] soft key selects the M–code process.
The M–codes are output to the tool post specified in the head item. No
head item is displayed in the 1–path lathe.
The operation at the end of a machining program can be specified.
When the cursor is at a machining type item after a new process is created,
pressing the [END] soft key selects the program end process.
RETURN : Type of a return to be made at the end of
machining program execution
Select the desired code of RETURN from the
[G00], [G28] and [G30] soft key.
G28 : Return to the reference position.
G30 : Return to the 2nd reference position
(tool change position).
RETURN–X, Z, C : Absolute coordinates of individual axis return
positions when G00 is selected on the above
menu.
The machine is moved only along the axis for
which a return position is entered.
END–M : M code indicating the end of a machining
program
Select one of [M02], [M30], or [M99].
When M02 is selected, M02 is output and the
program is terminated.
When M30 is selected, M30 is output and the
program is terminated.
When M99 is selected, the program is repeated
until it is forcibly reset by an external reset or
other factor.
LOOP : A program is repeated the specified number of
times. At the end of repetition, the specified
end M code, M02 or M30, is output. When
M99 is selected as an end M code, M02 is
output.
1.12
M–CODE AND
PROGRAM END
PROCESSES
1.12.1
M–code Process
1.12.2
Program End Process