using development version 1.2108
Here is a sample section of code at the beginning of a cut:
- Code: Select all
N0010 (Filename: FOLD OUT TROLLEY PLATE.tap)
N0020 (Post processor: BEEFYS THC.scpost)
N0030 (Date: 05/06/2019)
N0040 G21 (Units: Metric)
N0050 G90 G40
N0060 F1
N0070 (Part: FOLD OUT TROLLEY PLATE)
N0080 (Operation: Outside Offset, MAIN_PLATE, T1: Plasma, 1.5 mm kerf)
N0090 M06 T1 F1100.0 (Plasma, 1.5 mm kerf)
N0100 G00 Z70.00
N0110 G00 X147.36 Y81.69
N0120 G00 X147.36 Y81.69
N0130 M11.1 (Enable "Torch On" pass-through gate)
N0140 G28.1 Z15.00 (Start of touch off sequence)
N0150 G92 Z0.0
N0160 G00 Z0.40
N0170 G92 Z0.0
N0180 G00 Z3.80 (Pierce Height)
N0190 M03
N0200 G04 P0.7 (Pierce Delay)
N0210 G01 X147.36 Y81.69 Z1.50 F3000.0
N0220 M205 (On start)
N0230 G01 X147.32 Y81.78 F1097.8
N0240 G01 X143.92 Y91.08 F1100.0
N0250 G03 X131.37 Y74.87 I6.62 J-18.08 F1100.0
N0260 G03 X149.08 Y53.80 I19.16 J-1.87 F1100.0
N0270 G03 X169.77 Y72.27 I1.46 J19.20 F1100.0
N0280 G03 X150.53 Y92.25 I-19.24 J0.73 F1100.0
N0290 G03 X148.78 Y92.17 I0.00 J-19.25 F1100.0
N0300 M206 (On lead out)
N0310 G03 X142.08 Y90.29 I1.75 J-19.17 F1097.8
N0320 M05
N0330 M11.1 (Enable "Torch On" pass-through gate)
N0340 G00 Z70.00
Notice this line to turn the THC on:
N0220 M205 (On start)
and this one to turn the THC off just before the leadout:
N0300 M206 (On lead out)
I've attached a file I just cut. You can see in the file there's quite a few cuts like this.
The M206 just before the leadout, seems to always work and the little bar LED on the THC screen button goes off.
However, most of the time the M205 did not work (sometimes did). So I would manually click the THC button and the LED on the button came on. However, the THC did not respond to the up/down signals from my external THC.
I would have to manually turn on the THC before each cut started, then all was good.
Is there something bad about the position of the M205 in the gcode. I personally do not like it there but I'm using Sheetcams path rules and it this is where the post processor puts the M205 command (the "On Start" path rule).
I may be able to work around this but I like to know about any "quirks" in UCCNC for future reference.
Keith