Hello Guest it is April 25, 2024, 05:58:32 PM

Author Topic: Hardware Spindle Start/Stop Buttons  (Read 2030 times)

0 Members and 1 Guest are viewing this topic.

Hardware Spindle Start/Stop Buttons
« on: November 27, 2012, 10:11:50 PM »
Hello,

I have hardware buttons setup through a pokeys 56U. I have one that is for Start spindle CW and another setup as stop. I have done some searching but have not found how I can have individual buttons for those functions. Right now both buttons toggle the spindle on and off. I don't like having a toggle on/off via one button on my machine. My hardware start switch has a flapper over it so you can't accidentally turn the spindle on.

Am I going to need to write a brain that determines which state the spindle is in before it decides to either start the spindle if it is not running or do nothing if it is running. Also we need  to the same for the stop button.

Or is are there some separate spindle commands that I couldn't find. I looked through all the options in the pokeys plugin and didn't see anything that look relevant.

Thanks
-Wes

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: Hardware Spindle Start/Stop Buttons
« Reply #1 on: November 28, 2012, 02:39:36 AM »
DoSpinCW()

DoSpinCCW()

DoSpinStop()