
B–62444E–1/04
5. BACK MACHINING FUNCTIONS
FOR A LATHE WITH
A SUB–SPINDLE
TYPES OF MACHINING
PROGRAMS
465
2SP 1: The conversational function for a one–turret two–spindle
lathe is enabled.
0: The conversational function for a one–turret two–spindle
lathe is disabled.
1SP 1: The conversational function for a two–turret one–spindle
lathe is enabled.
0: The conversational function for a two–turret one–spindle
lathe is disabled.
The M code for changing the sub–spindle gear and the function to call the
M codes for enabling and disabling the sub–spindle can be used to control
the sub–spindle.
(1) M code for changing the sub–spindle gear
Parameter No. 9893 (GERM1S) : M code for selecting a low gear
Parameter No. 9894 (GERM2S) : M code for selecting medium
gear 1
Parameter No. 9895 (GERM3S) : M code for selecting medium
gear 2
Parameter No. 9896 (GERM4S) : M code for selecting a high gear
The maximum speed of each gear, which determines which gear is
selected, is the same as that specified in the corresponding parameter
for the main spindle.
(2) Calling the M codes for enabling and disabling the sub–spindle
At the beginning of a process for machining with the sub–spindle,
a subprogram for enabling the sub–spindle is automatically called.
At the beginning of a process for machining with the main spindle,
a subprogram for disabling the sub–spindle is automatically called.
The O9028 subprogram is called to enable the sub–spindle. The
O9027 subprogram is called to disable the sub–spindle.
When the program is converted to an NC program, the above block
is converted as a block for calling the M code.
– Enabling the sub–spindle : Mm1
; (m1 is the M code for calling
a subprogram.)
– Disabling the sub–spindle : Mm2
; (m2 is the M code for calling
a subprogram.)
– Machining menu parameters
Machining menus can be displayed separately by specifying
parameter Nos. 9791 (for tool post 1 or the main spindle) and 9792
(for tool post 2 or the sub spindle) accordingly–.
For details, see the parameter descriptions.
5.7
AUTOMATIC OUTPUT
OF THE M CODE FOR
CONTROLLING THE
SUB–SPINDLE
(AND THE M CODES
FOR CALLING
SUBPROGRAMS)