Advanced Search

Search Results (Searched for: XHC)

  • andrax
  • andrax
Yesterday 18:03
Replied by andrax on topic Handrad XHC richtig einbinden in LinuxCNC

Handrad XHC richtig einbinden in LinuxCNC

Category: Deutsch

Hat sich erledigt.
Hatte die Frage auch im Englischen Forum gestellt und letztendlich eine Lösung gefunden.
XHC-WHB04B-06 rotary knob button feed rate not work
  • andrax
  • andrax
Yesterday 17:34

[solved] XHC-WHB04B-06 rotary knob button feed rate not work

Category: Advanced Configuration

I have found a solution that works for me.
After wasting a week with Mux trying to build something with 6 input pins + enable, I have now decided on a different approach. Since the rotary control does not have a direct output for the feed, I am tapping the signal from whb.axis.a.jog-scale. Now I just had to convert the value with div2 for jog, feed, and rapid.
# Aufruf 
loadrt div2 count=3
addf div2.0    servo-thread
addf div2.1    servo-thread
addf div2.2    servo-thread

#

net    analog_enable        gmoccapy.jog.jog-velocity.analog-enable        whb.halui.feed.selected-continuous
net    analog_enable        gmoccapy.feed.feed-override.analog-enable    
net    analog_enable        gmoccapy.rapid.rapid-override.analog-enable    
#
net feed_in         div2.0.in0    whb.axis.a.jog-scale
setp                 div2.0.in1 3.333
net feed_jog         div2.0.out
#
net feed_in         div2.1.in0    
setp                 div2.1.in1 3.27
net feed_overide     div2.1.out
#
net feed_in         div2.2.in0    
setp                 div2.2.in1 1.64
net feed_rapid         div2.2.out

net feed_jog          gmoccapy.jog.jog-velocity.direct-value
net feed_overide       gmoccapy.feed.feed-override.direct-value
net feed_rapid         gmoccapy.rapid.rapid-override.direct-value
  • andrax
  • andrax
26 Jan 2026 17:54

[solved] XHC-WHB04B-06 rotary knob button feed rate not work

Category: Advanced Configuration

I tested the signals on the rotary control.
The pins for feed.selected light up depending on the selection.
whb.halui.feed-override.scale always remains 0.
whb.halui.max-velocity.value always remains 166.666. 
 
  • andypugh
  • andypugh's Avatar
25 Jan 2026 17:03

[solved] XHC-WHB04B-06 rotary knob button feed rate not work

Category: Advanced Configuration

You could quickly check if those have the desired affect by opening halshow, opening the "watch" tab and picking those pins from the tree. Then you can set values directly.

If that works then link them up in HAL.
  • andrax
  • andrax
25 Jan 2026 16:52

[solved] XHC-WHB04B-06 rotary knob button feed rate not work

Category: Advanced Configuration

I use gmoccapy.

So far, I have found that these two signals control the feed rate:
gmocacapy.spc-feed.value
gmocacapy.spc-speed.value
  • andypugh
  • andypugh's Avatar
  • andrax
  • andrax
25 Jan 2026 16:09

[solved] XHC-WHB04B-06 rotary knob button feed rate not work

Category: Advanced Configuration

Hi,
I have a question about the configuration of the XHC WHB04B-06.
I already asked this question in the German forum but unfortunately did not receive an answer.
First of all, the handwheel works perfectly except for the rotary knob button.
Here I can only set the increments. But I also want to control the feed rates.

I think the settings need to be adjusted here:

# GUI feed rate related signals can be used when program is running moving GUI slider
net pdnt.feed-override.scale whb.halui.feed-override.scale halui.feed-override.scale # needed for both FeedOverride+/- and rotary knob button
net pdnt.max-velocity.value whb.halui.max-velocity.value halui.max-velocity.value # needed for Mpg mode : button feed position% * max-velocity = Mpg feedrate

# take feed override min/max values from/to the GUI
net pdnt.feed-override.value halui.feed-override.value whb.halui.feed-override.value # GUI feed rate related signals
net pdnt.feed-override.increase whb.halui.feed-override.increase halui.feed-override.increase
net pdnt.feed-override.decrease whb.halui.feed-override.decrease halui.feed-override.decrease


I just don't know which ones?
 
  • andypugh
  • andypugh's Avatar
