
PROGRAMMING1. GENERAL
B–63604EN/01
22
When drilling, tapping, boring, milling or the like, is performed, it is
necessary to select a suitable tool. When a number is assigned to each tool
and the number is specified in the program, the corresponding tool is
selected.
Tool number
01
06
02 05
04
03
Tool post
Fig. 1.5 Tool used for various machining
<When No.01 is assigned to a roughing tool>
When the tool is stored at location 01 of the tool post, the tool can be
selected by specifying T0101.
This is called the tool function (See II–10).
When machining is actually started, it is necessary to rotate the spindle,
and feed coolant. For this purpose, on–off operations of spindle motor and
coolant valve should be controlled (See II–11).
Workpiece
Chuck open/close
Coolant on/off
CW spindle rotation
Fig. 1.6 Command for machine operations
The function of specifying the on–off operations of the components of the
machine is called the miscellaneous function. In general, the function is
specified by an M code.
For example, when M03 is specified, the spindle is rotated clockwise at
the specified spindle speed.
1.5
SELECTION OF
TOOL USED FOR
VARIOUS
MACHINING – TOOL
FUNCTION
Examples
1.6
COMMAND FOR
MACHINE
OPERATIONS –
MISCELLANEOUS
FUNCTION