Adding spindle control to function keys

More
09 Apr 2021 16:21 #205443 by rider-83
I would like to add spindle control to my Function keys.

F10 = Spindle Stop
F11 = On - Forward
F12 = On - Reverse

Any ideas on how to do this? I've tried a few things, but I don't yet understand the syntax.

Thanks,
Nick.

Please Log in or Create an account to join the conversation.

More
09 Apr 2021 17:11 #205446 by aleksamc
As I remember, F9 is spindle - on forward and togle to stop.
For reverse I don't remember.

I also supposed to change keyboard functions in the past but it's a wrong way. It's better to make button input and some control (could be joisticj) and to assign functions to it's buttons.

Please Log in or Create an account to join the conversation.

More
09 Apr 2021 20:11 - 10 Apr 2021 17:17 #205466 by rider-83
Negative.
No F9.

Does any one know how this may be done?

Thanks,
Nick..
Last edit: 10 Apr 2021 17:17 by rider-83.

Please Log in or Create an account to join the conversation.

More
10 Apr 2021 18:22 - 10 Apr 2021 18:27 #205544 by aleksamc
Sorry, I didn't see that it's Gmoccapy branch.
Look this topic for more information.


From Gmocappy manual I read:

gmoccapy exports several hal pin to be able to react to hardware devices. The goal is to get a GUI that may be operated in a tool shop, completely/mostly without mouse or keyboard.

So if you need keyboard control better use Axis, I think.
Last edit: 10 Apr 2021 18:27 by aleksamc.

Please Log in or Create an account to join the conversation.

More
11 Apr 2021 07:59 #205609 by rider-83
I'm using Gmoccapy, not Axis.

Please Log in or Create an account to join the conversation.

More
11 Apr 2021 08:48 #205616 by newbynobi
you will need to change the gmoccapy code.

This thread shows witch function to modify:
on key event

Norbert

Please Log in or Create an account to join the conversation.

Moderators: newbynobi
Time to create page: 0.131 seconds
Powered by Kunena Forum