Hello Guest it is May 20, 2019, 01:04:47 AM

Author Topic: Hardware Spindle Start/Stop Buttons  (Read 1287 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,865 6,865
    • View Profile
Re: Hardware Spindle Start/Stop Buttons
« Reply #1 on: November 28, 2012, 02:39:36 AM »
DoSpinCW()

DoSpinCCW()

DoSpinStop()