THC Codes upset corners???

Having problems with or questions about SheetCam? Post them here.
Davek0974
Posts: 286
Joined: Sat Feb 01, 2014 2:07 pm

THC Codes upset corners???

Post by Davek0974 »

In preparation for fitting a THC unit, I thought I'd try adding the M101/M102 codes to my post.

I have a test job, a 50mm square that has loops on the corners to keep nice sharp corners, however with the M codes added, when I dry-run this code in Mach it runs to a corner, stops, cuts the loop, stops, cuts the next edge then repeats on all corners??

Is there a reason it does this or is Mach not set correctly, surely just adding THC on/off codes should not upset the smoothness of the code?
JohnB

Post by JohnB »

Unfortunately, running a macro in MACH (M101, etc) will cause a pause. You need to have a newer system like CandCNC offers with their DTHC II or IV that moves the height control out of MACH and into the hardware. What THC system are you planning on getting?
Davek0974
Posts: 286
Joined: Sat Feb 01, 2014 2:07 pm

Post by Davek0974 »

I've ordered a Proma unit, it's basic but seems to function ok in the YouTube videos on it.

Not sure what happens if you don't use the macros ?

Never used one before.
Davek0974
Posts: 286
Joined: Sat Feb 01, 2014 2:07 pm

Post by Davek0974 »

JohnB wrote:Unfortunately, running a macro in MACH (M101, etc) will cause a pause. You need to have a newer system like CandCNC offers with their DTHC II or IV that moves the height control out of MACH and into the hardware. What THC system are you planning on getting?
What is the reason?

If it does not work, I guess it will just have to live on the built-in start delay and any thing Mach can throw at it ?
JohnB

Post by JohnB »

I believe it's just a "fault" ( if you want to call it that) of MACH. You could still use the macro before and after "holes" to allow a change of speed, just not mid cut.
Davek0974
Posts: 286
Joined: Sat Feb 01, 2014 2:07 pm

Post by Davek0974 »

Hmm, ok, thanks.

Any idea if Mach ignores thc signals on small circles or lead-ins etc??

I'm just trying to figure out how this all plays together.
JohnB

Post by JohnB »

That would be a function of SheetCAM and the new "rules" system to turn on / off THC and slow down. That feature is available in the development version and should be in the soon to be released version "6".
Davek0974
Posts: 286
Joined: Sat Feb 01, 2014 2:07 pm

Post by Davek0974 »

JohnB wrote:That would be a function of SheetCAM and the new "rules" system to turn on / off THC and slow down. That feature is available in the development version and should be in the soon to be released version "6".
So if Mach can't handle the THC on/off without stalling, this feature wont work anyway?

Heading over to the Mach forum to see how this will work...
Davek0974
Posts: 286
Joined: Sat Feb 01, 2014 2:07 pm

Post by Davek0974 »

Anyone?


I have downloaded the test version but as I said, if mach can't handle macros without stalling, it's all in vain surely?


The overcut feature looks promising though:)


Not getting answers from the mach forum either?
rikduk
Posts: 47
Joined: Fri Oct 25, 2013 11:48 pm

Post by rikduk »

There are the S10/S20 codes to turn thc on/off, depending if your hardware/software is fairly recent.(Check DCC on the candcnc website)
These do not stop motion.
I havent tried them yet, still need to update my mch screen.
Also, if you need to stop the torch and continue motion(like finishing a hole)
try the M10P1 code. It stops the torch without a jerk in motion.
Davek0974
Posts: 286
Joined: Sat Feb 01, 2014 2:07 pm

Post by Davek0974 »

No, need, just discovered this...

mach 3 does have what it takes, it's a setting called anti-dive, it takes a % figure you enter of the feedrate below which it turns off the THC signals to the z axis. So on small circles cut at say 70% normal, if set to 80% THC would be off -sounds just like what it needs.

Corner deceleration would also stop THC action.

:)
rikduk
Posts: 47
Joined: Fri Oct 25, 2013 11:48 pm

Post by rikduk »

Youre almost right.
Anti dive locks thc ON CORNERS when it gets below the preset speed ex:70%

But, if you program a speed change in sheetcam, that speed becomes your preset speed.
Running with anti-dive at 70%,
If you run at 200 ipm, anti-dive will kick in at 140 ipm.
But, if in sheetcam you slow down corners to 50%, mach3 will see 100ipm as the "normal" speed and will not lock thc. and will drive the torch down.
Davek0974
Posts: 286
Joined: Sat Feb 01, 2014 2:07 pm

Post by Davek0974 »

Ooh, that's a good point, thanks.

Gets a bit complicated doesn't it :)

I'm sure sheetcam will reduce speed on circles etc so this only seems to be a partial fix.

Will have to look at the code.

Nothing is ever easy ;)


Anyone got suggestions?
rikduk
Posts: 47
Joined: Fri Oct 25, 2013 11:48 pm

Post by rikduk »

As i said, i still have to try the S codes.
But you can use the M codes on holes using the cutting rules.
In rules editor;
On small circles, smaller than.....
feedrate.......%
start code: put your thc off code
end code: put your thc on code.
This will automatically turn off thc on small holes, run the hole at the speed you want, then turn thc back on after the hole...no need to put it on a different layer.
Davek0974
Posts: 286
Joined: Sat Feb 01, 2014 2:07 pm

Post by Davek0974 »

That's good stuff,I can see these new rules coming in handy :)

Will need to have a play with it.
Post Reply