Advanced Search

Search Results (Searched for: XHC)

  • Anton
  • Anton
13 Jul 2024 13:08 - 14 Jul 2024 07:28
Replied by Anton on topic XHC-WHB04B-6 Macro 10 zum Achse Nullen

XHC-WHB04B-6 Macro 10 zum Achse Nullen

Category: Deutsch

Hello,
I am a beginner and still have some problems with the signal linking in the HAL.
As shown above, I have managed to zero the axes using button 10 and the rotary knob for axis selection. How can I now set all axes to 0 after selecting axis C with the rotary knob and pressing button 10?


#### Axes Zero with selected axis and button10 ###
loadrt and2 names=and2_X,and2_Y,and2_Z,and2_C
addf and2_X servo-thread
addf and2_Y servo-thread
addf and2_Z servo-thread
addf and2_C servo-thread

net button10 <= whb.button.macro-10 

#### X-Axis ####
net pdnt.axis.X.select => and2_X.in0
net button10 => and2_X.in1
net x_zero <= halui.mdi-command-21 <= and2_X.out 

#### Y-Axis ####
net pdnt.axis.Y.select => and2_Y.in0
net button10 => and2_Y.in1
net y_zero <= halui.mdi-command-22 <= and2_Y.out

#### Z-Axis ####
net pdnt.axis.Z.select => and2_Z.in0
net button10 => and2_Z.in1
net z_zero <= halui.mdi-command-23 <= and2_Z.out

### Zero all axes if axis C is selected ###
net pdnt.axis.C.select => and2_C.in0
net button10 => and2_C.in1
net zero_all ????
  • hpmax
  • hpmax
01 Jul 2024 15:32

A Treatsie on the Parallel Port - HP Elitedesk 800 with generic cable

Category: Installing LinuxCNC

00:00.0 0600: 8086:591f (rev 05)
Subsystem: 1028:0763
Flags: bus master, fast devsel, latency 0, IOMMU group 1
Capabilities: [e0] Vendor Specific Information: Len=10 <?>
Kernel driver in use: skl_uncore

00:01.0 0604: 8086:1901 (rev 05) (prog-if 00 [Normal decode])
Subsystem: 1028:0763
Flags: bus master, fast devsel, latency 0, IRQ 122, IOMMU group 2
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
I/O behind bridge: [disabled] [16-bit]
Memory behind bridge: [disabled] [32-bit]
Prefetchable memory behind bridge: [disabled] [64-bit]
Capabilities: [88] Subsystem: 1028:0763
Capabilities: [80] Power Management version 3
Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [a0] Express Root Port (Slot+), MSI 00
Capabilities: [100] Virtual Channel
Capabilities: [140] Root Complex Link
Capabilities: [d94] Secondary PCI Express
Kernel driver in use: pcieport

00:02.0 0300: 8086:5912 (rev 04) (prog-if 00 [VGA controller])
DeviceName: Intel HD Graphics
Subsystem: 1028:0763
Flags: bus master, fast devsel, latency 0, IRQ 129, IOMMU group 0
Memory at de000000 (64-bit, non-prefetchable) [size=16M]
Memory at c0000000 (64-bit, prefetchable) [size=256M]
I/O ports at f000
Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
Capabilities: [40] Vendor Specific Information: Len=0c <?>
Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
Capabilities: [ac] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [d0] Power Management version 2
Capabilities: [100] Process Address Space ID (PASID)
Capabilities: [200] Address Translation Service (ATS)
Capabilities: [300] Page Request Interface (PRI)
Kernel driver in use: i915
Kernel modules: i915

00:14.0 0c03: 8086:a12f (rev 31) (prog-if 30 [XHCI])
Subsystem: 1028:0763
Flags: bus master, medium devsel, latency 0, IRQ 126, IOMMU group 3
Memory at df310000 (64-bit, non-prefetchable) [size=64K]
Capabilities: [70] Power Management version 2
Capabilities: [80] MSI: Enable+ Count=1/8 Maskable- 64bit+
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci

