Gcode example for creating postprocessor

I am working to create a post processor to go from Siemens NX to mach3 to our new plasma cutter. I have done this for the router in our shop (using mach3 on it’s controller), but I’m not familiar with the G and M code sequence for plasma cutting. Are there any examples for this. Just a simple program that creates a circle or square with proper beginning and end sequences would be fine.

Thanks for any help.

Here is the G Code out of Fusion 360 post processing for a simple spacer that I cut (basically a washer) with an inside and outside cut. Mach 3 changes the code a lot, so I don’t know exactly what you need, but it sounds like you you have Mach3 so can import this to get see what you get.
Sorry I couldn’t just upload the TAP file here, but you can copy the text below and add the numbers as in the pic. BTW, the start point on this is in the center of the piece.

Hope this helps.


(Spacer)
N10 G90
N15 G70

(2D Profile2)
N20 G0 X-0.0984 Y-0.0495
N25 M3
N30 G4 P1.
N35 G1 G41 X-0.1136 Y-0.0583 F60.
N40 G1 X-0.0152 Y-0.2287
N45 G1 X-0.0108 Y-0.2363
N50 G1 X-0.0087 Y-0.2375
N55 G1 X0.
N60 G3 Y0.2375 I0. J0.2375
N65 G3 Y-0.2375 I0. J-0.2375
N70 G1 X0.0087
N75 G1 X0.0108 Y-0.2363
N80 G1 X0.1136 Y-0.0583
N85 G1 G40 X0.0984 Y-0.0495
N90 M5

N95 G0 Y-0.638
N100 M3
N105 G4 P1.
N110 G1 G41 X0.1136 Y-0.6292 F60.
N115 G1 X0.0152 Y-0.4588
N120 G1 X0.0108 Y-0.4512
N125 G1 X0.0087 Y-0.45
N130 G1 X0.
N135 G2 Y0.45 I0. J0.45
N140 G2 Y-0.45 I0. J-0.45
N145 G1 X-0.0087
N150 G1 X-0.0108 Y-0.4512
N155 G1 X-0.1136 Y-0.6292
N160 G1 G40 X-0.0984 Y-0.638
N165 M5

N170 M30