<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to CSV Files Creation</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/04d90fb2a8/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/04d90fb2a8/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/04d90fb2a8/</id><updated>2020-02-27T13:56:01.006000Z</updated><subtitle>Recent posts to CSV Files Creation</subtitle><entry><title>CSV Files Creation</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/04d90fb2a8/?limit=25#598b" rel="alternate"/><published>2020-02-27T13:56:01.006000Z</published><updated>2020-02-27T13:56:01.006000Z</updated><author><name>shouryapendyala</name><uri>https://forge.codesys.com/u/shouryapendyala/</uri></author><id>https://forge.codesys.com3519bb078443baacaf6ffeb8c3783c5760aead7c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;learnetk&lt;/p&gt;
&lt;p&gt;Thank you. I really appreciate your prompt response. I tested it out and works great.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CSV Files Creation</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/04d90fb2a8/?limit=25#9021" rel="alternate"/><published>2020-02-27T13:56:00.248000Z</published><updated>2020-02-27T13:56:00.248000Z</updated><author><name>learnetk</name><uri>https://forge.codesys.com/u/learnetk/</uri></author><id>https://forge.codesys.comf1539a15b2d5820de72a213d4193d21f0de8bdd9</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Actually the file created is a stream of ASCII chars. You could convert the real to string and write.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CSV Files Creation</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/04d90fb2a8/?limit=25#367c" rel="alternate"/><published>2020-02-27T13:56:00.046000Z</published><updated>2020-02-27T13:56:00.046000Z</updated><author><name>shouryapendyala</name><uri>https://forge.codesys.com/u/shouryapendyala/</uri></author><id>https://forge.codesys.com853a7bc0cb81961c44fe8324ba374df821df169e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Does this work for variables of all datatypes or just Strings? I tried doing it with REAL datatypes, read and write works fine, but I cannot see the data when I open the text file (.txt). Is there a work around?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CSV Files Creation</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/04d90fb2a8/?limit=25#70da" rel="alternate"/><published>2020-02-27T13:55:59.848000Z</published><updated>2020-02-27T13:55:59.848000Z</updated><author><name>learnetk</name><uri>https://forge.codesys.com/u/learnetk/</uri></author><id>https://forge.codesys.com28e2a016f3bf1a827f7cfbdae1ecd20c1b705034</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;See the help files they have good example..pic attached&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: Example CAA File.PNG" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=1408"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CSV Files Creation</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/04d90fb2a8/?limit=25#10a7" rel="alternate"/><published>2020-02-27T13:55:59.650000Z</published><updated>2020-02-27T13:55:59.650000Z</updated><author><name>shouryapendyala</name><uri>https://forge.codesys.com/u/shouryapendyala/</uri></author><id>https://forge.codesys.com986b04e6b6e3f55a5e4579d1da705b752509970a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Can someone please send me a sample code for implementing read/write/open/close .txt or .csv or .bin files. I tried implementing it, but could not read the .txt and .csv files at all.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CSV Files Creation</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/04d90fb2a8/?limit=25#fcac" rel="alternate"/><published>2020-02-27T13:55:59.006000Z</published><updated>2020-02-27T13:55:59.006000Z</updated><author><name>lmendez</name><uri>https://forge.codesys.com/u/lmendez/</uri></author><id>https://forge.codesys.comd3660596488eda061a225ea74b8d84fb26a28d10</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thanks again TimvH,&lt;/p&gt;
&lt;p&gt;I believe that will work.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CSV Files Creation</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/04d90fb2a8/?limit=25#4d1f" rel="alternate"/><published>2020-02-27T13:55:58.771000Z</published><updated>2020-02-27T13:55:58.771000Z</updated><author><name>timvh</name><uri>https://forge.codesys.com/u/timvh/</uri></author><id>https://forge.codesys.comcbbff6b5d9bf9a3701434e1536eb9e554226ce7b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;You can use the function CONCAT for this:&lt;br/&gt;
String_Chain := CONCAT(String1, ',');&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CSV Files Creation</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/04d90fb2a8/?limit=25#6b65" rel="alternate"/><published>2020-02-27T13:55:58.526000Z</published><updated>2020-02-27T13:55:58.526000Z</updated><author><name>lmendez</name><uri>https://forge.codesys.com/u/lmendez/</uri></author><id>https://forge.codesys.com829e6c6fe67135fa8cf42b310cad55995c7b6d6b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thanks TimvH,&lt;/p&gt;
&lt;p&gt;The File-Utilities example did help a lot, but now I do not seem to find the right source of information to properly structure the CoDeSys expression that allows "linking" strings separated by commas. I have unsuccessfully attempted different variations to the Pascal expression:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;  &lt;span class="n"&gt;String_Chain&lt;/span&gt; &lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;String_1&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="s1"&gt;' , '&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;String_2&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="s1"&gt;' , '&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;String_3&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;where all the variables are declared as strings.&lt;/p&gt;
&lt;p&gt;Any additional suggestion will be appreciated.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CSV Files Creation</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/04d90fb2a8/?limit=25#34c8" rel="alternate"/><published>2020-02-27T13:55:58.276000Z</published><updated>2020-02-27T13:55:58.276000Z</updated><author><name>timvh</name><uri>https://forge.codesys.com/u/timvh/</uri></author><id>https://forge.codesys.com00f82f501e2e3c7ee85f897299f5285fac6b8c5b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;a class="" href="http://store.codesys.com/file-utilities.html" rel="nofollow"&gt;http://store.codesys.com/file-utilities.html&lt;/a&gt;&lt;br/&gt;
OR&lt;br/&gt;
&lt;a class="" href="http://store.codesys.com/csv-utility.html" rel="nofollow"&gt;http://store.codesys.com/csv-utility.html&lt;/a&gt; m &lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CSV Files Creation</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/04d90fb2a8/?limit=25#495d" rel="alternate"/><published>2020-02-27T13:55:57.509000Z</published><updated>2020-02-27T13:55:57.509000Z</updated><author><name>lmendez</name><uri>https://forge.codesys.com/u/lmendez/</uri></author><id>https://forge.codesys.com31a7f0b81a848d24e088fe486d3e00943a228038</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I am writing a Data Logger application to run using CoDeSys Win SL. Is there a chance that you could direct me to examples of CSV creation, reading and writing routines using CoDeSys?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>