Advanced Search

Search Results (Searched for: )

  • grandixximo
  • grandixximo's Avatar
07 Jan 2026 08:17 - 07 Jan 2026 08:30
Replied by grandixximo on topic LinuxCNC S-Curve Accelerations

LinuxCNC S-Curve Accelerations

Category: General LinuxCNC Questions

Our S-Curve code has almost nothing to do with what Grotius did, we have been working on this long before Grotius started on it, we have read Grotius reference material, and followed Grotius progress, and took some inspiration for some refining of our original code we were testing, and we are very grateful for his work, but you cannot compare our S-Curve to Grotius's one.

The testing that you can report to us are to be done with the latest code from github, on my fork of linuxcnc
github.com/grandixximo/Linuxcnc-G-code
You have to provide pictures or written comparison with planner_type 1 and with planner_type 0
Then we will try to reproduce on our end, and see if we can fix whatever the issue might be.

Edit:
As far as hardware goes, we had been running intel G2030 CPUS for many years with mesa PCI LPT and realtek network with mesa_eth cards, but these systems are now very hard to come by, we work now with NUCS, and have used N100 and now N150 based SBC's with intel i225 (igc) for good ethercat  latency, we are probably around 20us latency (which I'm not super happy with), but mind that we do not run much of anything but mate-debian ethercat-master and linuxcnc, not even axis UI runs on our systems, we have our own remote UI.
  • endian
  • endian's Avatar
07 Jan 2026 08:13
Replied by endian on topic LinuxCNC S-Curve Accelerations

LinuxCNC S-Curve Accelerations

Category: General LinuxCNC Questions

I definitely agree with your opinion ... therefore I have testing at CoreDuo, i5 and i7 too ... and then just share my observation 

As I said before I am not expert of this topic but it is very interesting to help if there is a play to ...

can you share your hardware setup with us which is the best to avoid spiking please?

 
  • grandixximo
  • grandixximo's Avatar
07 Jan 2026 08:07
Replied by grandixximo on topic LinuxCNC S-Curve Accelerations

LinuxCNC S-Curve Accelerations

Category: General LinuxCNC Questions

Yes, I think I understand you better now. Still you asked me what I would be doing about the spiking, and in my testing there is no spiking that I should be doing anything about, at least as far as the code we have contributed, and as far as my testing shows to me, but I am open to different hardware having different reactions to the algorithms, but this has to be empirically shown to be true with a test similar to mine, it is easy to introduce third variables unintentionally, so any testing has to be done with the least variation as possible, try to change only planner_type 0 to planner_type 1
This toggle exist exactly for the purpose of quick comparison between original trapez vs new s-curve.
  • endian
  • endian's Avatar
07 Jan 2026 07:58 - 07 Jan 2026 08:07
Replied by endian on topic LinuxCNC S-Curve Accelerations

LinuxCNC S-Curve Accelerations

Category: General LinuxCNC Questions

I think we are not understanding us now ... I just share latency histogram to just prove my RT and latency free setup(eliminate hardware setup source), not to share pictute of spikes of my latency... I defenetly know that latency histogram and scope are two different things but over histogram we are fast and visible proving our setup of RT... 

here is scope of Intel core duo and AI tells me that Intal core duo has not some hardware instructions which can cause overloading from time to time ... here was most visible spiking 

Edit > yes my testing was doing exactly as you are talking ... first test was 3 phase and the 7phase generator .. 

it was just testing after experience with scurve of grotius where spiking what much greater and creating time lagging during cloud of point movement ... this situation is now not present at all I think, it works really well .. motion is excelent 

great job ! I am amazed.
  • JanCNC
  • JanCNC
07 Jan 2026 07:53 - 07 Jan 2026 08:32
Replied by JanCNC on topic Servos drives directly start turning

Servos drives directly start turning

Category: General LinuxCNC Questions

No, the servo drives of the Y-Gantry each have their own connection to the encoder TB3/4 and analog interface TB5.
Attached is a picture of my 7i77 axis connection.

If I connect only one of the two Y axes to the analog interface TB5 and enable with F2 the axis enters control mode (drifting slightly but no jog possible). However, if I connect both axes to TB5 and enable them with F2, the axes immediately spin at high speed and a following error occurs.

