webmanoffesto

Toms GCode Drill 09 Holes v01

May 11th, 2016
243
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.29 KB | None | 0 0
  1. %
  2. O99887 (Toms First CNC Program)
  3.  
  4. N10 (inch programming)
  5.  
  6. N20 G00 G17 G40 G49 G80 G90 (MACHINE DEFAULT SETTING)
  7.  
  8. N30 T06 M06 (T6-Select tool number 6 to be loaded m06-Activates the tool changer)
  9.  
  10. N40 G00 G90 G54 X-1.0 Y-0.875 S2750 M03 (Rapid to the X and Yposition and turn on the spindle at 2750 RPM)
  11.  
  12. N50 G43 H06 Z0.1 (G43 - Activate the tool offset value stored in H06 and rapid to Z0.1)
  13.  
  14. N60 G01 Z-0.15 F11.0 (Hole #1 - Feed down to Z depth at 11 inches per minute)
  15.  
  16. N70 G00 Z0.1 (G00- Retract out of hole #1 at rapid to 0.1 above the top of the work piece.)
  17.  
  18. N80 X0 Y0 (G00 is modal - Move at rapid and in the X and Y axis to hold #2)
  19.  
  20. N90 G01 Z-0.15 (Hole #2 - feed down to Z depth at 11 inches per minute, Feed rate is modal)
  21.  
  22. N100 G00 Z0.1 (G00- Retract out of hole #2 at rapid to 0.1 above the top of the work piece)
  23.  
  24. N110 X1.0 Y0.875 (G00 is modal - Move at rapid in the X and Y axis to hole #3)
  25.  
  26. N120 G01 Z-0.15 (Hole #3- Feed down to Z depth at 11 inches per minute, Feed rate is Modal)
  27.  
  28. N130 G53 G00 Z0 (G53- Machine Zero positioning, non-modal. Rapid machine to zero in Z, switch spindle off)
  29.  
  30. N140 G53 X-15.0 Y0 (G53- Rapid in relation to machine zero X-15.0 and Y0)
  31.  
  32. N150 M30 (Program end rewind program to the beginning)
  33.  
  34. % (Always begin and end your program with %)
Advertisement
Add Comment
Please, Sign In to add comment