Advanced Search

Search Results (Searched for: )

  • lorenzing
  • lorenzing
09 Jan 2026 07:19 - 09 Jan 2026 07:20
Replied by lorenzing on topic Ethercat Motion Problem

Ethercat Motion Problem

Category: EtherCAT

Thanks nanowhat, I checked my version and it’s actually 1.6
lorenzo@LinuxCNC:~$ ethercat version
IgH EtherCAT master 1.6.8 1.6.8.g2543cc5-1+27.2 
Could you help me understand how to disable EoE in this version?

Thanks a lot, Lorenzo.
  • Dave3891
  • Dave3891
09 Jan 2026 06:03

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

Category: Computers and Hardware

Does RIO have any additional backlash comp that isn't set in the HAL file?
I seem to be getting a consistent 0.038" of extra steps when changing direction, but it isn't an instant amount as you can see with this logging with a dial indicator.
I also checked my machine with larger repeated moves to see if something was slipping, but it hit the exact same spot repeatedly.

Here is the motion vs dial log:
g1 x0.000 = x0.000
g1 x0.100 = x0.100
g1 x0.150 = x0.150
g1 x0.200 = x0.200
--- Change direction
g1 x0.100 = x0.060
g1 x0.050 = x0.010
g1 x0.000 = x-0.038
--- Change direction
g1 x0.050 = 0.050
g1 x0.200 = x0.200
--- Change direction
g1 x0.000 = -0.038
g1 x0.010 = x-0.019
g1 x0.015 = x-0.009
g1 x0.020 = x0.000
g1 x0.025 = x0.010
g1 x0.030 = x0.021
g1 x0.035 = x0.030
g1 x0.040 = x0.040
g1 x0.100 = x0.100
g1 x0.200 = x0.200
--- Change direction
g1 0.190 = 0.179
g1 0.180 = 0.160
g1 0.170 = 0.140
g1 0.160 = 0.120
g1 0.150 = 0.110
g1 0.140 = 0.100
g1 0.130 = 0.090
g1 0.120 = 0.080
g1 0.000 = -0.038
  • 3404gerber
  • 3404gerber
09 Jan 2026 06:02 - 09 Jan 2026 06:09

Remora - Rpi Software Stepping Using External Microcontroller via SPI

Category: Computers and Hardware

I was using remora on BTT Octopus pro board. Few days back I had to remove the board for some reason. Now it's not working. Nothing has changed. I tried erasing and reflashing remora by stm32 programmer. Tried changing spi cable from board to rpi4. I can see remora firmware is working on board. I added blink module to verify remora, it's working. I can see via UART console that remora ha loaded correctly and comes to idle state.
But on LinuxCNC side machine don't comes out of estop. No configuration changed. Tried new trixie image but can't compile remora due to incomplete pointer error. Don't know what's going wrong?  
 

Hi,

I'm not sure I can help for the estop state in lcnc. I would start by checking the payloads in both BTT firmware and hal component.

For the compilation error, I ran into the same error when I was trying to compile my TMC5160 component and solved the problem by changing the code a bit. As I'm not a coder, I have no big idea what I'm doing, but sounds like a casting problem to me. You can try following changes in the rp1lib.c of the linuxcnc component:

Replace the lines:

dws = &inst->spi[spi_num];
spi = &inst->spi_dev[spi_num];

with

dws = (struct dw_spi*)&inst->spi[spi_num];
spi = (struct spi_device*)&inst->spi_dev[spi_num];

and:

dws = &inst->spi[spi_num];
cfg = &inst->spi_cfg[spi_num];
dev = &inst->spi_dev[spi_num];

with:

dws = (struct dw_spi*)&inst->spi[spi_num];
cfg = (struct dw_spi_cfg*)&inst->spi_cfg[spi_num];
dev = (struct spi_device*)&inst->spi_dev[spi_num];

After those changes I was again able to compile my component and could use it. BUT I didn't try it on a RPi5 actually using the rp1 lib, just on a RPi4.
Hope it helps.
  • grandixximo
  • grandixximo's Avatar
09 Jan 2026 05:44
Replied by grandixximo on topic LinuxCNC S-Curve Accelerations

LinuxCNC S-Curve Accelerations

Category: General LinuxCNC Questions

You are right, my apologies, I was looking at it on my phone, and it formatted it intuitively. We'll be looking into it, thank you for reporting
  • nanowhat
  • nanowhat
09 Jan 2026 05:10 - 09 Jan 2026 05:18
Replied by nanowhat on topic Ethercat Motion Problem

Ethercat Motion Problem

Category: EtherCAT

Which error are you referring to?
 833.377534 pcieport 0000:00:1d.0: AER: Corrected error message received from 0000:00:1d.0
seems to be caused by PCI-express link power management
 8933.654387EtherCAT WARNING 0-4: Other mailbox protocol response for eoe0s4.
Which version of the ethercat library are you using? 1.6 by default has ethernet over ethercat active, and it doesn't seem to be compatible with linuxCNC. With 1.6, one must compile the library from source to disable EoE.
  • PCW
  • PCW's Avatar
