Program Examples
30
5.1.2
Example 2 - Cutoff in Program
This example shows the preferred programming method when the cutoff operation does
not have to cut to the centerline, as when the finished part has a hole through the center.
Unlike the first program example, which uses the same subprogram to both face a new bar
and cut off finished parts, this program includes a facing operation for a new bar, and a
separate cutoff operation for finished parts. The facing operation cuts to the workpiece
centerline. To save machining time, the cutoff operation cuts only as far as the finished
part’s inner diameter.
The material is 2" (51 mm) diameter solid stock and the finished part is 1" (25 mm) long.
The cutoff tool is 0.125" wide. The spindle/tool clearance is 0.875". The amount of stock to
remove from the face is 0.025".
The program uses these Bar Feeder variable values:
Command
G105
in MDI mode to load a bar and push it to the initial push length. In this
example, the initial push length includes the 1" finished part length, 0.875" spindle/tool
clearance, the 0.125" width of the cutoff tool, and a 0.025" facing allowance.
This program starts with the face and turn operation, then the cutoff operation, and the bar
feed command at the end.
Note also that the program has a block-deleted M99 command in the second-to-last line.
This lets you turn on block delete if you want the program to run only (1) time.
% ;
O00020 (PART PROGRAM) ;
T303 (FACE & TURN) ;
G50 S1500 ;
G96 S500 M03 ;
G00 G54 X2.1 Z0 M08 ;
G01 X-0.05 F0.005 ;
G00 X1.95 Z.05 ;
G01 Z-1.0 F0.01 ;
X2.1 ;
G53 G00 X0 ;
G53 Z0 ;
T404 (CUT OFF OPERATION) ;
G50 S1500 ;
Variable
Number
Description
Value
#3100
Part Cutoff All Facing Allowance
1.150
#3101
Initial Push Length
2.0
#3102
Minimum Clamping Length
1.0
96-8913A.book Page 30 Monday, May 18, 2015 7:55 AM
Summary of Contents for Bar Feeder
Page 2: ...96 8913A book Page ii Monday May 18 2015 7 55 AM ...
Page 4: ...ii 96 8913A book Page ii Monday May 18 2015 7 55 AM ...
Page 10: ...viii 96 8913A book Page viii Monday May 18 2015 7 55 AM ...
Page 36: ...More Information Online 20 96 8913A book Page 20 Monday May 18 2015 7 55 AM ...
Page 42: ...More Information Online 26 96 8913A book Page 26 Monday May 18 2015 7 55 AM ...
Page 56: ...40 96 8913A book Page 40 Monday May 18 2015 7 55 AM ...