Advanced Search

Search Results (Searched for: )

  • Hakan
  • Hakan
Today 09:55
Replied by Hakan on topic XHC WHB04B development?

XHC WHB04B development?

Category: General LinuxCNC Questions

There are always situations with tool and work piece geometries
and unfortunate stop situations where one need to stick the nose (eyes) close up
to guide the tool out of the situation before it's free for homing.
I guess the best is to leave it up to the user if he wants to jog before homing.
  • papagno-source
  • papagno-source
Today 09:48
Replied by papagno-source on topic update running in place linuxcnc

update running in place linuxcnc

Category: General LinuxCNC Questions

Hi Thank for reply.
The git pull command start with terminal in SRC directory on base directoiry ?

Thanks
  • rodw
  • rodw's Avatar
Today 09:36
Replied by rodw on topic update running in place linuxcnc

update running in place linuxcnc

Category: General LinuxCNC Questions

git pull
make
sudo make setuid

That's it so simple!
  • papagno-source
  • papagno-source
Today 08:59
update running in place linuxcnc was created by papagno-source

update running in place linuxcnc

Category: General LinuxCNC Questions

Good morning. I compiled LinuxCNC master version 2.10.0 running in place, downloading it from Git, about a month ago. How can I update the source code to the current version and then recompile it with the latest bug fixes?

Thanks
  • Giovanni
  • Giovanni
Today 08:49
Replied by Giovanni on topic Probleme mit NativeCam

Probleme mit NativeCam

Category: NativeCAM

What kind of error?
  • rodw
  • rodw's Avatar
Today 08:17

Linuxcnc 2.9.2 and 2.93 images for Raspberry Pi 4b & 5

Category: Installing LinuxCNC

I was thinking of building a new image for the Raspberry Pi 5. It will feature 2.10 to get scurve planner and be on Trixie and use the 6.12.74 RT kernel
Is there any reason not to use our current installer framework? 
Is there anything that desperately needs changing?

It just seems to be still the best way forward and I have the template to start with.
  • rodw
  • rodw's Avatar
Today 08:08
Replied by rodw on topic XHC WHB04B development?

XHC WHB04B development?

Category: General LinuxCNC Questions

Get a real machine, rodw :)
In a milling machine and lathe, there are many situations where you may need to jog before homing.
To get the tool out of the way before homing for example.
 

I had a mill and am building another. I thought HOME_SEQUENCE was designed to get the tool out of the road 
  • Hakan
  • Hakan
Today 07:15
Replied by Hakan on topic XHC WHB04B development?

XHC WHB04B development?

Category: General LinuxCNC Questions

Get a real machine, rodw :)
In a milling machine and lathe, there are many situations where you may need to jog before homing.
To get the tool out of the way before homing for example.

 
  • rodw
  • rodw's Avatar
Yesterday 02:40
Replied by rodw on topic XHC WHB04B development?

XHC WHB04B development?

Category: General LinuxCNC Questions

@rodw: Jogging in manual mode is fine. My machine can not jog in teleop mode due to I have two Y axis servo motors. The only thing the WHB component does after my PR is:
- Change to teleop mode if not homed (which fails on my machine but on others, it will do that) -> You can jog before homing any special action
- Change to manual mode if homed AND program is idle -> You can jog after homing without any special action

In this case its far better to disable motion before homing with a simple change to the ini file. I still have no idea why people want to move or jog before homing. None of my machines allow this! And yes, one was a XYYZ gantry plasma table that jogged with a pendant perfectly!
  • hmnijp
  • hmnijp
Yesterday 01:32 - Yesterday 01:37
Replied by hmnijp on topic Post process Fusion 360 lathe

Post process Fusion 360 lathe

Category: Fusion 360

G71 and friends exist mainly as an alternative to CAM, to make hand-coding easier.
I don't know of any CAM system that generates G71 (which isn't to say that there aren't any). But I don't think much would be gained from doing so.
 
 


I am not familiar with any other CAM software for turning, but Fusion360 / HSMworks / Inventor CAM can do this.
 
(PROFILE ROUGHING6)
N15 T0101
N16 G99 G18
N17 G54
N18 M8
N19 G97 S909 M3
N20 G0 X70. Z5.
N21 G50 S5000
N22 G96 S200 M3
N23 G0 Z0.5
N24 X51.
N25 G71 U1. R1.
N26 G71 P27 Q33 U0.2 W0.1 F1.
N27 G0 X15. Z0.5
N28 G1 Z-10.
N29 X35.
N30 Z-35.
N31 X42.
N32 Z-60.4
N33 X50.
N34 G0 X70. Z0.5
N35 Z5.
N36 G80
N37 G97 S909 M3


The standard LinuxCNC turning postprocessor from the HSM library does not work without corrections (it uses Fanuc-style UVW for incremental offsets, which LinuxCNC does not understand). I don't know who added this post or why these corrections haven't been made in almost ten years.

G7X canned cycles are also not defined in this postprocessor, but you can add them by following the standard Fanuc turning postprocessor example. This will probably require verification and correction to match the LinuxCNC code-style. The cycles are defined in the following functions:
function onCyclePath()
function onCyclePathEnd()
 
  • saquzi
  • saquzi
