<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Problem with uploading project</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/a2cec591cb/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/a2cec591cb/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/a2cec591cb/</id><updated>2020-05-05T05:52:17.880000Z</updated><subtitle>Recent posts to Problem with uploading project</subtitle><entry><title>Problem with uploading project</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/a2cec591cb/?limit=25#ab10/6991/4ef4" rel="alternate"/><published>2020-05-05T05:52:17.880000Z</published><updated>2020-05-05T05:52:17.880000Z</updated><author><name>i-campbell</name><uri>https://forge.codesys.com/u/i-campbell/</uri></author><id>https://forge.codesys.comdce2f147fd9aef12e9533b826aa2dfb703d48710</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;This is how you download machine code:&lt;br/&gt;
&lt;a href="https://help.codesys.com/webapp/_cds_loading_application_login_starting;product=codesys;version=3.5.15.0" rel="nofollow"&gt;https://help.codesys.com/webapp/_cds_loading_application_login_starting;product=codesys;version=3.5.15.0&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;This is how you download source code:&lt;br/&gt;
&lt;a href="https://help.codesys.com/webapp/_cds_loading_sourcecode_to_from_plc;product=codesys;version=3.5.15.0" rel="nofollow"&gt;https://help.codesys.com/webapp/_cds_loading_sourcecode_to_from_plc;product=codesys;version=3.5.15.0&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;You will notice that they are two separate things.&lt;/p&gt;
&lt;p&gt;So day 1, John might download both machine code and source code and they will be the same.&lt;br/&gt;
So day 2, Frank might make changes but download only the machine code.&lt;br/&gt;
Now day 3652, You hit upload source from controller, and you don't have Frank's changes! Because Frank only downloaded the machine code.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Problem with uploading project</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/a2cec591cb/?limit=25#ab10/6991" rel="alternate"/><published>2020-05-05T04:34:17.946000Z</published><updated>2020-05-05T04:34:17.946000Z</updated><author><name>abolhasan</name><uri>https://forge.codesys.com/u/abolhasan/</uri></author><id>https://forge.codesys.com1605befdfa1278f58840ff91f585774a4b26d63d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Great,thanks for you complete answer,but I wonder to know why I receive only a small part of logic and hardware when I try to upload!while there are 10 I/O remotes I only see 2! If the problem was with source code I think cpu refused to return anything.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Problem with uploading project</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/a2cec591cb/?limit=25#ab10" rel="alternate"/><published>2020-05-04T17:56:52.108000Z</published><updated>2020-05-04T17:56:52.108000Z</updated><author><name>i-campbell</name><uri>https://forge.codesys.com/u/i-campbell/</uri></author><id>https://forge.codesys.com83363b30b2a4fc50fd5043b87c0993d4cbb55256</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;If you are used to other PLCs, the default is that you can at least go online with any of that brands PLCs, unless the original programmer specifically ticked the "protected source code" box.&lt;br/&gt;
With CODESYS it is the other way around, the default is that you can't go online with the PLC unless you have the original source code (.project file). If you don't have the original source code, the project is lost. It is like having a .exe file and no source code for it.&lt;br/&gt;
The two most common methods of storing the source code are:&lt;br/&gt;
1. Setting the project to always download the source code to the controller.&lt;br/&gt;
2. Storing the .projectarchive in a safe place.&lt;/p&gt;
&lt;p&gt;You can also manually download the source code to the controller whenever you please.&lt;/p&gt;
&lt;p&gt;It sounds like in your case, someone did download the source to the PLC one time, but then stopped downloading the source when changes were made. So you have maybe version 3 of the code, when the code running in the PLC is maybe version 5.&lt;/p&gt;
&lt;p&gt;So, you have looked in one place for the code (the PLC) and it wasn't there. Now you look in your company's file system for the code. And if you don't find it there, you have to hunt down the original programmer and ask them where they stored the project.&lt;/p&gt;
&lt;p&gt;There is a possibility that you do not find the source code. In which case you cannot modify what is running in the PLC without completely rewriting it.&lt;/p&gt;
&lt;p&gt;One of the important things with CODESYS programming, is not to lose the source code.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Problem with uploading project</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/a2cec591cb/?limit=25#ae6d/a58b" rel="alternate"/><published>2020-05-04T17:20:23.199000Z</published><updated>2020-05-04T17:20:23.199000Z</updated><author><name>abolhasan</name><uri>https://forge.codesys.com/u/abolhasan/</uri></author><id>https://forge.codesys.com6c009147c0f68d702b8f1ed40d7633f864144909</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
Thanks for your reply but I am new to codesys so I do not understand what you say!&lt;br/&gt;
Could you explain more?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Problem with uploading project</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/a2cec591cb/?limit=25#ae6d" rel="alternate"/><published>2020-05-04T13:37:21.538000Z</published><updated>2020-05-04T13:37:21.538000Z</updated><author><name>i-campbell</name><uri>https://forge.codesys.com/u/i-campbell/</uri></author><id>https://forge.codesys.com6a808d52942fa929b4411606565d9845518b0058</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;One must explicitly download the source code to the controller, it does not happen automatically at application download. The application names and controller versions are both different in IMG_20200504_102648.jpg . It sounds like at some point someone downloaded source code to this controller, but it is not the source code for the application which is currently running. If the source code is not downloaded every time to the PLC, you must retrieve the source code from your company's source code management system. If your source code management system doesn't have it, I do not know of any way to retrieve it.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Problem with uploading project</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/a2cec591cb/?limit=25#982b/7fd2" rel="alternate"/><published>2020-05-04T13:27:54.064000Z</published><updated>2020-05-04T13:27:54.064000Z</updated><author><name>abolhasan</name><uri>https://forge.codesys.com/u/abolhasan/</uri></author><id>https://forge.codesys.com918c23530ad5fc8ed9e587113c8283922182a819</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I only know that janz tec PC has linux operating system and the version by which it is programmed is Codesys v3.5 sp3 patch1.I have attached to pics from linux magbe it can help.I am really confused how it is possible that the uploaded program is like that!&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Problem with uploading project</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/a2cec591cb/?limit=25#982b" rel="alternate"/><published>2020-05-04T12:39:32.424000Z</published><updated>2020-05-04T12:39:32.424000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.comea569b266a4eaf58d6e5a9d53c1e779606c9f128</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
which version of the runtime is this?&lt;/p&gt;
&lt;p&gt;BR&lt;br/&gt;
Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Problem with uploading project</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/a2cec591cb/?limit=25#c7b5" rel="alternate"/><published>2020-05-04T08:54:01.946000Z</published><updated>2020-05-04T08:54:01.946000Z</updated><author><name>abolhasan</name><uri>https://forge.codesys.com/u/abolhasan/</uri></author><id>https://forge.codesys.comd81c10056a34d2a639ffc025166167e060509837</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Dear experts, &lt;br/&gt;
I experienced a weird problem, when I connected via gateway to janz tec embeded PC and upload the project that is running I only see 2 remote I/O racks while there are 10 of them! How is it possible?&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>