<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to SysComRead Problem</title><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/4100e79c90/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/4100e79c90/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/CODESYS-V2/thread/4100e79c90/</id><updated>2020-02-27T23:00:31.652000Z</updated><subtitle>Recent posts to SysComRead Problem</subtitle><entry><title>SysComRead Problem</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/4100e79c90/?limit=25#f519" rel="alternate"/><published>2020-02-27T23:00:31.652000Z</published><updated>2020-02-27T23:00:31.652000Z</updated><author><name>ndzied1</name><uri>https://forge.codesys.com/u/ndzied1/</uri></author><id>https://forge.codesys.comf791ae8cb18010f51a4e9bbc0391a93e2066a236</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I wanted to follow up on this one.&lt;/p&gt;
&lt;p&gt;What we found was that the syscom read did not work when called inside an action.  We moved it to the main body of the main POU and it functions fine.  This would appear to be a bug but it is working for us now so we're ok.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>SysComRead Problem</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/4100e79c90/?limit=25#e55a" rel="alternate"/><published>2020-02-27T23:00:27.141000Z</published><updated>2020-02-27T23:00:27.141000Z</updated><author><name>sarathbabu</name><uri>https://forge.codesys.com/u/sarathbabu/</uri></author><id>https://forge.codesys.com20331e46fc57f00a871173194c0343a6c7bc8aa4</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;No I have not used Eaton PLC. The target settings in the program is  changed to PLC winNT for testing.&lt;/p&gt;
&lt;p&gt;Can u send your program of how you did for com write.&lt;/p&gt;
&lt;p&gt;Thanks&lt;br/&gt;
sarath &lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>SysComRead Problem</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/4100e79c90/?limit=25#aa25" rel="alternate"/><published>2020-02-27T23:00:25.533000Z</published><updated>2020-02-27T23:00:25.533000Z</updated><author><name>ndzied1</name><uri>https://forge.codesys.com/u/ndzied1/</uri></author><id>https://forge.codesys.com14f280f48bc2243ecbfe58af392542cc1afc8bd6</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thanks for the sample.  We'll try it out.  I didn't get any target information when I opened the file.  Have you used this on an Eaton/Moeller XC201 PLC?&lt;/p&gt;
&lt;p&gt;We are writing with the SysComWrite function from the library SysLibCom.lib 27.8.10 15:11:00&lt;/p&gt;
&lt;p&gt;Norm&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>SysComRead Problem</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/4100e79c90/?limit=25#ccb3" rel="alternate"/><published>2020-02-27T23:00:21.004000Z</published><updated>2020-02-27T23:00:21.004000Z</updated><author><name>sarathbabu</name><uri>https://forge.codesys.com/u/sarathbabu/</uri></author><id>https://forge.codesys.com5da732fa22add72fe9c39cb3057b74d39c4d7bb2</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="nv"&gt;Please&lt;/span&gt; &lt;span class="nv"&gt;find&lt;/span&gt; &lt;span class="nv"&gt;the&lt;/span&gt; &lt;span class="nv"&gt;attached&lt;/span&gt; &lt;span class="nv"&gt;program&lt;/span&gt; &lt;span class="nv"&gt;and&lt;/span&gt; &lt;span class="nv"&gt;i&lt;/span&gt; &lt;span class="nv"&gt;would&lt;/span&gt; &lt;span class="nv"&gt;like&lt;/span&gt; &lt;span class="nv"&gt;to&lt;/span&gt; &lt;span class="nv"&gt;know&lt;/span&gt; &lt;span class="nv"&gt;how&lt;/span&gt; &lt;span class="nv"&gt;u&lt;/span&gt; &lt;span class="nv"&gt;did&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="nv"&gt;com&lt;/span&gt; &lt;span class="nv"&gt;write&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;Thanks&lt;br/&gt;
Sarath&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="https://forum.codesys.com//download/file.php?id=384" rel="nofollow"&gt;serial.pro &lt;span&gt;&lt;span&gt;[36.87 KiB]&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>SysComRead Problem</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/4100e79c90/?limit=25#84e2" rel="alternate"/><published>2020-02-27T23:00:19.402000Z</published><updated>2020-02-27T23:00:19.402000Z</updated><author><name>ndzied1</name><uri>https://forge.codesys.com/u/ndzied1/</uri></author><id>https://forge.codesys.com49f636bc4d63e3418558d587292cfb2bed217ae8</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Bump?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>SysComRead Problem</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/4100e79c90/?limit=25#25eb" rel="alternate"/><published>2020-02-27T23:00:14.871000Z</published><updated>2020-02-27T23:00:14.871000Z</updated><author><name>ndzied1</name><uri>https://forge.codesys.com/u/ndzied1/</uri></author><id>https://forge.codesys.comc18756054dce114e9aea643acb48ecb9218c2abd</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;We are trying to read in a string on the COM1 port of an Eaton / Moeller XC201 PLC.&lt;br/&gt;
We can use the syscomwrite function and see the data the PLC is writing out the COM port so we are confident that we have the port set up properly.&lt;/p&gt;
&lt;p&gt;There are a couple of questions that we don't know the answers to;&lt;/p&gt;
&lt;p&gt;Should we call the syscomread function continuously or just once?&lt;br/&gt;
What should be put in the setup function for the buffer size?&lt;br/&gt;
What should we use for the timeout?&lt;/p&gt;
&lt;p&gt;If anyone has an example it would be very much appreciated.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>