Hello Guest it is October 17, 2019, 04:42:07 AM

Author Topic: Is "#100 = Z " a way to store the current Z axis setting ?  (Read 1373 times)

0 Members and 1 Guest are viewing this topic.

Is "#100 = Z " a way to store the current Z axis setting ?
« on: October 14, 2017, 08:35:51 AM »
Subject says it all....
Re: Is "#100 = Z " a way to store the current Z axis setting ?
« Reply #1 on: October 14, 2017, 01:37:37 PM »
Hi,
yes that will work. Not at all sure that you should use pound variable #100 though. Pound variables are used extensively throughout Mach
and if you go writing different numbers into one which is used by Mach for some other purpose you'll crash.

If memory serves pound variables #500 thru to #600 are ok to use as you want.
My wife left with my best friend...
     and I miss him!
Re: Is "#100 = Z " a way to store the current Z axis setting ?
« Reply #2 on: October 14, 2017, 02:11:20 PM »
Thank you for the answer and the extra information.
Re: Is "#100 = Z " a way to store the current Z axis setting ?
« Reply #3 on: December 21, 2018, 01:10:02 AM »
#100=##5023 will store the current absolute Z position. However #100-199 are used as a clipboard if you want the control to store and save those values I would suggest using a common variable #500 and up