Page 1 of 1

G28 sequence

Posted: Sun Nov 15, 2020 5:49 pm
by vw_chuck
I am working on a lathe and I am having issues with the G28 command. I used to have a drilling operation and the end of the operation it would G28 in the x direction first and then the Z direction. I recently setup ball screw mapping and also reset the Home position. Now when I run my drilling operation it attempts to G28 in the Z direction first and then the X direction. So it actually attempts to rapid right through the part to get to position. Is there a way to fix this in the code anywhere. So that is moves the X first and then the Z?

Re: G28 sequence

Posted: Sun Nov 15, 2020 6:18 pm
by cncsnw
We would have to see your CNC program file.. If it is something you wrote with Intercon, then also post the .lth program file.

In general, "G28 W0" will move the Z axis directly to the G28 return position; "G28 U0" will move the X axis directly to the G28 return position; and "G28 U0 W0" will move both axes, diagonally if necessary, directly to the G28 return position.

A G28 with an X and/or Z coordinate (an absolution position) will move the specified axes to that position (measured from part zero) first, then from there to the G28 return position.

When you say you have a program that used to do one thing, and now does another, can you tell us what changed? Was it previously running on a different brand of control? Was it previously on a different Centroid control? Was it previously on this Centroid control, but you updated the software from one version to another?

Re: G28 sequence

Posted: Sun Nov 15, 2020 7:47 pm
by vw_chuck
This NC code ran on this same machine and I did not end up with a broken drill bit. It used to move diagonally when finishing the operation. Now I run it and it breaks the drill bit because it rapids toward the chuck right through the center of the part and then it does it's x move breaking my drill bit.
What changed in the Acorn is I reset my software limits so I can use the ball screw compensation. I also changed the X,Z sequence back to home position. It used to home Z and then X but I had to change it to home x first then Z. No other changes between the two.
The code was posted by Fusion 360. The G28 lines are G28 W0 and the next line is G28 U0. So the machine is following the code but why did it not act this way before I made changes to the software limits and home sequence? It is quite strange.

Re: G28 sequence

Posted: Sun Nov 15, 2020 9:06 pm
by cncsnw
Maybe your G28 Z position is to the left of where you are machining parts? I cannot tell, because you have not posted a Report.

Re: G28 sequence

Posted: Mon Nov 16, 2020 9:00 am
by vw_chuck
Yes it is to the left. I will get you a report.

Re: G28 sequence

Posted: Mon Nov 23, 2020 11:39 am
by vw_chuck
I found the issue. It seems to be the Centroid Turning Post Processor was getting confused thinking the tool was coming in from the other end. Some modifying the PP fixed it.