Files
linuxcnc/nc_files/SC-0238.ngc
Thaddeus-Maximus f3953d66ae ?
2026-04-03 15:58:58 -05:00

48 lines
1.1 KiB
Plaintext
Executable File

; SAFETY PIN BLOCK - SC-0238
; Tool 1: 1/4" Endmill (Slots)
; Tool 2: 11mm or 27/64" Drill (Pilot for M12 Tap)
#<_z_clearance> = 0.200
#<_slot_depth> = -0.190 ; Slot depth per drawing
#<_drill_depth> = -1.384 ; Drill depth for M12 tap
M03
F10
; --- OPERATION 1: TWO 1/4" SLOTS ---
; Slot 1 (Y0.25 to Y0.50)
;G0 X-0.125 Y-0.375
;G1 Z#<_slot_depth> F8
;G1 X0.750 F12
;G0 Z#<_z_clearance>
; Slot 2 (Y0.75 to Y1.00)
;G0 X-0.125 Y-0.875
;G1 Z#<_slot_depth> F8
;G1 X0.750 F12
;G0 Z#<_z_clearance>
; --- OPERATION 2: AUTOMATED DRILLING (M12 PILOT) ---
; Change to 11mm / .433 Drill ; Pause for tool change
;M03
G0 X-0.75 Y-0.375 Z0.2
G4 P2
; Center of M12 hole
; G83 Peck Drill: R=Clearance, Q=Peck increment, P=Dwell
G83 Z#<_drill_depth> R#<_z_clearance> Q0.300 F10
G80 ; Cancel drill cycle
G0 X0.25 Y-0.24075
G1 Z-0.75
G3 X0.25 Y-0.50925 R0.13425 F12
G1 Z-1.25
G2 X0.25 Y-0.24075 R0.13425 F12
G0 Z0.2
; --- OPERATION 3: LOCATE SIDE HOLE ---
;G0 X0.25 Y-0.375 Z#<_z_clearance> ; Hole location 1.625 from top
(MSG, MANUALLY DRILL .3230 SIDE HOLE) ; Pause for manual drill
M05
M30
%