@PCW What do you mean with "test  this with the linear axis disconnected"?

Note: The axes are currently not connected to the mechanics and are essentially lying loose on the table.


 
  • grandixximo
  • grandixximo's Avatar
07 Jan 2026 07:42 - 07 Jan 2026 07:59
Replied by grandixximo on topic LinuxCNC S-Curve Accelerations

LinuxCNC S-Curve Accelerations

Category: General LinuxCNC Questions

Spikes when you run latency-histogram are caused by the CPU doing other stuff, like checking the network status, reading your mouse and keyboard inputs, display graphical elements, going to sleep because its got nothing to do.
This is not in topic of this discussion about s-curve

Edit:
My test methodology was analytical, I ran same g-code, on same machine, same halscope size, changed the least variables as possible, only planner_type 0 vs planner_type 1
Please in future if anyone wants to bring forth issues about our s-curve implementation, they should use similar testing methodology, during our own internal testing of the S-curve calculations, we also often forgot to do this straight fair comparison, and it sent us on wild goose chases. Mind that we are aware that there are blending issues, this is something that we are working on, but these issues persist in both planner_types. Therefore please try to compare planner_type 0 vs planner_type 1 without changing anything else before bringing forward issues.
  • endian
  • endian's Avatar
07 Jan 2026 07:36
Replied by endian on topic LinuxCNC S-Curve Accelerations

LinuxCNC S-Curve Accelerations

Category: General LinuxCNC Questions

I have just posted the latency of my system in the case of checking and searching spikes source... 

Oooo it amazing to find that checking a scope is a source of spiking itself... thank you for briliant observation!
  • grandixximo
  • grandixximo's Avatar
07 Jan 2026 07:24 - 07 Jan 2026 07:33
Replied by grandixximo on topic LinuxCNC S-Curve Accelerations

LinuxCNC S-Curve Accelerations

Category: General LinuxCNC Questions

Yes I just finished testing, and our S-Curve acc tp seems to be computationally better, and spiking less the servo thread compared to the original trapez acc tp, as far as I see, thanks to our work you are getting a better and more computationally efficient TP with planner_type = 1 

Now I'm a bit confused about what spikes you want me to fix, the pictures you sent are of the latency-histogram, which I think you cannot even run when you are running linuxcnc, interpreting gcodes, and actually run our code the new s-curve acc tp, planner_type = 1

I think you might have some misunderstanding of where our S-Curve lives within the LinuxCNC architecture, we only changed the TP which stands for the Trajectory Planner. The Trajectory Planner is not calculating anything when you run latency-histogram, whatever spikes you see in latency-histogram have no connection with the Trajectory Planner, does that clear things up? Or is there something I'm missing? Am I misinterpreting you? Or am I missing something else?

Edit:
On our system I see way more spikes when moving windows around, opening glxgears, or even simply having halscope in view rolling the servo-thread, when halscope is minimized I have way less spikes to 20k compared to when I run either g-code you supplied. There is a catch I can only see that I was having less spikes AFTER I restore halscope in view, and then the spikes start again, making me conclude that the act of checking the spikes with halscope introduces more spikes than anything we are doing with the S-curve or trapez TPs, but I repeat in my testing our S-curve is more computationally efficient than normal trapez TP
  • SOLD
  • SOLD
07 Jan 2026 06:54 - 07 Jan 2026 07:17
7i92M + 7i76 add PWM+PktUART was created by SOLD

7i92M + 7i76 add PWM+PktUART

Category: Driver Boards

​​​​​Hello PCW,I am using a Mesa 7i96M with a 7i76, and I would like to ask a question regarding firmware configuration before requesting any custom bitfile.Question:
Is it possible for PktUART to be used instead of SSerial in a 7i96M firmware configuration?
I would like to understand whether PktUART can be implemented in place of SSerial, or if SSerial is architecturally fixed and not interchangeable.If this is feasible, I would like to request a custom bitfile with the following changes:
  • Replace SSerial with PktUART
  • Repurpose STEP5 (unused in my system) as a PWM output
  • Keep all other functions the same as the standard 7i96M + 7i76 firmware
