3 G/M Codes
3 - 63
O002 number of subprogram
N1 G50 W10. 10mm offset of tool start point each for every time
N2 G01 U-10.
N3 G00 U10.
N2 M99
Description:
(1) Please give “G10 P500 A1 B0”, and “G10 P500 A3 B0” at the beginning of
program.
(2) The “L suffix” of an M98 command indicates number of offsets to be
performed. (See description of M98 command).
3.19 Constant Surface Speed Control ON, G96
Format:
G96 S____
S : Surface cutting speed (m/min)
The surface cutting speed refers to the relative velocity between the tool-tip and cutting
point (on the surface) of the rotating work-piece. A tool has its advised surface cutting
speed range for optimizing the cutting result. G96 is used to control the surface cutting
speed. The relationship between the surface cutting speed, work-piece diameter and
spindle rotation speed is expressed by:
V DN
V : The surface cutting speed is the S value of G96.
D : Diameter of the surface is sut, m.
N : Spindle rotation speed, rev/min.
When the surface cutting speed is constant and the tool cuts the surface inwards, D will
become lesser and N will become greater. Hence the max. rotation speed must be
limited using G50 S__. Once this limit is reached, the speed will not increase any more.