Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
wileydavis
1099 Views, 3 Replies

Haas Post now uses G154 instead of G110

After installing the update today, the haas generic post outputs G154 P1 instead of G119 for a program with multiple work offsets. This errors my machine. Is there a way to revert to the old behavior?

Steinwerks
in reply to: wileydavis

I believe if you change this section:

 

      if (workOffset != currentWorkOffset) {
        forceWorkPlane();
        writeBlock(gFormat.format(154), "P" + code);
        currentWorkOffset = workOffset;

to this:

 

      if (workOffset != currentWorkOffset) {
        forceWorkPlane();
        writeBlock(gFormat.format(103 + workOffset));
        currentWorkOffset = workOffset;

It should correct the issue. Make sure to save the post somewhere else as a custom post or you'll have to change this line every update.

 

Whoops, edited that code since G110 is offset 7.

Neal Stein

New to Fusion 360 CAM? Click here for an introduction to 2D Milling, here for 2D Turning.

Find me on:
Instagram and YouTube
wileydavis
in reply to: Steinwerks

Awesome, thanks.

 

Dumb question though, how do I get to the generic post file to edit? I recall getting one from github a while back but I can't find the link and the last time I did that the version on github wasn't the latest version of the generic post.

Steinwerks
in reply to: wileydavis

Well you can choose to edit the post from the post process screen and save as something else, or go here:

http://cam.autodesk.com/posts/
Neal Stein

New to Fusion 360 CAM? Click here for an introduction to 2D Milling, here for 2D Turning.

Find me on:
Instagram and YouTube