23 Jan 2026 18:43
Replied by andypugh on topic XHC-WHB04B-4 config difference

XHC-WHB04B-4 config difference

Category: Advanced Configuration

See the "buttons" section:
linuxcnc.org/docs/stable/html/man/man1/x...6.1.html#HAL%20USAGE

The default config is set up just to say "macroN" when you press a button.
If you want to do somethng when you press the button you need to change (debug, macro4) to a bit of G-code (or a call to a subroutine) that has the desired affect.
  • andrax
  • andrax
20 Jan 2026 17:03
Replied by andrax on topic Handrad XHC richtig einbinden in LinuxCNC

Handrad XHC richtig einbinden in LinuxCNC

Category: Deutsch

Hi,
ich hätte auch Fragen zum XHC und der Titel passt auch zu meiner Frage.
Ich hoffe die wurde nicht schon 1000x gestellt.
Derzeit nutze ich die .hal Vorlage aus der Linuxcnc Dokumentation.
Die Oberfläche ist CMOCCAPY
Ich würde gerne den Vorschubregel Knopf für Eilgang UND Vorschub nutzen.
Derzeit funktionieren nur die Incremente.
Wie müsste ich die Vorlage anpassen?

# Minimale/Maximale Werte für die Vorschubüberschreibung aus/in die GUI übernehmen
net pdnt.feed-override.value halui.feed-override.value whb.halui.feed-override.value # GUI-bezogene Signale für die Vorschubrate
net pdnt.feed-override.increase whb.halui.feed-override.increase halui.feed-override.increase
net pdnt.feed-override.decrease whb.halui.feed-override.decrease halui.feed-override.decrease

Besten Dank schon mal im Voraus.





 
  • kello711
  • kello711's Avatar
19 Jan 2026 04:55
XHC-WHB04B-4 config difference was created by kello711

XHC-WHB04B-4 config difference

Category: Advanced Configuration

Is there a difference between the configuration of the XHC-WHB04B-4 and the XHC-WHB04B-6. I understand there may be more buttons on the -6 but I'm more concerned about the core functionality of the MPG wheel, axis selection switch, and the step scale switch. I got it working in Axis sim but not sure I have it working perfectly. I started out with the example config from the documentation page. I did notice that hitting the "W-HOME" button invoked a Macro 4 popup in Axis, which seemed odd.
  • tommylight
  • tommylight's Avatar
28 Dec 2025 12:07

No speed control on xhc-wb04b-6 pendant on 3 axis router

Category: Basic Configuration

Usually due to naming errors, like spindle.enable should be spindle.0.enable, axis should be joints, etc.
  • jameslc15
  • jameslc15
28 Dec 2025 06:36 - 28 Dec 2025 06:37

No speed control on xhc-wb04b-6 pendant on 3 axis router

Category: Basic Configuration

Hi Tommy

Thank you for the heads up, I did some reading prior to get the vfd signal going and did hear to other peoples warnings on this forum so I've got an abs component running successfully. The issue is the pendant won't send rpm signal to analogue output 5 were as axis will ?
  • tommylight
  • tommylight's Avatar
26 Dec 2025 19:43

No speed control on xhc-wb04b-6 pendant on 3 axis router

Category: Basic Configuration

 
I'm still amazed a 10mA signal could smoke like that.

[/quote]
It is enough to start a chain reaction, same as throwing a wrench on any complicated machinery, no matter how small.
-
As for the subject, i used a Mesa 7i77 to drive a car power amplifier as a servo drive, so i had to limit voltage from going above +-2V and it worked pretty good, given the limited current those amplifiers can deliver (it will trigger over current on any faster move), but i forgot how i did the limiting in hal, pretty sure it was the MAX and MIN OUTPUT set to 2, but fuzzy on what else.
I also did 0 to +5V and it also worked, but tried with those arduino PWM drives and that did not work as analog and PWM are not the same, you can do analog from PWM easily with an RC, but not vice versa.
This was probably 10 or more years ago...
  • NWE
  • NWE
26 Dec 2025 19:15 - 26 Dec 2025 19:17

No speed control on xhc-wb04b-6 pendant on 3 axis router

Category: Basic Configuration

and sometimes with smoke signals...

 

Ouch! been there done that. I'm still amazed a 10mA signal could smoke like that.
Displaying 1 - 15 out of 93 results.
Time to create page: 1.305 seconds
Powered by Kunena Forum