EtherCat Sync & DC problem

More
20 Mar 2018 19:45 #107637 by chimeno
Replied by chimeno on topic EtherCat Sync & DC problem

as per your suggestion following settings i have changed...

refClockSyncCycles = "* 1" and sync0Cycle = "configured cycle time"
sync0Cycle = "1000000"
sync0Shift = "0"

attached is the waveform that i got now...still dc issue is there...

i am configured drive DC synch mode...
cycle time that i use is 1ms....

as per your suggestion if i set sycn0shift = "half cycle " then also same issue...no change...


hello Automata,
I'm sorry I could not help you.
regards
Chimeno

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

More
21 Mar 2018 18:06 #107682 by narogon
Replied by narogon on topic EtherCat Sync & DC problem
Automata27 we also have some DC syncs problem.

I copy you some links:

lists.etherlab.org/pipermail/etherlab-users/2018/003281.html
github.com/sittner/linuxcnc-ethercat/issues/45

Sascha is improving the sync function and he is trying to achieve the B method described by Graeme Foot here
lists.etherlab.org/pipermail/etherlab-users/2016/003013.html

You could try to install rt-preemt and try the fix-dc-sync version that sascha has programmed. The desync problems in ciclyc position mode continues for me using it but you could try it. More feedback could help him.

I think the origin of the problem is the time between sent packets. If you try to use wireshark like I described in github issue you could investigate it deeply.

BR
Nacho Rosales

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

More
22 Mar 2018 06:25 #107710 by Automata27
Hi Nacho Rosales ,

thanks for reply....
i am going to try with rt-preepmt and fix-dc-sync version soon...will let you know the result soon...

Regards,

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

More
18 Dec 2018 04:15 #122550 by pamxy
Replied by pamxy on topic EtherCat Sync & DC problem
Hi Automata27,

I also encountered the same problem, have you solved it?

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

More
18 Dec 2018 05:57 #122555 by Automata27
Hi pamxy,

Yes my problem is solved, i have used debian stretch preemt rt, with dpll patch on lcnc, pll patch file is attached here for your reference.

File Attachment:

File Name: add-task-p...ns.patch
File Size:5 KB
also attached here is .xml file which worked for me

File Attachment:

File Name: pacmac_ecat.xml
File Size:10 KB


Regards,
Attachments:
The following user(s) said Thank You: chimeno

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

More
18 Dec 2018 09:35 #122558 by pl7i92
Replied by pl7i92 on topic EtherCat Sync & DC problem
can Someone make a Quick Step by step tutorial on How to add this patch and make the ethercat work
Please

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

More
19 Dec 2018 20:30 - 19 Dec 2018 20:32 #122611 by chimeno
Replied by chimeno on topic EtherCat Sync & DC problem

can Someone make a Quick Step by step tutorial on How to add this patch and make the ethercat work
Please


hi pl7i92,
I'm also interested in this topic, but I'm not sure it works, download the file and in the terminal use the command "patch < add-task-pll-functions.patch"
regards
Chimeno
Last edit: 19 Dec 2018 20:32 by chimeno.

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

More
20 Dec 2018 02:17 #122628 by sivaraj
Replied by sivaraj on topic EtherCat Sync & DC problem
Refer the below forum message has steps of ethercat install notes build from git source.

forum.linuxcnc.org/27-driver-boards/3559...ow-to-install#121471

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

Time to create page: 0.103 seconds
Powered by Kunena Forum