external jog-speed select button not working after homing

More
14 Dec 2021 14:13 #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



 

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

More
15 Dec 2021 06:22 #229099 by Michael
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.

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

More
15 Dec 2021 12:48 #229122 by cmorley
please post your config files.

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

Time to create page: 0.048 seconds
Powered by Kunena Forum