00:14.2 1180: 8086:a131 (rev 31)
Subsystem: 1028:0763
Flags: bus master, fast devsel, latency 0, IRQ 18, IOMMU group 3
Memory at df32e000 (64-bit, non-prefetchable) [size=4K]
Capabilities: [50] Power Management version 3
Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
Kernel driver in use: intel_pch_thermal
Kernel modules: intel_pch_thermal

00:16.0 0780: 8086:a13a (rev 31)
Subsystem: 1028:0763
Flags: bus master, fast devsel, latency 0, IRQ 130, IOMMU group 4
Memory at df32d000 (64-bit, non-prefetchable) [size=4K]
Capabilities: [50] Power Management version 3
Capabilities: [8c] MSI: Enable+ Count=1/1 Maskable- 64bit+
Kernel driver in use: mei_me
Kernel modules: mei_me

00:17.0 0106: 8086:a102 (rev 31) (prog-if 01 [AHCI 1.0])
Subsystem: 1028:0763
Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 127, IOMMU group 5
Memory at df328000 (32-bit, non-prefetchable) [size=8K]
Memory at df32c000 (32-bit, non-prefetchable)
I/O ports at f090
I/O ports at f080
I/O ports at f060
Memory at df32b000 (32-bit, non-prefetchable) [size=2K]
Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [70] Power Management version 3
Capabilities: [a8] SATA HBA v1.0
Kernel driver in use: ahci
Kernel modules: ahci

00:1c.0 0604: 8086:a114 (rev f1) (prog-if 00 [Normal decode])
Subsystem: 1028:0763
Flags: bus master, fast devsel, latency 0, IRQ 123, IOMMU group 6
Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
I/O behind bridge: e000-efff [size=4K] [16-bit]
Memory behind bridge: df200000-df2fffff [size=1M] [32-bit]
Prefetchable memory behind bridge: [disabled] [64-bit]
Capabilities: [40] Express Root Port (Slot+), MSI 00
Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [90] Subsystem: 1028:0763
Capabilities: [a0] Power Management version 3
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Access Control Services
Kernel driver in use: pcieport

00:1c.5 0604: 8086:a115 (rev f1) (prog-if 00 [Normal decode])
Subsystem: 1028:0763
Flags: bus master, fast devsel, latency 0, IRQ 124, IOMMU group 7
Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
I/O behind bridge: d000-dfff [size=4K] [16-bit]
Memory behind bridge: df100000-df1fffff [size=1M] [32-bit]
Prefetchable memory behind bridge: [disabled] [64-bit]
Capabilities: [40] Express Root Port (Slot+), MSI 00
Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [90] Subsystem: 1028:0763
Capabilities: [a0] Power Management version 3
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Access Control Services
Kernel driver in use: pcieport

00:1c.6 0604: 8086:a116 (rev f1) (prog-if 00 [Normal decode])
Subsystem: 1028:0763
Flags: bus master, fast devsel, latency 0, IRQ 125, IOMMU group 8
Bus: primary=00, secondary=04, subordinate=04, sec-latency=0
I/O behind bridge: [disabled] [16-bit]
Memory behind bridge: df000000-df0fffff [size=1M] [32-bit]
Prefetchable memory behind bridge: [disabled] [64-bit]
Capabilities: [40] Express Root Port (Slot+), MSI 00
Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [90] Subsystem: 1028:0763
Capabilities: [a0] Power Management version 3
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Access Control Services
Kernel driver in use: pcieport

00:1f.0 0601: 8086:a143 (rev 31)
Subsystem: 1028:0763
Flags: bus master, medium devsel, latency 0, IOMMU group 9

00:1f.2 0580: 8086:a121 (rev 31)
DeviceName: Onboard SATA #1
Subsystem: 1028:0763
Flags: fast devsel, IOMMU group 9
Memory at df324000 (32-bit, non-prefetchable) [disabled] [size=16K]

00:1f.3 0403: 8086:a170 (rev 31)
Subsystem: 1028:0763
Flags: bus master, fast devsel, latency 32, IRQ 131, IOMMU group 9
Memory at df320000 (64-bit, non-prefetchable) [size=16K]
Memory at df300000 (64-bit, non-prefetchable) [size=64K]
Capabilities: [50] Power Management version 3
Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel

