Haas milling post - incorrect output at end of program when setting "safePositionMethod" to clearance Height.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
It appears there is some incorrect code in both the Haas NGC and preNGC posts for milling. I have tried the latest of each (released today, 6-4-24) as well as older versions...they have the same problem.
If safePositionMethod is set to G53 it works correctly and outputs the following at the end of the program:
N240 M5
N245 M9
N250 G53 G0 Z0.
N255 G53 G0 X0. Y0.
N260 M30
If safePositionMethod is set to clearanceHeight it does not work correctly and outputs the following at the end of the program:
N235 M5
N240 M9
N245 M30
This code stops the machine at its last programmed position and does not move the Z axis or table to a convenient location. It should really output the same homing code as output using G53 for safePositionMethod.
If I run the machine with safePositionMethod to G53, everything works well, but there are excessive Z axis moves to G53 home and this adds additional wear to the machine and an increase to cycle times.
These results were duplicated in Visual Studio Code using the simple face.cnc program under 2D milling.