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

59 lines
1.2 KiB
Plaintext
Executable File

#<_z_clearance> = .5
#<_rampang> = 10
; mode refernce
; +1: Conventional milling
; +2: Both-ways milling
; +4: Plunge entry
; +8: Outside
G20 ; G21 mm / G20 inch
G54 ; absolute coordinates
#<zt> = 0.02
#<zb> = -0.60
#<phase> = 2
o10 if [#<phase> EQ 1]
F5
#<_z_top> = #<zt>
#<_z_bot> = #<zb>
o<drill> call [0.500][-.50]
#<_z_top> = #<zt>
#<_z_bot> = #<zb>
o<drill> call [0.500][-3.0]
#<_z_top> = #<zt>
#<_z_bot> = #<zb>
o<drill> call [5.125][-3.0]
#<_z_top> = #<zt>
#<_z_bot> = #<zb>
o<drill> call [5.125][-.50]
#<_z_top> = #<zt>
#<_z_bot> = #<zb>
o<drill> call [7.375][-0.500]
#<_z_top> = #<zt>
#<_z_bot> = #<zb>
o<drill> call [9.625][-0.500]
#<_z_top> = #<zt>
#<_z_bot> = #<zb>
o<drill> call [9.625][-2.156]
#<_z_top> = #<zt>
#<_z_bot> = #<zb>
o<drill> call [7.375][-2.156]
o10 elseif [#<phase> EQ 2]
F8
o<end_angle> call [2] [10] [0][-3.5] [0] [#<zt>][#<zb>]
o<slot_chop> call [5.125][-.50] [5.375][-.50] [.41] [#<zt>][#<zb>]
o<slot_chop> call [5.125][-3.0] [5.375][-3.0] [.41] [#<zt>][#<zb>]
o<slot_chop> call [0.500][-3.0] [.75][-3.0] [.41] [#<zt>][#<zb>]
o<slot_chop> call [0.500][-.50] [.75][-.50] [.41] [#<zt>][#<zb>]
o<end_angle> call [0] [ 0] [0][-3.5] [0] [#<zt>][#<zb>]
o10 endif
M2 ; end program