Yesterday 22:31
Replied by saquzi on topic 7i97+8i20 error function not found

7i97+8i20 error function not found

Category: PnCConf Wizard

From the start I was having some serial communication errors now and then, that were caused by something regarding to Y-axis movement. Sometimes the issue happened once in couple months, but two weeks ago it happened almost every time I was using the machine. I did some research and tested and investigated pretty much everything, and I noticed that with only the cfq=f, using only the fanuc grayscale for bldc commutation, there were one spot four times in revolution that the motor did not have that much torque, and probably caused rotor phase current to rise quickly causing EMI issues.

But after that was discovered, I decided that i want to use the qi mode, so possible encoder replacement could be easier and cheaper in future if needed to be done. I have been fiddling with the init settings. I want the rotor alignment sequence to work in a way that when I open linuxcnc for the first time, press machine on button in GUI (F2), the rotor will do the rotor alignment sequence that ends when it finds the index mark. But, if the power-off or E-stop is pressed and after that turned back on, the alignment sequence would not be done again, because the encoder count is not interrupted and the rotor alignment should correspond to that still. I haven't had any luck with getting this to work like that, so now id like some advice or if somebody has used same kind of configuration for the same thing I would be grateful.


Here is the hal confiq from the Y-axis and ini file. So this works OK for the Y-axis now, exept id like to make the rotor homing only once:

 

File Attachment:

File Name: TAKISAWA1.ini
File Size:4 KB
 

File Attachment:

File Name: takisawa1.hal
File Size:3 KB
  • TAKUYA
  • TAKUYA
Yesterday 20:33
Replied by TAKUYA on topic Ethercat random jitter fix

Ethercat random jitter fix

Category: EtherCAT

Great work so far.
I am just not sure i fully understand it all yet.
Does that mean that with the installed PR from end of 2025, SyncToRefClock=True fixes it all? Or is the currently open PR still needed?

Thanks!
  • Finngineering
  • Finngineering
Yesterday 19:47
Replied by Finngineering on topic XHC WHB04B development?

XHC WHB04B development?

Category: General LinuxCNC Questions

Tested the latest changes, and everything works as expected. Thank you!

Yeah. I also grepped for usleep at one point, but didn't really bother trying to figure out if it will cause issues elsewhere. If you go back to some of the first posts, you see I also considered writing a completely new component. Part of the reason for that was to have a state model and avoid these blocking sleep calls. The other part was that I think that the level of abstractions used is bordering on ridiculous for the application. The xhc-hb04.cc component has one order of magnitude less lines of code and does more or less the same thing. But now that you are fixing things, and with my own firmware, I personally don't see a need for a completely new component at this time.
  • Hannes
  • Hannes
Yesterday 19:24 - Yesterday 19:27
Replied by Hannes on topic XHC WHB04B development?

XHC WHB04B development?

Category: General LinuxCNC Questions

Thanks for testing!

There might also have been a bug in libusb. This kind of error handling is always difficult to test when you don't have errors.

I did not go that deep into USB. But your explanation sounds reasonable. I changed it to interrupt. It did not make a difference for me but rather correct than wrong but still working, I pushed a new commit. Feel free to test if you did not test that anyway already.

Note: There are also other usleep() in hal.cc. So they might also give issues. However, fixing that is a lot of effort. I thing it's easier to write it new from scratch using parts of the existing code. But if it works now, that's fine anyway... ;-)
  • Finngineering
  • Finngineering
Yesterday 18:57
Replied by Finngineering on topic XHC WHB04B development?

XHC WHB04B development?

Category: General LinuxCNC Questions

I tested the errorhandling branch by modifying the requestManaulMode back to the original. Then I can get the dongle to disconnect reliably. While I maybe did not do exhaustive testing, the dongle reconnected successfully every time I generated a disconnect. So at least based on this your code is working as expected.

Also with the original code, the pendant would reconnect for me if I simply removed the assert statement. I know that no "restart" is triggered from that alone. But because the USB device has been disconnected, the libusb_control_transfer will fail just a few moment later, and that will trigger the restart. For Hakan it didn't reconnect, but that was because it segfaulted in libusb. Anyway, now the assert statement is gone and there is some proper handling of the libusb_submit_transfer errors.

While you are there in the setupAsyncTransfer function, the libusb_fill_bulk_transfer() should really be a libusb_fill_interrupt_transfer(). If you do a lsusb -vvv, you see that endpoint 1 IN is really an interrupt endpoint:
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               2
The bInterval means it should be polled every 2 ms (for a full speed device, as this is). I don't think that is guaranteed by a bulk transfer. And the interrupt transfers should also be given higher priority on the bus than bulk. I'm not saying that using bulk transfer causes issues. But because we have also had disconnect that are in my opinion not related to mode switching, it's at least possible that using interrupt transfers instead of bulk could improve the situation. And it's the right transfer type to use...
Displaying 1 - 15 out of 283676 results.
Time to create page: 2.256 seconds
Powered by Kunena Forum