Machsupport Forum
Mach Discussion => Brains Development => Topic started by: Dom on April 21, 2010, 08:40:00 AM
-
Immagine a simple pendant for one axis with three buttons. X+, X- and speed boost. The idea being that pressing either direction button on its own would jog the axis at a very slow speed but holding down the speed increase button at the same time would make the axis jog much faster in the chosen direction.
Is this a sensible thing to try and do in a brain ? and would anyone be able to help me achieve this ?
-
Anyone .... ?
I've attached a copy of my brain attempt. So far I am able to hold down one button and get an output and then if I press a second button at the same time it will stop the first output and start a second one. However pressing the buttons individually trigger the same output, where as I need them to trigger different outputs. Does this make sense?
Should I even be attempting this in a brain or is such complexity better suited to the slower VBA macropump implementation?
-
This may be of help to you I also have only 1 MPG I added 4 buttons for X,Y,Z,A and the attached brains use the buttons to select the axis that the MPG will move. they also watch the limit switches. because I have Separate + and - limit switches these brains can detect which limit switch has been hit and will move the axis off the limit switch when the button for that axis is pressed.
I use these brains with the auto limit switch override feature in mach this way if I hit a limit switch I need to press the reset button then the axis that hit the limit.
I did this because I I knew that sooner or later I would turn the MPG the wrong way while on the limit switch and break something now it just does the right thing :)
anyway it is not exactly what you are looking for and I was hoping to add a similar option for changing the MPG rate but never got to it.
Herb