<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Multiple USB devices different COMPORTs</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/51a3c2ec4f/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Runtime/thread/51a3c2ec4f/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Runtime/thread/51a3c2ec4f/</id><updated>2020-02-27T17:05:07.284000Z</updated><subtitle>Recent posts to Multiple USB devices different COMPORTs</subtitle><entry><title>Multiple USB devices different COMPORTs</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/51a3c2ec4f/?limit=25#f2cc" rel="alternate"/><published>2020-02-27T17:05:07.284000Z</published><updated>2020-02-27T17:05:07.284000Z</updated><author><name>pdoubleu</name><uri>https://forge.codesys.com/u/pdoubleu/</uri></author><id>https://forge.codesys.comd1e370d5ddd3c2a4a1f197600f2ec33e70e1a840</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thanks, that totally answers my question and works also!&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Multiple USB devices different COMPORTs</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/51a3c2ec4f/?limit=25#8a08" rel="alternate"/><published>2020-02-27T17:05:06.249000Z</published><updated>2020-02-27T17:05:06.249000Z</updated><author><name>Moderator3S</name><uri>https://forge.codesys.com/u/moderator3s/</uri></author><id>https://forge.codesys.com11b06002081dde3028e07c1f47cc7f7da2e1f9ea</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Todd,&lt;br/&gt;
thank you for sharing this:&lt;br/&gt;
 l &lt;a class="" href="https://forum.codesys.com/viewtopic.php?f=21&amp;amp;t=5699&amp;amp;start=90&amp;amp;p=24170&amp;amp;lan=en" rel="nofollow"&gt;viewtopic.php?f=21&amp;amp;t=5699&amp;amp;start=90#p24170&lt;/a&gt; l &lt;/p&gt;
&lt;p&gt;We will add this to the Raspberry PI Application section too. ( Just as information how to do it)&lt;br/&gt;
Moderator&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Multiple USB devices different COMPORTs</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/51a3c2ec4f/?limit=25#1a98" rel="alternate"/><published>2020-02-27T17:05:03.598000Z</published><updated>2020-02-27T17:05:03.598000Z</updated><author><name>tsimpson</name><uri>https://forge.codesys.com/u/tsimpson/</uri></author><id>https://forge.codesys.com10ba14f83d77eb530a7b7ed8d3a4311e337b086a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Also take a look at the reply I gave yesterday to how to "connect serial devices" thread. I encountered the same thing and think I found and documented a solution yesterday.&lt;/p&gt;
&lt;p&gt;Cheers,&lt;br/&gt;
Todd&lt;/p&gt;
&lt;p&gt;Note: to moderator: Maybe, seeing this, the reply I wrote would be better put here.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Multiple USB devices different COMPORTs</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/51a3c2ec4f/?limit=25#655a" rel="alternate"/><published>2020-02-27T17:05:02.635000Z</published><updated>2020-02-27T17:05:02.635000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.comc44f8a575fb68f2eabbe747137d468bf9791104a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;hm if you have added ttyUSB in the config file you could access&lt;br/&gt;
the serial com's in CODESYS&lt;br/&gt;
Com1,Com2,Com3... that is the way it works.&lt;br/&gt;
Maybe I do no really understand it, please explain .&lt;/p&gt;
&lt;p&gt;BR&lt;br/&gt;
Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Multiple USB devices different COMPORTs</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/51a3c2ec4f/?limit=25#eec9" rel="alternate"/><published>2020-02-27T17:05:00.005000Z</published><updated>2020-02-27T17:05:00.005000Z</updated><author><name>pdoubleu</name><uri>https://forge.codesys.com/u/pdoubleu/</uri></author><id>https://forge.codesys.comac1c116731ef931a632ad2e425b9baff266edc89</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi everyone,&lt;/p&gt;
&lt;p&gt;Unfortunately I havent found anything regarding my question using the search function.&lt;/p&gt;
&lt;p&gt;Here is my question:&lt;/p&gt;
&lt;p&gt;I want to connect 4 serial devices to the 4 USB ports on Raspi. All 4 devices are exactely the same (Roboclaw motor controller).&lt;br/&gt;
Using udev rules I am able to give all of them reproducable names, even if I disconnect and reconnect them, so thats all fine.&lt;/p&gt;
&lt;p&gt;To use the serial USB in codesys I know that I need to add the following lines to CODESYSControl_User.cfg:&lt;/p&gt;
&lt;p&gt;&lt;span&gt;[SysCom]&lt;/span&gt;&lt;br/&gt;
Linux.Devicefile=/dev/ttyUSB&lt;br/&gt;
portnum:=COM.SysCom.SYS_COMPORT1&lt;/p&gt;
&lt;p&gt;After this I am able to control the devices vial the CAA serial library.&lt;/p&gt;
&lt;p&gt;My question is now if there is a way to assign each Motorcontroller to a specific comport, so that I can decide which motorcontroller to "speak" without sending every command to each motor?&lt;/p&gt;
&lt;p&gt;Thank for any help!&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>