<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Codesys control for linux, EL6751 CanOpen gateway not receiving</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/e00cf4a94e/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Runtime/thread/e00cf4a94e/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Runtime/thread/e00cf4a94e/</id><updated>2020-02-27T15:14:05.219000Z</updated><subtitle>Recent posts to Codesys control for linux, EL6751 CanOpen gateway not receiving</subtitle><entry><title>Codesys control for linux, EL6751 CanOpen gateway not receiving</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/e00cf4a94e/?limit=25#7729" rel="alternate"/><published>2020-02-27T15:14:05.219000Z</published><updated>2020-02-27T15:14:05.219000Z</updated><author><name>Anonymous</name><uri>https://forge.codesys.com/u/*anonymous/</uri></author><id>https://forge.codesys.coma49f04c12ec67fa86bdcc94aaa0cad1fa9d189f4</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;em&gt;Originally created by:&lt;/em&gt; sbrauns@moog.com&lt;/p&gt;
&lt;p&gt;Hi Edwin,&lt;/p&gt;
&lt;p&gt;So I am still getting a write error.&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;1558005963, 0x00001001, 2, 0, 7, &lt;span class="nt"&gt;&amp;lt;NetID&amp;gt;&lt;/span&gt;0&lt;span class="nt"&gt;&amp;lt;/NetID&amp;gt;&lt;/span&gt;
1558005963, 0x00001001, 2, 0, 9, &lt;span class="nt"&gt;&amp;lt;NetID&amp;gt;&lt;/span&gt;0&lt;span class="nt"&gt;&amp;lt;/NetID&amp;gt;&amp;lt;Busstate&amp;gt;&lt;/span&gt;UNKNOWN&lt;span class="nt"&gt;&amp;lt;/Busstate&amp;gt;&lt;/span&gt;
1558005963, 0x00001001, 1, 0, 68, &lt;span class="nt"&gt;&amp;lt;NetID&amp;gt;&lt;/span&gt;0&lt;span class="nt"&gt;&amp;lt;/NetID&amp;gt;&lt;/span&gt;
1558005963, 0x00001001, 1, 0, 69, &lt;span class="nt"&gt;&amp;lt;NetID&amp;gt;&lt;/span&gt;0&lt;span class="nt"&gt;&amp;lt;/NetID&amp;gt;&lt;/span&gt;
1558005963, 0x00001005, 1, 0, 0, Networkadapter opened
1558005963, 0x00001005, 1, 0, 0, Preparation successfull
1558005963, 0x00001005, 1, 0, 0, Read slave informations
1558005963, 0x00001005, 1, 0, 0, Set physical addresses
1558005963, 0x00001005, 1, 0, 0, All slaves init mode
1558005963, 0x00001005, 1, 0, 0, prepare slaves
1558005963, 0x00001005, 1, 0, 0, All slaves pre-operational
1558005963, 0x00001005, 1, 0, 0, Configure distributed clock settings
1558005963, 0x00001005, 1, 0, 0, Synchronize Slaves
1558005963, 0x00001005, 1, 0, 0, Set safe operational
1558005963, 0x00001005, 4, 0, 0, SDO write error Address: 1002 Index: 16#8001 SubIndex: 0 Result: 16#06020000
1558005963, 0x00001005, 1, 0, 0, SDO write ok: Address: 1002 Index: 16#F800 SubIndex: 0 Result: 16#00
1558005963, 0x00001005, 1, 0, 0, SDO write ok: Address: 1002 Index: 16#8000 SubIndex: 0 Result: 16#00
1558005963, 0x00001005, 1, 0, 0, All slaves safe-operational
1558005963, 0x00001005, 1, 0, 0, Set operational mode
1558005963, 0x00001005, 1, 0, 0, All slaves operational
1558005963, 0x00001005, 1, 0, 0, Startup finished: All slaves in operational !
1558005963, 0x00001001, 1, 0, 38, &lt;span class="nt"&gt;&amp;lt;NetID&amp;gt;&lt;/span&gt;0&lt;span class="nt"&gt;&amp;lt;/NetID&amp;gt;&lt;/span&gt;
1558005967, 0x00001001, 2, 0, 9, &lt;span class="nt"&gt;&amp;lt;NetID&amp;gt;&lt;/span&gt;0&lt;span class="nt"&gt;&amp;lt;/NetID&amp;gt;&amp;lt;Busstate&amp;gt;&lt;/span&gt;PASSIVE&lt;span class="nt"&gt;&amp;lt;/Busstate&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;Do you have any idea?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Sander&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Codesys control for linux, EL6751 CanOpen gateway not receiving</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/e00cf4a94e/?limit=25#572c" rel="alternate"/><published>2020-02-27T15:14:04.580000Z</published><updated>2020-02-27T15:14:04.580000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com0f0e0d6b4ed466fa60dbedfc01bf68d9537fa092</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Sander,&lt;/p&gt;
&lt;p&gt;sorry yes, here is an image needed to understand how this works.&lt;/p&gt;
&lt;p&gt;BR&lt;br/&gt;
Edwin&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: RXFilter.png" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=4656"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Codesys control for linux, EL6751 CanOpen gateway not receiving</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/e00cf4a94e/?limit=25#634d" rel="alternate"/><published>2020-02-27T15:14:02.743000Z</published><updated>2020-02-27T15:14:02.743000Z</updated><author><name>Anonymous</name><uri>https://forge.codesys.com/u/*anonymous/</uri></author><id>https://forge.codesys.com6f3fc24276004e09ffbef4e03b79c0f4d2c0ee96</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;em&gt;Originally created by:&lt;/em&gt; sbrauns@moog.com&lt;/p&gt;
&lt;p&gt;Hi Edwin,&lt;/p&gt;
&lt;p&gt;Thank you for your reply. But I am relative new to codesys. &lt;br/&gt;
So I am not sure how to do this. I assume this can added to the EL6751 device startup parameters.&lt;br/&gt;
So I added a new SDO like in the picture:&lt;/p&gt;
&lt;p&gt;But I think I am not doing this correctly:&lt;/p&gt;
&lt;p&gt;From the log I am getting error during writing of the 8001:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;1557946548, 0x00001001, 2, 0, 9, &lt;span class="nt"&gt;&amp;lt;NetID&amp;gt;&lt;/span&gt;0&lt;span class="nt"&gt;&amp;lt;/NetID&amp;gt;&amp;lt;Busstate&amp;gt;&lt;/span&gt;UNKNOWN&lt;span class="nt"&gt;&amp;lt;/Busstate&amp;gt;&lt;/span&gt;
1557946548, 0x00001001, 1, 0, 68, &lt;span class="nt"&gt;&amp;lt;NetID&amp;gt;&lt;/span&gt;0&lt;span class="nt"&gt;&amp;lt;/NetID&amp;gt;&lt;/span&gt;
1557946548, 0x00001001, 1, 0, 69, &lt;span class="nt"&gt;&amp;lt;NetID&amp;gt;&lt;/span&gt;0&lt;span class="nt"&gt;&amp;lt;/NetID&amp;gt;&lt;/span&gt;
1557946548, 0x00001005, 1, 0, 0, Networkadapter opened
1557946548, 0x00001005, 1, 0, 0, Preparation successfull
1557946548, 0x00001005, 1, 0, 0, Read slave informations
1557946549, 0x00001005, 1, 0, 0, Set physical addresses
1557946549, 0x00001005, 1, 0, 0, All slaves init mode
1557946549, 0x00001005, 1, 0, 0, prepare slaves
1557946549, 0x00001005, 1, 0, 0, All slaves pre-operational
1557946549, 0x00001005, 1, 0, 0, Configure distributed clock settings
1557946549, 0x00001005, 1, 0, 0, Synchronize Slaves
1557946549, 0x00001005, 1, 0, 0, Set safe operational
1557946549, 0x00001005, 4, 0, 0, SDO write error Address: 1002 Index: 16#8001 SubIndex: 0 Result: 16#06020000
1557946549, 0x00001005, 1, 0, 0, SDO write ok: Address: 1002 Index: 16#F800 SubIndex: 0 Result: 16#00
1557946549, 0x00001005, 1, 0, 0, SDO write ok: Address: 1002 Index: 16#8000 SubIndex: 0 Result: 16#00
1557946549, 0x00001005, 1, 0, 0, All slaves safe-operational
1557946549, 0x00001005, 1, 0, 0, Set operational mode
1557946549, 0x00001005, 1, 0, 0, All slaves operational
1557946549, 0x00001005, 1, 0, 0, Startup finished: All slaves in operational !
1557946549, 0x00001001, 1, 0, 38, &lt;span class="nt"&gt;&amp;lt;NetID&amp;gt;&lt;/span&gt;0&lt;span class="nt"&gt;&amp;lt;/NetID&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;Any advise on how to do this.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;br/&gt;
Sander&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: sdo_startup_parameter.PNG" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=4655"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Codesys control for linux, EL6751 CanOpen gateway not receiving</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/e00cf4a94e/?limit=25#bf68" rel="alternate"/><published>2020-02-27T15:14:02.111000Z</published><updated>2020-02-27T15:14:02.111000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com889a7471a242a3b53a3314bf35cf52566638ab69</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Sander,&lt;/p&gt;
&lt;p&gt;the problem is:&lt;/p&gt;
&lt;p&gt;EL6731 has a new Firmware and we will adapt this to 3.5SP15 release.&lt;/p&gt;
&lt;p&gt;The Workaround is:&lt;br/&gt;
Description:&lt;br/&gt;
Newer EL6751 firmware versions do not work (e.g. Rev.Nr. &amp;gt;= 0022).&lt;br/&gt;
Driver does not receive CAN messages.&lt;br/&gt;
New firmware version &amp;gt;= 17 need an additional CoE parameter with index 0x8001.&lt;br/&gt;
From Beckhoff documentation:&lt;/p&gt;
&lt;p&gt;Index 8001 CAN Rx filter table&lt;br/&gt;
From firmware 17 of the EL6751, parameter 0x8001 must be written with valid values.&lt;br/&gt;
If all data are to be written into the CAN interface, the following must be entered:&lt;br/&gt;
For 11 bit and 29 bit identifiers:&lt;br/&gt;
0x8001: 01 00 00 00 00 00 00 FF FF FF 1F&lt;br/&gt;
For 11 bit identifiers&lt;br/&gt;
0x8001: 01 00 00 00 00 00 00 00 FF 07 00 00 &lt;/p&gt;
&lt;p&gt;BR&lt;br/&gt;
Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Codesys control for linux, EL6751 CanOpen gateway not receiving</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/e00cf4a94e/?limit=25#e86d" rel="alternate"/><published>2020-02-27T15:14:01.479000Z</published><updated>2020-02-27T15:14:01.479000Z</updated><author><name>Anonymous</name><uri>https://forge.codesys.com/u/*anonymous/</uri></author><id>https://forge.codesys.come1a524969705360ffe97773282c3c84316edc4ae</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;em&gt;Originally created by:&lt;/em&gt; sbrauns@moog.com&lt;/p&gt;
&lt;p&gt;Hi Edwin,&lt;/p&gt;
&lt;p&gt;Thank you for you reply. &lt;br/&gt;
I have attached the codesyscontrol.log with the compile switch set and the output of the can listing device.&lt;br/&gt;
Hope this helps.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Sander&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="https://forum.codesys.com//download/file.php?id=4654" rel="nofollow"&gt;Codesys Debug.zip &lt;span&gt;&lt;span&gt;[6.69 KiB]&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Codesys control for linux, EL6751 CanOpen gateway not receiving</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/e00cf4a94e/?limit=25#6d50" rel="alternate"/><published>2020-02-27T15:13:59.597000Z</published><updated>2020-02-27T15:13:59.597000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com8a868776d5e60dd271b6a90917866e511c7c4365</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
could you set CANOPEN_DEBUG as compiler define and send the plclogger then..?&lt;br/&gt;
BR&lt;br/&gt;
Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Codesys control for linux, EL6751 CanOpen gateway not receiving</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/e00cf4a94e/?limit=25#f23a" rel="alternate"/><published>2020-02-27T15:13:58.889000Z</published><updated>2020-02-27T15:13:58.889000Z</updated><author><name>Anonymous</name><uri>https://forge.codesys.com/u/*anonymous/</uri></author><id>https://forge.codesys.com8fd9461887455ac9f7c832a1a40ea637cb416d43</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;em&gt;Originally created by:&lt;/em&gt; sbrauns@moog.com&lt;/p&gt;
&lt;p&gt;Hi All,&lt;/p&gt;
&lt;p&gt;I have connected an an EL6751 CANopen Master to an CANopen slave device. &lt;/p&gt;
&lt;p&gt;But I keep getting the error.&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="nv"&gt;NetID&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;, &lt;span class="nv"&gt;NodeID&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;: &lt;span class="nv"&gt;SDO&lt;/span&gt; &lt;span class="nv"&gt;Read&lt;/span&gt; &lt;span class="nb"&gt;Timeout&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="nv"&gt;object&lt;/span&gt; &lt;span class="mi"&gt;16&lt;/span&gt;&lt;span class="sc"&gt;#1000&lt;/span&gt;&lt;span class="nv"&gt;sub16&lt;/span&gt;&lt;span class="sc"&gt;#00&lt;/span&gt;&lt;span class="c1"&gt;; AbortCode: 16#05040000&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;If I connect a can tap I can see the outgoing message from the CANopen master and I also see the reply from the Slave device.&lt;br/&gt;
But for some reason Codesys keeps retrying and doesn't see the reply message from the slave.&lt;br/&gt;
What am I doing wrong?&lt;/p&gt;
&lt;p&gt;Here is the output of the CAN tap:&lt;/p&gt;
&lt;p&gt;Any help would be appreciated.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;br/&gt;
Sander&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: Codesys_ethercat_overview.PNG" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=4647"/&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: CANsniffer_output.PNG" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=4646"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>