Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- %
- O99887 (Toms First CNC Program)
- N10 (inch programming)
- N20 G00 G17 G40 G49 G80 G90 (MACHINE DEFAULT SETTING)
- N30 T06 M06 (T6-Select tool number 6 to be loaded m06-Activates the tool changer)
- 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)
- N50 G43 H06 Z0.1 (G43 - Activate the tool offset value stored in H06 and rapid to Z0.1)
- N60 G01 Z-0.15 F11.0 (Hole #1 - Feed down to Z depth at 11 inches per minute)
- N70 G00 Z0.1 (G00- Retract out of hole #1 at rapid to 0.1 above the top of the work piece.)
- N80 X0 Y0 (G00 is modal - Move at rapid and in the X and Y axis to hold #2)
- N90 G01 Z-0.15 (Hole #2 - feed down to Z depth at 11 inches per minute, Feed rate is modal)
- N100 G00 Z0.1 (G00- Retract out of hole #2 at rapid to 0.1 above the top of the work piece)
- N110 X1.0 Y0.875 (G00 is modal - Move at rapid in the X and Y axis to hole #3)
- N120 G01 Z-0.15 (Hole #3- Feed down to Z depth at 11 inches per minute, Feed rate is Modal)
- N130 G53 G00 Z0 (G53- Machine Zero positioning, non-modal. Rapid machine to zero in Z, switch spindle off)
- N140 G53 X-15.0 Y0 (G53- Rapid in relation to machine zero X-15.0 and Y0)
- N150 M30 (Program end rewind program to the beginning)
- % (Always begin and end your program with %)
Advertisement
Add Comment
Please, Sign In to add comment