Advanced Search

Search Results (Searched for: )

  • Finngineering
  • Finngineering
Today 17:19
Replied by Finngineering on topic XHC WHB04B development?

XHC WHB04B development?

Category: General LinuxCNC Questions

Good job tracking that one down!

Did you previously increase the libusb log level somehow? If so, then maybe that's why it segfaulted for you, but not for me. regardless, looks like a libusb bug to me.
  • Konstantin
  • Konstantin
Today 17:15 - Today 17:18
Replied by Konstantin on topic CiA 402 Folder Missing

CiA 402 Folder Missing

Category: EtherCAT

Perhaps, I found out what is happening to the drives. I read the PDO mapping part of the manual again and it seems that the PDO mapping objects - 1C12h(RxPDO) and 1C13h(TxPDO) are set to some default values. The PDO mapping cannot be saved in the EEPROM of the drive and therefore the master needs to set the desired mapping in the PREOP state of the drive every time when the drives are powered on.

The output in terminal that show "Gap" in PDO entry is because there is no object mapped to that free slot - PDO mapping is set to fixed.  Here  is the PDO mapping part of the manual. It can be seen that 1C12h should be set to 1600h and 1C13h should be set to 1A00h to activate the variable PDO mapping.

Attached is the PDO mapping objects description from the manual and it shows that they expect data type of ARR(perhaps array). Apparently, LinuxCNC EtherCAT master should define a variable PDO mapping and what objects to include in the mapping.

In my opinion, the PDO mapping should be defined in the .hal file or create a script that executes once when the EtherCAT master detects slaves, similar to the first scan bit of a PLC.
  • andypugh
  • andypugh's Avatar
Today 17:06
Replied by andypugh on topic Lathe Bed Wear Compensation

Lathe Bed Wear Compensation

Category: Advanced Configuration

The compensation needs to allow for tilt of the saddle as it moves along the bed. There is typically more wear on the front way than the rear, and this is (I believe) what causes the machined diameter to vary.

You could measure a parallel test bar with a dial indicator at various points along the bed, and use the "lincurve" component to calculate the required offset (and then add that on between motor-pos-cmd and and the input to the PID)
  • andypugh
  • andypugh's Avatar
Today 17:01
Replied by andypugh on topic Two Mesa 5I20

Two Mesa 5I20

Category: Driver Boards

Any that you do find will be second-hand. And old.

I would follow PCW's advice and change to a supported FPGA card. The 6i24 is in-stock at Mesa, but would need a PCIe motherboard rather than PCI.
It doesn't look like Mesa have stock of any full-size PCI cards at the moment.
(The 5i24 is the PCI version of the 6i24 but shows as out of stock)

The 6i24 will work with the same daughter cards as the 5i20.

It would be necessary to change "5i20" to "6i24" throughout the HAL file too.
  • andypugh
  • andypugh's Avatar
Today 16:52
Replied by andypugh on topic Problem with toogle2nist component

Problem with toogle2nist component

Category: HAL

No, there hasn't been a 2.10 release, and that was the development version when my email was sent.

This is the state of the .comp in the 2.9.8 release tag.
github.com/LinuxCNC/linuxcnc/blob/v2.9.8...nts/toggle2nist.comp

(no debounce pins)
  • DerKlotz
  • DerKlotz
Today 16:40
Replied by DerKlotz on topic Add Buttons in Probe Basic

Add Buttons in Probe Basic

Category: QtPyVCP

So far so good. Next big thing is the wireless jog wheel. 
  • jblanscett
  • jblanscett
Today 16:32
Replied by jblanscett on topic Trying to set up position control mode

Trying to set up position control mode

Category: HAL

Okay I changed it and there was no improvement. 
  • HM
  • HM
Today 16:17
Replied by HM on topic RPI5_7i80HDT_7i52s+7i49+7i44+BISS

RPI5_7i80HDT_7i52s+7i49+7i44+BISS

Category: Driver Boards

Thank you in advance =) 

File Attachment:

File Name: PIN_Moore_...3-05.zip
File Size:3 KB
  • PCW
  • PCW's Avatar
Today 15:48 - Today 15:48
Replied by PCW on topic Trying to set up position control mode

Trying to set up position control mode

Category: HAL

Looking more carefully at your hal file:

setp joint.0.jog-vel-mode 1

Means that the jog will continue as long as jog count <> 0

(this is normally intended for input devices like joysticks that return to 0 when not pressed)

for position mode jogging with a MPG, you should have:

setp joint.0.jog-vel-mode 0




 
  • Hakan
  • Hakan
Today 14:01
Replied by Hakan on topic XHC WHB04B development?

XHC WHB04B development?

