Al,
I would just have the file loop instead of reloading it, you would need the following:
'----------------------------------------------------------------
'SHOPBOT ROUTER FILE IN INCHES
'GENERATED BY PARTWorks
'Minimum extent in X = 0.000 Minimum extent in Y = 0.000 Minimum extent in Z = 0.000
'Maximum extent in X = 36.000 Maximum extent in Y = 6.000 Maximum extent in Z = 1.500
'Length of material in X = 36.000
'Length of material in Y = 6.000
'Depth of material in Z = 1.500
'Home Position Information = Bottom Left Corner, Table Surface (move to 2.5" offset from default 0,0)
'Home X = 0.000000 Home Y = 0.000000 Home Z = 2.5
'Rapid clearance gap or Safe Z = 2.000
'UNITS:Inches
'
IF %(25)=1 THEN GOTO UNIT_ERROR 'check to see software is set to standard
SA 'Set program to absolute coordinate mode
CN, 90
'New Path
'Toolpath Name = Drill for inserts (5-32 mill)
'Tool Name = 5/32" Up-cut (13729)
&PWSafeZ = 2.000
&PWZorigin = Table Surface
&PWMaterial = 1.500
'&ToolName = "5/23" Up-cut (13729)"
&Tool =5 'Tool number to change to
SO,1,1 'Turning router ON
'Go? (&ToolName)
Pause
'
BEGIN:
MS,1.5,1.0
JZ,2.5
J3,3.249947,0.812577,2.000000
J3,3.249947,0.812577,1.700000
M3,3.249947,0.812577,1.500000
M3,3.250073,0.815385,1.498210
M3,3.250468,0.818263,1.496359
M3,3.251153,0.821175,1.494454
----Snip----
J3,0.046900,1.415996,2.500000
Pause
'Hit escape if you wish to quit
J2,0.00,0.00
GOTO Begin
C7 'Turning router OFF
JZ,2.50000
J3,0.000000,-2.000000,2.500000 'Move router out of way
END
'
UNIT_ERROR:
CN, 91 'Run file explaining unit error
END
Joe
2005 PRT Alpha 48x96
2013 Colombo 3hp spindle
Indexer (converted lathe)
Aspire 9.0