Problems with Lichuan Ethercat servo drive

More
2 years 1 month ago #310251 by Erthenos
Thank you @Sandro for sharing the conf!
I can't belief how awesome this community is.

Please Log in to join the conversation.

More
2 years 1 month ago #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

Please Log in to join the conversation.

More
2 years 1 month ago #310253 by ihavenofish
Windows says I need to pay $1.29 to play that video... wtf. haha.

Please Log in to join the conversation.

More
2 years 1 month ago #310254 by Erthenos
Haha wtf XD
It's working for me... maybe try vlc¯\_(ツ)_/¯

Please Log in to join the conversation.

More
2 years 1 month ago #310256 by COFHAL
Could you explain to me how you calculated the position and velocity scales for each axis?

Please Log in to join the conversation.

More
2 years 1 month ago #310257 by Erthenos
if you are referring to:
Code:
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)

Please Log in to join the conversation.

More
2 years 1 month ago #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 to join the conversation.

More
2 years 1 month ago #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 to join the conversation.

More
2 years 1 month ago #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 to join the conversation.

More
2 years 1 month ago #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

Please Log in to join the conversation.

Time to create page: 2.180 seconds
Powered by Kunena Forum