Author Topic: Customising LinuxCNC  (Read 711 times)

Offline ubiquity

  • Ewok
  • *
  • Posts: 32
    • View Profile
Customising LinuxCNC
« on: November 06, 2019, 14:43:38 pm »
I am not sure if this board is intended only for describing post-processor modifications or asking questions about them so I will assume I can ask a question here.

We are hoping to ensure that as part of each job performed the machine/tool is returned to X0 and Y0 at the end of the Gcode. Although we can manually add something like
G0 Z30 or a clearance plane move on Z
G0 X0 Y0
to each Gcode file generated, I assumed that this might be possible automatically and that perhaps modifying the LinuxCNC postprocessor settings in CamBam might be used to achieve this.
Is my assumption correct and, if so, how do I achieve this?

Offline dh42

  • Administrator
  • CNC Jedi
  • *****
  • Posts: 6002
    • View Profile
    • Cambam V1.0 French Doc
Re: Customising LinuxCNC
« Reply #1 on: November 06, 2019, 20:52:59 pm »
Hello

Yes, you just need to edit the macro in the (main) - Footer property of your PP.

By default it contain

{$clearance}
{$spindle(off)}
{$cbfile.footer}
{$endrewind}

change it to

{$clearance}
{$spindle(off)}
{$cbfile.footer}
G0 Z30
G0 X0 Y0
{$endrewind}

then save your changes.

++
David

Offline ubiquity

  • Ewok
  • *
  • Posts: 32
    • View Profile
Re: Customising LinuxCNC
« Reply #2 on: November 07, 2019, 12:14:25 pm »
Thank you very much!
We will try this out.