G53 G0 Z0.

More
16 Jun 2019 15:18 #137047 by flylowgofastturnleft
Hello all,

I read on this Forum that
G53 G0 Z0.
Gcode is normal and It is used by Fusion 360 before each tool change.
How to avoid this line ? In my case, that put tool into my part before machinning !
I try to understand but I can't find litterature to link Fusion 360 with LinuxCNC.

Could you help me ?

regards

Please Log in or Create an account to join the conversation.

More
16 Jun 2019 22:09 #137066 by Hakan
Replied by Hakan on topic G53 G0 Z0.
It's in the postprocessor for linuxcnc in fusion360.
In the postprocessor I have there are basically two options.
The first is to use G28 predefined position instead of G53.
There is an option I think called useG28 that will do this.

The other way is to comment out the line in the postprocessor
that writes out the G53 line. Search for 53, there are like four occurencies.
You will find the right line to comment out in an if-statement with useG28,
it's a write_block statement if I remember right.

Please Log in or Create an account to join the conversation.

More
17 Jun 2019 05:15 #137093 by flylowgofastturnleft
Replied by flylowgofastturnleft on topic G53 G0 Z0.
thank you, I'll test this evening

Please Log in or Create an account to join the conversation.

More
17 Jun 2019 08:47 #137108 by pl7i92
Replied by pl7i92 on topic G53 G0 Z0.
in the postprocessor tread are many good redy made postprocessors that avoid doing G53 moves

forum.linuxcnc.org/post-processors

Please Log in or Create an account to join the conversation.

More
17 Jun 2019 13:50 - 17 Jun 2019 15:23 #137125 by Todd Zuercher
Replied by Todd Zuercher on topic G53 G0 Z0.
It is the normal convention for a mill or router to be set up with the machine Z0 point to be at the top of Z travel. Therefore G53Z0 would normally be a safe position, Z as high as it can go. If you are configuring your machine not following normal convention (perfectly fine and acceptable) then you can't expect a "standard" g-code post processor to be a right fit for your machine without some modification.
Last edit: 17 Jun 2019 15:23 by Todd Zuercher. Reason: typo

Please Log in or Create an account to join the conversation.

More
17 Jun 2019 14:30 - 17 Jun 2019 14:34 #137128 by bevins
Replied by bevins on topic G53 G0 Z0.
Are you homing your machine to the same place everytime you start?

IF you dont have hme at the same spot everytime, then you should remove G53 calls, otherwise you need to fix whats broken, because G53 G0 Z0 should be moving the Z out of the way, not into it.

Another possibility is your Z is losing steps on the way up. Re: steppers stalling if using steppers.
Last edit: 17 Jun 2019 14:34 by bevins.

Please Log in or Create an account to join the conversation.

More
17 Jun 2019 14:50 #137131 by pl7i92
Replied by pl7i92 on topic G53 G0 Z0.
if you dont mind what postprocessor are you using and you may post the file here if you alredy modified one

Please Log in or Create an account to join the conversation.

More
17 Jun 2019 17:07 #137138 by flylowgofastturnleft
Replied by flylowgofastturnleft on topic G53 G0 Z0.
Hello,

Perhaps I was wrong. For me, Z0 level is my ground machine level (so tool touch machinning plan) and after I touch the top of my part (before machinning).

Because if Z0 is under my part, LinuxCNC will not want to start machinning, because Z will be negative !

I understand and I would prefer that the tool be far from the part to machine before tool changing.

So where is my mistake ?

Please Log in or Create an account to join the conversation.

More
17 Jun 2019 17:44 #137139 by bevins
Replied by bevins on topic G53 G0 Z0.

flylowgofastturnleft wrote: Hello,

Perhaps I was wrong. For me, Z0 level is my ground machine level (so tool touch machinning plan) and after I touch the top of my part (before machinning).

Because if Z0 is under my part, LinuxCNC will not want to start machinning, because Z will be negative !

I understand and I would prefer that the tool be far from the part to machine before tool changing.

So where is my mistake ?


Machine Coordinates is where it homes to. Same all the time usually at the highest the z can travel without hitting limit switch.

G53 is machine coordinates.

When you touch off your part that will be work coordinates, or work offset.... G54, G55 etc....

When it gets G53 that means it is referencing 0 as machine 0 for whichever axis.

G53 (machine coordinates) G0 (machine rapids)

Please Log in or Create an account to join the conversation.

More
18 Jun 2019 15:12 #137191 by flylowgofastturnleft
Replied by flylowgofastturnleft on topic G53 G0 Z0.
Hello,

So I can just remove G53 lines, but perhaps there is a better way to proceed ?

Could you give me a post or a link to the good way to take origins ?

I think I miss something

Thanks

Please Log in or Create an account to join the conversation.

Moderators: Skullworks
Time to create page: 0.097 seconds
Powered by Kunena Forum