G53 Y0 at end of Haas Post

G53 Y0 at end of Haas Post

mattdlr89
Advisor Advisor
540 Views
4 Replies
Message 1 of 5

G53 Y0 at end of Haas Post

mattdlr89
Advisor
Advisor

1I have the next gen Haas post and at the end of the program it posts a line that is G53 Y0. I understand what this is doing but I have selected Use G28. Should this not be a G28 G91 Y0, G90 move?

I've looked through the post and I have found at line 3709

  if (_xyzMoved[0] || _xyzMoved[1]) {
    _useG28 = false;
  }

If I set it to True then I get a G28 output for Y as expected at the end of the program. 

 

Is it expected behaviour to output a G53 at the end of the program hwen Use G28 is selected?

0 Likes
Accepted solutions (1)
541 Views
4 Replies
Replies (4)
Message 2 of 5

jameshorne0503
Advocate
Advocate

If you want to find out what part of the post processor generates the line you're looking for you can use this technique: https://www.youtube.com/watch?v=4OWT-O4oN8E

 

I've not looked at the post specifically but you may want to try commenting that section out to get the expected result. I'd be careful though as it seems to be switching G28 off intentionally regardless of what you've chosen. If your programs still run fine as is I wouldn't edit it.

 

Hope this helps!

0 Likes
Message 3 of 5

boopathi.sivakumar
Autodesk
Autodesk
Accepted solution

Hi @mattdlr89

This is intended purpose G28 will be used only for Z moves and any rotary resets for safety reason.

_xyzMoved[0] || _xyzMoved[1]

This is basically if it is X or Y then forced to use G53 (even though the properties are set to Use G28 ).

it can be set to true if you want to use G28 for X and Y as well

 


Boopathi Sivakumar
Senior Technology Consultant

0 Likes
Message 4 of 5

mattdlr89
Advisor
Advisor

Thanks for clearing this up. The reason I wanted to use G28 is that i have a G68 manually entered at the top of the program and a G53 move will error out. 

What are the safety reasons for using G53 for X and Y over G28?

0 Likes
Message 5 of 5

johnswetz1982
Advisor
Advisor
0 Likes