![]() Machines will require a G91 command in the G28 line. ![]() In this example the tool would first travel to X100.0 Y50.0 and Z20.0 and then move to the home position. We can use this to avoid obstacles inside the machine when moving the tool back to the home reference position as demonstrated by the image above. The machine would read this as go to the intermediate position of 20mm above the tool in Z before going to the reference position. If we add a value to one or more of the axis like this: The block G28 G91 Z0.0 would return the Z-axis to its reference position while G28 G91 X0.0 Y0.0 Z0.0 would return the 3 Axis X, Y and Z. The G28 zero return g-code can be used to return one axis or multiple. Just stating G28 with no axis or axis set to zero as the above line would return all axis to the home position in a linear rapid move. The G-Code G28 is used to zero return the tool to its zero position via a reference point at rapid speed.Ī basic example of this line would look something like this: The above video lesson is part of a CNC Milling machine programming course available here What is G28 G-Code?
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |