What's new
What's new

fanuc X axis system variable

cncwhiz

Aluminum
Joined
Dec 11, 2007
Location
Minden, Nevada
I need to build a macro to turn on and off a mirror like feature. I have "G51.1" in the controller but it will not work for the way my programs are configured. I have an approach move in my main program before a sub routine. I need my X axis approach move to mirror but I can't use G51.1 for this line because I have work offset command on the line and it is not allowed. I want to find the system variable or some other way to find X and use it in a macro.
 
What kind of Fanuc control are you using?

What X axis position are you looking for?
Current absolute position #5001
current machine position #5021
These might not be for your series control.

Stevo
 
Thanks,

I have four books on my desk and some links to macro programming. I used to have a program that I used to build macros before but I can't find it. I talked to Fanuc on this issue today. I thought that this one would be they easy one but it looks to be the biggest PIA to make work the way I want to see it. I am trying to keep my post processor work down to reduce cost?
 








 
Back
Top