I have noticed that after a job completes, the spindle is first sent back to the zero position for X and Y, and then it travels up the Y axis as far as it can go. I have already experienced a few near-misses with a clamp holding down the work piece and am concerned that I will forget about it one time and ruin either the bit or my clamp.
I have looked at the gcode and it ends with a “G0X0,Y0”, and then an “M02”. I assume the M02 is telling my XL to move the spindle up there? Is there a way to change that? I would prefer to have it stay at X0Y0.
I am using Aspire to generate the gcode and am using the Shapeoko post-processor.
Thanks for the replies everyone. I had an issue after removing the M02 last night and want to ensure that A) I am doing it correctly, and B) that this was hopefully just coincidence.
I opened the .gcode file with wordpad and removed the entire last line that had the M02 command in it, and then saved the file. When I ran it, everything went perfectly and the spindle stayed at X0Y0 as planned. The Carbide Connect software, however, popped up an error message stating that it had lost contact with the Shapeoko. Reconnecting didn’t work and neither did quitting CC and restarting it. Shutting off power to the Shapeoko and restarting finally let me connect again. Luckily, it retained the zero coordinates and I was able to change tools and do my finishing job.
So, just bad luck? Or did I edit the gcode file incorrectly? I suppose I could run a simple job tonight to test…
I’ve been using my Shapeoko for several months now. I haven’t graduated from Noob status though. This thread is the only thing I can find about the spindle traveling up the Y-Axis automatically after a job has finished. This is very frustrating since you also can’t even pause it to move hold downs out of the way. The main concern with mine is my dust collection mount being independent of the spindle z-axis. The machine automatically moving can allow the dust collection mount to hit my hold downs since it sits pretty low. The bit hitting anything isn’t a problem. I wired up an ‘oh s*%t’ button to kill everything in an emergency and it’s been used more than once. This also makes me lose my zero though.
I’m just not clear on how to resolve this especially since you said you got an error when editing the GCode. I thought changing a setting or simply editing the last line in the GCode would have been all needed. I really would like the spindle to just raise and stay put then I’ll manually move the spindle out of the way. Not sure if the Gcode sending the spindle out of the way is originating in the GCode generated by Vcarve or if it’s something Carbide motion is doing.
Any help for a noob would be greatly appreciated. I’m using a S3XXL with Vcarve Pro and Carbide Motion.
I recently found this thread and after replacing M02 with G0 Z25 the machine fails at the end of the job. Meaning it stops at X&Y zero position, however, when attempting to jog with the controller left or right it only moves down until it crashes into the material or the probe after the next piece of material is replaced.