00:1f.4 0c05: 8086:a123 (rev 31)
Subsystem: 1028:0763
Flags: medium devsel, IRQ 16, IOMMU group 9
Memory at df32a000 (64-bit, non-prefetchable)
I/O ports at f040
Kernel driver in use: i801_smbus
Kernel modules: i2c_i801

02:00.0 0200: 10ec:8168 (rev 15)
Subsystem: 1028:0763
Flags: bus master, fast devsel, latency 0, IRQ 19, IOMMU group 10
I/O ports at e000
Memory at df204000 (64-bit, non-prefetchable) [size=4K]
Memory at df200000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [70] Express Endpoint, MSI 01
Capabilities: [b0] MSI-X: Enable+ Count=4 Masked-
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Virtual Channel
Capabilities: [160] Device Serial Number 01-00-00-00-68-4c-e0-00
Capabilities: [170] Latency Tolerance Reporting
Capabilities: [178] L1 PM Substates
Kernel driver in use: r8169
Kernel modules: r8169

03:00.0 0700: 125b:9105 (prog-if 02 [16550])
Subsystem: a000:1000
Flags: fast devsel, IRQ 16, IOMMU group 11
I/O ports at d020
Memory at df103000 (32-bit, non-prefetchable) [size=4K]
Memory at df102000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [50] MSI: Enable- Count=1/8 Maskable- 64bit+
Capabilities: [78] Power Management version 3
Capabilities: [80] Express Legacy Endpoint, MSI 00
Capabilities: [100] Virtual Channel
Capabilities: [800] Advanced Error Reporting

03:00.2 0701: 125b:9100 (prog-if 03 [IEEE1284])
Subsystem: a000:2000
Flags: fast devsel, IRQ 14, IOMMU group 11
I/O ports at d010 [disabled]
I/O ports at d000 [disabled]
Memory at df101000 (32-bit, non-prefetchable) [disabled] [size=4K]
Memory at df100000 (32-bit, non-prefetchable) [disabled] [size=4K]
Capabilities: [50] MSI: Enable- Count=1/8 Maskable- 64bit+
Capabilities: [78] Power Management version 3
Capabilities: [80] Express Legacy Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting

04:00.0 0280: 168c:0036 (rev 01)
Subsystem: 1028:020e
Flags: bus master, fast devsel, latency 0, IRQ 17, IOMMU group 12
Memory at df000000 (64-bit, non-prefetchable) [size=512K]
Expansion ROM at df080000 [disabled] [size=64K]
Capabilities: [40] Power Management version 2
Capabilities: [50] MSI: Enable- Count=1/4 Maskable+ 64bit+
Capabilities: [70] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Virtual Channel
Capabilities: [160] Device Serial Number 00-00-00-00-00-00-00-00
Kernel driver in use: ath9k
Kernel modules: ath9k

0000-0cf7 : PCI Bus 0000:00
0000-001f : dma1
0020-0021 : pic1
0040-0043 : timer0
0050-0053 : timer1
0060-0060 : keyboard
0064-0064 : keyboard
0070-0077 : rtc0
0080-008f : dma page reg
00a0-00a1 : pic2
00c0-00df : dma2
00f0-00ff : fpu
00f0-00f0 : PNP0C04:00
03f8-03ff : serial
0400-041f : iTCO_wdt
0400-041f : iTCO_wdt
0680-069f : pnp 00:04
0800-087f : pnp 00:05
0a00-0a3f : pnp 00:00
0a40-0a7f : pnp 00:00
0cf8-0cff : PCI conf1
0d00-ffff : PCI Bus 0000:00
164e-164f : pnp 00:04
1800-18fe : pnp 00:04
1800-1803 : ACPI PM1a_EVT_BLK
1804-1805 : ACPI PM1a_CNT_BLK
1808-180b : ACPI PM_TMR
1850-1850 : ACPI PM2_CNT_BLK
1854-1857 : pnp 00:07
1880-189f : ACPI GPE0_BLK
d000-dfff : PCI Bus 0000:03
d000-d007 : 0000:03:00.2
d010-d017 : 0000:03:00.2
d020-d027 : 0000:03:00.0
e000-efff : PCI Bus 0000:02
e000-e0ff : 0000:02:00.0
f000-f03f : 0000:00:02.0
f040-f05f : 0000:00:1f.4
f040-f05f : i801_smbus
f060-f07f : 0000:00:17.0
f060-f07f : ahci
f080-f083 : 0000:00:17.0
f080-f083 : ahci
f090-f097 : 0000:00:17.0
f090-f097 : ahci
ff00-fffe : pnp 00:0a
ffff-ffff : pnp 00:04
ffff-ffff : pnp 00:04
ffff-ffff : pnp 00:04

