Problems with Lichuan Ethercat servo drive

More
9 months 4 weeks ago - 9 months 4 weeks ago #340962 by tomaszeg
I bought a cheap Ethercat servo from Aliexpress and trying to make it working Linuxcnc. The servo is PFDE ethercat 400W and it is almost the same like Lichuan A5 (I'm using Lichuan manual because original i got is only in Chinese language). Generaly servo is working with linuxcnc, but once per many times it is not going to OP mode. I started debugging and it turned out that it has DC sync problems. Usually after 5s timeout, syncronization is failing, but still it is going to OP mode and I can operate it from Linuxcnc. 
Can anyone help me with this problem? Generally it is working, but I dont want situation that I have to start linuxcnc few times to make it working.
I have xml configuration file from seller, but they don't provide any application to program EEPROM, but when I'm checking slave version, it is the same that I got from seller. The dmesg output is:
Code:
[color=#000000][ 9372.332054] EtherCAT WARNING: Datagram 00000000b0d26d62 (master-fsm) was SKIPPED 1 time. [color=#000000][ 9603.335415] EtherCAT: Requesting master 0... [color=#000000][ 9603.335421] EtherCAT: Successfully requested master 0. [color=#000000][ 9603.335511] EtherCAT 0: Domain0: Logical address 0x00000000, 26 byte, expected working counter 3. [color=#000000][ 9603.335513] EtherCAT 0:   Datagram domain0-0-main: Logical offset 0x00000000, 26 byte, type LRW. [color=#000000][ 9603.335534] EtherCAT 0: Master thread exited. [color=#000000][ 9603.335537] EtherCAT 0: Starting EtherCAT-OP thread. [color=#000000][ 9603.335572] EtherCAT WARNING 0: 1 datagram UNMATCHED! [color=#000000][ 9604.007324] EtherCAT ERROR 0-0: Failed to receive DC sync check datagram: Datagram queued. [color=#000000][ 9604.333875] EtherCAT WARNING 0: 1 datagram UNMATCHED! [color=#000000][ 9604.733868] EtherCAT WARNING: Datagram 00000000b0d26d62 (master-fsm) was SKIPPED 1 time. [color=#000000][ 9609.114230] EtherCAT WARNING 0-0: Slave did not sync after 5000 ms. [color=#000000][ 9609.119230] EtherCAT 0: Domain 0: Working counter changed to 3/3. [color=#000000][ 9609.429835] EtherCAT 0: Slave states on main device: OP.  [/color][/color][/color][/color][/color][/color][/color][/color][/color][/color][/color][/color][/color][/color]
Last edit: 9 months 4 weeks ago by tomaszeg. Reason: dmesg was no readable
The following user(s) said Thank You: COFHAL

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

More
9 months 1 day ago #342263 by szolkaa
I would like to share my repositories at github, this repository consist of Programs created to automate the creation of EtherCAT configuration files, solutions for all the problems described at this topic as well configs for XYZ, and XYYZ.
topic:
github.com/szolkaa/Automatic-linuxcnc-co...rators-for-ethercat/
The following user(s) said Thank You: COFHAL, makhouni

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

More
9 months 21 hours ago #342265 by rodw
looks great. I'll have a play.
Does my homecomp you link to work for you without any changes?
github.com/rodw-au/cia402_homecomp
I never had hardware in the end to test it properly.

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

More
6 months 3 weeks ago #345292 by Philip Lydin
I’m trying to tune my servos but I’m getting around 0.02mm ferror instantly regardless the speed which then quickly drops to a couple microns steady. Can you recommend a way to fix it or is it ok as is?

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

More
3 months 3 weeks ago #347527 by MaxEkb77
Anybody need ?

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

More
3 months 3 weeks ago #347554 by NWE

Anybody need ?
 
Thanks, that looks like a screenshot of some kind of Lichuan servo drive configuration software. Can you give more details?

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

Time to create page: 0.369 seconds
Powered by Kunena Forum