Page 1 of 1

Macroloop.... "Standard" (macro b) vars

PostPosted: Fri Jan 11, 2019 9:40 pm
by Robertspark
Anyone got a macroloop that saves / updates "Standard" (macro b) vars???

Like #5001 = machine (absolute) pos X

Don't want to reinvent the wheel...

I'm using them with wizards so that I can load gcode and go back to machine position
G53 G0 X#24.......
Having first saved the current absolute coordinates as #24=#5021 etc...

Also useful to restore the modal gcodes and the machine coordinates too.... (Hence looking for something part way there before I write one)

Thanks