As before, nothing in dmesg.

Not to be obnoxious, but isn't there just a known good PCIe card that I can just buy off Amazon hat just works with LinuxCNC, preferably with support already built into the kernel?
  • Wonkyaxis
  • Wonkyaxis
23 Jun 2024 09:37
7i96 Splindle Encoder setup. was created by Wonkyaxis

7i96 Splindle Encoder setup.

Category: Advanced Configuration

Hi, Im retrofitting a ZX7045. Im trying to get a encoder setup on my spindle.
I used pncconfig to setup the spindle encoder, but when I run the spindle i get no feedback on linuxcnc.
I tried using hal.scope but im seeing no activity. Same goes for hal show.
I have a oscilloscope connected between the encoder A and ground and I can see the signal there.

This is my first advance linuxcnc build, so I'm still figuring out how to edit .HAL and .INI directly.
I suspect my encoder is not configured correctly. I have attached my INI and HAL files.

Can someone see if I did something wrong in my configuration?

Some extra info:
Mesa 7i96 (7i96d_1pwm.bit firmware)
1.5kw spindle on vfd with Pwm to 10V analog converter for speed control.

Encoder : Omron E6B2-CWZ3E-1024
Connection
A => TB2.Pin7
B => TB2.Pin10
Z => TB2.Pin13
GND => TB2.Pin9
5V => TB2.Pin12

Gear ratio between encoder and spindle: 1 turn spindle = 3 turns encoder. (i will fix this in the future to be 1:1)

Goal: tapping cycles and speed/torque control.
Speed/torque control through something like this:
I want linux cnc to run the spindle at 100%pwm first, then check the actual speed. 
If the desired speed achievable with pwm between 70 and 100%. Set pwm to required value.
If not achievable in pwm range, Stop and tell me to shift gear up or down.
Repeat speed set in new gear.

 

File Attachment:

File Name: Demill.ini
File Size:5 KB

File Attachment:

File Name: Demill.hal
File Size:12 KB

File Attachment:

File Name: xhc-whb04b-6.hal
File Size:13 KB
  • gardenweazel
  • gardenweazel's Avatar
20 May 2024 19:11
Replied by gardenweazel on topic Mesa 7i76 error after xhc-whb04b-6 install

Mesa 7i76 error after xhc-whb04b-6 install

Category: Driver Boards

I lengthened the servo period and it worked flawlessly.

Thanks for the help!!
  • tommylight
  • tommylight's Avatar
17 May 2024 13:16
Replied by tommylight on topic How to configure a XHC-WHB04B pendant ?

How to configure a XHC-WHB04B pendant ?

Category: Basic Configuration

@Emma
No spamming, se other post.
  • Emma2024
  • Emma2024
17 May 2024 03:00 - 17 May 2024 03:15
Replied by Emma2024 on topic How to configure a XHC-WHB04B pendant ?

How to configure a XHC-WHB04B pendant ?

Category: Basic Configuration

I believe you have no problem.
  • PCW
  • PCW's Avatar
14 May 2024 22:48
Replied by PCW on topic XHC-WHB04B-6 and LinuxCNC 2.9.1

XHC-WHB04B-6 and LinuxCNC 2.9.1

Category: Installing LinuxCNC

There _is_ a way to test for signals with just one pin
in hal but I have forgotten how this is done...
  • tommylight
  • tommylight's Avatar
14 May 2024 22:46
Replied by tommylight on topic XHC-WHB04B-6 and LinuxCNC 2.9.1

