![Okuma OSP-P200L Programming Manual Download Page 66](http://html1.mh-extra.com/html/okuma/osp-p200l/osp-p200l_programming-manual_3667818066.webp)
5238-E P-53
SECTION 5 S, T, AND M FUNCTIONS
To drill two 15 mm dia. holes, create a program as indicated below:
LE33013R0300700070003
•
Calculate the feedrate (mm/min) for drilling with the equation below:
Feedrate (mm/min) = Tool speed (rpm) x Feedrate (mm/rev)
Therefore, when the tool speed is 400 min-1{rpm} and the feedrate is 0.1 mm/rev, the feedrate
(mm/min) is calculated as:
F = 400 x 0.1 = 40 mm/min
•
When an end mill is used, its feedrate (mm/min) is calculated with the following equation:
Feedrate (mm/min) = Tool speed (rpm)
Feed (mm/blade)
Number of end mill blades
•
Assuming an end mill with four blades (flutes) is used at 300 min-1{rpm} and a feedrate of 0.05
mm/blade, the feedrate (mm/min) is
F = 300 x 0.05 x 4 = 60 mm/min
(G01)
N099
N100
N101
N102
N103
N104
N105
N106
N107
N108
N109
N110
N111
G00
G94
G01
G00
G01
G00
G095
X1000
X120
X1000
Z1000
Z102
Z75
Z102
Z75
Z102
Z1000
C90
F40
C270
M05
M01
M110
T0101
SB=400
M13
M147
M146
M147
M12
M146
M109
M02
M15
Continued from turning operation program
Indexes C-axis in the positive direction.
The spindle indexes at the 90
°
position
in positive direction and the drill is
positioned near the workpiece surface
at the rapid feedrate.
Designates the spindle as the C-axis.
Feedrate in mm/min mode is selected.
The drill starts rotation at 400 min
-1
{rpm}
in the leftward direction.
After thespindle is clamped, 15 mm dia.
hole is drilled at a feedrate of
40 mm/min.
The drill returns to the commanded
point at the rapid feedrate.
The spindle is indexed at the 270
°
position after it is unclamped.
The second hole is drilled after the
spindle is clamped.
The M-tool stops and the turret returns to
the turret index position.
(G00)