Here's the code I used to test:
&A = IIF(1,4,5)
PRINT &A
&B = (min(10,3,27,15))
PRINT &B
&C = (max(1,9))
Type: Posts; User: Scott216
Here's the code I used to test:
&A = IIF(1,4,5)
PRINT &A
&B = (min(10,3,27,15))
PRINT &B
&C = (max(1,9))
I have seen that PDF, thanks. I don't have a current need, I just noticed that IIF, MIN and MAX don't seem to work.
I can't get IIF, MIN and MAX functions to work. Is this a bug in shopbot? If not, can someone send me an example or the proper format for these functions.
I see there is a new SB control software release. Are there any bug fixes in it?
Meant C9, not C6
I'll definitely do some testing. I think I'll make a separate version of MTC.sbp and change my post processor (I use Fusion 360) so instead of outputting C6, I'll create something new like C66 which...
Thanks. I'll take a look at MTC.sbp file and see what I can do.
No ATC on my shopbot
From what I understand, shopbot only uses tool number 1-19 for the first head. If you have a 2nd head, those need to be tool number 20-29, and drills are 30 and above. I just have one spindle head...
Thank you. I'll give this a try.
Ok. Thanks.
Is there a way to have have a program file either close the KeyPad window if it's open? Or check to see that it's open and the program can then abort?
I don't see how the OPEN command will do what I want. my_variables.sbc is the shopbot created file that has a ton of variables. I know how to open that file and read all the variables in memory. ...
There's no release notes or description for control software 3.8.76 released June 2023. What's in this release?
https://www.shopbottools.com/support/control-software
Can I add my own custom variable to my_variables.sbc, then change that variable from an sbp file?
I'd like to format my INPUT box text a bit by using a carriage return (or line feed). Is there a way to do this in a sbp file?
No, I assume it would be cheaper not going to shopbot.
Anyone know where I can get a replacement keyed spindle lock-out switch for PRS Alpha?
I have a digitizing probe (it's not a ShopBot touch probe). In the pdf (https://www.shopbottools.com/ShopBotDocs/files/DigitizingProbe.pdf) that explains how to to 3D probing, it mentions the "Probe...
I'd like to get a touch probe so I can zero X and Y. I know for the Z-plate probing, it's just closing a circuit. I assume the touch-plate is sending ground signal to the controller card when the...
The shopbot PRS at my makerspace is generating a "MyVars Run-Time Error 52 bad file name or number" This is a Windows 10 error, not a shopbot error. It doesn't seem to affect the shopbot. I did...
Good to know, thanks
I guess it could be the case SF, 0 only turns off limit checking temporarily. Is that how it works from a sbc file?
I want to turn Software Limit checking off using this command:
SF, 0
I added it to a sbc file I use. But it has no effect. Is there a different command I should use in the sbc file to do...
Thanks, I'll give that a try. The values aren't changing on their own (via corrupt file or something). The shopbot I use is at a Makerspace and I've noticed the my program my take 2x or more longer...