If you wish to transfer a project to another computer and connect from there to the same PLC, without an online change or download being required, observe the following points.
-
Make sure that the project requires only fixed versions of libraries (exception: interface libraries), visualization profile and compiler.
-
Make sure that the boot application is up to date.
Then create a project archive, which you unpack on the other computer.
Transferring a project to another system
Requirement: A project is open on computer “PC1” that you transfer to another computer “PC2” and reconnect from there to the same controller.
-
Make sure that only libraries with fixed versions are integrated in the project, with the exception of pure interface libraries. To do this, open the “Library Manager” and check all entries that have a “*” instead of a fixed version specification.
-
Make sure that a fixed compiler version is set in the project settings. To check, select “Project Project Settings” and the “Compiler Options” category.
-
Make sure that a fixed visualization profile is defined in the project settings. To check, select “Project Project Settings” and the “Visualization Profile” category.
-
Make sure that the application that is presently open is the same as that which is presently in use on the PLC. This means that the “boot application” must be identical to the project in the programming system. To check, look at the project name in the title bar of the programming system window: If an asterisk is displayed behind the name, this means that the project has been modified, but not yet saved. It is then possible that the application and boot application do not correspond!
In this case, first create a (new) boot application. It depends on the PLC and the application properties, whether this takes place automatically during the download of the application. For explicit creation, select the command “Online Create boot application”. Then execute a download with the help of the commands “Online Login” and “Online Load”.
After that, start the application on the controller with the command “Debug Start”.
Now the desired application is running on the PLC, to which you wish to reconnect from the same project later on PC2.
-
Generate a project archive: Select “File Project Archive Save/Send Archive”. In the “Project Archive” dialog box, also select the following information:
-
“Download information files”
-
“Library profile”
-
“Referenced devices”
-
“Referenced libraries”
-
“Visualization profile”
Save the project archive in a place that is accessible by PC2.
-
-
Log out from the controller: To do this, select “Online Logout”. You can stop and restart the PLC without reservations, before you reconnect from PC2.
-
Extract the project archive to PC2: Select “File Project Archive Extract Archive” and open the archive saved above. In the “Extract Project Archive” dialog box, activate the same information as described above when generating the archive.
-
Open the project and log in to PLC “xy” again.
CODESYS does not demand an online change or download; the project runs.