Hello Guest it is July 06, 2020, 04:39:09 AM

Author Topic: Functions vs Actions  (Read 1174 times)

0 Members and 1 Guest are viewing this topic.

Functions vs Actions
« 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

My wife left with my best friend...
     and I miss him!

Offline DazTheGas

*
  •  752 752
  • DazTheGas
    • View Profile
Re: Functions vs Actions
« Reply #1 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
Theres always time for a choccy biccy
Re: Functions vs Actions
« Reply #2 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.
Chad Byrd

Offline DazTheGas

*
  •  752 752
  • DazTheGas
    • View Profile
Re: Functions vs Actions
« Reply #3 on: March 23, 2018, 03:32:06 PM »
Yep thats pretty normal, think I did a video on this a while back??

DazTheGas
Theres always time for a choccy biccy
Re: Functions vs Actions
« Reply #4 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!
Chad Byrd
Re: Functions vs Actions
« Reply #5 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
Chad Byrd
Re: Functions vs Actions
« Reply #6 on: March 23, 2018, 11:23:01 PM »
Hi,
thanks guys, that will work fine.

Craig
My wife left with my best friend...
     and I miss him!