43 lines
740 B
Plaintext
Executable File
43 lines
740 B
Plaintext
Executable File
G21 ; G21 mm / G20 inch
|
|
G54 ; absolute coordinates
|
|
|
|
#<_z_clearance> = 6
|
|
#<_rampang> = 20
|
|
|
|
; mode refernce
|
|
; +1: Conventional milling
|
|
; +2: Both-ways milling
|
|
; +4: Plunge entry
|
|
; +8: Outside
|
|
|
|
F250 ; inch or mm/min (300 mm/min = about 1 ft/min)
|
|
|
|
o10 sub
|
|
#<_z_top> = 1
|
|
#<_z_bot> = -6
|
|
o<pocket_circ> call [+4] [#1][-00] [10] [0.5]
|
|
#<_z_top> = -5
|
|
#<_z_bot> = -16
|
|
o<drill> call [#1][-0]
|
|
#<_z_top> = 1
|
|
#<_z_bot> = -6
|
|
o<pocket_circ> call [+4] [#1][-20] [10] [0.5]
|
|
#<_z_top> = -5
|
|
#<_z_bot> = -16
|
|
o<drill> call [#1][-20]
|
|
o10 endsub
|
|
|
|
o10 call [-15]
|
|
o10 call [-20]
|
|
o10 call [-25]
|
|
o10 call [-30]
|
|
|
|
#<_z_top> = -5
|
|
#<_z_bot> = -16
|
|
o<drill> call [-100][-0]
|
|
#<_z_top> = -5
|
|
#<_z_bot> = -16
|
|
o<drill> call [-100][-20]
|
|
|
|
M2 ; end program
|