Pendant sort of working...
01 Dec 2018 01:11 - 01 Dec 2018 02:34 #121665
by biqut2
Pendant sort of working... was created 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.
Edit:
Changingtofixed 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.
# --- 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
setp jogincr.in02 0.0002500
setp jogincr.in07 0.0002500
Last edit: 01 Dec 2018 02:34 by biqut2.
Please Log in or Create an account to join the conversation.
01 Dec 2018 03:58 #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:
gmoccapy.feed-override.counts and count-enable
Please Log in or Create an account to join the conversation.
Time to create page: 0.054 seconds