Haas Macro - Write settings, Move table before tool change, lock settings,

MattWest

New member
Joined
May 19, 2023
Messages
1
Reaction score
0
I'm trying to write the use of O9000 with a variable of 6 IN my program to have it set the variable automatically, instead of having to hit e-stop, change it, and then run. Is there a way to do this? I already tried a pass thru command line of "#[9000]=6" but ended up getting a error message of "522 Illegal Assignment Var or Value". Kinda stumped here. If the variables are Read-Only, how do I enable "write", then at the end of program re-enable "read-only"?

I think I need the machine address for #7 & #23 parameter settings, and not the GUI address.

Any help appreciated.
 

Attachments

Booze Daily

Active member
Joined
Mar 2, 2021
Messages
235
Reaction score
247
Location
Columbia Station, Ohio
Could you explain what you are trying to do?
My Haas does not have variables in the 9000 range.
Why do you need to unlock parameters to do what you are trying to do?

You don’t need to hit e-stop.
 

angelw

Well-known member
Joined
Mar 21, 2021
Messages
310
Reaction score
585
I'm trying to write the use of O9000 with a variable of 6 IN my program to have it set the variable automatically, instead of having to hit e-stop, change it, and then run. Is there a way to do this? I already tried a pass thru command line of "#[9000]=6" but ended up getting a error message of "522 Illegal Assignment Var or Value". Kinda stumped here. If the variables are Read-Only, how do I enable "write", then at the end of program re-enable "read-only"?

I think I need the machine address for #7 & #23 parameter settings, and not the GUI address.

Any help appreciated.
Variable #9000 is used in Thermal Comp Accumulation and can't be written to by a user.

Regards,

Bill
 

Booze Daily

Active member
Joined
Mar 2, 2021
Messages
235
Reaction score
247
Location
Columbia Station, Ohio
Ok I’ve re-read this and sorta think I know what you want to do?
Copy O9000 and call it O9001. Put your table move in 9001 and when you want to do a normal tool change call 9000. When you want to move the table before a tool change call 9001.
No need to mess around with variables.
 
Top Bottom