Advanced Search

Search Results (Searched for: XHC)

22 Feb 2024 09:19

Hal format changes from 2.8 to 2,9? (xhc-whb04b-6 related)

Category: HAL

Hi All,
Have spent the past day battling through various attempts to get the 16-button variety of XHC-WHB04B-6 working without success.
I can see every event via the xhc-whb04b-6 -ue command the pendant puts out, everything works when using the -p suffix except for the handwheel, but no matter what I try I cant open lcnc without incurring an error, trying both Axis and QT_Dragon.

A log file ("print file information..) is attached below with the latest error at the bottom
(No input devices could be opened.  This usually indicates a misconfigured system.  Please read the section 'PERMISSIONS AND UDEV' in the hal_input manpage
./my_LinuxCNC_machine.hal:13: waitpid failed hal_input hal_input
./my_LinuxCNC_machine.hal:13: hal_input exited without becoming ready
3799).

The HAL entries and mods were from what Erik Salo (sp) had suggested in his posts and video, the .rules entry looks correct for that model of pendant, the custom.hal entry is correct and the spelling and case were triple-checked to make sure it wasn't some careless error.

I'm at a loss and wondering if it was some syntax or format change from 2.8 to 2.9 (I'm running the latest stable version on Debian 12) that's just causing issue with however 2.9 works. I tried to follow talla83's video as well but couldn't follow along due to differences with the current docs.

Any help appreciated, I'm open to ideas. Thanks!

 
17 Feb 2024 13:03
Replied by andypugh on topic XHC-WHB04B-6 gantry config

XHC-WHB04B-6 gantry config

Category: HAL Examples

That looks reasonable to me.
16 Feb 2024 12:42 - 16 Feb 2024 12:46

XHC-WHB04B-6 gantry config

Category: HAL Examples

Hi,

I set up a XHC-WHB04B-6 with a gantry under LinuxCNC 2.8.4. The example config does not include 2 y axis so I conected them with an & gate.

# "is-homed" axis signal for allowing pendant when machine is not homed
net pdnt.axis.X.is-homed          halui.joint.0.is-homed    whb.halui.joint.x.is-homed
# ---- gantry -----
loadrt and2
net gant-y1-is-homed              and2.0.in0                halui.joint.1.is-homed
net gant-y2-is-homed              and2.0.in1                halui.joint.2.is-homed
net pdnt.axis.Y.is-homed          and2.0.out                whb.halui.joint.y.is-homed
net pdnt.axis.Z.is-homed          halui.joint.3.is-homed    whb.halui.joint.z.is-homed


Is that the proper way to do it?

Cheers 
Isaak
 
14 Feb 2024 05:50 - 14 Feb 2024 21:14

Ethercat PDO/SDO Configuration error

Category: EtherCAT

When did it last work, and what's changed since then? Did you upgrade the linuxcnc-ethercat software since it last worked? Have the XML files changed?

Can you exit LinuxCNC, run `sudo dmesg -C`, restart LinuxCNC, and then share what `sudo dmesg` says?
 
Hi thanks for the quick reply, i got the output of sudo dmesg -C this is the section with the Ethercat output, i put the complete .txt as attachment.

The last time it worked was in 2021 and yes since then a new computer/hardware was needed and a complete fresh Linuxcnc/ethercat install was done, but the machine configuration is nearly the same.

But as i got my scaling at that time not tuned to move the right distances i  discarded the EtherCAT COE Setup and Configured the Drives with EtherCAT SOE, but this was never reliable enough. and had  often bus failures.

I´ve updated the Drives Firmware today to FWA-INDRV_-MPB-21V16-D5_FD
and updated the EtherCAT Master to EtherCAT: Master driver 1.5.2 1.5.2.429.g3079ece-1+378.1

  - Sven

Warning: Spoiler!


 

File Attachment:

File Name: cstruct_14022024.txt
File Size:0 KB

File Attachment:

File Name: dmesg_2024-02-14.txt
File Size:90 KB

09 Feb 2024 12:06 - 09 Feb 2024 13:40
Replied by vre on topic XHC-WHB04B-6 Help needed

XHC-WHB04B-6 Help needed

Category: HAL