Category: General LinuxCNC Questions

I found it.

Ok, I didn't find the reason but I found a way around it.
It always crashed for me with "libusb: debug [libusb_unref_device] destroy device 3.109"
I ran it in the debugger and saw it stopped with a SIGSEGV.
After spending too much time figuring out how to turn on core dumps, I got a core dump.
Here is the stop point.  

 

The one wonders what ctx_log_handler is
(gdb) p ctx->log_handler
$2 = (libusb_log_cb) 0xbb343c565cbddc86

I commented out this line in libusb_unref_device()
 
and then the xhc actually restarted.
Here is the log of that.
hal   failed to wait for requested mode. waited 500ms
pndnt wheel total counts {counts=-353 activeCounter=2 isLeadActive=0}
inTransfer = 0x558412062e00 deviceHandle = 0x558412066360
libusb_fill ..
.. done
Failed in setupAsyncTransfer -4
transmission failed, try to reconnect ...
transmission failed, try to reconnect ...
connection lost, cleaning up
init  pausing 10s, waiting for device to be gone .............. done
init  usb context ... ok
init  not waiting for device XHC-WHB04B-6 vendorId=0x10ce productId=0xeb93, will continue in 0s ...1 ok
init  XHC-WHB04B-6 device found
init  detaching active kernel driver ... ok
init  claiming interface ... ok
init  enabling reception ...In enableReceiveAsyncTransfer
inTransfer = 0x558412062e00 deviceHandle = 0x558412075a50
libusb_fill ..
.. done
 ok
in    0x04 10 00 00 0f 13 00 10 delta 15 => | 04 | 10 |                 |                 |   0.1( 10%) |     Z(    ) |  \
 0 | 10
pndnt wheel  event -353
 
  • Lcvette
  • Lcvette's Avatar
Today 13:39
Replied by Lcvette on topic Add Buttons in Probe Basic

Add Buttons in Probe Basic

Category: QtPyVCP

were you able to get it set up and working? :side:
  • T_D
  • T_D
Today 13:36
Replied by T_D on topic Probleme mit NativeCam

Probleme mit NativeCam

Category: NativeCAM

how do i change the pref_edit.py from this one out of the forum with mine becaus when i am just copy paste than occurs an error . regards tom 

The links : NativeCAM-Python3-Debian-12-Installationguide2026-02-20.pdf
: forum.linuxcnc.org/media/kunena/attachments/40714/pref_edit.py
  • RotarySMP
  • RotarySMP's Avatar
Today 13:00
Replied by RotarySMP on topic chineese mesa 7i92 custom bit file

chineese mesa 7i92 custom bit file

Category: Driver Boards

Amazing support Peter, but I really don't understand the expectation of the original post. 

Your Mesa cards are very resonably priced. You have obviously put years of work into designing and updating these cards, and provide outstanding support to us here in the forum.

Someone reverse engineers your work, floods the market with knock-offs, undercuts your livelyhood, and then expects support?

You are a better person than me Peter. In your place, I would be tweaking Mesaflash to brick any knock off which gets connected to it :)
Cheers,
Mark
  • meister
  • meister
Today 12:27 - Today 12:29

LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)

Category: Computers and Hardware

something like this:

 

and it will generate the code for all FPGA's and MCU's

the interlinks are RS422 over RJ45 cables (like smart-serial)
  • ClarkSavage
  • ClarkSavage
Today 12:17
Replied by ClarkSavage on topic 7i92T and mx3660 request for help

7i92T and mx3660 request for help

Category: PnCConf Wizard

Ok, got it, good to know - and I do not know that much about Linuxcnc and lastly, Pnnconf / MESA stuff. All new.

But, all limits working now. I just need to check the probe setup - think that I can do after the limit switch and HalShow stuff initiation.

But, my ESTOP is still beyond me. Saw threads where JT and I believe a few others talked about inserting lines that linked the ESTOP pin to other pins or feedback - tries several but beyond me once again. 

ESTOP - loaded all pins and all ESTOP, Abort, Charge pump references into HalShow, enabled [it's a NC switch] my external ESTOP button and nothing in Halshow changed color. Yes, my external button is wired into the mx3660, and yes it shuts down the motors on push.

I tried to move the ESTOP to different pins that were open and then Halshow - no change. The probe pins work in Halshow so I know that is at least on the right pin and gives feedback - I can figure that out.

So any suggestions on ESTOP? Else I will live with it the way it is. Still have a lot of changes to do with travel and positioning in the ini for axes but that's easy stuff, just takes me a little longer one step at a time.
Displaying 1 - 15 out of 283567 results.
Time to create page: 1.801 seconds
Powered by Kunena Forum