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]