Files
linuxcnc/nc_files/HEMS/HEMS-RELAYPANEL.ngc
Thaddeus Hughes ad1f8719d6 big overhaul
2026-04-05 20:51:43 -05:00

57 lines
980 B
Plaintext
Executable File

#<_z_clearance> = 0.4
#<_rampang> = 5
;#<_overlap> = 0
; +1: Conventional milling
; +2: Both-ways milling
; +4: Plunge entry
; +8: Outside
G10 L1 P1 Z0.0 R0.25 ; set tool
T1 ; set tool to T1
M06 ; manual toolchange
G54 ; absolute coordinates
F10 ; 10 ft/min
#1 = 1
o10 if [#1 EQ 1]
#<_z_top> = 0.1
#<_z_bot> = -0.3
o<drill> call [ .325][-.25]
#<_z_top> = 0.1
#<_z_bot> = -0.3
o<drill> call [ .325][-3.0]
#<_z_top> = 0.1
#<_z_bot> = -0.3
o<drill> call [7.675][-3.0]
#<_z_top> = 0.1
#<_z_bot> = -0.3
o<drill> call [7.675][-.25]
o10 else if [#1 EQ 2]
#<_z_top> = 0.1
#<_z_bot> = -0.3
o<drill> call [1.4][-.75]
#<_z_top> = 0.1
#<_z_bot> = -0.3
o<drill> call [4.0][-.75]
#<_z_top> = 0.1
#<_z_bot> = -0.3
o<drill> call [4.0][-2.5]
#<_z_top> = 0.1
#<_z_bot> = -0.3
o<drill> call [1.4][-2.5]
#<_z_top> = 0.1
#<_z_bot> = -0.3
o<drill> call [5.4][-.525]
#<_z_top> = 0.1
#<_z_bot> = -0.3
o<drill> call [6.4][-2.725]
o10 endif
M2 ; end program