PDA

View Full Version : System Variables



George M (Unregistered Guest)
09-13-2004, 08:36 PM
Hi guys,
Is there a list of system variables %(xx)I can download? It looks like there is no manual for v3 in the download section either.
George

paco
09-13-2004, 10:14 PM
Do you use Alpha controler?

George M (Unregistered Guest)
09-13-2004, 10:33 PM
It's a PRT96 with yesterday's buid 9-12-04 v3.3.2 software. So far I found few % variables examining new example files.
George

paco
09-13-2004, 10:51 PM
Hummmm...
I could share what I got but I use an Alpha... and got it for that...
What's your e-mail George?

Brady Watson
09-14-2004, 10:13 AM
George,
What are you trying to modify/setup?

-Brady

bill.young
09-14-2004, 11:36 AM
Hey George,

We plan to have system variables for all the ShopBot settings eventually, but not all are implimented yet. We'll get the updated list for the v3 software into the documentation as soon as we can, but in the meanwhile let me know what you're trying to access and I'll see if it's accessable yet.

Bill

scott_smith
09-14-2004, 04:13 PM
Bill, does that mean that the variables I use in V2 may not work if I change to V3 on the SB computer?

This is the list I have:

%(1) = Current Location of X Axis (in inches or mm)
%(2) = Current Location of Y Axis (in inches or mm)
%(3) = Current Location of Z Axis (in inches or mm)
%(4) = Current Location of Acc Axis (in inches or mm)

%(6) = current location of X axis in ShopBot Units (of limited use in Part File software)
%(7) = current location of X axis in ShopBot Units (of limited use in Part File software)
%(8) = current location of X axis in ShopBot Units (of limited use in Part File software)

%(9) = Encoder error X Axis (for use with cable-drive tools)
%(10) = Encoder error Y Axis (for use with cable-drive tools)
%(11) = Steps per Encoder unit X Axis (for use with cable-drive tools)
%(12) = Steps per Encoder unit Y Axis (for use with cable-drive tools)
%(13) = Current Encoder location X axis (for use with cable-drive tools)
%(14) = Current Encoder location Y axis (for use with cable-drive tools)

%(15) = Low Limit Value Z Axis
%(16) = Hi Limit Value Z Axis
%(17) = Low Limit Value Acc Axis
%(18) = Hi Limit Value Acc Axis

%(20) = Current Cutter Diameter in software

%(21) = Current Distance Setting (Absolute-0; Relative-1)
%(22) = Current Move Mode Setting (Cut/Move Mode-0; Preview Mode-1)

%(25) = Initial Segment Size (cable-derive tools)
%(26) = Stall Threshold (cable-derive tools)
%(27) = Tolerance (cable-derive tools)
%(28) = Start Tolerance (cable-derive tools)

%(31) = Unit Value X Axis
%(32) = Unit Value Y Axis
%(33) = Unit Value Z Axis
%(34) = Unit Value Acc Axis

%(50) = Current Composite Encoder Reading (4 hight bits)
%(51) = Status Input #1 (0-OFF; 1-ON)
%(52) = Status Input #2 (0-OFF; 1-ON)
%(53) = Status Input #3 (0-OFF; 1-ON)
%(54) = Status Input #4 (0-OFF; 1-ON)

bill.young
09-14-2004, 04:55 PM
Hey Scott,

There have been a few changes but nothing that I think will effect anyone's files. I'll have to check over the list to give you a complete answer, but the ones that I see that have changed are the ones that are flagged for cable drive tools and the ones that had values in ShopBot units ...%6, %7, and %8. Mostly it's just a lot of new ones.

FYI, we'll put the most current list of system variables in the "developer tools" folder starting with the next version of the software.

Bill

mrdovey
09-14-2004, 06:28 PM
... and if anyone needs to retrieve a value for which there is no %(system variable), I have a piece of software that can be invoked from and returns to the SBP program the current value of any command parameter saved in the SHOPBOT.INI file ...

George M (Unregistered Guest)
09-14-2004, 06:39 PM
Thanks Bill,
For now I found what I need examining sample programs in SBParts folder. I am writing a small program to help align my jigs on the table.
George

scott_smith
09-14-2004, 07:16 PM
Thanks bill.

I don’t use most of them anyway, only an occasional current location, cutter diameter, or Input status.

I just posted the full list incase it helped George M.

Scott

George M (Unregistered Guest)
09-14-2004, 08:30 PM
Scott,
Thanks for the list. Here are few more values:

%(71)=XYmove_Speed
%(73)=Zmove_Speed

%(76)=XYjog_Speed
%(78)=Zjog_Speed

George

thesignguys@verizon.net
10-14-2004, 05:29 PM
help with unit values using prt 120-60 lost my old pc. set up new unit with shop bot 3 software and need unit values for xy & z i have 25 tooth 3.6 motors, any help

Brady Watson
10-14-2004, 05:54 PM
Bob,
Your unit values are most likely:

X = 183.347
Y = 183.347
Z = 916.733

To be sure, chuck a V-bit or similar pointed tool into the router. Move the Z down about 1/16" of the spoilboard and mark a fine pencil line. Tell the tool to move 6". Put another line where the bit meets the spoilboard. Measure the distance. You should be dead on if you have a PRT with 25 tooth pinions & 3.6:1 GB.

-Brady

bob russell (Unregistered Guest)
10-14-2004, 08:17 PM
thanks brady ill try that in the morning
Bob