XHC-HB04 Pendant, Solving Jerky Movement

More
06 Jun 2018 12:27 #111743 by Sparky961
I really hesitated to ask the question because it seems like something I should have been able to find out by doing a few searches. Alas, I haven't found anything that has worked so here goes...

Using an XHC-HB04 USB MPG Pendant, I get "jerky" (not smooth) movement instead of traveling at a velocity proportional to the speed I spin the knob. There is enough weight and acceleration to make this vibrate nicely through the floor...

I thought for sure I could change 'jogmode=normal' to 'jogmode=vnormal' or 'jogmode=plus-minus' (though I'm not sure what the latter is supposed to do). However, when I do so there's no apparent change.

Is there a parameter I can look at in HAL to confirm what mode it's in? Is there something else special needed, like a restart or ... ?

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

More
06 Jun 2018 12:32 #111744 by Sparky961
I found this thread and am reading through it at the moment. Apparently I have better search terms today...

forum.linuxcnc.org/24-hal-components/266...hal-module?start=150

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

More
06 Jun 2018 12:42 #111745 by Sparky961
On a related note, in the above referenced thread I learned that it's possible to redirect HAL output to a file. I thought this would be very handy for troubleshooting and learning about a previously-configured system.
$ halcmd show > hal_info.txt

But this gives an error. LinuxCNC version 2.6.2 on this machine.

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

More
06 Jun 2018 13:14 #111747 by Sparky961
Here's a zip file of the entire machine config folder in case it answers any questions. It's a mess I've inherited that I'm trying to improve upon.
Attachments:

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

More
06 Jun 2018 13:26 #111749 by Sparky961
Sorry for the one-man conversation here, but it's helping me to make some progress on my own.

There's a lot of good info to be had from the thread I linked above. Lots of extra stuff to ignore though too.

It seems I might need to add an ILOWPASS component, but need to read up on how and what it actually does.

forum.linuxcnc.org/24-hal-components/266...dule?start=230#58483

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

More
06 Jun 2018 13:32 #111752 by Sparky961
Good information here as well:

www.panix.com/~dgarrett/stuff/xhc-hb04/xhc-hb04.txt

Ack... but doesn't seem like it's as straight-forward as I'd have preferred (like just changing one configuration setting)

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

More
06 Jun 2018 13:54 - 06 Jun 2018 13:54 #111754 by PCW

On a related note, in the above referenced thread I learned that it's possible to redirect HAL output to a file. I thought this would be very handy for troubleshooting and learning about a previously-configured system.
$ halcmd show > hal_info.txt

But this gives an error. LinuxCNC version 2.6.2 on this machine.


You need to tell halcmd what to show
like:

halcmd show pin
halcmd show param hm2*
halcmd show all

man halcmd
Last edit: 06 Jun 2018 13:54 by PCW.

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

More
06 Jun 2018 14:31 #111757 by Sparky961
Ok, thanks. The reference here must have been a typo then.

forum.linuxcnc.org/24-hal-components/266...dule?start=160#47775

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

More
28 Jun 2018 14:41 #112987 by cahlfors
Did you manage to get any closer to smooth operation?

/Chris

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

More
28 Jun 2018 16:49 #112995 by Sparky961
Unfortunately, no. It took lower priority to other things but I'd love an easy fix.

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

Time to create page: 0.076 seconds
Powered by Kunena Forum