PDA

View Full Version : Main files?



treadway846
07-17-2006, 09:45 AM
I am trying to run 2 files consecutivly using the same bit. Similar to the way Bill's sawhorse file is set up. I am using the same bit and would like to be able to just start 1 file to run all the cuts.....How do I do this. Thanks for any help.

mikejohn
07-17-2006, 10:04 AM
Justin
I do this all the time.

J3,0,0,25
FP,D:\dece3a,,,,,2
J2,0,184
FP,D:\dece3b,,,,,2
J2,0,368
FP,D:\dece3c,,,,,2
J2,0,552
FP,D:\memi2a,,,,,2
J2,0,736
FP,D:\memi2b,,,,,2
J2,0,920
FP,D:\memi2c,,,,,2

In each case the 'called' files start at x=0, y=0, and end with a safe Z move.

The J2 moves put the shopbot in the exact right place after the end of the previous file.
The commas are vital!

.............Mike

patricktoomey
07-17-2006, 10:05 AM
Justin, you can use the FP command to do that. The FP command loads and runs an sbp file. You could do a couple of things with that...

First, let's say you have file1.sbp and file2.sbp. You could edit file 1 and insert the following as the last line of the file...
FP, file2.sbp

Or you could make a new file which would call both of the other files in sequence. The new file would look something like this...
'This calls file1 and file2 in sequence
FP, file1.sbp
FP, file2.sbp

gerald_d
07-17-2006, 11:00 AM
Open the files in Notepad, cut&paste the second one after the first one, save with new file-name...it can be this simple. (ie. join the lines in the files together to make a longer, single file)

mikejohn
07-17-2006, 11:49 AM
I use the file I posted above as I repeat the sequence, but with different file names, often.
If its a one off, then Geralds method works well.

...............Mike

paco
07-17-2006, 01:04 PM
Depending on what program you use, you can output 'em all at once in a single merged (and optimized) toolpath too.

treadway846
07-18-2006, 02:35 PM
thanks everyone!