<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Register driver in devices ("no driver found")</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/e6fc8e8c0e/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/e6fc8e8c0e/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/e6fc8e8c0e/</id><updated>2020-02-27T14:25:46.909000Z</updated><subtitle>Recent posts to Register driver in devices ("no driver found")</subtitle><entry><title>Register driver in devices ("no driver found")</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/e6fc8e8c0e/?limit=25#7632" rel="alternate"/><published>2020-02-27T14:25:46.909000Z</published><updated>2020-02-27T14:25:46.909000Z</updated><author><name>zahoorahmed</name><uri>https://forge.codesys.com/u/zahoorahmed/</uri></author><id>https://forge.codesys.com0e77dd10c1dbb4d2d58147e7270a89872dc7c884</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Paulj hat geschrieben:&lt;/strong&gt;&lt;br/&gt;
Im writing a IO Driver for Codesys which is supposed to support EtherCAT devices. In my device description I have the following line:&lt;/p&gt;
&lt;/blockquote&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="n"&gt;Connector&lt;/span&gt; &lt;span class="n"&gt;moduleType&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="ss"&gt;"40100"&lt;/span&gt; &lt;span class="n"&gt;interface&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="ss"&gt;"Common.Ethercat"&lt;/span&gt; &lt;span class="k"&gt;role&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="ss"&gt;"parent"&lt;/span&gt; &lt;span class="n"&gt;explicit&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="ss"&gt;"false"&lt;/span&gt; &lt;span class="n"&gt;connectorId&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="ss"&gt;"2"&lt;/span&gt; &lt;span class="n"&gt;hostpath&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="ss"&gt;"1"&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;Which allows me to add EtherCAT devices to my IO Driver.&lt;br/&gt;
But when I run this Program I get an error on each Device which states "No driver found" (stays the same error wether in stop or in running mode).&lt;br/&gt;
I think my problem lies within the regestration of the driver in each device.&lt;br/&gt;
Can someone tell me how to correctly register a driver instance in different devices?&lt;br/&gt;
here is an image showing the structure of my project and the resulting error message:&lt;/p&gt;
&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I have a similar problem. How did you solve this problem?&lt;/p&gt;
&lt;p&gt;Thank you&lt;br/&gt;
Zahoor&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: Bild" rel="nofollow" src="http://i.stack.imgur.com/pA9Kd.png"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Register driver in devices ("no driver found")</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/e6fc8e8c0e/?limit=25#d4ca" rel="alternate"/><published>2020-02-27T14:25:46.457000Z</published><updated>2020-02-27T14:25:46.457000Z</updated><author><name>Paulj</name><uri>https://forge.codesys.com/u/paulj/</uri></author><id>https://forge.codesys.com2c23e18090ceae23240673806d0c8cd734ad942e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Im writing a IO Driver for Codesys which is supposed to support EtherCAT devices. In my device description I have the following line:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="n"&gt;Connector&lt;/span&gt; &lt;span class="n"&gt;moduleType&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="ss"&gt;"40100"&lt;/span&gt; &lt;span class="n"&gt;interface&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="ss"&gt;"Common.Ethercat"&lt;/span&gt; &lt;span class="k"&gt;role&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="ss"&gt;"parent"&lt;/span&gt; &lt;span class="n"&gt;explicit&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="ss"&gt;"false"&lt;/span&gt; &lt;span class="n"&gt;connectorId&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="ss"&gt;"2"&lt;/span&gt; &lt;span class="n"&gt;hostpath&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="ss"&gt;"1"&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;Which allows me to add EtherCAT devices to my IO Driver.&lt;br/&gt;
But when I run this Program I get an error on each Device which states "No driver found" (stays the same error wether in stop or in running mode).&lt;br/&gt;
I think my problem lies within the regestration of the driver in each device.&lt;/p&gt;
&lt;p&gt;Can someone tell me how to correctly register a driver instance in different devices?&lt;/p&gt;
&lt;p&gt;here is an image showing the structure of my project and the resulting error message:&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: Bild" rel="nofollow" src="http://i.stack.imgur.com/pA9Kd.png"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>