Code snippet problems
Posted: Fri Jan 13, 2017 8:40 pm
Im trying to add code snippets to turn my thc off and on. but they seem to be coming out odd in my gcode. Ive gone back to the mach3 plasma post but still dosent look right.
N0010 (Filename: deer2e.tap)
N0020 (Post processor: Mach3 plasma.scpost)
N0030 (Date: 13/01/2017)
N0040 G21 (Units: Metric)
N0050 G53 G90 G91.1 G40
N0060 F1
N0070 S500
N0080 (Part: deer2e)
N0090 (Operation: Inside Offset, A new layer, T1: New &jet cutting tool, 1.5 mm kerf)
N0100 M06 T1 F100.0 (New &jet cutting tool, 1.5 mm kerf)
N0110 G00 Z10.0000
N0120 M666 (THC OFF)
N0130 G00 X125.0000 Y13.1200 Z10.0000
N0140 M666 (THC OFF) repeated why ?
N0150 G00 X125.0000 Y13.1200 Z3.0000
N0160 M03
N0170 G04 P0.5
N0180 G01 Z1.5000 F100.0
N0190 G02 X125.0000 Y13.1200 I0.0000 J18.5000
N0200 (Operation: Inside Offset, A new layer2, T1: New &jet cutting tool, 1.5 mm kerf)
N0210 M667 (THC ON) Why is the new operation before the M05 to turn torch off, on last operation off.
N0220 M05
N0230 G00 X125.0000 Y13.1200 Z10.0000
N0240 X190.0000
N0250 M667 (THC ON) duplicate code snippet cant work out why, some times it the opposite code
N0260 G00 X190.0000 Y13.1200 Z3.0000
N0270 M03
N0280 G04 P0.5
N0290 G01 Z1.5000 F100.0
N0300 G02 X190.0000 Y13.1200 I0.0000 J18.5000
N0310 M05
N0320 G00 Z10.0000
N0330 M05 M30
Does anyone know what is causing this?
Thanks
N0010 (Filename: deer2e.tap)
N0020 (Post processor: Mach3 plasma.scpost)
N0030 (Date: 13/01/2017)
N0040 G21 (Units: Metric)
N0050 G53 G90 G91.1 G40
N0060 F1
N0070 S500
N0080 (Part: deer2e)
N0090 (Operation: Inside Offset, A new layer, T1: New &jet cutting tool, 1.5 mm kerf)
N0100 M06 T1 F100.0 (New &jet cutting tool, 1.5 mm kerf)
N0110 G00 Z10.0000
N0120 M666 (THC OFF)
N0130 G00 X125.0000 Y13.1200 Z10.0000
N0140 M666 (THC OFF) repeated why ?
N0150 G00 X125.0000 Y13.1200 Z3.0000
N0160 M03
N0170 G04 P0.5
N0180 G01 Z1.5000 F100.0
N0190 G02 X125.0000 Y13.1200 I0.0000 J18.5000
N0200 (Operation: Inside Offset, A new layer2, T1: New &jet cutting tool, 1.5 mm kerf)
N0210 M667 (THC ON) Why is the new operation before the M05 to turn torch off, on last operation off.
N0220 M05
N0230 G00 X125.0000 Y13.1200 Z10.0000
N0240 X190.0000
N0250 M667 (THC ON) duplicate code snippet cant work out why, some times it the opposite code
N0260 G00 X190.0000 Y13.1200 Z3.0000
N0270 M03
N0280 G04 P0.5
N0290 G01 Z1.5000 F100.0
N0300 G02 X190.0000 Y13.1200 I0.0000 J18.5000
N0310 M05
N0320 G00 Z10.0000
N0330 M05 M30
Does anyone know what is causing this?
Thanks