<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to CODESYS RPI2 and serial communication</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/1efdf02c3c/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Runtime/thread/1efdf02c3c/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Runtime/thread/1efdf02c3c/</id><updated>2020-02-27T16:01:36.832000Z</updated><subtitle>Recent posts to CODESYS RPI2 and serial communication</subtitle><entry><title>CODESYS RPI2 and serial communication</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/1efdf02c3c/?limit=25#d15d" rel="alternate"/><published>2020-02-27T16:01:36.832000Z</published><updated>2020-02-27T16:01:36.832000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com89273246d8f5dd58323760c6945bae4888e4b409</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
guess the proper solution is to add it by udev rules&lt;br/&gt;
would recommen to google for it.&lt;br/&gt;
If you add a symbloc link sure you need to add after rebooting the system..&lt;br/&gt;
BR&lt;br/&gt;
Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CODESYS RPI2 and serial communication</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/1efdf02c3c/?limit=25#a79a" rel="alternate"/><published>2020-02-27T16:01:36.050000Z</published><updated>2020-02-27T16:01:36.050000Z</updated><author><name>Damian7546</name><uri>https://forge.codesys.com/u/damian7546/</uri></author><id>https://forge.codesys.comb64d7ba6a7dff4661913d62f39b06e419be134fd</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I used command:&lt;/p&gt;
&lt;p&gt;sudo ln -s devttyACM0 devttyAMA1&lt;/p&gt;
&lt;p&gt;and it is works,  but after reboot AMA1 disapear, what is wrong ?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CODESYS RPI2 and serial communication</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/1efdf02c3c/?limit=25#76e3" rel="alternate"/><published>2020-02-27T16:01:33.855000Z</published><updated>2020-02-27T16:01:33.855000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com9405fc2102856a5a02b8383c26606330ffa313ea</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
this does not work that way.&lt;/p&gt;
&lt;p&gt;use only this&lt;br/&gt;
&lt;strong&gt;&lt;span&gt;&lt;span&gt;[SysCom]&lt;/span&gt;&lt;/span&gt;Linux.Devicefile=/dev/ttyAMA&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;and set a symlink in Linux for&lt;br/&gt;
/dev/ttyACM0 -&amp;gt; =/dev/ttyAMA1&lt;/p&gt;
&lt;p&gt;BR&lt;br/&gt;
Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CODESYS RPI2 and serial communication</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/1efdf02c3c/?limit=25#7abd" rel="alternate"/><published>2020-02-27T16:01:33.055000Z</published><updated>2020-02-27T16:01:33.055000Z</updated><author><name>Damian7546</name><uri>https://forge.codesys.com/u/damian7546/</uri></author><id>https://forge.codesys.come03f076206a0566dc349dc9aeace3819a2b977ee</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I have a problem with serial communication.&lt;br/&gt;
My CODESYSControl.cfg file is:&lt;/p&gt;
&lt;p&gt;&lt;span&gt;[SysCom]&lt;/span&gt;&lt;br/&gt;
Linux.Devicefile=/dev/ttyAMA&lt;br/&gt;
portnum := COM.SysCom.SYS_COMPORT1;&lt;br/&gt;
Linux.Devicefile=/dev/ttyACM&lt;br/&gt;
portnum := COM.SysCom.SYS_COMPORT2;&lt;/p&gt;
&lt;p&gt;On port 1 everythink is ok. It is work, but I have problem with port2.&lt;br/&gt;
I can't even open this port.&lt;br/&gt;
Example on screenshot in attachment.&lt;br/&gt;
Where is the problem ?&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: zdj1.jpg" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=3232"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>