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

This is where you talk about Macros, show examples of your macro scripting and SHARE handy segments of script code as examples.

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

Postby Robertspark » Fri Jan 11, 2019 9:40 pm

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
Robertspark
 
Posts: 1892
Joined: Sat Sep 03, 2016 4:27 pm

Return to Macros

Who is online

Users browsing this forum: Ukendt and 6 guests