<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Working on exporting/importing projects to PlainText.</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/2db0031096/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/2db0031096/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/2db0031096/</id><updated>2025-07-24T14:00:37.460000Z</updated><subtitle>Recent posts to Working on exporting/importing projects to PlainText.</subtitle><entry><title>Working on exporting/importing projects to PlainText.</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/2db0031096/?limit=50#785e" rel="alternate"/><published>2025-07-24T14:00:37.460000Z</published><updated>2025-07-24T14:00:37.460000Z</updated><author><name>Artur Wiebe</name><uri>https://forge.codesys.com/u/arwie/</uri></author><id>https://forge.codesys.com22859b72352aa2a70065449ebdab1f4f9629e9f7</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;To better track project changes in git I created a script that exports the project structure as text files.&lt;/p&gt;
&lt;p&gt;Textual POUs are stored as text, everything else as XML (with timestamps removed).&lt;br/&gt;
The file structure is stored under path/to/your.project.txt&lt;/p&gt;
&lt;p&gt;Git merge will not work, but at least tracking changes is much easier.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/arwie/controlOS_demo/blob/main/codesys/txtfy.py" rel="nofollow"&gt;https://github.com/arwie/controlOS_demo/blob/main/codesys/txtfy.py&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Working on exporting/importing projects to PlainText.</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/2db0031096/?limit=25#df82" rel="alternate"/><published>2025-07-22T14:36:59.013000Z</published><updated>2025-07-22T14:36:59.013000Z</updated><author><name>paulpotat</name><uri>https://forge.codesys.com/u/paulpotat/</uri></author><id>https://forge.codesys.comd5ed81409ee8d6b83fa4b9feb422e41495234b7b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;br/&gt;
Sorry for digging this topic up, but the bitbucket link does not work anymore. Have you changed the location &lt;a class="user-mention" href="/u/mondinmr/profile/"&gt;@mondinmr&lt;/a&gt; ? I would be really interested in your project, even if you did not finish it.&lt;/p&gt;
&lt;p&gt;Thank you for your time,&lt;br/&gt;
BR&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Working on exporting/importing projects to PlainText.</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/2db0031096/?limit=25#dbba" rel="alternate"/><published>2024-12-13T01:17:34.337000Z</published><updated>2024-12-13T01:17:34.337000Z</updated><author><name>jddaigle</name><uri>https://forge.codesys.com/u/jddaigle/</uri></author><id>https://forge.codesys.comc153e088ab3461958874579419f4e5b6d9dfa68e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello! I'm really interested in your project. How can I get access to this repo?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Working on exporting/importing projects to PlainText.</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/2db0031096/?limit=25#a0c5" rel="alternate"/><published>2024-12-13T01:17:26.955000Z</published><updated>2024-12-13T01:17:26.955000Z</updated><author><name>jddaigle</name><uri>https://forge.codesys.com/u/jddaigle/</uri></author><id>https://forge.codesys.com99fd556629bf7f154e3127ab9f9f300543688eff</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello! I'm really interested in your project. How can I get access to this repo?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Working on exporting/importing projects to PlainText.</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/2db0031096/?limit=25#2e0e" rel="alternate"/><published>2023-06-23T15:09:01.184000Z</published><updated>2023-06-23T15:09:01.184000Z</updated><author><name>mondinmr</name><uri>https://forge.codesys.com/u/mondinmr/</uri></author><id>https://forge.codesys.com60d25edbdb410e38f9f62dc9dac7f7900b48e1a0</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Here, a test parser I implemented. It reads a CODESYS export (NOT PlcOpen, standard exports) file and saves it in a folder structure that replicates the project tree. It saves all DUTs and ST files in plain text. All the XML files will allow reconstructing the export for reimporting it into CODESYS in future tests. The objective is to achieve a system that, when integrated into CODESYS, enables generating a simpler Git structure for managing merges while working in a team. It could serve as a starting point for an editing plugin in tools like VSCode.&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="err"&gt;git clone https://MarcoADV@bitbucket.org/marcoadv/codesysparser.git&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;The next step will be regenerating the XML from the root on disk! After that, I would like to invoke, through 2 Python scripts, the tool for exporting and converting with just one click and reimporting it.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>