Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
g28-1 [2017/01/25 15:44]
arthur
g28-1 [2017/01/25 18:55] (current)
arthur
Line 1: Line 1:
 == G28.1 G-code == G28.1 G-code
 +
 +G28.1 means "store the origin position that the machine goes to when the <​kbd>​{G28</​kbd>​} command is issued"​.
 +
 +This position is stored into memory, but is lost if the machine is reset. You can make that position permanent by sending the [[M500]] G-code.
 +
 +=== Format
 +
 +The command is used as such : 
 +
 +<​code>​
 +G28.1 X10 Y10
 +</​code>​
 +
 +Which means : record the origin position as being at the X position 10 and Y position 10
 +
 +=== Parameters
 +
 +||~ Parameter ||~ Usage ||~ Example ||
 +|| <​kbd>​X</​kbd>​ || Record origin position for X axis || G28.1 X10 ||
 +|| <​kbd>​Y</​kbd>​ || Record origin position for Y axis || G28.1 Y10 ||
 +|| <​kbd>​Z</​kbd>​ || Record origin position for Z axis || G28.1 Z10 ||
 +
 +=== Friend G-codes
 +
 +This G-code sets the origin position that the [[G28]] G-code goes to.
 +
 +And you can use the [[M500]] G-code to save this position into the [[http://​smoothieware.org/​configuring-smoothie|config-override]] permanently.
 +
 +=== Further reading
 +
 +These resources are used as references for Gcode : 
 +* [[http://​linuxcnc.org/​docs/​html/​gcode.html|LinuxCNC Gcode list]]
 +* [[http://​reprap.org/​wiki/​G-code|Reprap Gcode list]]