jogging using USB DragonRise pendant

More
2 years 1 month ago #310526 by frayja2002
Hi all

I am trying to setup an external usb pendant using a dragonrise USB zero delay board.
The board is showing up in linuxcnc but I'm having a but of trouble with the pin connections as follows.

#
# USB Buttons
#
net Jog-X-Plus         <= halui.axis.x.plus         <= input.0.abs-x-is-pos
net Jog-X-Neg         <= halui.axis.x.minus         <= input.0.abs-x-is-neg
net Jog-Y-Plus         <= halui.axis.y.plus         <= input.0.abs-y-is-pos
net Jog-Y-Neg         <= halui.axis.y.minus         <= input.0.abs-y-is-neg
net Jog-Z-Plus         <= halui.axis.z.plus         <= input.0.btn-base6
net Jog-Z-Neg         <= halui.axis.z.minus         <= input.0.btn-base5

When I press the button both the input.0.abs-x-is-pos and the halui.axis.x.plus pins light up but I get no motion.
I have tried with the machine homed & unhomed.

Is there a QTdragon pin that would be better to use?
I am testing this on LINUXCNC - 2.9.2-168-ge7cd5217d9

Thanks
Alex


 

Please Log in to join the conversation.

More
2 years 1 month ago #310532 by Unlogic
Make sure that you have the jog speed speed set else the machine won't move when you try to jog it.

Here is an example:

setp halui.axis.jog-speed 100

Please Log in to join the conversation.

More
2 years 1 month ago #310536 by frayja2002
Yes that got it going. I had missed that... I thought it would be related to the jog value on the screen.

Are there any pin values that would allow me to use the equivalent button on the UI?
I am using QTDragon UI by the way.

There are a lot of functions in the UI that I would like to link to the USB buttons.

Can someone point me to a good tutorial on this subject.

Thanks
Alex

Please Log in to join the conversation.

More
2 years 1 month ago #310542 by Aciera
Have a look at:
linuxcnc.org/docs/devel/html/gui/qtdragon.html#_hal_pins

'qtdragon.slider-jogspeed-linear' looks like a good candidate

Please Log in to join the conversation.

More
2 years 1 month ago #310551 by frayja2002
I have read the page & linked the pis together so that they both reflect each other, now I just have to find a way to inc & dec the jog speed from the USB pendant.

In QTDragon the 4th tab over is the Tool tab (where you can probe a touch plate)

Is there a hal pin to activate the probe (labelled as "Touch Plate" on the screen. As my machine is quite long I cannot reach the screen & hold a plate under the spindle at the same time.

Cheers
Alex

Please Log in to join the conversation.

More
2 years 1 month ago #310581 by frayja2002
Hi all

Just to let you know I have found out how to set the jog speed (well a good good way of doing it at least) by looking at this page...
forum.linuxcnc.org/47-hal-examples/52414...d-joystick-struggles

Does anybody have any ideas on how I can activate the tool touch probe?

Thanks
Alex

Please Log in to join the conversation.

Time to create page: 0.082 seconds
Powered by Kunena Forum