View Full Version : After updating Control software to 3.8.8
jhedlund58
10-25-2013, 12:17 PM
I can't find a file on my machine that I wood run to spread grease after maintenance. I did complete uninstalls and lost the folder with utility or code. what it did was run the Bot from base coordinates and cascaded the entire size of table X, Y, and Z. I am sure this code was something I found on forum or was provided by shopbot. Does this make sense to anyone else.
I am using 3.8.8 and for my purposes am very happy with the latest. I have run 3d files with no problems. None more than 1.5 hours or so on finish path. my needs are satisfied and want to find this utility/code.
thanks,
hobbyist having too much fun
srwtlc
10-25-2013, 12:33 PM
What size table do you have? I have one I used to use on my old PRT as an exercise routine to even up wear on the rails.
It was just a simple repeating routine like this...
REPEAT:
J2,0,0
J2,96,48
GOTO REPEAT
Make sure the z axis is high enough, set your speed as desired, and let 'er rip for as long as you want. ;)
jhedlund58
10-25-2013, 12:40 PM
Buddy 48... 2 x 4 tabletop with .5 overlap allway around... does this move the z too. looks like I would have to change parameters on one line... I try it
thanks
srwtlc
10-25-2013, 12:50 PM
Just change it from J2 to J3 and add the appropriate values like this...
REPEAT:
J3,0,0,0
J3,96,48,8
GOTO REPEAT
jhedlund58
10-25-2013, 01:11 PM
thank u... u way up there in Wisconsin... my grandparents started in iron mountain and my wife's family is long in tooth in Waupaca.... we spend lots of summers up there on chain o lakes..... good people...good fishin... good music.... good beer...
Just tested and your routine does exactly what I want... I thought this was a canned function at one time... glad to have it back thankin very much
Again... Thank You
Jeff
jhedlund58
10-25-2013, 01:37 PM
Here's the code I came up with
'Cascade
'SHOPBOT FILE IN INCHES
IF %(25)=1 THEN GOTO UNIT_ERROR 'check to see software is set to standard
C#,90 'Lookup offset values
'
'Turning router ON
'SO,1,1
'PAUSE 2
'
'
'Toolpath Name = Cascade
REPEAT:
J3,0,0,0
J3,48,24,4
GOTO REPEAT
PAUSE 2
J3,0,0,0
'Turning router OFF
'SO,1,0
'
UNIT_ERROR:
C#,91 'Run file explaining unit error
END
when I stop the loop it does not fall through to J3,0,0,0
Not big problem. I find this routine useful... not sure how to exit loop properly
srwtlc
10-25-2013, 04:42 PM
When you stop the file/loop with a click on stop, spacebar, or enter, you chose 'Quit' and the file ends there, thus not falling through.
If you want it to run a set amount of times, you could add a counter to it and when it reaches that count, it would jog home and quit. Something like this...
&count = 0
REPEAT:
J3,0,0,0
J3,48,24,4
&count = &count +1
IF &count <4 THEN GOTO REPEAT
PAUSE 2
JH
Or this...
&reps = 5
REPEAT:
J3,0,0,0
J3,48,24,4
&reps = &reps -1
IF &reps > 0 THEN GOTO REPEAT
PAUSE 2
JH
Or you could have it ask you for the reps and enter the desired amount. You could get fancier and use a GOSUB QUIT and make a subroutine for QUIT: Just a few ways to skin it.
Yup, near Chippewa Falls/EauClaire area. Been through the Waupaca area numerous times.
Powered by vBulletin® Version 4.2.2 Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.