Page 1 of 1

Post procesor problem

Posted: Wed Jun 21, 2017 7:42 pm
by galuu
I have the PlanetCNC USB-mk3 controler and witch post procesor is compatible with this controler without manualy modifying the G code.

Is there someone who uses the PlanetCNC USB controler.

Posted: Wed Jun 21, 2017 8:56 pm
by Les Newell
What post are you currently using and what changes do you have to make to the code?

Posted: Wed Jun 21, 2017 9:27 pm
by galuu
LinuxCNC THC (Edited) we have a problem with G92.

We usualy just change it for a space.

Posted: Thu Jun 22, 2017 11:28 am
by Les Newell
In SheetCam go to Options->machine->post processor and click on the 'Edit post' button. Look for this piece of code:

Code: Select all

function Reference()
   firstRef = false
   post.Text(seekCode .. "\n")
   post.ModalText(" G92 Z")
   post.Number(-switchOffset * scale, "0.0###")
   post.Eol()
   post.CancelModalNumbers()
end
and change it to

Code: Select all

function Reference()
   firstRef = false
   post.Text(seekCode .. "\n")
   post.Eol()
   post.CancelModalNumbers()
end
That should do what you want.

Posted: Thu Jun 22, 2017 8:10 pm
by galuu
Thanks! Everithing works perfectly now.