Which macros? Most likely you do not have the supporting macros that runs as sub programs.
I have a couple of macros we run on a newer model Haas machine. When they are ran on the older machine I get alarms because it looks like the old machines don't use the same system variables (6000 range) as the newer machines. Can anyone point me to a variables list of preset variables used by Haas in the old software and the new software for VMCs? The manual gives a range but I am looking for more of a list.
Which macros? Most likely you do not have the supporting macros that runs as sub programs.
http://www.kirkcon.com/
These are custom macros that do setup based on probing a casting. I cant post that macros here. This has nothing to do with a sub program. Basically its looking for how that machine is setup for example if the units are imperial or metric. There are many more things it looks at and like I say the older Haas we want to use this with errors out on any variable in the 6000 range. I am hoping there is a pdf file that shows what each number is related to for machine settings and parameters.
I have not found a specific list yet. From Haas manual:
#6001-#6277 Settings (read only)
#6501-#6999 Parameters (read only)
http://www.kirkcon.com/
I did find:
#6996-#6999 Parameter access using macro variables
It is possible for a program to access parameters 1 to 1000 and any of the parameter bits, as follows:
#6996: Parameter Number
#6997: Bit Number (optional)
#6998: Contains value of parameter number in variable 6996
#6999: Contains bit value (0 or 1) of parameter bit specified in variable 6997.
NOTE: Variables 6998 and 6999 are read-only.
Usage
To access the value of a parameter, the number of that parameter is copied into variable 6996, after which, the value of that parameter is available using macro variable 6998, as shown:
#6996=601 (Specify parameter 601)
#100=#6998 (Copy the value of parameter 601 to variable #100)
To access a specific parameter bit, parameter number is copied into variable 6996 and the bit number is copied to macro variable 6997. The value of that parameter bit is available using macro variable 6999, as shown:
#6996=57 (Specify parameter 57)
#6997=0 (Specify bit zero)
#100=#6999 (Copy parameter 57 bit 0 to variable #100)
NOTE: Parameter bits are numbered 0 through 31. 32-bit parameters are formatted, on-screen, with bit 0 at the top-left, and bit 31 at the bottom-right.
http://www.kirkcon.com/
Thanks for the reply. That helps a little. I am gonna call Haas on Monday and see if they have anything else.
The settings are #6001-#6277 and parameters are #6501-#6999 in the manual from June 2001. What year is your older machine.
Thanks,
Ken Foulks
Ken,
I know the what the ranges are for at least the newer machines but is there a list that actually tells what each number is? The older machine we are trying to run this on is a 1995 and it is currently running on a 2008. Both are VF-2 machines.
#6001 = Setting 1
#6002 = Setting 2
#6003 = Setting 3
#6004 = Setting 4
#6005 = Setting 5
#6006 = Setting 6
#6007 = Setting 7
#6008 = Setting 8
#6009 = Setting 9
#6010 = Setting 10
For example, setting 9 (Dimensioning) is variable #6009. The numbers have not changed. Settings have been added over the years, but the setting numbers are the same. I have attached an old settings list, I would have to really search for a 1995.
How many settings are you searching for? For 3 or 4 settings, just look them up manually on the 1995 VF-2. Do you still have the manual?
Thanks,
Ken Foulks
Thats exactly what I was looking for. In testing with mdi it looks like there is no provision for reading system settings nor the parameters on the 1995 machine. Maybe you can confirm that for me or tell me how to do so. I tried quite a few things in the 6000 range and all of them did not work.
You are correct, we added this functionality in 1998.
Thanks,
Ken Foulks
Can you tell me what variable #6996 is? Its used a couple of times and for the life of me I cant figure it out.