<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Codesys Control RTE, EoE issues</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/9584b3f253/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Runtime/thread/9584b3f253/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Runtime/thread/9584b3f253/</id><updated>2020-02-27T15:16:01.439000Z</updated><subtitle>Recent posts to Codesys Control RTE, EoE issues</subtitle><entry><title>Codesys Control RTE, EoE issues</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/9584b3f253/?limit=25#4a75" rel="alternate"/><published>2020-02-27T15:16:01.439000Z</published><updated>2020-02-27T15:16:01.439000Z</updated><author><name>Kim</name><uri>https://forge.codesys.com/u/kim/</uri></author><id>https://forge.codesys.com1297626eff73e633a6132542c592c00782deca99</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thanks Edwin, will do and report back when I've found some time to test it.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Codesys Control RTE, EoE issues</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/9584b3f253/?limit=25#d771" rel="alternate"/><published>2020-02-27T15:15:59.617000Z</published><updated>2020-02-27T15:15:59.617000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.comca66a5e0862191b27b90c740aff224ffe6627c21</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Kim,&lt;/p&gt;
&lt;p&gt;there is an issue which will be solved with 3.5SP9 according the Setting FramesatTaskStart,&lt;br/&gt;
which influences EoE.&lt;br/&gt;
You could give this a try and check if this is your problem. &lt;br/&gt;
(For a test disable FramesatTaskStart to false)&lt;br/&gt;
BR&lt;br/&gt;
Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Codesys Control RTE, EoE issues</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/9584b3f253/?limit=25#0c81" rel="alternate"/><published>2020-02-27T15:15:58.980000Z</published><updated>2020-02-27T15:15:58.980000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.comc78220aa7b7894d7df695f8fd6fb2cb6312848a7</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Kim,&lt;/p&gt;
&lt;p&gt;yes this Fb is the correct SDO FB&lt;/p&gt;
&lt;p&gt;BR&lt;br/&gt;
Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Codesys Control RTE, EoE issues</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/9584b3f253/?limit=25#1468" rel="alternate"/><published>2020-02-27T15:15:57.179000Z</published><updated>2020-02-27T15:15:57.179000Z</updated><author><name>Kim</name><uri>https://forge.codesys.com/u/kim/</uri></author><id>https://forge.codesys.comb857cc23eda1ba154711585c13681019975cc3bc</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Edwin, we're using IoDrvEtherCAT 3.5.7.30.&lt;/p&gt;
&lt;p&gt;Ok, so EoE has higher prio, that's good to know.&lt;/p&gt;
&lt;p&gt;There are no plans of updating to SP8 in the target platform, but I could try SP8 on the PC to see if there's any difference, won't be until next week though.&lt;/p&gt;
&lt;p&gt;Am I using the correct SDO function block?&lt;br/&gt;
Currently using SMC3_ETC_ReadParameter_CoE&lt;/p&gt;
&lt;p&gt;//Kim&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Codesys Control RTE, EoE issues</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/9584b3f253/?limit=25#0e1f" rel="alternate"/><published>2020-02-27T15:15:56.495000Z</published><updated>2020-02-27T15:15:56.495000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com95a75ca0bc0e646a402bf372d50be187a11f0ed3</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Kim,&lt;/p&gt;
&lt;p&gt;ETC_CO_SdoRead4.udiTimeOut := 5000;&lt;br/&gt;
EoE has higher Prio than, SDO communication this is for sure.&lt;/p&gt;
&lt;p&gt;If you have the chance to check EoE with current version would be great.&lt;br/&gt;
Guess there where some improvements. &lt;br/&gt;
Which EthercatDriverversion are in your case in the library manager?&lt;/p&gt;
&lt;p&gt;BR&lt;br/&gt;
Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Codesys Control RTE, EoE issues</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/9584b3f253/?limit=25#9698" rel="alternate"/><published>2020-02-27T15:15:55.772000Z</published><updated>2020-02-27T15:15:55.772000Z</updated><author><name>Kim</name><uri>https://forge.codesys.com/u/kim/</uri></author><id>https://forge.codesys.com5d40ae8319481185acc3d1ca73e36c7e79931c10</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Addendum:&lt;/p&gt;
&lt;p&gt;EoE seems a bit unstable, I hope it's just something I do wrong.&lt;br/&gt;
It seems that as soon as I have SDO-communication going I get errors every now and then.&lt;br/&gt;
Besides timeout, I also see that read fails sometimes with an abortcode.&lt;br/&gt;
uiDriveInterfaceError=1&lt;br/&gt;
strDriveInterfaceError="SDO read error, 2619:00 eError 1 AbortCode 5040001"&lt;br/&gt;
According to internet the meaning of the abortcode is:  "0x05040001 Invalid SDO Command specifier"&lt;br/&gt;
This sounds weird, because to me it sounds like a message has been corrupted or scrambled in some way"&lt;/p&gt;
&lt;p&gt;Sometimes the ping also dies completely displaying Unable to reach host.&lt;br/&gt;
When that happens, the slave device functions properly within Codesys, I/O:s are being updated correctly etc.&lt;br/&gt;
However, in order to get the EoE going again I need to unplug the slave and plug it back in again.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Codesys Control RTE, EoE issues</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/9584b3f253/?limit=25#c50c" rel="alternate"/><published>2020-02-27T15:15:53.925000Z</published><updated>2020-02-27T15:15:53.925000Z</updated><author><name>Kim</name><uri>https://forge.codesys.com/u/kim/</uri></author><id>https://forge.codesys.com1567ceee27c93ee1e5de64659c9c0bcbc5a6e740</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;We have some slave devices supporting EoE and I know they have been tested with EtherCAT masters from Beckhoff &amp;amp; Omron.&lt;br/&gt;
I am now experimenting with this in Codesys RTE v3.5.7.10.&lt;br/&gt;
It seems to work, but I've run into some issues which I hope you might be able to help me with.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Quick information about my IP setup&lt;/strong&gt;&lt;br/&gt;
LAN-port A on PC is used for my test LAN, IP=192.168.1.1, subnet 255.255.255.0&lt;br/&gt;
LAN-port B on PC is used for EtherCAT, IP=192.168.2.1, subnet 255.255.255.0&lt;br/&gt;
Slave device has virtual IP activated in the EoE tab, IP=192.168.2.101, subnet 255.255.255.0, gateway 192.168.2.1&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Question 1&lt;/strong&gt;&lt;br/&gt;
While pinging 192.168.2.101 continuously (command promt, ping 192.168.2.101 /t), I notice that SDO reads within my PLC logical code fails every now and then with the error code SMC_RP_REQUESTING_ERROR. It has never happened before I activated the EoE. I'm using the function block SMC3_ETC_ReadParameter_CoE. According to documentation, the read request was aborted because the drive did not respond within a certain time. I guess the time used is the "SDO Access" timeout in the General tab of the slave device, in my case it's 1000ms.&lt;br/&gt;
Is this really normal? Should I just lower the timeout and implement automatic retries in my code? Maybe another function block for reading SDO:s should be used? Please advice!&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Question 2&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: underline;"&gt;SOLVED, TURNS OUT "IP ROUTING" CAN BE ACTIVATED WITH A REGISTRY SETTING, MORE SPECIFICALLY:&lt;br/&gt;
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters, IPEnableRouter=1&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Any help appreciated, keep up the good work.&lt;/p&gt;
&lt;p&gt;Kim Hansen&lt;br/&gt;
Beijer Electronics Automation AB&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>