Skip to main content

Command: Source Download

Function: The command loads the project source code, which is available on the controller as a project archive, from the controller.

Call: File menu

Requirement: The network path for the controller has to be configured.

After you execute the command, an overview opens with all devices in the network. Select a controller from this overview. After that, the Extract Project Archive dialog opens with settings for the extraction.

For more information, see: Downloading Source Code to and from the PLC

Dialog: Extract Project Archive

The dialog shows the contents of the project archive. You can deselect standard icon entire categories or single objects from categories to exclude them from the extraction.

Caution

If the project archive contains a Git project and Git repository information, then make sure that the repository information is also extracted. Otherwise, there may be unwanted effects when the extracted Git project is linked to a repository with the same name as a directory which already exists locally.

Table 77. File paths

Extract into the same folder where the archive is located

The archive is extracted to the same directory.

Extract into the following folder

The contents of the archive are extracted to the specified path.

Advanced

Opens the Advanced dialog where you define where special and additional files from the archive are extracted.



Table 78. Contents

Objects

Displays the contents of the archive, structured in object categories

standard icon: The object will be extracted.

_cds_icon_option_deactivated.png: The object will not be extracted.

Comment

Comment which was entered when the project archive was created



Extract

If an extracted file has the same name as an existing file in the target directory, then a dialog opens, prompting whether or not the local file should be replaced. The decision can be applied automatically to any other conflicted names. In this case, you have to select the projectarchive_isactivated.pngApply to all objects and files option.