09 Jan 2026 03:41 - 09 Jan 2026 14:58
Replied by PCW on topic LinuxCNC S-Curve Accelerations

LinuxCNC S-Curve Accelerations

Category: General LinuxCNC Questions

it was true:

16 bit IN TRUE ini.traj_arc_blend_enable

I was running the torus gcode (from the torus.png --> image to gcode with whatever defaults)

EDIT: here's the gcode that triggered the bug:

 

File Attachment:

File Name: torus.ngc
File Size:51 KB

 
  • mika
  • mika's Avatar
09 Jan 2026 02:55
Replied by mika on topic LinuxCNC S-Curve Accelerations

LinuxCNC S-Curve Accelerations

Category: General LinuxCNC Questions

Which G-code did you use for the test? I'd like to try it myself.
  • grandixximo
  • grandixximo's Avatar
09 Jan 2026 02:42
Replied by grandixximo on topic LinuxCNC S-Curve Accelerations

LinuxCNC S-Curve Accelerations

Category: General LinuxCNC Questions

Could you try again with arc blend enable to true?
  • PCW
  • PCW's Avatar
09 Jan 2026 02:02 - 09 Jan 2026 02:05
Replied by PCW on topic LinuxCNC S-Curve Accelerations

LinuxCNC S-Curve Accelerations

Category: General LinuxCNC Questions

OK so the bad ini values seem to be LinuxCNC defaults (they were not specified in my ini file)
With more reasonable values set the errors are of much smaller magnitude bu there are still accel violations: 







Note that the acceleration (green) which has a constraint of 200 IPS/S sometimes obeys this constraint
(right side of screen) but sometimes ignores it (spikes toward center of screen reaching more than 1500 IPS/S)


ini file settings: 



File Attachment:

File Name: ini1.txt
File Size:5 KB
 

 
  • soehlrich
  • soehlrich
  • ihavenofish
  • ihavenofish
09 Jan 2026 01:30
Replied by ihavenofish on topic LinuxCNC S-Curve Accelerations

LinuxCNC S-Curve Accelerations

Category: General LinuxCNC Questions

These are in inches.

So my understanding would be:

So 20 IPS max Velocity
200 Max accel (~1/2g) so 1/10 second to maxvel with no jerk limit (old TP)
2000 Max jerk  so 1/10 second to full accel

Which (jerk=2000) actually sounds a bit low


I was doing some math to create paths (not real time) a little while back and on my machine with 0.5G (5000mm/s/s) a jerk of like 50000mm/s/s/s was the starting point of usefulness, and 500000 would probably be where I end up. So your 10:1 seems a logical place to start.

BUT, it shouldn't matter. Jerk should never create a following error, it should be mathematically precise, even if its comically low for real life machines.
 
  • PCW
  • PCW's Avatar
09 Jan 2026 00:57
Replied by PCW on topic LinuxCNC S-Curve Accelerations

LinuxCNC S-Curve Accelerations

Category: General LinuxCNC Questions

Those ini values do not cause an issue with the old TP (0)

I'll check your suggestions in a bit...
 
  • PCW
  • PCW's Avatar
09 Jan 2026 00:54
Replied by PCW on topic LinuxCNC S-Curve Accelerations

LinuxCNC S-Curve Accelerations

Category: General LinuxCNC Questions

These are in inches.

So my understanding would be:

So 20 IPS max Velocity
200 Max accel (~1/2g) so 1/10 second to maxvel with no jerk limit (old TP)
2000 Max jerk  so 1/10 second to full accel

Which (jerk=2000) actually sounds a bit low
  • grandixximo
  • grandixximo's Avatar
09 Jan 2026 00:49
Replied by grandixximo on topic LinuxCNC S-Curve Accelerations

LinuxCNC S-Curve Accelerations

Category: General LinuxCNC Questions

Thank you Peter for looking at this.
I see a few issues with your ini.txt

16 float IN 1e+99 ini.traj_default_acceleration
16 float IN 0 ini.traj_default_jerk
16 float IN 1 ini.traj_default_velocity
16 float IN 1e+99 ini.traj_max_acceleration
16 float IN 0 ini.traj_max_jerk
16 float IN 1e+99 ini.traj_max_velocity


these settings seems a bit waky, if you want to have jerk control you need
ini.traj_default_jerk
and
ini.traj_max_jerk

to be more than 0
and the 1e+99 max acc and velocity, is this something people actually run with? is it something is supported without f-error on TP0 aka old TP?
  • andypugh
  • andypugh's Avatar
09 Jan 2026 00:46
Replied by andypugh on topic LinuxCNC S-Curve Accelerations

LinuxCNC S-Curve Accelerations

Category: General LinuxCNC Questions

Is a jerk of 2000 reasonable? What units is your config?
Displaying 61 - 75 out of 20281 results.
Time to create page: 0.300 seconds
Powered by Kunena Forum