586,100 active members*
2,743 visitors online*
Register for free
Login
Results 1 to 19 of 19
  1. #1
    Join Date
    Jul 2005
    Posts
    207

    Exclamation Haas macro variables list?

    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.

  2. #2
    Join Date
    May 2004
    Posts
    4519
    Which macros? Most likely you do not have the supporting macros that runs as sub programs.

  3. #3
    Join Date
    Jul 2005
    Posts
    207
    Quote Originally Posted by txcncman View Post
    Which macros? Most likely you do not have the supporting macros that runs as sub programs.
    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.

  4. #4
    Join Date
    May 2004
    Posts
    4519
    I have not found a specific list yet. From Haas manual:

    #6001-#6277 Settings (read only)
    #6501-#6999 Parameters (read only)

  5. #5
    Join Date
    May 2004
    Posts
    4519
    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.

  6. #6
    Join Date
    Jul 2005
    Posts
    207
    Thanks for the reply. That helps a little. I am gonna call Haas on Monday and see if they have anything else.

  7. #7
    Join Date
    Aug 2010
    Posts
    579

    Haas Factory Support

    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

  8. #8
    Join Date
    Jul 2005
    Posts
    207
    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.

  9. #9
    Join Date
    Aug 2010
    Posts
    579

    Haas Factory Support

    #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?
    Attached Files Attached Files
    Thanks,
    Ken Foulks

  10. #10
    Join Date
    Jul 2005
    Posts
    207
    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.

  11. #11
    Join Date
    Aug 2010
    Posts
    579

    Haas Factory Support

    You are correct, we added this functionality in 1998.
    Thanks,
    Ken Foulks

  12. #12
    Join Date
    Jul 2005
    Posts
    207
    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.

  13. #13
    Join Date
    Aug 2010
    Posts
    579

    Haas Factory Support

    Parameter 6996 = Parameter 496 (Tool Turret Spindle Therm Coef)

    This is in the newer controls. Please send me an email and I will take a look at your program. [email protected]
    Thanks,
    Ken Foulks

  14. #14
    Join Date
    May 2004
    Posts
    4519
    Quote Originally Posted by DaOne View Post
    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.
    Variable 6996 will be equal to whatever value it is set to in the macro. If will be equal to a setting number. Which setting it is will depend on the value. I thought the information from the manual was pretty clear on that.

  15. #15
    Join Date
    Jul 2005
    Posts
    207
    Quote Originally Posted by txcncman View Post
    Variable 6996 will be equal to whatever value it is set to in the macro. If will be equal to a setting number. Which setting it is will depend on the value. I thought the information from the manual was pretty clear on that.
    txcncman, Anything above 6500 is a parameter not a setting and my manuals I have don't list a parameter 496 and this is why I asked.

    Thanks Ken! The 1995 machine as far as I know has no provision for that parameter so I just commented it out and it works great now. On the manual for a 1995 machine... I know you said it would take some digging but is there any chance of getting a pdf file of it? I have found little info on this machine.

    Thanks again, you have been very helpful! :cheers:

  16. #16
    Join Date
    May 2004
    Posts
    4519
    Quote Originally Posted by DaOne View Post
    txcncman, Anything above 6500 is a parameter not a setting and my manuals I have don't list a parameter 496 and this is why I asked.

    Thanks Ken! The 1995 machine as far as I know has no provision for that parameter so I just commented it out and it works great now. On the manual for a 1995 machine... I know you said it would take some digging but is there any chance of getting a pdf file of it? I have found little info on this machine.

    Thanks again, you have been very helpful! :cheers:
    Sorry you do not understand the difference between Parameter 6996 that has the value of say 10 assigned to it and then that allows the macro to go read the value of Setting 10 which might be 1. You are taking a macro written for a newer machine and running it on an old machine. Your macro was trying to get a value for a setting that was not there and then do a function or calculation with NULL.

  17. #17
    Join Date
    Jul 2005
    Posts
    207
    Quote Originally Posted by txcncman View Post
    Sorry you do not understand the difference between Parameter 6996 that has the value of say 10 assigned to it and then that allows the macro to go read the value of Setting 10 which might be 1. You are taking a macro written for a newer machine and running it on an old machine. Your macro was trying to get a value for a setting that was not there and then do a function or calculation with NULL.
    Not sure why you are trying to start a fight with me over a question I asked? Once again, The parameter number 496 was not in my manual because it did not even exist when my machine was made. I was asking what that parameter represented. It had nothing to do with adding or subtracting anything nor any kind of "settings". From the looks of your blog you are a teacher. I sure hope you don't take this stance when one of your students ask you a question.

  18. #18
    Join Date
    Aug 2010
    Posts
    579

    Haas Factory Support

    It will take some time to find the 1995 operator's manual. We have some old publications on a pallet in storage somewhere. I have a request in for someone to go search that area. I will let you know.
    Thanks,
    Ken Foulks

  19. #19
    Join Date
    Jul 2005
    Posts
    207
    Quote Originally Posted by KenFoulks View Post
    It will take some time to find the 1995 operator's manual. We have some old publications on a pallet in storage somewhere. I have a request in for someone to go search that area. I will let you know.
    Thank you much Ken!

Similar Threads

  1. Haas Macro variables (date)
    By MSGMachine in forum Haas Mills
    Replies: 6
    Last Post: 01-30-2011, 03:02 AM
  2. Macro Variables
    By donwatt in forum Controller & Computer Solutions
    Replies: 0
    Last Post: 06-25-2010, 06:30 PM
  3. macro variables
    By sinha_nsit in forum Fanuc
    Replies: 5
    Last Post: 01-15-2008, 10:42 AM
  4. need help with system variables list for mazatrol m/t pro control
    By uperez in forum Mazak, Mitsubishi, Mazatrol
    Replies: 3
    Last Post: 10-25-2007, 04:21 PM
  5. Variables/Macro use ????
    By theemudracer in forum G-Code Programing
    Replies: 2
    Last Post: 12-11-2006, 04:47 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •