<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Fieldbus has lost synchronicity</title><link href="https://forge.codesys.com/forge/talk/Motion/thread/8fa667ab7e/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Motion/thread/8fa667ab7e/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Motion/thread/8fa667ab7e/</id><updated>2025-04-04T08:58:45.068000Z</updated><subtitle>Recent posts to Fieldbus has lost synchronicity</subtitle><entry><title>Fieldbus has lost synchronicity</title><link href="https://forge.codesys.com/forge/talk/Motion/thread/8fa667ab7e/?limit=25#fbd8" rel="alternate"/><published>2025-04-04T08:58:45.068000Z</published><updated>2025-04-04T08:58:45.068000Z</updated><author><name>andreag0</name><uri>https://forge.codesys.com/u/andreag0/</uri></author><id>https://forge.codesys.comded646d9434a22536cf5177d323b19f7712cf4a2</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;br/&gt;
I have similar issues and if I remove AC_Persist than is fine.&lt;br/&gt;
I can't figure out yet why the AC_Persist is caused such issue.&lt;br/&gt;
I have i5 with 6 core and Debian 10 RT Kernel.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Fieldbus has lost synchronicity</title><link href="https://forge.codesys.com/forge/talk/Motion/thread/8fa667ab7e/?limit=25#cfc3" rel="alternate"/><published>2024-04-15T13:47:37.184000Z</published><updated>2024-04-15T13:47:37.184000Z</updated><author><name>rmaas</name><uri>https://forge.codesys.com/u/rmaas/</uri></author><id>https://forge.codesys.comfb40327e7c65cbfdeeb43172b3c3055a668fbe9c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thanks for the suggestions!&lt;/p&gt;
&lt;p&gt;It seems that increasing the value DCInSyncWindow helped,&lt;br/&gt;
running without error for 1/2 day now.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Fieldbus has lost synchronicity</title><link href="https://forge.codesys.com/forge/talk/Motion/thread/8fa667ab7e/?limit=25#2a43" rel="alternate"/><published>2024-04-11T07:21:14.034000Z</published><updated>2024-04-11T07:21:14.034000Z</updated><author><name>tk096</name><uri>https://forge.codesys.com/u/tk096/</uri></author><id>https://forge.codesys.com98b0b4897bab5dac078127f8147a7111ba04466a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;a few suggestions on how to tackle the problem:&lt;br/&gt;
- it might help to increase the cycle time of the ethercat task&lt;br/&gt;
- increase the value of the ethercat parameter DCInSyncWindow (https://content.helpme-codesys.com/en/libs/IODrvEtherCATDriver/Current/pou-IoDrvEtherCAT/DCInSyncWindow.html) (see attached image)&lt;br/&gt;
- enable FrameAtTaskStart (https://content.helpme-codesys.com/en/libs/IODrvEtherCATDriver/Current/pou-IoDrvEtherCAT/FrameAtTaskStart.html) in the ethercat master (see attached image)&lt;br/&gt;
- if the drives can handle the synchronization problems, checking of the synchronization can be deactivated using SMC_Set_ETC_DCSyncSupervision (https://content.helpme-codesys.com/en/libs/SM3_Drive_ETC/Current/SMC_Set_ETC_DCSyncSupervision.html).&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Fieldbus has lost synchronicity</title><link href="https://forge.codesys.com/forge/talk/Motion/thread/8fa667ab7e/?limit=25#30e1" rel="alternate"/><published>2024-04-11T06:09:14.032000Z</published><updated>2024-04-11T06:09:14.032000Z</updated><author><name>rmaas</name><uri>https://forge.codesys.com/u/rmaas/</uri></author><id>https://forge.codesys.com58b1deedfa1415f686bdb2c33a2ca47c1657c977</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;On a gantry system with 2 axis i am getting the following error: SMC_DI_FIELDBUS_LOST_SYNCRONICITY&lt;/p&gt;
&lt;p&gt;This happens random, sometimes it happens every 5 minutes and sometimes no error for 2 hours...&lt;/p&gt;
&lt;p&gt;The Setup:&lt;br/&gt;
- Using codesys 3.5 SP20 with all latest libs...&lt;br/&gt;
- Kontron AL Pi-Tron CM4 with Preempt realtime patch (Raspberry Pi 4)&lt;br/&gt;
- Codesys runtime 4.11.0.0 (single core)&lt;br/&gt;
- CODESYS Control for Raspberry Pi SL licensed&lt;br/&gt;
- Softmotion + CNC + Robotics licensed&lt;br/&gt;
- 2x Leadshine EL8-EC400 servo drives&lt;br/&gt;
- Axis group for a 2-axis T-Gantry&lt;/p&gt;
&lt;p&gt;Ethercat network wiring:&lt;br/&gt;
Ethercat master softmotion -&amp;gt; Beckhoff EK1100 -&amp;gt; Servo drive #1 -&amp;gt; Servo drive #2&lt;/p&gt;
&lt;p&gt;Ethercat Cycle time = 4ms&lt;/p&gt;
&lt;p&gt;Max Jitter = 140~150&lt;/p&gt;
&lt;p&gt;What i have tried so far:&lt;br/&gt;
    - changed the sync offset from 20% to 30% &lt;br/&gt;
    - changed ethercat task priority from 1 to 0&lt;/p&gt;
&lt;p&gt;Running tasks:&lt;br/&gt;
    - Ethercat tast: Prio = 0, Interval = 4ms&lt;br/&gt;
    - Main task: Prio = 1, Interval = 8ms&lt;br/&gt;
    - Visu task: Prio = 31, Interval = 100ms&lt;br/&gt;
    - Softmotion planning task: Prio = 15, Freewheeling&lt;br/&gt;
    - 3 other default tasks that were created by AC_Persist&lt;/p&gt;
&lt;p&gt;Motion fb's are called in the ethercat task...&lt;/p&gt;
&lt;p&gt;Does anyone have an idea how to fix this? Any help is greatly appreciated!&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>