LinuxCNC S-Curve Accelerations

More
1 year 6 months ago #326760 by Grotius
Hi Rod,

Here is the submakefile that is used for the tpmod_scurve.
This repository uses the original makefile system to compile the scurve. It has no cmake build system.
It's quite straightforward. It can not be made simpler to incorporate into the source.
The following user(s) said Thank You: rodw

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

More
1 year 6 months ago - 1 year 6 months ago #326883 by tiagounderground
I was able to test the debian 13 image with cia402 ethercat drivers, i can home the machine but after a few jog movements i got following errors and couldn't move the machine until i restart linuxcnc, latency is the same as my config that can runs in LinuxCNC 2.9.4. the only time i was able to run a gcode it only made the first g0 movement.it shows all the time wired connection loss, the only wired connection is to the ethercat drivers. i can run the same machine on the same pc only booting in LinuxCNC 2.9.4. without any erros, so its not a hardware problem.
Last edit: 1 year 6 months ago by tiagounderground. Reason: add new file
The following user(s) said Thank You: Grotius

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

More
1 year 6 months ago #326949 by Grotius
Hi Tia,

It seems the .img won't work ok.

Today i tried the scurve + ethercat on a desktop pc and it runned ok.
It's using a EK1100 + 3x EL2124 on a stepgen component.
Jog speed was around 15000 mm/min wich i find not optimal, but ok for ethercat.

The config:
1x linuxcnc iso from : linuxcnc.org/downloads/
1x ethercat installation : ethercat install
1x linuxcnc + scurve, using makefile build system : codeberg.org/skynet/linuxcnc
1x linuxcnc-ethercat, codeberg.org/skynet/linuxcnc-ethercat.git

Running the config : config link

Now i can not try the cia-402 component myself as i dont have the hardware for it.
But maybe you are able to try this again.

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

More
1 year 6 months ago #326954 by rodw
Replied by rodw on topic LinuxCNC S-Curve Accelerations
Great! Don't worry about the cia402.comp as it needs work to work with the homecomp features. In fact it needs rewriting  from scratch I think...
The following user(s) said Thank You: Grotius

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

More
1 year 6 months ago #326958 by tiagounderground
tried here, it works with the original trajetory planer on the rip install, when i change to tpmode=scurve i need to desable homing on the gantry axis and i can do jog movements but when running gcode the machine seens to be stoped but it is runing with an extremaly low aceleration, near 1 minut to move 1mm
The following user(s) said Thank You: Grotius

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

More
1 year 6 months ago #326963 by Grotius
Hi Tia,

when i change to tpmode=scurve
It is : tpmod_scurve

And check if you use values for the trajectory :  vel + acc.
Code:
 [code]# Trajectory planner section --------------------------------------------------
Code:
[TRAJ]
Code:
TPMOD = tpmod_scurve
Code:
COORDINATES = X Y Z
Code:
LINEAR_UNITS = mm
Code:
ANGULAR_UNITS = degree
Code:
DEFAULT_LINEAR_VELOCITY = 208.33
Code:
MAX_LINEAR_VELOCITY = 208.33
Code:
DEFAULT_LINEAR_ACCELERATION = 350
Code:
MAX_LINEAR_ACCELERATION = 350
Code:
POSITION_FILE = position_mm.txt
[/code]

I just isnstalled debian 13 on the desktop pc and installed the same software, but the ethercat-master from the codeberg repo.
It also runs ok. So that's a good sign.


 

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

Time to create page: 0.122 seconds
Powered by Kunena Forum