I've been modifying an old Mach3 plasma post processor but cannot for the life of me find out how to get it to stop putting the Z pierce height at an unwanted location in the code.
I basically need:
1. Go to Safe Z
2. Rapid to pierce location
3. Touch off
4. Raise to pierce height
However what I am getting is:
1. Go to Safe Z
2. Rapid to pierce location
3. Z rapid to pierce height (this is the bit I want to get rid off)
4. Touch off
5. Raise to pierce height
This is the generated gcode:
Code: Select all
N0010 (Filename: SINGLE OPEN LINE.tap)
N0020 (Post processor: MACH3 PLASMA PP ( BEEFY modified).scpost)
N0030 (Date: 09/05/2019)
N0040 G21 (Units: Metric)
N0050 G90
N0060 F1
N0070 (Part: 100mm HORIZ OPEN LINE)
N0080 (Operation: Outside Offset, 0, T1: Plasma, 1.5 mm kerf)
N0090 M06 T1 F1100.0 (Plasma, 1.5 mm kerf)
N0100 G00 Z70.0000
N0110 X0.0000 Y10.0000
N0120 Z3.8000 ************* HOW TO STOP PIERCE HEIGHT BEING PUT HERE *****************
N0130 G28.1 Z15
N0140 G92 Z0.0
N0150 G00 Z0.4000
N0160 G92 Z0.0
N0170 G00 Z3.8000 ****** GOOD - PIERCE HEIGHT HERE ***********
N0180 M03
N0190 G04 P0.7
N0200 G01 Z1.5000 F3000.0
N0210 Y0.0000 F1100.0
N0220 X100.0000
N0230 Y10.0000
N0240 M05
N0250 G00 Z70.0000
N0260 M05 M30
Job file and post processor attached.
Keith