I’m trying to set a rule for small circles which will reduce speed and issue an M101 (thc off) command at the start but what I am getting is that the code will make the pierce then the lead-in then it will insert the THC off command.
Due to the vagaries of Mach3 this introduces a stutter or pause in the motion making the lead-in pointless as the torch is on when it pauses. This is only an issue with cheap THC controls as they are controlled via Mach3 not directly.
Is there a way to create a rule for small circles where the THC is put off before the pierce and on at the end of the cut??
Obviously THC is not needed for small area cuts like this but when it’s part of a bigger job, control needs to be built into the code.
As you can see they are pretty much identical and both insert the THC off after the pierce. This will still stall the torch after piercing while the M code runs in Mach.
What is really needed is a BEFORE PIERCE rule set so we get this…
N0090 G00 X113.5370 Y174.3800
N0100 M101 (THC Off) (Before pierce)
N0110 G28.1 Z3.00 F800.0
N0120 G92 Z0.0
N0130 G00 Z3.9000
N0140 G92 Z0.0
N0150 G00 Z3.0000
N0160 M03
N0170 G04 P0.3
N0180 G01 Z1.0000
N0200 Y168.3800 F350.0
N0210 G03 I0.0000 J5.1000
N0220 M05
N0230 G00 Z10.0000
N0240 X0.0000 Y0.0000
N0250 M05 M30
Then it will switch off before doing anything and the stutter will not matter.
OK, it can be done, just have to think about it.
Using the “Operations” list and having the circle or whatever on a separate layer, use the insert code snippet to put THC on and off where its needed…
That way I get exactly what I think I need and also full control over where it goes. Odd that it puts the instruction two lines before the insert but makes no difference.
I don’t think there is an automatic way of doing this.