Added CNC mill and drill project configuration, scripts and examples
This commit is contained in:
60
examples/CNC_mill_drill_from_gerber/gcode/drill.ngc
Normal file
60
examples/CNC_mill_drill_from_gerber/gcode/drill.ngc
Normal file
@@ -0,0 +1,60 @@
|
||||
( pcb2gcode 2.5.0 )
|
||||
( Software-independent Gcode )
|
||||
|
||||
( This file uses only one drill bit. Forced by 'onedrill' option )
|
||||
|
||||
G94 (Millimeters per minute feed rate.)
|
||||
G21 (Units == Millimeters.)
|
||||
G91.1 (Incremental arc distance mode.)
|
||||
G90 (Absolute coordinates.)
|
||||
G00 S24000 (RPM spindle speed.)
|
||||
|
||||
G00 Z35.00000 (Retract)
|
||||
T1
|
||||
M5 (Spindle stop.)
|
||||
G04 P1.00000
|
||||
(MSG, Change tool bit to drill size 0.4mm)
|
||||
M0 (Temporary machine stop.)
|
||||
M3 (Spindle on clockwise.)
|
||||
G0 Z2.00000
|
||||
G04 P1.00000
|
||||
|
||||
G1 F200.00000
|
||||
G0 X-19.50000 Y-73.50000
|
||||
G1 Z-2.50000
|
||||
G1 Z2.00000
|
||||
G0 X-22.00000 Y-73.50000
|
||||
G1 Z-2.50000
|
||||
G1 Z2.00000
|
||||
G0 X-18.50000 Y-84.87500
|
||||
G1 Z-2.50000
|
||||
G1 Z2.00000
|
||||
G0 X-18.50000 Y-97.12500
|
||||
G1 Z-2.50000
|
||||
G1 Z2.00000
|
||||
G0 X-44.00000 Y-73.50000
|
||||
G1 Z-2.50000
|
||||
G1 Z2.00000
|
||||
G0 X-46.50000 Y-73.50000
|
||||
G1 Z-2.50000
|
||||
G1 Z2.00000
|
||||
G0 X-53.50000 Y-73.50000
|
||||
G1 Z-2.50000
|
||||
G1 Z2.00000
|
||||
G0 X-56.00000 Y-73.50000
|
||||
G1 Z-2.50000
|
||||
G1 Z2.00000
|
||||
G0 X-57.50000 Y-84.87500
|
||||
G1 Z-2.50000
|
||||
G1 Z2.00000
|
||||
G0 X-57.50000 Y-97.12500
|
||||
G1 Z-2.50000
|
||||
G1 Z2.00000
|
||||
|
||||
G00 Z35.000 ( All done -- retract )
|
||||
|
||||
M5 (Spindle off.)
|
||||
G04 P1.000000
|
||||
M9 (Coolant off.)
|
||||
M2 (Program end.)
|
||||
|
||||
Reference in New Issue
Block a user