Machsupport Forum
Mach Discussion => General Mach Discussion => Topic started by: allanjs on May 28, 2007, 09:44:32 PM
-
Hi Guys,
It's been a while since I last posted. I am having a problem and need some help.
I have set the esc key to the reset function. All axis stop fine and the program
stops execting when I press the esc key, but my spindle will not turn off. What
do I need to do to get the spindle to stop also ?
Thanks in advance.
Al
-
You will need a DoSpinOFF()
That should do it
-
Brian,
Does that need to go in a Visual Basic script ?
Where and how please ?
Thanks
Al
-
Something wierd going on here.
If I set up the F2 function key for reset every thing works
fine including stopping the spindle.
Any guesses what's going on ? Is there a reason the esc key can not
be used for the reset function ?
Al
-
Al, unless it has to be the F2 key I would set it back to the default. It is the ~` key, beside the 1 at the top. You may have to dissect the whole screen set to see what the interference is or maybe your system hot keys, or just a windows things.
Brett
-
The esc Key is not something that you should use :( The Esc key is hard coded into the software as a STOP NOW in Gcode moves... I would use the ~ key.
Thanks
Brian
-
Thanks Brian,
That would explain the problem. I thought I had this working with the
esc key at one time but that may have changed in some of the
latter Mach versions.
Al