71
Mach4 General Discussion / Re: Button Script works in debug mode but not when clicked - 4612
« on: March 22, 2021, 04:29:29 PM »
Steve, thank you for taking time to look at this, it is much appreciated.
The G91 has no meaning in lathe mode, ergo the g0 h15 moves the spindle 15 degrees relative to where it is at which is enough to move it off of the optical slot.
I added the 'mcineditor' trying to find a way to get this to work, which it didn't, so originally just had the function definition and the call to it in the button script. Took it out after my initial post. I will try adding your example to the screen load script when I get some free time and am ready to go back to 6412.
RT
The G91 has no meaning in lathe mode, ergo the g0 h15 moves the spindle 15 degrees relative to where it is at which is enough to move it off of the optical slot.
I added the 'mcineditor' trying to find a way to get this to work, which it didn't, so originally just had the function definition and the call to it in the button script. Took it out after my initial post. I will try adding your example to the screen load script when I get some free time and am ready to go back to 6412.
RT