imgprd674_1557125308.jpg

G28 G-code

G28 means "seek the endstops for each axis, stop once they are found and this position is now the origin for the machine".

This G-code is specific to Reprap and does not conform to the normal G-code standard.

Format

The command is used as such :

G28 X10 Y10

Which means : move until you hit the X and Y endstops, then set the current X position to 10 and the Y position to 10

You can also use the Gcode without any parameters :

G28

Which is equivalent to doing :

G28 X0 Y0 Z0

Parameters

Parameter Usage Example
X Move until you hit this endstop then set the position in this axis to this value G28 X0
Y Move until you hit this endstop then set the position in this axis to this value G28 Y0
Z Move until you hit this endstop then set the position in this axis to this value G28 Z0

Configuration

See the Endstops module documentation.

Delta

This page assumes you are using a cartesian machine.

If you are using a Delta machine, then you can not individually home axes.

Instead, all "actuators" are homed together to the top of the machine, which sets you at the top of the Z work area, and at the center of the XY work area.

Further reading

These resources are used as references for Gcode :


This site is a WIki, which means you are very welcome to help us improve it. Help on how to do that can be found at the Editing the Wiki page . You can edit any page by clicking the "Edit" button bellow :