add m101 and 102 code

Having problems with or questions about SheetCam? Post them here.
Post Reply
inox24h
Posts: 2
Joined: Wed Nov 30, 2016 1:07 pm

add m101 and 102 code

Post by inox24h »

I have a circle D=30mm, Lead in (arc, 15mm) and Lead out (arc, 8mm )
I want "On start THC off and afer 5mm THC on"
Thank you!

and here my code file.

N0010 (Filename: d70.tap)
N0020 (Post processor: Mach3.scpost)
N0030 (Date: 12/7/2016)
N0040 G21 (Units: Metric)
N0050 G53 G90 G91.1 G40
N0060 F1
N0070 S500
N0080 (Part: d70)
N0090 (Operation: Inside Offset, Colour 250, T1: Plasma, 4.3 mm kerf)
N0100 M06 T1 F500.0 (Plasma, 4.3 mm kerf)
N0110 G00 Z60.0000
N0120 X45.4729 Y-57.8701
N0130 G28.1 Z20.00
N0140 G92 Z0.0
N0150 G00 Z0.0000
N0160 G92 Z0.0
N0170 G00 Z12.0000
N0180 Z12.0000
N0190 M03
N0200 G04 P1.7
N0210 G01 Z5.0000 F1000.0
N0220 M102; THC off (On start)
N0230 G02 X44.3817 Y-62.6918 I-9.5931 J-0.3633 F500.0
N0240 M101; THC on (On start)
N0250 X36.2431 Y-67.8265 I-8.5019 J4.4585
N0260 X36.2431 Y-67.8265 I-1.2431 J32.8265
N0270 X30.9330 Y-62.9039 I-0.1937 J5.1163
N0280 M05
N0290 G00 Z60.0000
N0300 X0.0000 Y0.0000
N0310 M05 M30
User avatar
Les Newell
Site Admin
Posts: 3668
Joined: Thu May 11, 2006 8:12 pm

Post by Les Newell »

I am not sure what you are asking here. It looks like your rule is working correctly.

Do you have M101 and M102 defined in Mach3?

By the way you should be using a plasma post processor. Try the 'Mach3 plasma' post.
Post Reply