G28 is not an "incremental" move and can be used in G90 absolute mode or in G91 incremental mode. Yes G91 is used most often, because it is easier, but G28 works in absolute mode as well.
G28 G91 X0 Y0 Z0 moves from where it is now in a straight line to the predefined position. Nothing incremental about that
G28 G91 X0 Y0 Z1 moves the Z up one unit and then it goes straight to the predefined position
I disagree that G53 is used more or is in any way better because to use it you have to set the machine coordinates that a G53 is going to. Use a different machine and the coordinates will likely need to be different Whereas with a G28, the coordinates are set at the machine and the program doesn't need to be modified. A CAM program can put a G28 G91 X0 Y0 Z1 but it can't put in a G53 unless it knows the coordinates it is sending to
To make that same move in G53 you need
G91 G0 Z1
G53 G0 X??? Y???? Z???? where the ??? are the coordinates of the G28 position.
G30 is just another predefined position and works just like G28.
G53 uses the machine reference coordinate system
So, G53 G0 X0 Y0 Z0 would move NOT move to the part zero position. Whereas G0 X0 Y0 Z0 would move to the part zero position (Provided the current coordinate system s the correct one.)
- - - Updated - - -
For G28, YOU set them in the machine controller.
Yes correct with the G28 it is normally used with a G91 I missed that bit
G30 does work like G28 G30 is return to 2nd 3rd &4th reference points a G28 does not do this and has very little use unless you have pallets or fixtures to move into different preset positions in the control other than normal Zero Positions
Here is some good information on these codes and how they work
https://www.cncci.com/resources/tips...28%20works.htm
Last edited by mactec54; 05-15-2019 at 07:51 PM. Reason: Added link
Mactec54
Are yes good question you never use all 3 Axes moves at the same time you always want to first move the Z axes up like G53G0Z0. or where ever you want to move it to, this will make sure your tool is clear of your work before X and Y axes move
End of Program
G53G0Z----.
G53X----Y----
M5
M30
%
Mactec54
Small nitpicking point here but for 3D surfacing I have often moved all 3 axes at the same time and when I was running a 5 axis machine all 5 moved simultaneously when required.I readily admit that those sort of machines and the software to generate the toolpaths are well outside the scope of hobbyists-at least for now.The real benefit of a good homing routine is that the machine will go back to the same location the next day or the next year and perform the same operations.My hobby machine doesn't yet have that level of sophistication so I have to remember to move the axes to the point I nominated as a home position when I powered up.I get away with it but I don't make aerospace parts at home and don't have to satisfy any inspection but my own.
He was referring to not usually using all 3 axes with a g53 or g28. This is because when using these commands you are usually moving the machine to a "clear" location and will want to move just the z axis first and then x y.
Using 3 axes simultaneously is very doable even for a hobbyist. Fusion 360 allows full 3d contouring and is free for hobbyist and start up businesses.
Mactec54
I just want to make sure of this....
So if I am facing my Mill and the Table is JOGGED to the right (moving in the right direction) the DRO should be going positive correct? and if the Table is jogged to the LEFT that would show negative direction on DRO correct.
Jogging Y away from me should give me positive movement on DRO and Y close to me would be Negative correct?
I want to make sure my Motors are turning the correct directions and homing in the correct directions.
Thanks for all the help!!
Do the following with a felt tip marker:
-stand in front of the machine, facing it, as the user.
- in the physical center of the table make a dot
- the dot is home.
- draw a line through the dot in the left/right direction, from one end to the other end of the table.
- on the right most end of the line, ON THE TABLE, write +X
- on the leftmost end write -X
- draw another line through the dot, perpendicular to the first line.
Furthest from you, at the end of the line write +Y
Closest to you write -Y.
You have to look at it from the perspective of the tool bit (looking down).
Table moving Right = DRO X going Negative
Table moving Left = DRO X going Positive
Table moving Towards the Column = DRO Y going Negative
Table moving Away From the Column = DRO Y going Positive
Tool Moving Closer to the work (down) = DRO Z going Negative
Tool Moving Away from the work (up) = DRO Z going Positive
https://en.wikipedia.org/wiki/Cartes...rdinate_system see the image at the top right on the page.
The coordinates shown are what your DRO should read when the tool bit in the position of the dot.
Last edited by Jim Dawson; 05-16-2019 at 11:13 AM.
Jim Dawson
Sandy, Oregon, USA
think of the Tool in the Spindle as a Pencil you write with...You are moving the Pencil ....not the Paper.
Cartesian Right-Hand Rule - CNCexpo.com
That is what I thought...
It from the prospective of the tool looking down. I have several folks telling me otherwise.
So if the x direction were to home to Neg X then it would have to move to the right and if Y were to home in the negative direction then it would home to the front (away from the column) that would put my home
Neg X=0 Neg y=0 and i know Z is positive at the top.
Thanks!!
Just to add some confusion here, one should not confuse a home position with a ''parking'' position. Normally a home position is where the Machine Coordinate System (MCS) is set to 0,0,0. The parking position could be an offset from the home position.
On the Haas, the home position is a fixed location set by limit switches and servo encoder index. The Work Coordinate System (WCS, G54-59) is set as an offset from the MCS (G53) and is set to the work. The parking position is an offset from the WCS, I think (I don't run the Haas). To park the Haas we normally move the table to the center, and to the front of the machine, Z is sent to the top. I don't know if this is done with a G28 or just a G0 move.
On my knee mill, 0,0,0 (WCS=MCS) is always set to the work, there is no fixed home position. The parking position is set per the job by moving the table and Z to a convenient location and clicking on ''set park position'', I think this is equivalent to a G28 move, but I have never used a G28.
Jim Dawson
Sandy, Oregon, USA
I put them on because it cost me $20 and I don’t need to brainsweat as much. My inductive switches made 1/2 a thou as well. More like .0003.
Strange things that you are embarrassed about. I would be embarrassed, literally for one second if several naked girls came to me and jumped at me
Sorry for my hectic fantasy
Ok . Been researching these GCodes...
So please correct me if I am wrong here..
G28 and G30 both will send the mill home.
To machine coordinates. So I would have to hone first.
If G28 is followed by a word.. like G28 X1 then it would goto x0 then home correct?
What is different between G28 and G30..
What is the use of G52.. I understand G54 -59
G53???
Any help to make me feel really understand would be grand..
Sent from my XT1635-01 using Tapatalk