If this is not feasible, I would appreciate any guidance on recommended alternatives.Thank you very much for your time and for the excellent Mesa hardware.
 
  • endian
  • endian's Avatar
07 Jan 2026 06:53
Replied by endian on topic LinuxCNC S-Curve Accelerations

LinuxCNC S-Curve Accelerations

Category: General LinuxCNC Questions

okay, thanks, I understand... just said my observations ... did you check my gcode yet? 
  • NWE
  • NWE
07 Jan 2026 06:41 - 07 Jan 2026 07:04
Replied by NWE on topic RPi CM5 on Mesa Ethernet 7i95

RPi CM5 on Mesa Ethernet 7i95

Category: General LinuxCNC Questions

Checking the datasheets:
The Pi5 and CM5 both use the BCM2712 CPU. The CM5 uses the Broadcom BCM54210PE ethernet phy ic. I'm having a bit of trouble finding concrete info on what the Pi5 has, but I see my Pi 5 datasheet in the photo of the Pi 5 it has a BCM54213PE ethernet phy ic soldered near its ethernet connector. According to a quick look at the datasheets, those two chips appear to be interchangable.

In other words Pi 5 = CM5 as far as network drivers is concerned.

I think you could run in a terminal:
lspci -k
to determine whether the correct drivers loaded. It should report the same modules for the network as it does on your Pi 5.

On the other hand, maybe there is a connection problem between the I/O board and the CM5, is the CM5 seated correctly, and the connections clean? One thing I'd try is carefully disconnecting then re-seating the CM5 on the I/O board, it could make a difference.
  • Mbrand1901
  • Mbrand1901
07 Jan 2026 05:55 - 07 Jan 2026 07:58
Replied by Mbrand1901 on topic Retrofitting Deckel FP4ATC

Retrofitting Deckel FP4ATC

Category: Milling Machines

Hello!
The idea with the Heidenhein board isn't bad. It's definitely a very solid solution. 

I have already asked another company about these small converters. If they are suitable I would like to use them because they are small. 
www.hs-imagingsolutions.com/hardware/signalkonverter

@hartwig, you can edit your comment to delete the long link
  • grandixximo
  • grandixximo's Avatar
07 Jan 2026 04:51
Replied by grandixximo on topic LinuxCNC S-Curve Accelerations

LinuxCNC S-Curve Accelerations

Category: General LinuxCNC Questions

It is not a simple change, the look ahead is about velocity not position, it is not something we can easily expose via HAL, it does not exist, we do not have that point ahead of time, we need to calculate it, and you just had us look at performance optimization, this will double the calculations, for cosmetic reason, I don't think you'd want that either.
  • rodw
  • rodw's Avatar
07 Jan 2026 03:33
Replied by rodw on topic 3D touch probe confusion

3D touch probe confusion

Category: Basic Configuration

I don't have a surface plate or height gauge (yet). I do have a lathe with a DRO. I made a ring that the tool holder fits into. I chuck the ring up the lathe, Turn the lathe tool post holder around so I have a flat surface that will go up against the ring. Zero out the DRO. Move the tool post away from the ring. Insert the mill tool in the ring then move the lathe tool so it touches the tip of the tool. The DRO now shows the tool length. I enter that value into the tool table.

Very inventive solution :)
  • endian
  • endian's Avatar
07 Jan 2026 03:22 - 07 Jan 2026 03:35
Replied by endian on topic LinuxCNC S-Curve Accelerations

LinuxCNC S-Curve Accelerations

Category: General LinuxCNC Questions

No there is no error observations at parts because regulator in servo doing its job .. its just cosmetic issue of lcnc which I can see when I am comparing lcnc with fo example NC application from TC3...

It just my hint.. many of user are facing this ferror a its difficult to understand for them that this error is not the bug but the feature... 

I am just highlighting situation and when you are already in gentlemen.. how much difficult is to create pin position-command-bus or something else which will forever solve this observation please? 

Thank you. Your jobs are amazing ! 
Displaying 106 - 120 out of 20305 results.
Time to create page: 0.243 seconds
Powered by Kunena Forum