Machsupport Forum

Mach Discussion => Brains Development => Topic started by: Ya-Nvr-No on May 14, 2010, 05:18:53 PM

Title: Using Timers to create a second button feature
Post by: Ya-Nvr-No on May 14, 2010, 05:18:53 PM
I've been doing some testing of the use of writing brain routines. Came across this nice feature I use, thought I'd pass it on to others.

By using a one shot timer, an input can be used to trigger another event. I show the use of four here. But I really like the ability to use the MPG Mode cycle button as a hidden feature behind the G90/G91 button. Holding down the button for a full second, steps the mode button one time. A press of less than one second toggles the G90/G91 mode back. Note: I use LEDs to see status's of several conditions.
Just a way to get a little more use out of limited space on a Teach Pendant, Good luck and have fun.

I'm still learning about brains, finding some bugs, and lots of limitations, but that's how you learn to use tools.
Ya-Nvr-No.