91
Brains Development / Suffering From Brain Damage....
« on: August 18, 2008, 08:54:45 PM »
Today I built myself the worlds cheapest pendant, using an old video game controller. I had no trouble getting most of the buttons to do what I wanted, but a few are giving me fits.
I have been able to set two buttons to increase/decrease jog %, using the "Inc Jog %" and "Dec Jog %" "button presses", but this doesn't really do quite what I want. I'd really like to have a single button that acts as a toggle between step and continuous jog modes, and two other buttons that move up or down a lpre-defined ist of jog rates or step sizes, depending on the mode the first button has set the jog mode to. I tried doing a simple toggle of jog rate between 10% and 100%, but the problem is it continuously toggles back and forth between 10% and 100% for as long as the button is pressed. How do I get it to generate only a single "button press" event to Mach for each press of the pendant button?
Regards,
Ray L.
I have been able to set two buttons to increase/decrease jog %, using the "Inc Jog %" and "Dec Jog %" "button presses", but this doesn't really do quite what I want. I'd really like to have a single button that acts as a toggle between step and continuous jog modes, and two other buttons that move up or down a lpre-defined ist of jog rates or step sizes, depending on the mode the first button has set the jog mode to. I tried doing a simple toggle of jog rate between 10% and 100%, but the problem is it continuously toggles back and forth between 10% and 100% for as long as the button is pressed. How do I get it to generate only a single "button press" event to Mach for each press of the pendant button?
Regards,
Ray L.