I'm new to "programming" in G-code, thanks beforehand for the help.
I was asked to come up with a 4 axis program that would repetitively cut unequal tapers in foam from a Text or Excel File. I tried doing it in Excel with VB, no luck. So now I am trying to make a program to do them one at a time via G-code.
Program is as follows, it hangs up on N10
N01
N02 % TAPER PROGRAM, ONLY CHANGE PARAMETERS ON NEXT 5 LINES!!
N03 #1=7 (N corner)
N04 #2=8 (E Corner)
N05 #3=9 (S Corner)
N06 #4=10 (W Corner)
N07 #5=16 (IPM FEED RATE)
N08 #6=-48 (X/B TRAVEL)
N09 G59P12 X0 Y0 A0 B0(RAPID MOVE WIRE TO TOOL OFFSET ZERO)
N10 GOO A[#3*1.102] Y[#4*1.102] (RAPID RAISE Y-A TO CORRECT HEIGHTS)
N11 M00 (TEMP STOP)
N12 G91 Y1 A1 (BACK OFF OFFSET BY ONE INCH INCREMENTAL MODE)
N13 G90 (BACK TO ABSOLUTE MODE)
N15 M3 (HEAT ON)
N17 G4 P2 (WAIT FOR TWO SECONDS)
N19 A[#3*1.102] Y[#4*1.102] (MOVE X-B TO INITIAL CUTTING POSITION)
N21 G1 A[#1*1.102] Y[#2*1.102] X#6 Y#6 F#5 (COORDINATED A/B-Y/X MOVE AT SPEED)
N23 G91 B-1 B-1 (OVERTRAVEL ONE INCH)
N25 G90 (BACK TO INCREMENTAL MODE)
N27 M05 (HEAT OFF)
N29
Basically the hot wire machine is 12' wide and I'm cutting these 4' panels in the middle hence the need for the 1.102 multiplier to get correct height at tangent.
Anything glaring?
Thanks!
JOSH