Added CNC mill and drill project configuration, scripts and examples
This commit is contained in:
72
examples/CNC_mill_drill_from_KiCad/gcode/drill.ngc
Normal file
72
examples/CNC_mill_drill_from_KiCad/gcode/drill.ngc
Normal file
@@ -0,0 +1,72 @@
|
||||
( 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 X3.67700 Y-3.56300
|
||||
G1 Z-2.50000
|
||||
G1 Z2.00000
|
||||
G0 X4.57700 Y-10.96300
|
||||
G1 Z-2.50000
|
||||
G1 Z2.00000
|
||||
G0 X7.07700 Y-10.96300
|
||||
G1 Z-2.50000
|
||||
G1 Z2.00000
|
||||
G0 X14.07700 Y-10.96300
|
||||
G1 Z-2.50000
|
||||
G1 Z2.00000
|
||||
G0 X16.57700 Y-10.96300
|
||||
G1 Z-2.50000
|
||||
G1 Z2.00000
|
||||
G0 X3.07700 Y-22.33800
|
||||
G1 Z-2.50000
|
||||
G1 Z2.00000
|
||||
G0 X3.07700 Y-34.58800
|
||||
G1 Z-2.50000
|
||||
G1 Z2.00000
|
||||
G0 X3.67700 Y-41.46300
|
||||
G1 Z-2.50000
|
||||
G1 Z2.00000
|
||||
G0 X41.37700 Y-3.66300
|
||||
G1 Z-2.50000
|
||||
G1 Z2.00000
|
||||
G0 X41.07700 Y-10.96300
|
||||
G1 Z-2.50000
|
||||
G1 Z2.00000
|
||||
G0 X38.57700 Y-10.96300
|
||||
G1 Z-2.50000
|
||||
G1 Z2.00000
|
||||
G0 X42.07700 Y-22.33800
|
||||
G1 Z-2.50000
|
||||
G1 Z2.00000
|
||||
G0 X42.07700 Y-34.58800
|
||||
G1 Z-2.50000
|
||||
G1 Z2.00000
|
||||
G0 X41.47700 Y-41.46300
|
||||
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