Machsupport Forum
Mach Discussion => General Mach Discussion => Topic started by: civilseal on May 09, 2014, 06:59:45 AM
-
I would like to have a button that disable the spindle when I use an engraving pin instead of the spindle but I cant figure out how to do it.
I tried to add a button to turn off the spindle after the program is started but that does not seem to work, and I would like to be able to click it before the program starts so that its not started at all.
Or if this is possible to do already in VCarve in some setting that I havenĀ“t found yet?
Regards / Johan
-
You could edit the Gcode file and remove the spindle start commands (M3)
or put a M5 after ever occurrence of M3
or use block delete "/" feature
Push the screen button to turn it on looking for
/ m3 (it just skips this line of code)
again you just have to edit your gcode file
But the Best way is edit the post processor text file in VCarve and just remove the M3 spindle start routine. (or just Edit it to M5 instead)
or Last resort you could unplug the spindle motor
Forgot one: you could edit the spindle setup option configuration
-
Ok I will edit the post processor.
Thank you very much.
Regards / Johan
-
The way I would do such a thing is have a screen button turn on an OEM LED, you can then have your M3 macro look to see if the LED is active, if it is just end the macro, if its not then operate spindle as normal.
Hood
-
Great idea Hood, thanks
-
The way I would do such a thing is have a screen button turn on an OEM LED, you can then have your M3 macro look to see if the LED is active, if it is just end the macro, if its not then operate spindle as normal.
Hood
Yes, good idea thanks:)
-
You could have it even smarter.
Best option would be to have your Start button as a VB button and have that ask a question when you press it, turn on Spindle or Keep Off.
What the VB would do is ask you a question then either turn on the LED or Not and that would then allow the M3 macro to do what you want.
Hood