What's new
What's new

G65 Alternate Alphabetical Addressing - HOW???

Taylor-WSE

Plastic
Joined
Apr 24, 2019
I want to use a G65 macro sub-program to set macro variable #33. Haas has a table for "Alternate Alphabetical Addressing" (Link Here) that shows the address for #33 is "K". I've seen others like Hurco that use "K10" for #33. All I have been able to find in Haas manuals is that #33 can be used "...if a sufficient number of I, J and K arguments are used". Does anyone know how to do this?

Example: G65 P9000 A1.5 ---> Stores #1 = 1.5 and runs O9000. I need to replace "A" with something that will write to #33.

Thanks in advance.
 
The way I read it, the first instance of IJK in your macro call will be assigned to variables #4, #5, #6. The next instance will be assigned to #7, #8, #9 etc.
ie: G65 P9000 I1 J2 K3 I4 J5 K6

So you're gonna need a whole lot of IJK to reach variable #33.
 
The way I read it, the first instance of IJK in your macro call will be assigned to variables #4, #5, #6. The next instance will be assigned to #7, #8, #9 etc.
ie: G65 P9000 I1 J2 K3 I4 J5 K6

So you're gonna need a whole lot of IJK to reach variable #33.
Exactly right.
I want to use a G65 macro sub-program to set macro variable #33. Haas has a table for "Alternate Alphabetical Addressing" (Link Here) that shows the address for #33 is "K". I've seen others like Hurco that use "K10" for #33. All I have been able to find in Haas manuals is that #33 can be used "...if a sufficient number of I, J and K arguments are used". Does anyone know how to do this?

Example: G65 P9000 A1.5 ---> Stores #1 = 1.5 and runs O9000. I need to replace "A" with something that will write to #33.

Thanks in advance.
You could but you would have to call a lot of the IJK group to get it to pass the argument.

G65 P9000 I0J0K0I0J0K0I0J0K0I0J0K0I0J0K0I0J0K0I0J0K0I0J0K0I0J0K0I0J0K0I0J0K10
Something like that? which looks ridiculous and is probably too long.

It would really help if you could give a better idea of exactly what you are attempting to do. I could more than likely help you get there.
 
The way I read it is you wrote a program O9000 using #33, or copied one and it happens to use #33. I see two ways to do this:

1) Do a quick replace of #33 within O9000 and change all of them to #1 (going off of your example).
2) At the very beginning of O9000, have something like "#33=#1 (#33=A Call in G65 Line)," and then the bulk of the program to follow

Like RJWalker1973 said above, without knowing more, this is what I can see helping.
 
Exactly right.

You could but you would have to call a lot of the IJK group to get it to pass the argument.

G65 P9000 I0J0K0I0J0K0I0J0K0I0J0K0I0J0K0I0J0K0I0J0K0I0J0K0I0J0K0I0J0K0I0J0K10
Something like that? which looks ridiculous and is probably too long.

It would really help if you could give a better idea of exactly what you are attempting to do. I could more than likely help you get there.
Thank you both for your replies.
I briefly thought the same thing about having 9 K's before the one I was actually going to use. However, I didn't pursue it because it did look pretty ridiculous.

I'm trying to pass a variable through the Renishaw IPS 9000 programs, similar to adding a Q value for increasing the allowable overtravel for a probing routine. I landed on #33 because that one isn't used anywhere in RENIPS V2.6.

I'll do more digging on which variables are used and where they are used; I might be able to find another one that doesn't require alternate addressing.

Just curious, if you are going to use the "G65 P9000 I0J0K0I0J0..." method, does the second instance of "I" overwrite a "D" address?
For example:
G65 P9000 D2. I0 J0 K0 I4. J0 K0
"D" sets #7 to 2.0, but the second instance of "I" also sets #7 to 4.0 (if I'm reading the address tables correctly). Is there a danger of overwriting other addresses on the G65 line? or is it not possible to mix the standard and alternate addressing? This is a bit in the weeds for what I'm doing, like I said just curious.

Thanks again!
 








 
Back
Top