Is there a setting somewhere in the interface to have it default to returning to X, Y zero or a box I can check somewhere instead of machine home when done with a cut. This is getting quite annoying when done with a job and the fact that I have to watch where I place my clamps as to not get in the way of the Z.
I looked at the last line and it says X0 Y0 and still returns home, I press the bullseye to go to the āoriginā and then it returns to 0,0. How can I edit that line to return to origin and not 0,0?
By āhomeā, are you referring to the lower left of the OF that is set when you home the machine on boot up, or are you referring to the xy datum set up for the project you are running? If the latter, all that is set up in your software. I run Vectric Vcarve Pro, and in the Material Setup section on the toolpath side, you can define all that. I usually set mine to be in the spot I wish to Z probe after a tool change. Hope this helps.
that sounds logical. If you have a G53 (use machine coordinates despite offset coordinates are in effect) command there, replacing this by G54 (or by something else or even deleting it) would solve the problem that the machine goes to machine home at the end of the job. However,
the original poster did not tell us which CAM software they use. In case itās a Vectric product, there is no occurence of G53 in the post processor and none in the example g-code file that a user in another thread recently uploaded here. There were no G54 coordinates in use, all movements were given in machine coordinates. So the post processor simply doesnāt know where the project zero positions are.
I donāt think the user decision where to return at the end of a program is or should made in the post processor, but a step earlier: In the options of the CAM program, by a user selectable dialog. I think (as @Bern already suggested by the way) itās worth looking if there isnāt simply an option for a user choice on where to return at the end of the job.
However if itās the case that this return to machine home is hard-coded in the post processor, the problem is to solve by simply deleting the line before the last line which says ā"G0[XH][YH]"ā in the post processor:
begin FOOTER
"M5"
"G0[ZH]"
"G0[XH][YH]"
"M2"
Then the machine will simply lift Z and leave X and Y wherever they are.
I was just about to post this same exact question. I am using Fusion360, however, I do not want to manually edit the NC file every time. Any idea on how to update the Post Processor code so that it just lifts to Z home and ignores X,Y?
if the CAD/CAM Software includes such a home command at the end of the g-code program, the CNC Controller can hardly do something about it. Itās the duty of the CNC Controller to run the program.
If I would encounter such unwanted behaviour, I would browse the help pages of the CAD/CAM software or ask in their forum and try to find out how to deactivate this behaviour at the user level. As said above, I think it should be set on the level of the CAD/CAM software. And if it isnāt, I would look at the post processor and modify it.
Itās in the post processor, I would need to modify this. Iām sure itās a single line of code or something of that sort. Have never had the need to do that beforeā¦
I simply opened the post in a text editor and replaced the header with proper code for my intentionsā¦ Have actually modād posts this way for other companies that had no pst for their new machinesā¦ Not difficult at all. Keep a copy of the original just in case.