LinuxCNC S-Curve Accelerations

More
13 May 2025 21:55 #328423 by Hakan
Replied by Hakan on topic LinuxCNC S-Curve Accelerations
Nope won't work. Well one can't delete files but you can also not create new files or write to files during the build, so the build fails.
The right thing is to fix the build so this doesn't happen.

Please Log in or Create an account to join the conversation.

More
14 May 2025 07:55 #328433 by Hakan
Replied by Hakan on topic LinuxCNC S-Curve Accelerations
Got it to build. The install script, as far as I can tell it doesn't bring in libclothoid3d and libscurve
When I did that manually (path here forum.linuxcnc.org/38-general-linuxcnc-q...orm?start=170#323932) and copied that to the empty directories the code builds.
The following user(s) said Thank You: tommylight, tiagounderground

Please Log in or Create an account to join the conversation.

More
24 May 2025 14:37 #329047 by tiagounderground
Replied by tiagounderground on topic LinuxCNC S-Curve Accelerations
I'm trying to run the last update on ethercat drivers but i have this error
HAL: ERROR: function 'cia402.0.read-all' not found
./cia402.hal:34: addf failed
HAL: ERROR: pin 'lcec.0.3.out-01' not found
shutdown.hal:2: unlink failed
24062
24076

am i missing something?

Please Log in or Create an account to join the conversation.

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
24 May 2025 14:52 #329048 by tommylight
Replied by tommylight on topic LinuxCNC S-Curve Accelerations
@tiagounderground,
Those are EtherCAT errors, probably better to ask in the EtherCAT section of the forum.

Please Log in or Create an account to join the conversation.

More
24 May 2025 15:27 - 24 May 2025 15:40 #329050 by tiagounderground
Replied by tiagounderground on topic LinuxCNC S-Curve Accelerations
i was able to solve it removing
addf cia402.0.read-all servo-thread
addf cia402.1.read-all servo-thread
addf cia402.2.read-all servo-thread
addf cia402.3.read-all servo-thread

now im running the machine but sometimes i have following errors that disable the motors, some arcs are beeng replaced for straigh lines and causing this, im trying to solve it now

i attach a printscreen from the gcode 




 
Attachments:
Last edit: 24 May 2025 15:40 by tiagounderground.

Please Log in or Create an account to join the conversation.

More
24 May 2025 15:51 - 24 May 2025 16:21 #329053 by tiagounderground
Replied by tiagounderground on topic LinuxCNC S-Curve Accelerations
i cant tell as am not machining anything, just moving the machine.
with other files this doesnt happen, but the position errors still happens
a lot of times i have drivers out off op state, then back on, i can run the same hardware on standard linuxcnc without any problem

edit:
emcMotionInit: emcTrajInit failed
this message shows in terminal when i start the scurve ethercat config, is this a problem?.
 
Last edit: 24 May 2025 16:21 by tiagounderground.

Please Log in or Create an account to join the conversation.

More
25 May 2025 08:56 #329095 by rodw
Replied by rodw on topic LinuxCNC S-Curve Accelerations
You have not solved anything. If you want to use cia402 devices and the component, you need to read all at the beginning of the servo thread and write all at the end of it.

My thought is you have blindly copied a config. This is not plug and play, you need to build a config to suite your devices.

Please Log in or Create an account to join the conversation.

More
26 May 2025 00:12 #329138 by tiagounderground
Replied by tiagounderground on topic LinuxCNC S-Curve Accelerations
the config im tryng to use works in version 2.9.4, tomorow i will post my config here,

Please Log in or Create an account to join the conversation.

  • grandixximo
  • grandixximo's Avatar Topic Author
  • Away
  • Senior Member
  • Senior Member
More
29 Dec 2025 09:26 - 29 Dec 2025 10:06 #340644 by grandixximo
Replied by grandixximo on topic LinuxCNC S-Curve Accelerations
I would like to share an S-Curve jerk control I have been working on, actually since I made the OP, I think the code is pretty battle tested, but I based it on an old version, and I would like to port the code to something that the community will be happy with, what should my base code be from which to introduce the jerk control? are you guys ok with master? or 2.9.4?
Last edit: 29 Dec 2025 10:06 by grandixximo.

Please Log in or Create an account to join the conversation.

More
29 Dec 2025 12:12 - 29 Dec 2025 12:20 #340648 by Aciera
Replied by Aciera on topic LinuxCNC S-Curve Accelerations
I think current master would probably make the most sense as this is where it could actually be merged. 2.9 is for bug fixes only. (Currently recommended stable version is 2.9.7)

[edit]
If your modifications are limited to the trajectory planner you might also be able to create a custom planner that can be used as a drop in replacement for the one currently used:
github.com/LinuxCNC/linuxcnc/blob/master...mponents/tpcomp.comp
 
Last edit: 29 Dec 2025 12:20 by Aciera.

Please Log in or Create an account to join the conversation.

Time to create page: 0.567 seconds
Powered by Kunena Forum