Hello Guest it is April 28, 2024, 08:13:46 PM

Author Topic: Mach4 Post Processor Fusion360 Editing to move Z to safe 1st  (Read 957 times)

0 Members and 1 Guest are viewing this topic.

Re: Mach4 Post Processor Fusion360 Editing to move Z to safe 1st
« Reply #10 on: December 07, 2022, 03:21:46 PM »
Sorry but this is all before it even gets into Mach 4.... so homing has nothing to do with it.  I've tried all the options in the pulldown for safe retracts and it always writes code to move X and Y before the Z

it always outputs:
(2D CONTOUR1)
M5
T8 M6
S2000 M3
G54.1 P48
M8
G0 X38.032 Y157.831
G43 Z15. H8

Mach4 hasn't seen it yet so it has nothing to do with homing (Yes I have the z limits installed and the x and y are being put on now, but still not the problem)

Offline Stuart

*
  •  311 311
    • View Profile
Re: Mach4 Post Processor Fusion360 Editing to move Z to safe 1st
« Reply #11 on: December 07, 2022, 03:46:41 PM »
you need to edit the actual post file in fusion 360. look at the pic you posted see the little pencil icon at the end of the mach4mill line click that and make the changes there

best go to the fusion 360 forums and ask there what to alter and where
Re: Mach4 Post Processor Fusion360 Editing to move Z to safe 1st
« Reply #12 on: December 07, 2022, 03:51:03 PM »
I can't be the only one having this issue.  I am asking where to edit the post here because this is where the post (artsoft) came from.  And yes my original question was in fact where to edit the post-processor.  Oddly enough on one post it actually came out right but I have been unable to recreate that senario
Re: Mach4 Post Processor Fusion360 Editing to move Z to safe 1st
« Reply #13 on: December 07, 2022, 03:52:43 PM »
That is correct.  That is the code it should be putting out.  It is the safest code it can put out; it assumes that it is at a safe Z position. 

At the start of the code it moves to the safe z (G28, G30, or NO (you move it manually to safe z)).
If you don't have a referenced Z Axis then you cannot use G28 or G30; otherwise the machine will go to whatever the machine thinks is Machine Coordinate Z 0.0; which could be 6 inches above the part or 2 inches into the part if it hasn't been referenced.  Without a Z Reference, it is operating blind for a safe move.  Once you set a work offset, it knows where the work offset Z should be; but it has no idea where a "Safe Position" is. 

So, like I mentioned in my last post, the Safe Z completely up to you, the operator. 
If you Select NO Safe retracts and move the Z up to a safe point before you start your program, it will work like you want it to. 
It will be at a safe Z to begin with and THEN it will move X Y and then apply the Z Offset. 


Chad Byrd
Re: Mach4 Post Processor Fusion360 Editing to move Z to safe 1st
« Reply #14 on: December 07, 2022, 03:56:26 PM »
Although it isn't the safe way to run G Code, here is the post processor you are looking for.
DISCLAIMER!  You need to be sure the Z is safe before moving X and Y. 

Like Stuart mentioned, you can edit it with the little pencil Icon. 
I make notes when I change things as well, so you can look and see where I moved the line in question.  CB are my initials, and I usually put a date with it as well.
« Last Edit: December 07, 2022, 03:58:04 PM by Cbyrdtopper »
Chad Byrd
Re: Mach4 Post Processor Fusion360 Editing to move Z to safe 1st
« Reply #15 on: December 07, 2022, 04:29:50 PM »
Although it isn't the safe way to run G Code, here is the post processor you are looking for.
DISCLAIMER!  You need to be sure the Z is safe before moving X and Y. 

Like Stuart mentioned, you can edit it with the little pencil Icon. 
I make notes when I change things as well, so you can look and see where I moved the line in question.  CB are my initials, and I usually put a date with it as well.


THANK YOU!!!!!

(2D CONTOUR1)
M5
T8 M6
S2000 M3
G59 P54
M8
G0 G43 Z15. H8
X38.032 Y157.831