- Posts: 59
- Thank you received: 0
XHC-WHB04B-6 LinuxCNC not working
- satiowadahc
- Offline
- Senior Member
-
Please Log in to join the conversation.
I tried the 6-axis driver you posted. I could not get it working. From what I remember it didn't seem that the two versions worked in the same way. It was some command that didn't exist on mine. Can't remember details I'm afraid, haven't had time to work on my mill for months.satiowadahc wrote: Good to hear! As I don't have a 6 axis one, and haven't received feedback do the last two axis's work?
There were a couple of typos I corrected in that version. Not sure if you have posted a new one.
I did however get the other driver from the "German guy" working. It works really well with that driver.
It it would be interesting to hear if anyone else got your driver for the 6-axis working. I'd like to try that as well.
Please Log in to join the conversation.
Hi.
I solved the not proper working jogwheel with the driver from machinekit, that Talla83 supplied on his homepage and Youtube channel.
If you already use halui.machine.is-on for switching some solenoids etc. you run in the trap. When you start and get the error that halui.machine.is-on is already connected, and comment out the line, you kill the logic:
The driver NEED the signal on whb.halui.machine.is-on to run properly its safe to do nothing untile the machine is on. If you see the RESET in the display the machine need to be power on. If you do that, the signal will be set, the "RESET" disappear and you can use all other functions you have set and after homing, jogging works like a charm.
Maybe it's a good idea to komment it in the HAL that this line is mandatory.
Hope it will spread around and we all will have fun in these days.
Take care and keep well!!!
Best,
Udo
Please Log in to join the conversation.
I have used the last driver from machinekit and try to update for linuxcnc master
All work fine excepted the velocity jog mode, turning the feedrate button from pendant update the feedrate override in GUI (2% to 100%) but the move seems to be allways at same velocity.
I have some trouble understanding the process for velocity jog feed.
Is there a reason for not merging something like this driver ?
Br
Ps : this driver include toggle mode for mist/flood from Fn+ step/continuous (and lube from macro 2), also include a toggle for Absolut/Relative Dro from macro 10, + removed some useless code
Please Log in to join the conversation.
This one add two more feature :
-Spindle override using lead position
-Speedrate override using CON mode
The result is 4 different function using STEP/MPG/CON/LEAD
This driver was written with much difficulty but i hope is not crappy and is easy to read.
github.com/wolfmanjm/kivy-smoothie-host/pull/16
For Linuxcnc i have see other based source code than raoul Rubien, based on the original hb04b, or if i remember also a python version. (i can't found the topic another time)
At the end, what is the most finished version ?
Why nobody try to include one of this to master ?
Please Log in to join the conversation.
The Step/Mpg mode are managed here but this is not clear for me. (and more trouble with the use of ilowpass and scale from hal)
in my own driver i do
Please Log in to join the conversation.
I have try to use without success :
halui.feed-override.count-enable (bit, in)
halui.feed-override.counts (s32, in) - counts * scale = FO
halui.feed-override.direct-value (bit, in)
halui.feed-override.scale (float, in)
Please Log in to join the conversation.
alkabal wrote: Why nobody try to include one of this to master ?
I am not aware of anyone asking.
If you want to make a pull-request to LinuxCNC then it might get merged. The problem is that most developers probably don't have the hardware to test it with.
Please Log in to join the conversation.
Is this have more sense ? "In Mpg mode the step speed is in percent of max-velocity"
(if yes the good pin it is halui.max-velocity.value for calc ?)
I have corrected the Lead mode for use spindle override to GUI.
Fix scale Button Feed+/- for speed override to GUI
Fix Rotary knob to change only pendant feedrate
Please Log in to join the conversation.
alkabal wrote: Writing this allow to have something variable but i'm unsure about the real reaction needed for Mpg mode.
I have try to use without success :
halui.feed-override.count-enable (bit, in)
halui.feed-override.counts (s32, in) - counts * scale = FO
halui.feed-override.direct-value (bit, in)
halui.feed-override.scale (float, in)
If you can it is rather better to use the motion jogging pins rather than halui.
Halui is a user-space program. Motion (which creates the joint.... and axis.... HAL pins) runs in realtime so will react to inputs more dependably.
Though that probably doesn't matter as much when you are connecting via USB, which has its own issues.
Please Log in to join the conversation.
