g code

Joey

No, this one from the same thread.

(This program written by James Babcock @ Mc2)
(This is intended for his exclusive use and whom ever the hell he chooses)
(You will need to copy and paste your program into this program)

(When done save file as what ever new name you want and then load into Mach3!)



#500=4 (Number of total indexes for program)
#501=0 (Angle to start inlay indexes)




#510=[360/#500] (Indexing degrees)

G0 A#501

M98 P1000 L#500 (End of Program)

G0 Z 1.
G0 X0 Y0
G0 A0

M30


o1000
(Paste your G-code program under this line)







G91
G0 A#510
G90



M99
 
That format is common in machine shops with a 4th axis that pitch holes etc.
But if people have copied code, it would be courtesy to give credit where it is due.

Neil
 
Back
Top