<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to How to upload application file to remote controller (offline) ?</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/8845d19478/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Runtime/thread/8845d19478/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Runtime/thread/8845d19478/</id><updated>2024-02-16T12:37:37.068000Z</updated><subtitle>Recent posts to How to upload application file to remote controller (offline) ?</subtitle><entry><title>How to upload application file to remote controller (offline) ?</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/8845d19478/?limit=25#65d5" rel="alternate"/><published>2024-02-16T12:37:37.068000Z</published><updated>2024-02-16T12:37:37.068000Z</updated><author><name>ewi04</name><uri>https://forge.codesys.com/u/ewi04/</uri></author><id>https://forge.codesys.com19c64012cbbaf5e226b97f1e28ecb68d6a5122b7</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thank you very much for your time and replay! Sounds like a good idea. Unfortunately, I have no other option to run the code from the running plc. So, I can’t stop any services.&lt;/p&gt;
&lt;p&gt;If anyone has the same problem, I've gotten a little closer to understanding it:&lt;/p&gt;
&lt;p&gt;Sometimes the copied files are empty after the restart. The update code checks if there are any empty files. Before I turn off the device, everything is okay. But after starting, some files are suddenly empty and that cause the problems. I don't know why this happens.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>How to upload application file to remote controller (offline) ?</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/8845d19478/?limit=25#3052" rel="alternate"/><published>2024-02-12T15:59:54.556000Z</published><updated>2024-02-12T15:59:54.556000Z</updated><author><name>alrcastro</name><uri>https://forge.codesys.com/u/alrcastro/</uri></author><id>https://forge.codesys.com223e4678a0e2ae048349ae6e476be2e9b7917ea2</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I'm no longer working with this PLC brand, but if I were you, I would try to stop all related Codesys services before the copy and restart them after that.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>How to upload application file to remote controller (offline) ?</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/8845d19478/?limit=25#b360" rel="alternate"/><published>2024-02-05T08:46:33.411000Z</published><updated>2024-02-05T08:46:33.411000Z</updated><author><name>ewi04</name><uri>https://forge.codesys.com/u/ewi04/</uri></author><id>https://forge.codesys.comc4ec0b88c89caa2172f0fd2a397a88acdeecceb9</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi, I am looking for a good way to update a decice remotely.&lt;/p&gt;
&lt;p&gt;The devices are distributed worldwide and have normally no connection to the internet.&lt;br/&gt;
The CODESYS Automation Server can't help here. So I want to update the decices via USB stick.&lt;/p&gt;
&lt;p&gt;I have written my own code* to update the files that are created with ‘Create boot application’. But sometimes strange things happen:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;visu elements are present, but are not found&lt;/li&gt;
&lt;li&gt;the application is no longer registered and therefore no longer starts&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;I have not yet found out why these errors occur. &lt;/p&gt;
&lt;p&gt;Has anyone had similar problems or found a better way?&lt;br/&gt;
Is there perhaps a CODESYS library or something else?&lt;/p&gt;
&lt;p&gt;Many thanks!&lt;/p&gt;
&lt;p&gt;*the code deletes the directories on the device and copies the new directories from the USB stick while the system is running (goes without saying)&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>How to upload application file to remote controller (offline) ?</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/8845d19478/?limit=25#77e2" rel="alternate"/><published>2020-04-07T11:26:42.469000Z</published><updated>2020-04-07T11:26:42.469000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com73a1be42800a31de966c72d70fd33a51ded2aded</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
for the bootproject yes, but if your application have visu  / composer/ cnc / Receipe whatever ...other features you should copy the whole PlcLogic directory!&lt;/p&gt;
&lt;p&gt;BR&lt;br/&gt;
Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>How to upload application file to remote controller (offline) ?</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/8845d19478/?limit=25#341c" rel="alternate"/><published>2020-04-07T11:12:57.190000Z</published><updated>2020-04-07T11:12:57.190000Z</updated><author><name>alrcastro</name><uri>https://forge.codesys.com/u/alrcastro/</uri></author><id>https://forge.codesys.come8f33e6f4db39aa553eeaf312a01873d5adc1be5</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Edwin,&lt;/p&gt;
&lt;p&gt;Many thanks, this is what I was looking for.&lt;br/&gt;
I would only remark that you missed the subdirectory &lt;em&gt;Application&lt;/em&gt;, the actual folder is rather:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="k"&gt;c&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="n"&gt;ProgramData&lt;/span&gt;&lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="n"&gt;CODESYS&lt;/span&gt;&lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="n"&gt;CODESYSControlWinV3x64&lt;/span&gt;&lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="k"&gt;Some&lt;/span&gt; &lt;span class="nb"&gt;Number&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;&lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="n"&gt;PlcLogic&lt;/span&gt;&lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="n"&gt;Application&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;Regards,&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>How to upload application file to remote controller (offline) ?</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/8845d19478/?limit=25#dbd2" rel="alternate"/><published>2020-04-07T05:54:21.119000Z</published><updated>2020-04-07T05:54:21.119000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com8c31a47c01799f29437ff6ce2c788c1ab03b9fcc</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
nowadays I would use CODESYS Automation Server to do this task. Due Corona crisis the decision was made make it for free available for 2020. &lt;br/&gt;
Even if you just enable the EdgeGateway for the update/deploy process.&lt;br/&gt;
Just give it a try.&lt;/p&gt;
&lt;p&gt;If you want to update it by hand you need to copy the generated files to &lt;br/&gt;
c:\ProgramData\CODESYS\CODESYSControlWinV3x64\2DAFFB2B\PlcLogic &lt;br/&gt;
additional it is needed to point to your application in configuration file in (applicatin section)&lt;br/&gt;
c:\ProgramData\CODESYS\CODESYSControlWinV3x64\2DAFFB2B\CODESYSControl.cfg &lt;/p&gt;
&lt;p&gt;BR&lt;br/&gt;
Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>How to upload application file to remote controller (offline) ?</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/8845d19478/?limit=25#a294" rel="alternate"/><published>2020-04-07T00:03:39.636000Z</published><updated>2020-04-07T00:03:39.636000Z</updated><author><name>alrcastro</name><uri>https://forge.codesys.com/u/alrcastro/</uri></author><id>https://forge.codesys.coma401d113044cb13b84574678446890acc57e61ac</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Ok the creation process is pretty clear, but I don't know what is the folder on the target system where I should paste these files. Either source and target operational systems are Windows. &lt;/p&gt;
&lt;p&gt;I followed steps on the Codesys Online Help, but there misses the target folder to where these files should be placed:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://help.codesys.com/api-content/2/codesys/3.5.12.0/en/_cds_creating_a_boot_application/#creating-boot-applications-in-offline-mode" rel="nofollow"&gt;https://help.codesys.com/api-content/2/codesys/3.5.12.0/en/_cds_creating_a_boot_application/#creating-boot-applications-in-offline-mode&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>How to upload application file to remote controller (offline) ?</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/8845d19478/?limit=25#8a65" rel="alternate"/><published>2020-04-06T21:27:04.081000Z</published><updated>2020-04-06T21:27:04.081000Z</updated><author><name>Ingo</name><uri>https://forge.codesys.com/u/ingo/</uri></author><id>https://forge.codesys.comb6d77ceae938af7c0e934289e3eb380d7563ebc3</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;This video was made for Linux, but the process is the same for windows:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://youtu.be/ylKzuGzoEes" rel="nofollow"&gt;https://youtu.be/ylKzuGzoEes&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>How to upload application file to remote controller (offline) ?</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/8845d19478/?limit=25#6583" rel="alternate"/><published>2020-04-06T20:53:57.218000Z</published><updated>2020-04-06T20:53:57.218000Z</updated><author><name>alrcastro</name><uri>https://forge.codesys.com/u/alrcastro/</uri></author><id>https://forge.codesys.come0d3e7411374c4e8b93f5f4d8c51ecc46e4c52e3</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I had some problems to connect the IDE to a remote controller, and something came to mind:&lt;br/&gt;
How to do this task offline, by sending some file to someone who can paste it to the appropriate place ?&lt;/p&gt;
&lt;p&gt;Soon or later, I will need to pereform a lot update, sending the same executable file to several controllers, spread along distinct locations having particular network issues.&lt;/p&gt;
&lt;p&gt;More exactly, I need to know what is the folder/file which I have to copy, and where should I paste it ?&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;HW:&lt;/strong&gt;&lt;br/&gt;
&lt;em&gt; x64&lt;br/&gt;
&lt;strong&gt;OS: &lt;/strong&gt;&lt;br/&gt;
&lt;/em&gt; Windows 10&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>