I would like to add G90 in front of G54.

j.hong3MP6V
Participant
Participant

I would like to add G90 in front of G54.

j.hong3MP6V
Participant
Participant

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.2.png

 

0 Likes
Reply
Accepted solutions (1)
325 Views
6 Replies
Replies (6)

seth.madore
Community Manager
Community Manager

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?


Seth Madore
Customer Advocacy Manager - Manufacturing
1 Like

j.hong3MP6V
Participant
Participant

OKK VM5

FANUC180is-mb

POST FANUC 

0 Likes

seth.madore
Community Manager
Community Manager

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


Seth Madore
Customer Advocacy Manager - Manufacturing
0 Likes

j.hong3MP6V
Participant
Participant

The tool change macro is being used like this.

 

O9020;

;

(M6-SUB)

G91 G28 Z0;

M6;

T#20;

M99;

%

 

0 Likes

seth.madore
Community Manager
Community Manager
Accepted solution

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;


Seth Madore
Customer Advocacy Manager - Manufacturing
0 Likes

j.hong3MP6V
Participant
Participant
Thank you! Thanks to you, I was able to solve it.
0 Likes