Problems with Lichuan Ethercat servo drive
16 Sep 2024 11:51 #310251
by Erthenos
Replied by Erthenos on topic Problems with Lichuan Ethercat servo drive
Thank you @Sandro for sharing the conf!
I can't belief how awesome this community is.
I can't belief how awesome this community is.
Please Log in or Create an account to join the conversation.
16 Sep 2024 12:00 - 16 Sep 2024 12:03 #310252
by Erthenos
Replied by Erthenos on topic Problems with Lichuan Ethercat servo drive
I don't have a machine to move yet, but what I can share is this:
cloud.niguna.ch/s/WgCiCZXoKDGboTY/download/poc.mp4
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.
- ihavenofish
- Offline
- Platinum Member
Less
More
- Posts: 686
- Thank you received: 124
16 Sep 2024 12:07 #310253
by ihavenofish
Replied by ihavenofish on topic Problems with Lichuan Ethercat servo drive
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.
16 Sep 2024 12:12 #310254
by Erthenos
Replied by Erthenos on topic Problems with Lichuan Ethercat servo drive
Please Log in or Create an account to join the conversation.
16 Sep 2024 12:23 #310256
by COFHAL
Replied by COFHAL on topic Problems with Lichuan Ethercat servo drive
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.
16 Sep 2024 12:35 - 16 Sep 2024 12:39 #310257
by Erthenos
Replied by Erthenos on topic Problems with Lichuan Ethercat servo drive
if you are referring to: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)
setp cia402.2.pos-scale 1677721.6
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.
The following user(s) said Thank You: Sandro
Please Log in or Create an account to join the conversation.
- ihavenofish
- Offline
- Platinum Member
Less
More
- Posts: 686
- Thank you received: 124
16 Sep 2024 13:03 #310259
by ihavenofish
Replied by ihavenofish on topic Problems with Lichuan Ethercat servo drive
put it on youtube like a normal person (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.
16 Sep 2024 15:48 #310265
by onceloved
Replied by onceloved on topic Problems with Lichuan Ethercat servo drive
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
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.
16 Sep 2024 18:14 #310276
by Aciera
Replied by Aciera on topic Problems with Lichuan Ethercat servo drive
That is how I would do it but those directional symbols are for readability only and are ignored when the file is parsed.Is the direction above reversed? It should be
net x-output => cia402.2.velocity-cmd
The following user(s) said Thank You: onceloved
Please Log in or Create an account to join the conversation.
16 Sep 2024 20:04 - 16 Sep 2024 20:12 #310282
by bertoldo
Replied by bertoldo on topic Problems with Lichuan Ethercat servo drive
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
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.133 seconds