Hello.
I have debian 12 /  linuxcnc 2.10pre master and XHC-WHB04B-6 doesn't work
I had copied udev rules but seems that doesn't work because if i run this command as root
xhc-whb04b-6 -ue works fine but doesn't work if i run it as user.
My udev rules file
cat /etc/udev/rules.d/99-xhc-whb04b-6.rules
# xhc-whb04b-6 mpg pendant
SUBSYSTEM=="usb", ATTR{idProduct}=="eb93", ATTR{idVendor}=="10ce", MODE="600", TAG+="uaccess"
update ---
solved by adding to udev rules
ATTRS{idVendor}=="10ce", ATTRS{idProduct}=="eb93", MODE="666", OWNER="root", GROUP="users"
05 Feb 2024 10:02

7i92t and 5 axis bob no 0-10v on spindle

Category: General LinuxCNC Questions

Hello, I'm not sure what's going on with my spindle setting. I'm using the 7i92t with 7i92_5abobx2d.bit and a cheap 5 axis bob with spindle output set to i/o 000: for pin 1. The relay pin 17 is working as expected but I get 10v on pin 1 with the relay off and no voltage with it on. Giving S commands has no effect with relay off or on. My spindle setting from pncconf were[SPINDLE_0]
P = 0.0
I = 0.0
D = 0.0
FF0 = 1.0
FF1 = 0.0
FF2 = 0.0
BIAS = 0.0
DEADBAND = 0.0
MAX_OUTPUT = 24000.0

So I added
OUTPUT_SCALE = 24000.0
OUTPUT_MIN_LIMIT = 0
OUTPUT_MIN_LIMIT = 24000.0

but this had no noticeable change.
If anyone knows what might be wrong, please let me know
My ini and hal are attached along with the xhc mpg hal.
30 Jan 2024 03:49
Help! I'm an idiot was created by ericg

Help! I'm an idiot

Category: General LinuxCNC Questions

Yes, I am, I haven't upgraded LCNC for a while so I thought it was time, so I upgraded to the latest while doing others tasks and lost everything and couldn't find my backup from a couple of years ago, Doh!.Anyway it's mostly all back again just a few tweaks and the laser software to go.Finally my problem is with the xhc-hb04 pendant, it is working except for  the probe-z button which call a subroutine from a mdi-command and the subroutine is not being found. (seeking o-word<o100>;)I cannot find what I have missed, the PROGRAM-PREFIX is correct, the file is in the PATH and I added SUBROUTINE-PATH for good measure.
(please remove .txt from o100 file)
Can I get help please.
Eric
25 Jan 2024 05:12

XHC-WHB04B-6 and LinuxCNC 2.9.1

Category: Installing LinuxCNC

WHB has his own hal file, this hal file will called in the ini file of your machine configuaration.
22 Jan 2024 10:09

XHC-WHB04B-04 Got it working

Category: Advanced Configuration

I should also mention I changed machine.is.on to machine-is-on, and i had to edit the udev rules so that the pendant was seen by my system,besides that, I just deleted the halui connection to all the startup errors one by one. All the functions seem to be working and the pendant is displaying the positional information. Remember to press continuous to allow it to jog, if you don't it will adjust the feedrate if you spin the pendant.
22 Jan 2024 03:55

XHC-WHB04B-04 Got it working

Category: Advanced Configuration

I will have to take a look, because I ran out of patience last year with it and walkd away.

and thank you
22 Jan 2024 01:15 - 22 Jan 2024 02:18
22 Jan 2024 00:30 - 22 Jan 2024 02:19
21 Jan 2024 18:14

XHC-WHB04B-04 Got it working

Category: Advanced Configuration

I spent hours upon hours on trying to get the new xhc wireless pendant working. While all the forum posts helped it wasn't until I started trying to match pins signals and tracking down errors that I realized the only thing throwing errors was the halui already connected mesage so instead of commenting out that line I just deleted the halui part of each of those connections and it viola. It is working for both my QTdragon and QTPlasma configs next step is to start assigning the macros, and buttons hope this helps someone.
21 Jan 2024 15:33

XHC-WHB04B-6 and LinuxCNC 2.9.1

Category: Installing LinuxCNC

Unfortunately, that is not my problem. My hal has always used [HMOT](CARD0).

But I have another question: there is no reference to the WHB in your hal. Where did you put that?

