Machsupport Forum

Mach Discussion => Mach4 General Discussion => Topic started by: joeaverage on March 23, 2018, 01:38:44 PM

Title: Functions vs Actions
Post by: joeaverage on March 23, 2018, 01:38:44 PM
Hi All,
when using the keyboard plugin you can assign a function to each defined key, the functions in the drop down list are of the form JogX+, JogA--
for example. A poster in another thread is looking to use keyboard short cuts for estop and feedhold for instance.

In the screen editor buttons have events LeftUpAction  and LeftDownAction and the drop down list of Actions include all the features required by our poster.

Is there a way of making the Actions available as choices as keyboard shortcuts?

Craig

Title: Re: Functions vs Actions
Post by: DazTheGas on March 23, 2018, 03:21:54 PM
1. Define a key and leave its function blank
2. From mach4 - config - inputs, assign that key to an input signal
3. Use the SigLib for that signal

DazTheGas
Title: Re: Functions vs Actions
Post by: Cbyrdtopper on March 23, 2018, 03:28:54 PM
I was curious about doing this the other day.
Daz,
I just tried this.  I had to close out of Mach4 so the "KeyTest" button I made in the keyboard plugin would populate into the Inputs Configuration Drop Down.
Is that normal?

It does work though! So cool!
Be sure to have your Keyboard Inputs Enabled.
Title: Re: Functions vs Actions
Post by: DazTheGas on March 23, 2018, 03:32:06 PM
Yep thats pretty normal, think I did a video on this a while back??

DazTheGas
Title: Re: Functions vs Actions
Post by: Cbyrdtopper on March 23, 2018, 03:36:41 PM
Awesome! 
I tried this exact thing the other day only I didn't close Mach4 to see if it saved it then; I just moved on to something else.
Shouldn't have given up so easily.
Thanks for the tip!  This can come in handy!
Title: Re: Functions vs Actions
Post by: Cbyrdtopper on March 23, 2018, 03:43:33 PM
Daz,
You did do a video on this subject. Way back in December of 2015.

https://www.youtube.com/watch?v=yzaf5pT0l50
Title: Re: Functions vs Actions
Post by: joeaverage on March 23, 2018, 11:23:01 PM
Hi,
thanks guys, that will work fine.

Craig