stefanix / LasaurGrbl

This is grbl for the Lasersaur. Grbl is a g-code-centric CNC controller and Lasersaur is an open source laser cutter.
http://lasersaur.com/
42 stars 14 forks source link

keep track of the offset (G92) #12

Closed stefanix closed 12 years ago

stefanix commented 12 years ago

Currently G92 sets a new origin/home which also mean that the machine forgets the physical home position. Instead G92 should keep track of the offset so that the origin can quickly be reverted to the physical home position. (grbl 0.8 seems to be already doing this)

We need:

After a new origin is set it's quite likely the machine may hit a limit (if sent an out of bound gcode program). In this case the reset origin to home should still be possible.

stefanix commented 12 years ago

Done! See G10, G54, G55: http://labs.nortd.com/lasersaur/manual/gcode