stefanix/LasaurGrbl — Issue #12: keep track of the offset (G92)
Author: stefanix
Created: 2012-01-26 21:37:40+00:00
State: open

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.

We need:

- set current location as origin
- reset origin to home

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.