Jog with encoder and key.

More
23 Aug 2013 15:17 #37986 by eslavko
Hello...

I have homemade pendant with encoder wheel. It works nice. But the machine is large and I don't like to spend all time to travel from one side to the other to rotate that knob. But I had key available to do jog with max speed, but cant find solution where I should connect it in hal.
So in short. For long travel Id like to pres key on pendant to go as fast as possible. And when I was close to destination to use encoder wheel.

It\s should be possible as if I press cursor keys on keyboard the machine just do what I want. ..just the keyboard can be few meters away.

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

More
23 Aug 2013 15:44 #37987 by ArcEye
Replied by ArcEye on topic Jog with encoder and key.
Hi

A simple way would be to use halui
www.linuxcnc.org/docs/devel/html/gui/halui.html

eg.

setp halui.jog-speed 1000
net posjogX halui.jog.0.plus <= parport.0.pinN(connected to your button)

NB AFAIR speed must be set even if you just use the increment pins or the axis will not move

regards

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

More
23 Aug 2013 17:09 - 23 Aug 2013 17:10 #37990 by eslavko
Replied by eslavko on topic Jog with encoder and key.
Thanks....

I forget to set speed...
Last edit: 23 Aug 2013 17:10 by eslavko.

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

Time to create page: 0.083 seconds
Powered by Kunena Forum