jogging using USB DragonRise pendant
- frayja2002
- Offline
- Premium Member
-
Less
More
- Posts: 153
- Thank you received: 12
21 Sep 2024 03:42 #310526
by frayja2002
jogging using USB DragonRise pendant was created 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
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 or Create an account to join the conversation.
- Unlogic
- Offline
- Elite Member
-
Less
More
- Posts: 209
- Thank you received: 104
21 Sep 2024 08:11 #310532
by Unlogic
Replied by Unlogic on topic jogging using USB DragonRise pendant
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
Here is an example:
setp halui.axis.jog-speed 100
The following user(s) said Thank You: Aciera
Please Log in or Create an account to join the conversation.
- frayja2002
- Offline
- Premium Member
-
Less
More
- Posts: 153
- Thank you received: 12
21 Sep 2024 09:57 - 21 Sep 2024 10:13 #310536
by frayja2002
Replied by frayja2002 on topic jogging using USB DragonRise pendant
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
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
Last edit: 21 Sep 2024 10:13 by frayja2002.
Please Log in or Create an account to join the conversation.
- Aciera
-
- Offline
- Administrator
-
Less
More
- Posts: 4287
- Thank you received: 1899
21 Sep 2024 11:04 #310542
by Aciera
Replied by Aciera on topic jogging using USB DragonRise pendant
Have a look at:
linuxcnc.org/docs/devel/html/gui/qtdragon.html#_hal_pins
'qtdragon.slider-jogspeed-linear' looks like a good candidate
linuxcnc.org/docs/devel/html/gui/qtdragon.html#_hal_pins
'qtdragon.slider-jogspeed-linear' looks like a good candidate
Please Log in or Create an account to join the conversation.
- frayja2002
- Offline
- Premium Member
-
Less
More
- Posts: 153
- Thank you received: 12
21 Sep 2024 13:31 #310551
by frayja2002
Replied by frayja2002 on topic jogging using USB DragonRise pendant
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
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 or Create an account to join the conversation.
- frayja2002
- Offline
- Premium Member
-
Less
More
- Posts: 153
- Thank you received: 12
22 Sep 2024 01:02 #310581
by frayja2002
Replied by frayja2002 on topic jogging using USB DragonRise pendant
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
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 or Create an account to join the conversation.
Time to create page: 0.071 seconds