X, Y return to 0 instead of machine home

Hey Timi,

Hey Timi,

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,

  1. 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.

  2. 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.

Welcome to the forum!