Hello Guest it is March 29, 2024, 07:30:29 AM

Author Topic: Disable spindle button  (Read 3062 times)

0 Members and 1 Guest are viewing this topic.

Disable spindle button
« 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
Re: Disable spindle button
« Reply #1 on: May 09, 2014, 07:13:58 AM »
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
« Last Edit: May 09, 2014, 07:20:23 AM by Ya-Nvr-No »
Re: Disable spindle button
« Reply #2 on: May 09, 2014, 07:51:34 AM »
Ok I will edit the post processor.

Thank you very much.

Regards / Johan

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Disable spindle button
« Reply #3 on: May 09, 2014, 04:32:50 PM »
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
Re: Disable spindle button
« Reply #4 on: May 09, 2014, 05:28:54 PM »
Great idea Hood, thanks
Re: Disable spindle button
« Reply #5 on: May 11, 2014, 02:25:45 PM »
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:)

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Disable spindle button
« Reply #6 on: May 12, 2014, 07:52:48 AM »
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