Linux CNC post processor adding G53 G0 Z0 to begining of program.

Linux CNC post processor adding G53 G0 Z0 to begining of program.

patrickmccabe1278
Participant Participant
1,617 Views
7 Replies
Message 1 of 8

Linux CNC post processor adding G53 G0 Z0 to begining of program.

patrickmccabe1278
Participant
Participant

Hello guys, like the title says Fusion 360 is adding adding G53 G0 Z0 to begining of my program and it is causing issues with tool offsets.  I am using the Linux CNC EMC2 post processor in Fusion.

 

Can someone please advise me on why this happens and how to make it stop?

 

Thank you.

0 Likes
Accepted solutions (1)
1,618 Views
7 Replies
Replies (7)
Message 2 of 8

HughesTooling
Consultant
Consultant
Accepted solution

Do you have limit switches and do you home your machine? For most people G53 is machine coordinates and you'd program G54 or one of the other offset. So G53 G0 Z.0 is a very safe way to retract to a safe height for tool changes.

 

Mark

Mark Hughes
Owner, Hughes Tooling
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


0 Likes
Message 3 of 8

patrickmccabe1278
Participant
Participant

Hello thanks for the reply. Yes I have proximity switches as my limits. The machine homes fine when just homig the axis by its self but when it homes with the g53 it crashes and stalls the stepper motor and then my z height is off. I do program in G54.

 

I know there may be an issue with my homing sequence but I'd like Fusion to stop adding it so I can get some work done without manual edits.

 

Thanks

0 Likes
Message 4 of 8

HughesTooling
Consultant
Consultant

Are you using a PC for Fusion? If you are, on the post dialog there's an option to open the post processor, Open Config. This will open the post in your editor, just search for 53 to find the lines outputting G53. I guess you have a couple of options, you could comment out the line or change the G00 to a G1 with a feed your steppers can handle. Do other rapids in Z cause problems?

 

Mark

 

Edit. If you edit the post don't save back to the generic folder. 

Test the post carefully and I'd better add this 

The accompanying advice and or non-standard post processor is provided as-is and without warranty of any kind, and usage is at the user’s own risk.

Do not put custom posts in the generic posts folder. Use the personal folder. or another location.

Fusion 360 CAM Personal Posts Folder Locations

_______________________________________________________________________________

Microsoft Windows:
%appdata%\Autodesk\Fusion 360 CAM\Posts

Mac / Apple / OSX:
/Users/<user id>/Autodesk/Fusion 360 CAM/Posts

 

 

Mark Hughes
Owner, Hughes Tooling
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


0 Likes
Message 5 of 8

patrickmccabe1278
Participant
Participant

Yes I am using a PC, I will try that when I get home tonight.

 

Other rapids in Z do not cause any problems. Its almost like it can't find home or like it homes and then maybe trys to travel up again instead of down to the home back off point. Maybe I need to look into my machine INIT files to completlysolve the isse since taking out the G53's is just a bad aid. 

 

If I use Linux to home the machine at start up ( with no program loaded ) Z travels up to the limit switch then drops down I think .100. I can't remember what I set the back off distance as.  So it almost seems like instead of backing off .100 it is attempting to travel up again causing the motor to stall and the program too loose Z steps.

0 Likes
Message 6 of 8

HughesTooling
Consultant
Consultant

Does G53 on your machine just take the Z to whatever coordinate you specify or does it force a homing cycle as well. Seem to remember trying to use G53 with my Anilam control and it made the machine do a home cycle, not what I wanted.

 

Mark

Mark Hughes
Owner, Hughes Tooling
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


0 Likes
Message 7 of 8

patrickmccabe1278
Participant
Participant

I believe it forces the homing of the axis specified after the G53.  Im not really to sure what a homing cycle is. When I first turn on my maching I just click HOME ALL AXIS on the control panel and it will home X, Y, then Z. Maybe that is what your refering to.

0 Likes
Message 8 of 8

HughesTooling
Consultant
Consultant

Have you tried enabling use g28 save retreats on the post?

 

Mark

Mark Hughes
Owner, Hughes Tooling
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


0 Likes