Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: rrc1962 on September 16, 2012, 06:31:49 PM

Title: Disable jog on only 1 axis.
Post by: rrc1962 on September 16, 2012, 06:31:49 PM
Currently I have a button the turns jog on and off with a LED beside it.  What I'd like to do is have three buttons with LED's.  Each button would turn on/off jog for one axis.  Is that possible?

Another less attractive approach would be to set the jog hotkeys using VB code...If that's possible.  To turn job off, just set the hotkey to 0.

What do y'all think?
Title: Re: Disable jog on only 1 axis.
Post by: Hood on September 16, 2012, 06:33:22 PM
You could possibly use Axis Inhibit buttons?
Hood
Title: Re: Disable jog on only 1 axis.
Post by: rrc1962 on September 16, 2012, 11:35:20 PM
Can't do that because it disables the axis for feedrate moves as well.  That was my first thought also.

We do some fixtured jobs where X zero and Z zero may need a slight adjustment prior to running the job, but Y zero should never be adjusted.  I'm trying to prevent the operator from accidentally jogging Y out of position, but I can't inhibit Y.
Title: Re: Disable jog on only 1 axis.
Post by: Hood on September 17, 2012, 02:51:50 AM
If it is just required during setup could you not have some VB in the Start button that would look to see if the axis is inhibited and then if it is either ask the operator to enable or do it itself?
Hood
Title: Re: Disable jog on only 1 axis.
Post by: Overloaded on September 17, 2012, 06:53:55 AM
Haven't tried, but what are these ?
Russ
Title: Re: Disable jog on only 1 axis.
Post by: Hood on September 17, 2012, 08:01:19 AM
Dont think they work Russ but maybe they do, will have to test out later.
Hood
Title: Re: Disable jog on only 1 axis.
Post by: Overloaded on September 17, 2012, 08:28:58 AM
They don't seem to Hood.
Looks MPG related (Bretts list)
Intended use not clear.
amf,
Russ
Title: Re: Disable jog on only 1 axis.
Post by: Hood on September 17, 2012, 09:10:11 AM
Not sure what it is Russ, just tried and doesnt seem to inhibit MPG either.

Hood
Title: Re: Disable jog on only 1 axis.
Post by: rrc1962 on September 17, 2012, 09:33:25 PM
If it is just required during setup could you not have some VB in the Start button that would look to see if the axis is inhibited and then if it is either ask the operator to enable or do it itself?
Hood

That could work.  Just automatically turn off inhibit on X and/or Y prior to running a program, then turn back on when the program ends.  Thanks for that tip.