<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to CanOpen Manager problems</title><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/7f492de12c/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/7f492de12c/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/CODESYS-V2/thread/7f492de12c/</id><updated>2020-02-27T18:54:37.781000Z</updated><subtitle>Recent posts to CanOpen Manager problems</subtitle><entry><title>CanOpen Manager problems</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/7f492de12c/?limit=25#6916" rel="alternate"/><published>2020-02-27T18:54:37.781000Z</published><updated>2020-02-27T18:54:37.781000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com15d8977083d0b85c23d9a17a104c3086a29d68c3</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
this is part of the runtime toolkit delivery which the plc manufacturer get on purchsing the runtime.&lt;/p&gt;
&lt;p&gt;BR&lt;br/&gt;
Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CanOpen Manager problems</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/7f492de12c/?limit=25#28c8" rel="alternate"/><published>2020-02-27T18:54:34.486000Z</published><updated>2020-02-27T18:54:34.486000Z</updated><author><name>hence.persson</name><uri>https://forge.codesys.com/u/hence-persson/</uri></author><id>https://forge.codesys.com115eb815b4d7534c8f084652940f0b5cf87413f6</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;strong&gt;guess this is still a plc problem, which plc is it. (Manufacturer?) &lt;/strong&gt;&lt;br/&gt;
Yup, IFM. (Se bottom of first post for exact model). But we are now testing with another brand.&lt;br/&gt;
The only errors I have when watching with CANOPEN_DEBUG is due to erroneous EDS files.&lt;br/&gt;
Objects that doesnt exist and such. But that I already knew and have jumps to next line in the SDO configuration. &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;You need to check with the so called CAN mini Driver conformance test.&lt;/strong&gt;&lt;br/&gt;
For future reference what is this where can i find more info?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CanOpen Manager problems</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/7f492de12c/?limit=25#a9d7" rel="alternate"/><published>2020-02-27T18:54:33.300000Z</published><updated>2020-02-27T18:54:33.300000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.comd54be8d8280e83248f519703f057fefd33ffd020</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
guess this is still a plc problem, which plc is it. (Manufacturer?)&lt;br/&gt;
You need to check with the so called CAN mini Driver conformance test.&lt;br/&gt;
BR&lt;br/&gt;
Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CanOpen Manager problems</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/7f492de12c/?limit=25#9fe5" rel="alternate"/><published>2020-02-27T18:54:30.012000Z</published><updated>2020-02-27T18:54:30.012000Z</updated><author><name>hence.persson</name><uri>https://forge.codesys.com/u/hence-persson/</uri></author><id>https://forge.codesys.com3cacacf4d46dfac910c34b77ad2fbe71491acd3e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The earlier problems has been resolved by a firmware update of the PLC.&lt;/p&gt;
&lt;p&gt;BUT....&lt;/p&gt;
&lt;p&gt;I have more CanOpen problems.. The CanOpen manager goes offline sometimes and restarts so if it werent for that I have a remote controller with emergency stop I maybe wouldnt notice this.&lt;/p&gt;
&lt;p&gt;Have tried to add CANOPEN_DEBUG to the compiler define.. Every time i have tried that the PLC has crashed.&lt;/p&gt;
&lt;p&gt;The bus is set at 500kb/s.&lt;br/&gt;
Monitoring with Kvaser CanKing software shows me no error frames (Other than a large bunch when I turn the power on but then it stops.) and a bus load of ~12%&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CanOpen Manager problems</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/7f492de12c/?limit=25#0dc7" rel="alternate"/><published>2020-02-27T18:54:28.813000Z</published><updated>2020-02-27T18:54:28.813000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com83f4d7aa670c16995ebe0365cab3a441c8ef68d9</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
Add CANOPEN_DEBUG as compiler define... then check the plc logger for more details &lt;br/&gt;
BR&lt;br/&gt;
Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CanOpen Manager problems</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/7f492de12c/?limit=25#0abc" rel="alternate"/><published>2020-02-27T18:54:25.517000Z</published><updated>2020-02-27T18:54:25.517000Z</updated><author><name>hence.persson</name><uri>https://forge.codesys.com/u/hence-persson/</uri></author><id>https://forge.codesys.com820cc8fa60c96decbdd8eec9575555462bf2a609</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello all.&lt;/p&gt;
&lt;p&gt;My costumer wanted me to test the CanOpen bus for stability.&lt;/p&gt;
&lt;p&gt;The tests for loose connections and the ability for the CanOpen Bus to recover from that failed..&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Problem 1.&lt;/strong&gt;&lt;br/&gt;
If i try to plug unplug a contact for a Device sometimes the Manager Hangs..&lt;br/&gt;
CanOpen manager is green, Node is red, When i monitor the bus the node sometimes is in operational sometimes in pre operational and sending heartbeats. If i try to send NMT Operational no message goes to the bus. Only way to recover is to cut the power to the PLC and reboot.&lt;/p&gt;
&lt;p&gt;After much testing I found a way to make this problem go away.. I configured all my nodes and saved the configuration in the node. I chose the CanOpen manager not to initialize the nodes and instead wrote some code to check if any of my nodes is either stopped or preop and if they were I started them.&lt;/p&gt;
&lt;p&gt;As this worked i think there is a bug hidden in the CanOpen manager code so it can become stuck in some state.. &lt;strong&gt;Is there any possibility to reset the CanOpen manager from code?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span&gt;&lt;span&gt;[b]&lt;/span&gt;&lt;/span&gt;Problem 2.&lt;/strong&gt;&lt;span&gt;[/b]&lt;/span&gt;&lt;br/&gt;
If we remove the CanOpen GND the same behaivior as above still comes and i need to restart the PLC.. Kernel state is No error or guarding error. The nodes is sending heartbeats but the manager cannot send anything to the bus..&lt;/p&gt;
&lt;p&gt;I am using Codesys V3.5 SP10 Patch 1&lt;br/&gt;
The PLC is a brand new IFM Mobile Controller CR0720.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>