XHC-WHB04B-6 and LinuxCNC 2.9.1

Category: Installing LinuxCNC

Looks like the error is a signal name mismatch:

pncconf uses net machine-is-on   but the XHC file uses net machine.is-on  

Twice i searched for typos and missed this... i need thicker glasses, or more sleep :)
  • westhedge
  • westhedge
14 May 2024 22:36
Replied by westhedge on topic XHC-WHB04B-6 and LinuxCNC 2.9.1

XHC-WHB04B-6 and LinuxCNC 2.9.1

Category: Installing LinuxCNC

UGH!!!
You are 100% correct. I did not spot that variance (glasses???). OK! I can confirm hal works as expected after the edit. I am now going to go through the other errors I saw initially - I bet they are the same mismatches.
Thanks!
  • PCW
  • PCW's Avatar
14 May 2024 22:29
Replied by PCW on topic XHC-WHB04B-6 and LinuxCNC 2.9.1

XHC-WHB04B-6 and LinuxCNC 2.9.1

Category: Installing LinuxCNC

Looks like the error is a signal name mismatch:

pncconf uses net machine-is-on   but the XHC file uses net machine.is-on  
  • westhedge
  • westhedge
14 May 2024 22:18
Replied by westhedge on topic XHC-WHB04B-6 and LinuxCNC 2.9.1

XHC-WHB04B-6 and LinuxCNC 2.9.1

Category: Installing LinuxCNC

I agree with you - it didn't make sense to me either based on my [admittedly limited] knowledge. I will do some more testing around this and document what I find.

Is it possible to see a log of what hal commands are actually executed in order on start? That might illuminate the issue.
  • PCW
  • PCW's Avatar
14 May 2024 22:12
Replied by PCW on topic XHC-WHB04B-6 and LinuxCNC 2.9.1

XHC-WHB04B-6 and LinuxCNC 2.9.1

Category: Installing LinuxCNC

That doesn't make any sense.

 It makes no difference when or from where a net command is
executed as long as the connected pins are present. 
(at least in any version of LinuxCNC I've used)


 
  • westhedge
  • westhedge
14 May 2024 22:06
Replied by westhedge on topic XHC-WHB04B-6 and LinuxCNC 2.9.1

XHC-WHB04B-6 and LinuxCNC 2.9.1

Category: Installing LinuxCNC

I agree they *should* be identicial... weird thing is it didn't work out that way. It simply refused to work unless I put it all in the latter xhc_whb04b_6.hal file. Could be a version bug, who knows.
  • PCW
  • PCW's Avatar
14 May 2024 22:01
Replied by PCW on topic XHC-WHB04B-6 and LinuxCNC 2.9.1

XHC-WHB04B-6 and LinuxCNC 2.9.1

Category: Installing LinuxCNC

having

net machine.is-on halui.machine.is-on
in GantryMill.hal

and

net machine.is-on whb.halui.machine.is-on
in xhc_whb04b_6.hal

would be identical
  • westhedge
  • westhedge
14 May 2024 21:52
Replied by westhedge on topic XHC-WHB04B-6 and LinuxCNC 2.9.1

XHC-WHB04B-6 and LinuxCNC 2.9.1

Category: Installing LinuxCNC

Hmmm... My ini shows this:

[HAL]
HALUI = halui
HALFILE = GantryMill.hal
HALFILE = custom.hal
HALFILE = toolchanger.hal
HALFILE = xhc_whb04b_6.hal
POSTGUI_HALFILE = gmoccapy_postgui.hal
POSTGUI_HALFILE = custom_postgui.hal
SHUTDOWN = shutdown.hal

In the end, because i used pncconf to generate the GantryMill.hal file I put this in my xhc_whb04b_6.hal file:

unlinkp halui.machine.is-on
net machine.is-on whb.halui.machine.is-on halui.machine.is-on

That seems to work. Jog dial works. Need to tweak the button functions, but I'll sort that out. Cheers!
Displaying 61 - 75 out of 101 results.
Time to create page: 1.044 seconds
Powered by Kunena Forum