31
General Mach Discussion / Re: VB Is Laughing At Me....
« on: April 29, 2009, 03:09:57 AM »
Hi Ray,
I took a look thru your probing macros this evening - I like the general modularity.
I do have a question: I applaud the programming principal to save state on the way in and restore it on the way out of the low level macros. I see the code doing this for inc/abs mode and feed rate. However, the macros issue GO codes - which is modal change to the control - so the control will be in a G0 rapid state when the macrso exit (even if it was not when the macro was entered).
Is there a reason you did not grab the rapid/feed movement state up front and then also restore it on the way out?
Dave
I took a look thru your probing macros this evening - I like the general modularity.
I do have a question: I applaud the programming principal to save state on the way in and restore it on the way out of the low level macros. I see the code doing this for inc/abs mode and feed rate. However, the macros issue GO codes - which is modal change to the control - so the control will be in a G0 rapid state when the macrso exit (even if it was not when the macro was entered).
Is there a reason you did not grab the rapid/feed movement state up front and then also restore it on the way out?
Dave