- Posts: 21
- Thank you received: 0
LinuxCNC S-Curve Accelerations
- tiagounderground
- Offline
- Junior Member
-
Less
More
1 year 6 months ago #326958
by tiagounderground
Replied by tiagounderground on topic LinuxCNC S-Curve Accelerations
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
Please Log in to join the conversation.
1 year 6 months ago #326963
by Grotius
Replied by Grotius on topic LinuxCNC S-Curve Accelerations
Hi Tia,
when i change to tpmode=scurve
It is : tpmod_scurve
And check if you use values for the trajectory : vel + acc.
[/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.
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
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 to join the conversation.
1 year 6 months ago #326964
by Grotius
Replied by Grotius on topic LinuxCNC S-Curve Accelerations
Hi Rod,
The Cia-402 i have seen the source code. It does not much.
It sends and recieves position, velocity, torque trough a can protocol?
The Cia-402 i have seen the source code. It does not much.
It sends and recieves position, velocity, torque trough a can protocol?
Please Log in to join the conversation.
- tiagounderground
- Offline
- Junior Member
-
Less
More
- Posts: 21
- Thank you received: 0
1 year 6 months ago #326969
by tiagounderground
Replied by tiagounderground on topic LinuxCNC S-Curve Accelerations
this is from my INI file. i raised the values but see no difference.
before i tried with the values you send, is the same on the ethercat config example
[TRAJ]
TPMOD = tpmod_scurve
COORDINATES = X Y Z
LINEAR_UNITS = mm
ANGULAR_UNITS = degree
DEFAULT_LINEAR_VELOCITY = 20800.33
MAX_LINEAR_VELOCITY = 20800.33
DEFAULT_LINEAR_ACCELERATION = 350000
MAX_LINEAR_ACCELERATION = 350000
POSITION_FILE = position_mm.txt
before i tried with the values you send, is the same on the ethercat config example
[TRAJ]
TPMOD = tpmod_scurve
COORDINATES = X Y Z
LINEAR_UNITS = mm
ANGULAR_UNITS = degree
DEFAULT_LINEAR_VELOCITY = 20800.33
MAX_LINEAR_VELOCITY = 20800.33
DEFAULT_LINEAR_ACCELERATION = 350000
MAX_LINEAR_ACCELERATION = 350000
POSITION_FILE = position_mm.txt
Please Log in to join the conversation.
1 year 6 months ago #326973
by Grotius
Replied by Grotius on topic LinuxCNC S-Curve Accelerations
Hi Tia,
I don't know why it won't run with cia-402.
We have more users with the same problem.
However the cia-402 source code does nothing with acceleration. Only torque, vel, pos.
Is there a alternative to the cia-402?
I don't know why it won't run with cia-402.
We have more users with the same problem.
However the cia-402 source code does nothing with acceleration. Only torque, vel, pos.
Is there a alternative to the cia-402?
Please Log in to join the conversation.
1 year 6 months ago #326974
by PCW
Replied by PCW on topic LinuxCNC S-Curve Accelerations
Tried to compile but got this:
In file included from emc/planner/curve.h:14,
from emc/planner/feed.h:15,
from emc/planner/feed.c:12:
emc/planner/emcmot_segment.h:27:10: fatal error: segment.h: No such file or directory
27 | #include "segment.h"
In file included from emc/planner/curve.h:14,
from emc/planner/feed.h:15,
from emc/planner/feed.c:12:
emc/planner/emcmot_segment.h:27:10: fatal error: segment.h: No such file or directory
27 | #include "segment.h"
Please Log in to join the conversation.
- tiagounderground
- Offline
- Junior Member
-
Less
More
- Posts: 21
- Thank you received: 0
1 year 6 months ago #326975
by tiagounderground
Replied by tiagounderground on topic LinuxCNC S-Curve Accelerations
if you want to access my machine remotely i can give you accessHi Tia,
I don't know why it won't run with cia-402.
We have more users with the same problem.
However the cia-402 source code does nothing with acceleration. Only torque, vel, pos.
Is there a alternative to the cia-402?
Please Log in to join the conversation.
1 year 6 months ago #326981
by rodw
There are also a loosely defined set of PDOs
What we really need is a component that just defines the turn on sequence and then a seperate homemod for drive homing. It may be possible to do the turn on in the homemod so there is only one module but it might then sit outside the hal lcec Ethercat loop so it may run one servo thread cycle behind.
Replied by rodw on topic LinuxCNC S-Curve Accelerations
Yes, the cia402 protocol defines a state machine to turn on a machine using a standard control word and a status word confirming current machine state. The attached PDF is a good summaryHi Rod,
The Cia-402 i have seen the source code. It does not much.
It sends and recieves position, velocity, torque trough a can protocol?
There are also a loosely defined set of PDOs
What we really need is a component that just defines the turn on sequence and then a seperate homemod for drive homing. It may be possible to do the turn on in the homemod so there is only one module but it might then sit outside the hal lcec Ethercat loop so it may run one servo thread cycle behind.
Please Log in to join the conversation.
1 year 6 months ago #326987
by Grotius
Replied by Grotius on topic LinuxCNC S-Curve Accelerations
@Pcw,
Thanks for your effort. Not everything is installed by the makefile.
I think you need to look at the ./installer file, wich install's locally :
libclothoid3d
libscurve
segment.h is part off libclothoid3d and is installed in /usr/local/include
Then finally there is done a ldconfig.
I hope it works for you then.
Thanks for your effort. Not everything is installed by the makefile.
I think you need to look at the ./installer file, wich install's locally :
libclothoid3d
libscurve
segment.h is part off libclothoid3d and is installed in /usr/local/include
Then finally there is done a ldconfig.
I hope it works for you then.
Please Log in to join the conversation.
1 year 6 months ago #326992
by Grotius
Replied by Grotius on topic LinuxCNC S-Curve Accelerations
@Rod,
In the mean time, have done some reading about the cia-402.
@Tia,
if you want to access my machine remotely i can give you access
We could verify iff all is installed ok. Like the libclothoid is in place etc.
But i think you already used the ./installer. It can be the installer failed at some step.
For the rest i don't know much about the cia-402.
In the mean time, have done some reading about the cia-402.
- The
: following error window is not used or set by linuxcnc.Code:0x6065
- Velocity mode in combination with a tuned linuxcnc pid could be a try out.
@Tia,
if you want to access my machine remotely i can give you access
We could verify iff all is installed ok. Like the libclothoid is in place etc.
But i think you already used the ./installer. It can be the installer failed at some step.
For the rest i don't know much about the cia-402.
Please Log in to join the conversation.
Time to create page: 0.210 seconds
