MACH3 - How to I remove G43 from post?

MACH3 - How to I remove G43 from post?

Anonymous
Not applicable
3,705 Views
9 Replies
Message 1 of 10

MACH3 - How to I remove G43 from post?

Anonymous
Not applicable

Hey guys, 

Im struggling hard core with G43, it keeps messing with me if I forget to go back through all my code and delete them all. I hand load my machine for every operation so I really dont make use of any tool offsets. 

 

I simply load the needed tool, bring Z down to stock top, zero it out and move on with life. Nothing fancy. 

 

Is there a way to disable G43 from Mach3's post? I actually run Mach4 but they read the same way. 

0 Likes
Accepted solutions (1)
3,706 Views
9 Replies
Replies (9)
Message 2 of 10

LibertyMachine
Mentor
Mentor
Accepted solution

Navigate to this section of code:

if (!machineConfiguration.isHeadConfiguration()) {
      writeBlock(
        gAbsIncModal.format(90),
        gMotionModal.format(0), xOutput.format(initialPosition.x), yOutput.format(initialPosition.y)
      );
      writeBlock(gMotionModal.format(0), gFormat.format(43), zOutput.format(initialPosition.z), hFormat.format(lengthOffset));
    } else {
      writeBlock(
        gAbsIncModal.format(90),
        gMotionModal.format(0),
        gFormat.format(43), xOutput.format(initialPosition.x),
        yOutput.format(initialPosition.y),
        zOutput.format(initialPosition.z), hFormat.format(lengthOffset)

And make these changes (in RED)

if (!machineConfiguration.isHeadConfiguration()) {
      writeBlock(
        gAbsIncModal.format(90),
        gMotionModal.format(0), xOutput.format(initialPosition.x), yOutput.format(initialPosition.y)
      );
      //writeBlock(gMotionModal.format(0), gFormat.format(43), zOutput.format(initialPosition.z), hFormat.format(lengthOffset));
    } else {
      writeBlock(
        gAbsIncModal.format(90),
        gMotionModal.format(0),
        gFormat.format(43), xOutput.format(initialPosition.x),
        yOutput.format(initialPosition.y),
        zOutput.format(initialPosition.z), hFormat.format(lengthOffset)

Seth Madore
Owner, Liberty Machine, Inc.
Good. Fast. Cheap. Pick two.
Message 3 of 10

Anonymous
Not applicable

Thank you, that worked but now I notice in the Mach3 post, it only loads one tool per setup? Why wont it throw out a M6 every time it needs a new tool? I have Mach4 configured so it automatically stops and waits for me to change out the tool and re-zero before clicking cycle start which then continues on along milling. I have my tool table setup and each tool has its own number. But from one op too the next it doesnt throw out a M6.  

0 Likes
Message 4 of 10

Anonymous
Not applicable

Cancel that, I figured it out. I had manual load checked and for some reason that cancels the M6 ops after the first one.  

0 Likes
Message 5 of 10

daniel_lyall
Mentor
Mentor

@Anonymous What is the G43 doing is it some funny non commanded moves and just going to random spot or is just stuffing up the tool offsets.

 

There is a bug what I have never been able to find if, it causes Mach3 and 4 to goto random places at tool change time and at restart of the G Code after a tool change.


Win10 pro | 16 GB ram | 4 GB graphics Quadro K2200 | Intel(R) 8Xeon(R) CPU E5-1620 v3 @ 3.50GHz 3.50 GHz

Daniel Lyall
The Big Boss
Mach3 User
My Websight, Daniels Wheelchair Customisations.
Facebook | Twitter | LinkedIn

0 Likes
Message 6 of 10

Anonymous
Not applicable

I hand load my machine, so the tool offset is never the same. So with that being the case, I would zero the machine out with a tool, G43 would add a tool offset on top of the zero, then it would try to go drilling too china. 

0 Likes
Message 7 of 10

daniel_lyall
Mentor
Mentor

Yep that's the offset bug the only way to get rid of it is to type G40 and G49 into the mdi after you load the gCode, haveing it in the safe conditions does nothing to get rid of it.

 

It gets even worse If you run a program from V carve pro after a fusion G code.


Win10 pro | 16 GB ram | 4 GB graphics Quadro K2200 | Intel(R) 8Xeon(R) CPU E5-1620 v3 @ 3.50GHz 3.50 GHz

Daniel Lyall
The Big Boss
Mach3 User
My Websight, Daniels Wheelchair Customisations.
Facebook | Twitter | LinkedIn

0 Likes
Message 8 of 10

grURN8F
Explorer
Explorer

@LibertyMachine Made the change in red. Works great for me, thank you!

However: From time to time my change seems to be overwritten. I only notice that as mostly the optional stop option (in post process), which I usually have set to "no", is set to "yes" at the same time. May be due to a Fusion update?

Is there a way to permanently keep the changes?

Thanks & cheers

Gregor

0 Likes
Message 9 of 10

seth.madore
Community Manager
Community Manager

When making changes to the post, one thing that you REALLY need to be doing is saving that copy to a local folder that doesn't get overwritten each update. Save it to a folder you create in your Documents, or even better, enable Cloud Libraries in Fusion and upload it to there.

https://knowledge.autodesk.com/support/fusion-360/learn-explore/caas/sfdcarticles/sfdcarticles/How-t...


Seth Madore
Customer Advocacy Manager - Manufacturing


Message 10 of 10

grURN8F
Explorer
Explorer

Well - mostly as I suspected then. Did not know a post could be stored in and loaded from the cloud library, though. Great advice and thanks for the how to! 😀

0 Likes