adding a pendant to the system

More
13 Mar 2012 12:13 #18576 by witdraak
it is currently operational in a mach3 CNC-router... so i know it is operational but not sure how to get it running on :-(

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

More
13 Mar 2012 12:40 #18577 by BigJohnT
Did you reboot the computer so the .rules file was read?

John

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

More
13 Mar 2012 12:57 #18578 by witdraak
Yess and I even re-plugged the pendant as well giving it a proper time to set up...still gives the same error on start up of linuxcnc. :-(

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

More
20 Mar 2012 09:21 #18661 by witdraak
And the baby works!!!! lovit now i need to do the folowing...

the device is an keyboard... i know it is quite a limiting factor but how can i link the buttons "*" and "/" to feed override more and feed over ride less? and got
"+" and "-" that need to do spindle override as my esc button on it seems to be taged as E-stop...

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

More
20 Mar 2012 10:31 #18662 by Rick G
Well how did you get it to work?

Take a look here...

wiki.linuxcnc.org/cgi-bin/wiki.pl?Halui

Here are some of the pins you may want to connect to..

halui.feed-override.value float //current FO value
halui.feed-override.scale float // pin for setting the scale on changing the FO
halui.feed-override.counts s43 //counts from an encoder for example to change FO
halui.feed-override.increase bit // pin for increasing the FO (+=scale)
halui.feed-override.decrease bit // pin for decreasing the FO (-=scale)

So using halui you may be able to connect your buttons to the feed-override.increase / decrease to get the desired effect.

Same for spindle...

halui.spindle-override.value float //current SO value
halui.spindle-override.scale float // pin for setting the scale on changing the SO
halui.spindle-override.counts s43 //counts from an encoder for example to change SO
halui.spindle-override.increase bit // pin for increasing the SO (+=scale)
halui.spindle-override.decrease bit // pin for decreasing the SO (-=scale)


An example when using a joypad could be...
wiki.linuxcnc.org/cgi-bin/wiki.pl?Adding...imple_Remote_Pendant

Rick G

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

More
10 Apr 2012 08:28 #19084 by witdraak
is there a way to rather change the shortcut keys on Linux CNC console to acompany my pendant seing it uses the keyboard strokes i only need to change them to get my pendant working properly

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

More
10 Apr 2012 09:58 #19085 by witdraak
xev in terminal to determine the diferences between keys pressed on my keyboard and the pendant and they seem to be similar...reason i want to change theshortcut keys on my linuxcnc rater

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

More
10 Apr 2012 12:40 #19088 by BigJohnT
Looks like archivist from the IRC had the solution for you. Did it work for you?

John

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

More
10 Apr 2012 13:48 #19093 by witdraak
umm was about to but im not clued up on that 2nd paragraph... where ~/.axisrc file is

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

More
10 Apr 2012 13:59 #19095 by BigJohnT
You have to create it in your /home directory. the name must start with the period .axisrc

John

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

Time to create page: 0.106 seconds
Powered by Kunena Forum