Hello.
In my post, only g54 is output, so it moves to strange coordinates.
I want to add g90 like in the picture. Help me.
I am sorry that I am not good at English.
Solved! Go to Solution.
Link copied
Hello.
In my post, only g54 is output, so it moves to strange coordinates.
I want to add g90 like in the picture. Help me.
I am sorry that I am not good at English.
Solved! Go to Solution.
What post processor are you using, and what is your machine/control?
In your original code, 5 lines up, you have a G90. I'm not seeing anything in between those lines that would put it back into incremental (G91) mode.
Have you manually inserted the G90 and confirm that behavior is now proper?
OKK VM5
FANUC180is-mb
POST FANUC
And you've in fact confirmed that the G90 is required in two places?
Since you're using a Fanuc based machine, do you also has a macro for the tool change (it's typically O9001)? I'm wondering if it's leaving the machine stuck in G91
The tool change macro is being used like this.
O9020;
;
(M6-SUB)
G91 G28 Z0;
M6;
T#20;
M99;
%
So, we "could" edit the post to force out a G90, or you could (more properly) append a G90 into your macro, right after the T#20;
So:
M6;
T#20;
G90;
M99;