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)

Einstein ― “If you can't explain it to a six year old, you don't understand it yourself”
...working my way through the 1000+ ways things don't work to find the one that does
UC400eth, UC300eth, UCCNC v1.2108, Neuron Lite
UCCNC v1.2108 Macro Manual
Posts: 1208
Joined: Sat Sep 03, 2016 4:27 pm
Location: Nr Liverpool, England

Return to Macros

Who is online

Users browsing this forum: No registered users and 5 guests