EtherCat Sync & DC problem
Automata27 wrote: 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...
I'm sorry I could not help you.
I copy you some links:
Sascha is improving the sync function and he is trying to achieve the B method described by Graeme Foot here
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.
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
File Attachment:File Name: pacmac_ecat.xml
File Size:10 KB
pl7i92 wrote: can Someone make a Quick Step by step tutorial on How to add this patch and make the ethercat work
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"