Jogging buttons don't work

More
05 Aug 2019 13:36 - 05 Aug 2019 13:58 #141415 by JB-Motoring
Hey guys,

I want to use my oem panel to control the software as far as it's possible.

I have 3 buttons for Jogging the axis, +,- and ~ Rapid.

I have connected them in Hal to jog selected -pos /-neg.
If I run Linuxcnc I can read in Hal, that the Buttons work, the Jog selected plus and minus work like they should.

But If I press PLUS or Minus, no matter which axis is selected, only X moves.

I must have forgotten something, maybe someone can help me with that :-).

Thanks All!
Last edit: 05 Aug 2019 13:58 by JB-Motoring.

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

More
05 Aug 2019 14:23 #141417 by pl7i92
Replied by pl7i92 on topic Jogging buttons don't work
hi
you need to post your hal here
or postgui i gues as you did connectd it there

Where or How is the Axis/joint selected to be moved
seams you missed a switch to get the Axis selected

What Linuxcnc are you running what GUI system axis gscreen ...

halui.joint.N.is−selected
# Jog wheel and axis selection button
net jog-x halui.joint.0.is−selected and2.0.in0 and2.3.in0
net jog-y halui.joint.1.is−selected and2.1.in0 and2.4.in0
net jog-z halui.joint.2.is−selected => and2.2.in0 and2.5.in0

net jog-pos yourbutton-pos and2.3.in1 and2.4.in1 and2.5.in1
net jog-neg yourbutton-neg and2.0.in1 and2.1.in1 and2.2.in1

net joy-xpos-jog halui.jog.0.plus <= and2.3.out
net joy-xneg-jog halui.jog.0.minus <= and2.0.out
net joy-ypos-jog halui.jog.1.plus <= and2.4.out
net joy-yneg-jog halui.jog.1.minus <= and2.1.out
net joy-zpos-jog halui.jog.2.plus <= and2.5.out
net joy-zneg-jog halui.jog.2.minus <= and2.2.out

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

Time to create page: 0.112 seconds
Powered by Kunena Forum