Can this be done in my post??

This is the start of one of my plasma cutter G-Code files…

N0010 (Filename: 14-35 Washer.tap)
N0020 (Post processor: DTHC-HYT-TAP-rev11B With Pauses.scpost)
N0030 (Date: 11/09/2015)
N0040 G21 (Units: Metric)
N0050 F1
N0060 G53 G90 G40
N0070 (Part: 14-35 Washer)
N0080 (tool number: 106 Distance between Touch-offs: 0 Feedrate: 4000)
N0090 (Preset Volts: 107) ( Suggested Tip Size: 45 ) ( DTHC Delay: 1 sec )
N0100 (Min Cut Length for DTHC ON : 75 units )
N0110 S900 (Global DTHC ON/OFF is ON )
N0120 M22
N0130 S10 (Turn off DTHC at the beginning)
N0140 M22
N0150 S3107 (Preset Volts set to 107 Volts)
N0160 M22
N0170 S510 (DTHC Delay set to 1 Seconds)
N0180 M22
N0190 M09 (Turn off extract fan)
N0200 M00 (Paused: Check the DTHC Settings Hit RUN to continue)
N0210 G00 X18.500 Y17.925 Z15.000
N0220 M900 (Check for Z active)

On line 210 it G00’s to Z15.00, can this be removed but NOT the one at the end of the code???

I tried a quick post edit but removing the line that puts that code in also removes the one at the end of the file which lifts the torch before returning home - it’s just the one at the start of the files i don’t want.

The reason is a little complex but due to way I set the start origin for my cut jobs in Mach3, when i do that it zeroes all the DRO’s but then when this code runs it lifts the torch a further 15mm from the 15mm its already at and if its been cutting thicker metal it will run into the hard-stops and thats not good (plasma cutters only have short Z axes as I’m limited to 20mm cut).

Any ideas?

Thanks

Don’t worry - modified Mach3 to work in a different way :slight_smile: