<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Raspiberrypi Ethercat Softmotion Communication Error(EL2521)</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/e5ac8c2381/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Runtime/thread/e5ac8c2381/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Runtime/thread/e5ac8c2381/</id><updated>2020-02-27T16:01:11.004000Z</updated><subtitle>Recent posts to Raspiberrypi Ethercat Softmotion Communication Error(EL2521)</subtitle><entry><title>Raspiberrypi Ethercat Softmotion Communication Error(EL2521)</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/e5ac8c2381/?limit=25#9c70" rel="alternate"/><published>2020-02-27T16:01:11.004000Z</published><updated>2020-02-27T16:01:11.004000Z</updated><author><name>audi0615</name><uri>https://forge.codesys.com/u/audi0615/</uri></author><id>https://forge.codesys.com4341e2df020014d0b0956b7702cfdc2445fc24f5</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi. Edwin&lt;/p&gt;
&lt;p&gt;I was stupid to put MC_POWER in CASE statement, which resulted in calling the FB only for a one cycle.&lt;/p&gt;
&lt;p&gt;After putting MC_POWER FB outside the CASE statement, everything is OK.&lt;/p&gt;
&lt;p&gt;Thanks for your help.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Raspiberrypi Ethercat Softmotion Communication Error(EL2521)</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/e5ac8c2381/?limit=25#eb12" rel="alternate"/><published>2020-02-27T16:01:08.683000Z</published><updated>2020-02-27T16:01:08.683000Z</updated><author><name>audi0615</name><uri>https://forge.codesys.com/u/audi0615/</uri></author><id>https://forge.codesys.com4bebe1bb10f284c96a34cd52e1f46c64980871e6</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thank you for your fast response.&lt;/p&gt;
&lt;p&gt;Unfortunately, it seems the proposed solution does not work for me.&lt;/p&gt;
&lt;p&gt;Still, "status" is FALSE and "busy" is TRUE in MC_POWER.&lt;/p&gt;
&lt;p&gt;I was just wondering if this issue has to do with axis type, is it correct to use a name of "AXIS_REF_ETC_EL2521" as an input axis of MC_POWER?&lt;/p&gt;
&lt;p&gt;Codesys is saying it has to be "AXIS_REF_SM3" axis.&lt;/p&gt;
&lt;p&gt;Best Regards.&lt;/p&gt;
&lt;p&gt;Y.M. Kim&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: 2018" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=3456"/&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: 2018" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=3457"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Raspiberrypi Ethercat Softmotion Communication Error(EL2521)</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/e5ac8c2381/?limit=25#89be" rel="alternate"/><published>2020-02-27T16:01:07.865000Z</published><updated>2020-02-27T16:01:07.865000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com0534e403b1af8d2ac6e6e8799d7654ea7e30390b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Kim,&lt;br/&gt;
if you call the motion fb's in the ethercat Task it will work.&lt;/p&gt;
&lt;p&gt;BR&lt;br/&gt;
Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Raspiberrypi Ethercat Softmotion Communication Error(EL2521)</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/e5ac8c2381/?limit=25#b686" rel="alternate"/><published>2020-02-27T16:01:07.039000Z</published><updated>2020-02-27T16:01:07.039000Z</updated><author><name>audi0615</name><uri>https://forge.codesys.com/u/audi0615/</uri></author><id>https://forge.codesys.comb8c838934e090173a63a62a925a7e88b2c006da4</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thanks for your response, Edwin.&lt;/p&gt;
&lt;p&gt;Now it seems the communication issue has been solved after patching Preempt_RT to RaspberryPi as screenshot below.&lt;br/&gt;
However another issue i'm facing is... MC_... function blocks are not working (MC_POWER, MC_JOG...)&lt;/p&gt;
&lt;p&gt;MC_POWER.status is still FALSE and busy is TRUE after MC_POWER is enabled.&lt;/p&gt;
&lt;p&gt;I would appreciate your help.&lt;/p&gt;
&lt;p&gt;Best Regards.&lt;/p&gt;
&lt;p&gt;Y.M.Kim&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: 2018" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=3455"/&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: 2018" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=3454"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Raspiberrypi Ethercat Softmotion Communication Error(EL2521)</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/e5ac8c2381/?limit=25#3d7b" rel="alternate"/><published>2020-02-27T16:01:04.750000Z</published><updated>2020-02-27T16:01:04.750000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com2447c1340b6141e51071ed1892b0f74883e1471b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
could you reset the line by rightclick...&lt;/p&gt;
&lt;p&gt;BR&lt;br/&gt;
Edwin&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: reset.jpg" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=3453"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Raspiberrypi Ethercat Softmotion Communication Error(EL2521)</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/e5ac8c2381/?limit=25#0537" rel="alternate"/><published>2020-02-27T16:01:03.969000Z</published><updated>2020-02-27T16:01:03.969000Z</updated><author><name>audi0615</name><uri>https://forge.codesys.com/u/audi0615/</uri></author><id>https://forge.codesys.com40260f52689f3c8ace52c9e2d66faf24fcf5db59</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Dear Edwin&lt;/p&gt;
&lt;p&gt;the sync offset is now 20 again, thanks.&lt;/p&gt;
&lt;p&gt;following is the monitoring screen from the project. EtherCAT_Mater.EtherCAT_Task is located under MainTask.&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #FF0000;"&gt;MODIFIED:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #FF0000;"&gt;the EtherCAT_Master.EtherCAT_Task has been seperated from MainTask to another task with interval of 4000 mico second, here is the monitoring screen.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Best Regards.&lt;/p&gt;
&lt;p&gt;Y.M. Kim&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: 2018" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=3449"/&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: 2018" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=3450"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Raspiberrypi Ethercat Softmotion Communication Error(EL2521)</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/e5ac8c2381/?limit=25#f413" rel="alternate"/><published>2020-02-27T16:01:01.763000Z</published><updated>2020-02-27T16:01:01.763000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com66ae1e974f60381d2a678e116915c77c5ef6c143</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
sync offset back to 20(default) in the master&lt;br/&gt;
Could you please give a screenshot from taskmonitor for the jitter usage of the Motion/ethercat Task?&lt;br/&gt;
BR&lt;br/&gt;
Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Raspiberrypi Ethercat Softmotion Communication Error(EL2521)</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/e5ac8c2381/?limit=25#ddaf" rel="alternate"/><published>2020-02-27T16:01:00.974000Z</published><updated>2020-02-27T16:01:00.974000Z</updated><author><name>audi0615</name><uri>https://forge.codesys.com/u/audi0615/</uri></author><id>https://forge.codesys.comf79e7bf7f5c2c75bb628238f8d73c43b095f77d9</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Mr. Edwin&lt;/p&gt;
&lt;p&gt;Thank you a lot .&lt;br/&gt;
I tried the solution in the post and unfortunately it does not work for me.&lt;br/&gt;
Followings are my settings, is thare any other setting i need to change from the default? Please advise.&lt;/p&gt;
&lt;p&gt;&amp;lt;ethercat master=""&amp;gt;&amp;lt;/ethercat&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;ek1100&amp;gt;&amp;lt;/ek1100&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;el2521&amp;gt;&amp;lt;/el2521&amp;gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;axis&amp;gt;&amp;lt;/axis&amp;gt;&lt;/p&gt;
&lt;p&gt;Best Regards.&lt;/p&gt;
&lt;p&gt;Y.M. Kim&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: Ethercat Master.png" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=3445"/&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: EK1100.png" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=3446"/&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: EL2521.png" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=3447"/&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: SM_Drive_EL2521.png" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=3448"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Raspiberrypi Ethercat Softmotion Communication Error(EL2521)</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/e5ac8c2381/?limit=25#f736" rel="alternate"/><published>2020-02-27T16:01:00.192000Z</published><updated>2020-02-27T16:01:00.192000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.comc345c71ff021fb82072d381f0a391262aee5d75b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
did you check the if workaround works for you(from the link you have posted)?&lt;/p&gt;
&lt;p&gt;Because to have dc enabled is mandotary for Softmotion, but for EL2521 on Raspberry PI or Control Win,&lt;br/&gt;
EL2521 would work without... so you need to increase the syncwindow a lot. &lt;br/&gt;
BR&lt;br/&gt;
Edwin&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: SyncWindow.jpg" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=3444"/&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: EL2521.jpg" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=3443"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Raspiberrypi Ethercat Softmotion Communication Error(EL2521)</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/e5ac8c2381/?limit=25#86c6" rel="alternate"/><published>2020-02-27T16:00:57.968000Z</published><updated>2020-02-27T16:00:57.968000Z</updated><author><name>audi0615</name><uri>https://forge.codesys.com/u/audi0615/</uri></author><id>https://forge.codesys.com1e2a284fc6e22a20952eae3839b39219e3980467</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;I'm new to ethercat softmotion (especially with raspberrypi), I'm trying to run a stepper motor with Beckhoff EK1100 + EL2521 without success.&lt;/p&gt;
&lt;p&gt;It seems there is a communication error or sync error, please refer to attached screenshots below.&lt;/p&gt;
&lt;p&gt;I've made some search on this issue and found following topic which says EL2521 driver works without any real time patch for Pi.&lt;br/&gt;
However in my case it does not work.&lt;br/&gt;
 l &lt;a class="" href="https://forum.codesys.com/viewtopic.php?f=21&amp;amp;t=8560" rel="nofollow"&gt;viewtopic.php?f=21&amp;amp;t=8560&lt;/a&gt; l &lt;/p&gt;
&lt;p&gt;Any help would be appreciated.&lt;/p&gt;
&lt;p&gt;Best Regards.&lt;/p&gt;
&lt;p&gt;Y.M. Kim&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: 2018" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=3440"/&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: 2018" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=3441"/&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: 2018" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=3442"/&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: 2018" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=3439"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>