How do you enable THC in post LinuxCNC THC ?

Having problems with or questions about SheetCam? Post them here.
Post Reply
lukasz89
Posts: 11
Joined: Fri Mar 09, 2018 4:50 pm

How do you enable THC in post LinuxCNC THC ?

Post by lukasz89 »

Good morning all. I would like to enable THC permanently. Now I have set up like this - thcOnCode = " M08", thcOffCode = " M09". THC does not work all the time, with M09 it turns off.

CAM - SheetCam TNG 6.1.53
CNC controller - LinuxCNC
postprocessor - LinuxCNC THC
User avatar
Les Newell
Site Admin
Posts: 3660
Joined: Thu May 11, 2006 8:12 pm

Re: How do you enable THC in post LinuxCNC THC ?

Post by Les Newell »

If you never want to turn off the THC set thcOffCode = nil
lukasz89
Posts: 11
Joined: Fri Mar 09, 2018 4:50 pm

Re: How do you enable THC in post LinuxCNC THC ?

Post by lukasz89 »

OK, how to define thcOnCode ? Also nil command/delete this from the post processor ?

thcOnCode = ????
thcOffCode = nil
User avatar
djreiswig
Posts: 471
Joined: Sat Feb 20, 2016 4:47 am
Location: SE Nebraska

Re: How do you enable THC in post LinuxCNC THC ?

Post by djreiswig »

I'd say if it turned on and off before and you don't want it to turn off then change the off code to nil and leave the on code alone since it was working.
lukasz89
Posts: 11
Joined: Fri Mar 09, 2018 4:50 pm

Re: How do you enable THC in post LinuxCNC THC ?

Post by lukasz89 »

When cutting with plasma cnc.

M09 - all corners, smaller holes, arcs with a smaller radius, short lines [was it thc off]
M08 - all the rest [was it thc on]

thcOnCode = " M09"
thcOffCode = nil

I will check on this.
Post Reply