Problems with Lichuan Ethercat servo drive

More
16 Sep 2024 11:51 #310251 by Erthenos
Thank you @Sandro for sharing the conf!
I can't belief how awesome this community is.

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

More
16 Sep 2024 12:00 - 16 Sep 2024 12:03 #310252 by Erthenos
I don't have a machine to move yet, but what I can share is this:
cloud.niguna.ch/s/WgCiCZXoKDGboTY/download/poc.mp4
Last edit: 16 Sep 2024 12:03 by Erthenos.

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

More
16 Sep 2024 12:07 #310253 by ihavenofish
Windows says I need to pay $1.29 to play that video... wtf. haha.

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

More
16 Sep 2024 12:12 #310254 by Erthenos
Haha wtf XD
It's working for me... maybe try vlc¯\_(ツ)_/¯

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

More
16 Sep 2024 12:23 #310256 by COFHAL
Could you explain to me how you calculated the position and velocity scales for each axis?

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

More
16 Sep 2024 12:35 - 16 Sep 2024 12:39 #310257 by Erthenos
if you are referring to:
setp cia402.2.pos-scale 1677721.6
This is given by:pitch of your ballsrews / Number of Encoder pulses per revolution.
In this case I would guess:
2^23 / 5   = 1677721.6
i.e. this tells you how many encoder pulses you get per physical movement of your machine.
This would foe example be for an sfu2005 ball screw with a 23bit encoder (23bit = 2^23 = 8388608)
(I'm pretty new to all of this so please correct me if I'm wrong)
Last edit: 16 Sep 2024 12:39 by Erthenos.

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

More
16 Sep 2024 13:03 #310259 by ihavenofish
put it on youtube like a normal person :P (and so others will find it, its super hard to find anything on these motors)

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

More
16 Sep 2024 15:48 #310265 by onceloved
Hello, thanks for sharing your configuration. I took a quick look and there is one thing I don't quite understand
net x-output <= cia402.2.velocity-cmd
net x-output <= pid.x.output
Is the direction above reversed? It should be
net x-output => cia402.2.velocity-cmd

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

More
16 Sep 2024 18:14 #310276 by Aciera

Is the direction above reversed? It should be
net x-output => cia402.2.velocity-cmd

That is how I would do it but those directional symbols are for readability only and are ignored when the file is parsed.

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

More
16 Sep 2024 20:04 - 16 Sep 2024 20:12 #310282 by bertoldo
Good afternoon.

Using the example provided, I managed to get 1 motor to work... but in my case there are 4 axes. I have already changed the .hal and ethercat.xml and it doesn't work... I follow the example and it crashes again...
They start at 10ry, then I put the cable on and they go to 20ry.
then 1 88ry and the rest 20ry
Last edit: 16 Sep 2024 20:12 by bertoldo.

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

Time to create page: 0.160 seconds
Powered by Kunena Forum