But make sure the Z is clear. Do
G0 Z1
G0 X0 Y0
All the simple drawings I hade so far are done in Acad, then the dxf is imported to LC and then the gcode is exported to mach. I noticed that after the cut the router rises 1” above the surface and stays there and that is the end of the code. Then I thought that it would be nice to have an addition to the code to bring the router to X0,Y0.
Looking at the code I noticed that they all end with:
G0 Z1.0000
M5
M30
Obviously I didn’t put these lines there because I don’t know what they mean but I will assume they are the cause of lifting the router 1” above the surface.
What M5 and M30 means?
Also as Hood mentioned earlier, do I put the G0 X0Y0 after the M30?
One more question. When I start my cuts I’m offset from the machines X0Y0 coordinates. Means that I jog the machine to about X10Y15, then I zero the DROs and the program starts from this point. If I input at the end of the code G0X0Y0 as Hood mentioned earlier, would the machine go back to my offset X0Y0 or it will go back to the machines X0Y0 coordinates? The reason I’m asking is that I have hold down clamps which they will interfer if the machine goes back to the machines coordinates.
Nicolas