- Posts: 11
- Thank you received: 0
external jog-speed select button not working after homing
4 years 10 months ago #229058
by oeleboele
Hi,
I've a external jog-speed selector switch connected and two switches for +/- jogging x and y axis.
Everything is working except that after homing the jog speed selection does nothing.
I connected the halui.axis.jog-speed and halui.joint.jog-speed to the switch so I don't know what I'm doing wrong. Before homing the speed selection does work.
Does anybody know what I'm missing here?
Thanks
This is how I connected it in hal:
loadrt mux2 count=1
addf mux2.0 servo-thread
setp mux2.0.in1 3000
setp mux2.0.in0 1500
net jog-spd-sel-ext-fast mux2.0.sel <= hm2_7i76e.0.7i77.0.2.input-06
net jog-speed <= mux2.0.out => halui.axis.jog-speed halui.joint.jog-speed
net jog-x-neg halui.joint.0.minus halui.axis.x.minus <= hm2_7i76e.0.7i77.0.2.input-08
net jog-x-pos halui.joint.0.plus halui.axis.x.plus <= hm2_7i76e.0.7i77.0.2.input-09
net jog-y-neg halui.joint.1.minus halui.axis.y.minus <= hm2_7i76e.0.7i77.0.2.input-10
net jog-y-pos halui.joint.1.plus halui.axis.y.plus <= hm2_7i76e.0.7i77.0.2.input-11
I've a external jog-speed selector switch connected and two switches for +/- jogging x and y axis.
Everything is working except that after homing the jog speed selection does nothing.
I connected the halui.axis.jog-speed and halui.joint.jog-speed to the switch so I don't know what I'm doing wrong. Before homing the speed selection does work.
Does anybody know what I'm missing here?
Thanks
This is how I connected it in hal:
loadrt mux2 count=1
addf mux2.0 servo-thread
setp mux2.0.in1 3000
setp mux2.0.in0 1500
net jog-spd-sel-ext-fast mux2.0.sel <= hm2_7i76e.0.7i77.0.2.input-06
net jog-speed <= mux2.0.out => halui.axis.jog-speed halui.joint.jog-speed
net jog-x-neg halui.joint.0.minus halui.axis.x.minus <= hm2_7i76e.0.7i77.0.2.input-08
net jog-x-pos halui.joint.0.plus halui.axis.x.plus <= hm2_7i76e.0.7i77.0.2.input-09
net jog-y-neg halui.joint.1.minus halui.axis.y.minus <= hm2_7i76e.0.7i77.0.2.input-10
net jog-y-pos halui.joint.1.plus halui.axis.y.plus <= hm2_7i76e.0.7i77.0.2.input-11
Please Log in to join the conversation.
4 years 10 months ago #229099
by Michael
Replied by Michael on topic external jog-speed select button not working after homing
Is this a new setup or adding on to an existing config?
Are you stuck on a shared limit switch after homing?
Also you shouldn't need to have jogs for joint and axis connected. An axis jog command will move all joints associated with that axis. Try removing the joint pins.
Are you stuck on a shared limit switch after homing?
Also you shouldn't need to have jogs for joint and axis connected. An axis jog command will move all joints associated with that axis. Try removing the joint pins.
Please Log in to join the conversation.
Time to create page: 0.087 seconds
