LinuxCNC S-Curve Accelerations

More
1 year 6 months ago #326964 by Grotius
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?

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

More
1 year 6 months ago #326969 by tiagounderground
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
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 #326973 by Grotius
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? 

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

More
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"

 
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 - 1 year 6 months ago #326975 by tiagounderground

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?  

if you want to access my machine remotely i can give you access
Last edit: 1 year 6 months ago by tiagounderground.
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 #326981 by rodw
Replied by rodw 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?
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 summary

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.
The following user(s) said Thank You: Grotius

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

Time to create page: 0.095 seconds
Powered by Kunena Forum