THC Codes upset corners???
THC Codes upset corners???
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?
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?
What is the reason?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?
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 ?
So if Mach can't handle the THC on/off without stalling, this feature wont work anyway?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".
Heading over to the Mach forum to see how this will work...
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.
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.
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.
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.
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.
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.
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.
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.