Thanks.
15 Jan 2024 21:59

Mesa 5i25 not found after fresh install

Category: Installing LinuxCNC

What does

lspci

report?
 

00:00.0 Host bridge: Intel Corporation Device 5af0 (rev 0b)
    Subsystem: ASRock Incorporation Device 5af0
    Flags: bus master, fast devsel, latency 0

00:02.0 VGA compatible controller: Intel Corporation Device 5a85 (rev 0b) (prog-if 00 [VGA controller])
    Subsystem: ASRock Incorporation Device 5a85
    Flags: bus master, fast devsel, latency 0, IRQ 10
    Memory at 90000000 (64-bit, non-prefetchable) [size=16M]
    Memory at 80000000 (64-bit, prefetchable) [size=256M]
    I/O ports at f000
    Expansion ROM at <unassigned> [disabled]
    Capabilities: <access denied>

00:0e.0 Audio device: Intel Corporation Device 5a98 (rev 0b)
    Subsystem: ASRock Incorporation Device d887
    Flags: bus master, fast devsel, latency 0, IRQ 25
    Memory at 91210000 (64-bit, non-prefetchable) [size=16K]
    Memory at 91000000 (64-bit, non-prefetchable) [size=1M]
    Capabilities: <access denied>
    Kernel driver in use: snd_hda_intel

00:0f.0 Communication controller: Intel Corporation Device 5a9a (rev 0b)
    Subsystem: ASRock Incorporation Device 5a9a
    Flags: bus master, fast devsel, latency 0, IRQ 7
    Memory at 9121b000 (64-bit, non-prefetchable) [size=4K]
    Capabilities: <access denied>

00:12.0 SATA controller: Intel Corporation Device 5ae3 (rev 0b) (prog-if 01 [AHCI 1.0])
    Subsystem: ASRock Incorporation Device 5ae3
    Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 19
    Memory at 91214000 (32-bit, non-prefetchable) [size=8K]
    Memory at 91218000 (32-bit, non-prefetchable)
    I/O ports at f090
    I/O ports at f080
    I/O ports at f060
    Memory at 91217000 (32-bit, non-prefetchable) [size=2K]
    Capabilities: <access denied>
    Kernel driver in use: ahci

00:13.0 PCI bridge: Intel Corporation Device 5ad8 (rev fb) (prog-if 00 [Normal decode])
    Flags: bus master, fast devsel, latency 0
    Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
    Capabilities: <access denied>
    Kernel driver in use: pcieport

00:13.2 PCI bridge: Intel Corporation Device 5ada (rev fb) (prog-if 00 [Normal decode])
    Flags: bus master, fast devsel, latency 0
    Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
    I/O behind bridge: 0000e000-0000efff
    Memory behind bridge: 91100000-911fffff
    Capabilities: <access denied>
    Kernel driver in use: pcieport

00:15.0 USB controller: Intel Corporation Device 5aa8 (rev 0b) (prog-if 30 [XHCI])
    Subsystem: ASRock Incorporation Device 5aa8
    Flags: bus master, medium devsel, latency 0, IRQ 17
    Memory at 91200000 (64-bit, non-prefetchable) [size=64K]
    Capabilities: <access denied>
    Kernel driver in use: xhci_hcd

00:1f.0 ISA bridge: Intel Corporation Device 5ae8 (rev 0b)
    Subsystem: ASRock Incorporation Device 5ae8
    Flags: bus master, medium devsel, latency 0

00:1f.1 SMBus: Intel Corporation Device 5ad4 (rev 0b)
    Subsystem: ASRock Incorporation Device 5ad4
    Flags: medium devsel, IRQ 255
    Memory at 91216000 (64-bit, non-prefetchable)
    I/O ports at f040

02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 11)
    Subsystem: ASRock Incorporation Motherboard (one of many)
    Flags: bus master, fast devsel, latency 0, IRQ 20
    I/O ports at e000
    Memory at 91104000 (64-bit, non-prefetchable) [size=4K]
    Memory at 91100000 (64-bit, prefetchable) [size=16K]
    Capabilities: <access denied>
    Kernel driver in use: r8169

Displaying 121 - 135 out of 168 results.
Time to create page: 0.773 seconds
Powered by Kunena Forum