1
G-Code, CAD, and CAM discussions / Help with G-code
« on: April 02, 2008, 03:58:31 AM »
Hi all,
I cut polystyrene cornices, but how can I modify the G code so that when it is done, it starts at the beginning of the code again and just repeat. At the moment, I would cut one cornice, then REF ALL HOME and start again, so what I want is as follow
REF ALL HOME
My G-code for the cornice
Goto REF ALL HOME
I know the G code for rewind, but my main problem is the G code for REF ALL HOME. In this way I can start a cut and just keep on doing it till I have enough, or maybe put some kind of counter in the code, so if I want to make 10 cornices, I can set the counter to stop at 10? See the machine at http://www.poly-cor.com see the CNC page
I use AutoCad to design the cornice, export TO DXF, load in DeskCNC to generate the G code and then control themachine with MACH3 (Quantum)
Please help
I cut polystyrene cornices, but how can I modify the G code so that when it is done, it starts at the beginning of the code again and just repeat. At the moment, I would cut one cornice, then REF ALL HOME and start again, so what I want is as follow
REF ALL HOME
My G-code for the cornice
Goto REF ALL HOME
I know the G code for rewind, but my main problem is the G code for REF ALL HOME. In this way I can start a cut and just keep on doing it till I have enough, or maybe put some kind of counter in the code, so if I want to make 10 cornices, I can set the counter to stop at 10? See the machine at http://www.poly-cor.com see the CNC page
I use AutoCad to design the cornice, export TO DXF, load in DeskCNC to generate the G code and then control themachine with MACH3 (Quantum)
Please help