Machsupport Forum

Mach Discussion => VB and the development of wizards => Topic started by: MachineMaster on March 22, 2009, 10:58:15 PM

Title: Dedicated Mach variables
Post by: MachineMaster on March 22, 2009, 10:58:15 PM
Some where I came across a table of Mach 3 variables that were in the 5000+ range. Where is it? Are these the only ones that I should not casually change?
When using #123=x.xx in G-code to set a variable what variable numbers are open to use and what numbers should not be used?
Title: Re: Dedicated Mach variables
Post by: vmax549 on March 23, 2009, 12:00:56 AM
IF I remember correctly there are about 10,320 VARs  .  I don't have a clue what they are all for.

 IT would be good if someone would post the ranges and their uses.

Just a thought(;-) TP
Title: Re: Dedicated Mach variables
Post by: MachineMaster on March 23, 2009, 10:06:56 PM
I finally found the table of Mach parameters again. It is in Mach3Mill_1.84.pdf section 10.
It lists numbers starting with 5161 = G28 home X and continues to 5326 = Work offset 6 C and then states
"And so on every 20 values until"  and then the chart continues with 10281 = Work offset 254 X until 10306 = Work offset 255 C.
Then the page ends with

"A Mach3 machining system maintains an array of 10,320 numerical parameters. Many of
them have specific uses. The parameter which are associated with fixtures are persistent
over time. Other parameters will be undefined when Mach3 is loaded. The parameters are
preserved when the interpreter is reset. The parameters with meanings defined by Mach3
are given in figure 10.1"

Does the last line mean that I am free to use any parameter NOT listed in figure 10.1?
Title: Re: Dedicated Mach variables
Post by: vmax549 on March 25, 2009, 10:35:55 AM
NOT neccesarily (;-)  THere are some used for MACH things that are not listed.

2000 -2003 are parameters to store the Mach probing(g31) positional data
500-600 is setup as a block to store data that needs to be saved when Mach shuts down

And I am sure there are others as well (;-)

Maybe we can get Art to expand our knowledge on such matters(;-)

(;-) TP
Title: Re: Dedicated Mach variables
Post by: MachineMaster on March 25, 2009, 12:48:24 PM
I am using the 500-600 range because I have been told they are safe to use.
It would be great if Art would give us a list of safe to use variables.
Title: Re: Dedicated Mach variables
Post by: Jim_colo on January 01, 2012, 09:17:06 PM
Did any one find a list of safe to use variables?
I would like to know what variables are used and for what?
or can any one tell me how to find a list or where they are stored?

thank you