Pendant sort of working...

More
7 years 10 months ago #121665 by biqut2
I changed from a wireless HB04 pendant to a proper 6 axis pendant on my machine today. Its setup and kind of working. I've verified all the proper signal are showing on hal meter. For some weird reason even though jog-incr-c changes to true when I select it on the pendant I can't get LinuxCNC to jog at that speed, only jog-incr-a and jog-incr-b work. Here is what I have in my hal file. Also, it may be a bit ambitious but this is a 4 axis machine and I'll like to map axes 5 and 6 to spindle and feed override if possible, just don't know how to do this.
Code:
# --- JOINT-SELECT-A --- net joint-select-a <= hm2_5i25.0.7i77.0.0.input-16 # --- JOINT-SELECT-B --- net joint-select-b <= hm2_5i25.0.7i77.0.0.input-17 # --- JOINT-SELECT-C --- net joint-select-c <= hm2_5i25.0.7i77.0.0.input-18 # --- JOINT-SELECT-D --- net joint-select-d <= hm2_5i25.0.7i77.0.0.input-19 # --- JOINT-SELECT-E --- net joint-select-e <= hm2_5i25.0.7i77.0.0.input-20 # --- JOINT-SELECT-F --- net joint-select-f <= hm2_5i25.0.7i77.0.0.input-21 # --- JOG-INCR-A --- net jog-incr-a <= hm2_5i25.0.7i77.0.0.input-22 # --- JOG-INCR-B --- net jog-incr-b <= hm2_5i25.0.7i77.0.0.input-23 # --- JOG-INCR-C --- net jog-incr-c <= hm2_5i25.0.7i77.0.0.input-24 # ---jogwheel signals to mesa encoder - shared MPG--- net joint-selected-count <= hm2_5i25.0.encoder.03.count # ---mpg signals--- # for axis x MPG setp axis.0.jog-vel-mode 1 net selected-jog-incr => axis.0.jog-scale net joint-select-a => axis.0.jog-enable net joint-selected-count => axis.0.jog-counts # for axis y MPG setp axis.1.jog-vel-mode 1 net selected-jog-incr => axis.1.jog-scale net joint-select-b => axis.1.jog-enable net joint-selected-count => axis.1.jog-counts # for axis z MPG setp axis.2.jog-vel-mode 1 net selected-jog-incr => axis.2.jog-scale net joint-select-c => axis.2.jog-enable net joint-selected-count => axis.2.jog-counts # for axis a MPG setp axis.3.jog-vel-mode 1 net selected-jog-incr => axis.3.jog-scale net joint-select-d => axis.3.jog-enable net joint-selected-count => axis.3.jog-counts # connect selectable mpg jog increments net jog-incr-a => jogincr.sel0 net jog-incr-b => jogincr.sel1 net jog-incr-c => jogincr.sel2 net selected-jog-incr <= jogincr.out-f setp jogincr.debounce-time 0.200000 setp jogincr.use-graycode False setp jogincr.suppress-no-input False setp jogincr.in00 0.0000025 setp jogincr.in01 0.0000250 setp jogincr.in02 0.0002500

Edit:
Changing
Code:
setp jogincr.in02 0.0002500
to
Code:
setp jogincr.in07 0.0002500
fixed the problem with the third setting on the jog speed. Stil very interested in mapping so-count and fo-count to the 5th and 6th axes. Any help would be greatly appreciated.

Please Log in to join the conversation.

More
7 years 10 months ago #121669 by biqut2
Replied by biqut2 on topic Pendant sort of working...
Nevermind, I feel like an idiot. After taking a short break and then looking at it again all I needed was:
Code:
gmoccapy.feed-override.counts and count-enable

Please Log in to join the conversation.

Time to create page: 0.082 seconds
Powered by Kunena Forum