Post procesor problem

Having problems with or questions about SheetCam? Post them here.
Post Reply
galuu
Posts: 7
Joined: Tue Mar 14, 2017 8:19 pm

Post procesor problem

Post 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.
User avatar
Les Newell
Site Admin
Posts: 3660
Joined: Thu May 11, 2006 8:12 pm

Post by Les Newell »

What post are you currently using and what changes do you have to make to the code?
galuu
Posts: 7
Joined: Tue Mar 14, 2017 8:19 pm

Post by galuu »

LinuxCNC THC (Edited) we have a problem with G92.

We usualy just change it for a space.
User avatar
Les Newell
Site Admin
Posts: 3660
Joined: Thu May 11, 2006 8:12 pm

Post 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.
galuu
Posts: 7
Joined: Tue Mar 14, 2017 8:19 pm

Post by galuu »

Thanks! Everithing works perfectly now.
Post Reply