PDA

View Full Version : How can I keep my spindle on?



Hobodog2
11-21-2011, 01:43 PM
How can I make the spindle stay running after it finishes a toolpath?

I am cutting pieces that only take 40 seconds and I want to leave the spindle running while I change the material.

I comment out the turn off command at the end of the toolpath but it still turns off - it must be getting a turn off command from another program.

I do not have the cable that connects the ShopBot control box to the spindle controller - yet.

Any ideas pls

knight_toolworks
11-21-2011, 03:07 PM
I think you need to work a bit more on modifying the toolpath.
ok after the cut have the machine jog to where you want it to park. then put in a pause command. this will requite you to hit enter to start it again. but you can also add a time if that works. then you add goto begin after that. at the top of the file right after the pause add begin:
so the file will run then jog where you want it pause then wait for you to hit enter then start all over again.
if you need the spindle to stop and start add the bottom lines after the off line and the begin before the start line.
modify the start and stop locations so they are practical for the job.

Brady Watson
11-21-2011, 03:12 PM
Make sure you comment BOTH the SO,1,0 command as well as the END command.

-B

knight_toolworks
11-21-2011, 03:33 PM
here is the sample makes it easier then following my poor explanation
http://dl.dropbox.com/u/1939753/sample.sbp

Hobodog2
11-21-2011, 03:41 PM
Thanks Brady and Steve

Works good except I get a "Label Finding Error" at the GOTO begin command line

Working great now - I failed to notice that I had to put BEGIN: up in the beginning of the file.

I wonder why I fail programming 101...

Thanks again

andyb
11-21-2011, 06:30 PM
Peter,
Here is a link to a thread I started some time back. I used David Buchsbaum's option.

http://www.talkshopbot.com/forum/showthread.php?t=62

Andy B.

knight_toolworks
11-22-2011, 01:19 AM
Thanks Brady and Steve

Works good except I get a "Label Finding Error" at the GOTO begin command line

Working great now - I failed to notice that I had to put BEGIN: up in the beginning of the file.

I wonder why I fail programming 101...

Thanks again
me either. I would forget the : at the end of begin.
if you want to have the spindle turn on and of between parts just move the lines after the stop command and the begin before the start command. Much easier then starting the file over and over.

Hobodog2
11-24-2011, 07:02 PM
Thanks everyone for your inputs - I essentially used David B's script, works great.