This has created another issue though - the M22 is a delay pause and i now get a pause after starting the cut see code block.
N1590 is the end of the previous segment
N1670 is the start fire of the next segment
So in N1700/10/20 we can see that it fires for the pierce but THEN turns off the THC, surely it should turn off before firing so i don't get the delay???
BTW it turns off twice because the min length for THC is 80mm and I also use a Small-Shapes path rule - maybe i need to get rid of one or the other but i think the M22 will remain.
Any thoughts?
Code: Select all
N1590 M05
N1600 G00 Z20.000
N1610 M09 (Turn off extract fan)
N1620 M01 (Paused: Hit RUN to continue)
N1630 X61.612 Y564.201
N1640 M08 (Turn on extract fan)
N1650 M98 (HeightSense.tap)
N1660 G00 Z2.5000
N1670 M03
o549
N1680 X61.6121 Y564.2006
N1690 G01 Z0.500 F2400.0
N1700 S10 (DTHCa is OFF)
N1710 M22 (On small shapes)
N1720 S10 (THC Off By Code Snippet) (On small shapes)
N1730 X64.612
N1740 Y565.605
N1750 G02 X64.761 Y567.806 I14.201 J0.141
N1760 X66.985 Y570.871 I3.065 J0.115
N1770 G01 X67.064 Y570.883
N1780 X67.086
N1790 X67.105 Y570.8