So with dual homing we can go to the same spot in a repeatable fashion. I normally home before a job then jog to my workplace origin write down my offsets then G92 to reset. If something goes wrong I rehome and then move to the location I wrote down.
What I would like to do is to be able to store the offset from home value in my gcode at the start of the job so if I have to kill the job and reset the machine I can simply rehome and go to the last saved start position. Does this ability exist either in Marlin via Gcode or CNC.js?
I use work coordinate systems, which are great, but I don’t think they’re persistent through power down.
I have a few ones though that I use regularly, and have macros that will home the machine, jog to (for example) 27.5, 44, change to work coordinate system #1 and then set the work X and Y to zero. I always probe for Z anyway. (That example is for a clamp fence that I have that bolts to the spoilboard.