Skip to main content

View: File Management

Function: The view is used to manage the files on the Automation Server and on the PLC. Files and folders can be downloaded, transferred, and copied from the controller or the Automation Server.

Call: CODESYS Automation Server → File Management

Server Files

Location

Location in the file system of CODESYS Automation Server

Display of the file directory on the Automation Server

The following information is displayed:

  • Name

  • Size: optional

  • Last Modified: optional

  • Created: optional

  • Last Accessed: optional

_cas_icon_parameter_black.png

Opens a list box for selecting the information which will be displayed for the files and folders of the CODESYS Automation Server.

Drag & Drop

Drag & Drop is available for the following copy operations of files and folders.

  • From the file system of the development computer to the file system of the CODESYS Automation Server

  • From the file system of the development computer to the file system of the controller

  • From the file system of the CODESYS Automation Server to the file system of the controller

  • Within the file system of the CODESYS Automation Server

PLC Files

Installed PLC

List box for the PLC.

Displays all of the PLCs added to the Automation Server

When a PLC is selected, the file directory of the PLC is automatically displayed.

Location

Displays the path of the PLC whose files and folders are currently displayed.

Default value: Root directory /

You can edit the path.

Placeholders can be specified in the path (example: $visu$). The placeholder can also be part of the path.

Clicking in this field displays the current folder structure. You can navigate between the folders.

Display of the file directory on the PLC and on the Automation Server

The following information is displayed:

  • Name

  • Size: optional

  • Last Modified: optional

  • Created: optional

  • Last Accessed: optional

_cas_icon_parameter_black.png

Opens a list box for selecting the information which will be displayed for the files and folders of the PLC.

Buttons

_cas_icon_update.png

Refreshes the display with the current state of the PLC and the CODESYS Automation Server.

cas_create_new_folder_black.png

Creates a new folder on the PLC and on the Automation Server.

_cas_icon_editing.png

Opens a dialog for renaming the selected file or folder

cas_icon_download.png

Transfers the PLC files selected in the PLC Files and Server Files area to the download folder of your computer.

When multiple files have been selected, they are compressed together in a ZIP file and then stored in the download folder of your computer.

cas_icon_upload.png

Opens the default dialog for selecting the file(s) from the file directory of your computer which should be transferred to the PLC and the CODESYS Automation Server. Then the selected files are displayed in a dialog and the operation can be confirmed or canceled.

_cas_icon_move_files.png

Opens the Move Files/Folders dialog.

Requirement: At least one folder or file must be selected.

In this dialog, you select the target folder on the controller and the files and folders of the CODESYS Automation Server which are moved to the controller. In the dialog, you can navigate the file systems of the CODESYS Automation Server and the controller.

Click Move to confirm the dialog.

_cas_icon_copy_files.png

Opens the Copy Files/Folders dialog.

Requirement: At least one folder or file must be selected.

In this dialog, you select the target folder on the controller and the files and folders of the CODESYS Automation Server which are copied to the controller. In the dialog, you can navigate the file systems of the CODESYS Automation Server and the controller.

Click Copy to confirm the dialog.

cas_icon_delete_black.png

Deletes the selected files and directories.

_cas_icon_lock.png

Available only for Server Files.

Opens the <file or folder name> Permissions dialog. Permissions for server objects can be granted in this dialog. For more information, see the following: Granting Permissions for Access to Server Objects

_cas_icon_double_arrow_reight.png

Copies the selected files and folders in the Server Files area to the selected directory of the PLC Files area (i.e., from the Automation Server to the PLC).

_cas_icon_stat5.png

Opens a wizard whose function is to copy files and folders to the controllers. For a description of the wizard, see the following: Table 26, “Wizard: Copy files/folders to multiple controllers”

_cas_icon_double_arrow_left.png

Copies the selected files and folders in the PLC Files area to the selected directory of the Server Files area (i.e., from the PLC to the Automation Server).

Table 26. Wizard: Copy files/folders to multiple controllers

Step 1: Select PLCs

_cas_icon_magnifying_glass.png

Search field for controllers

Name

Name of the PLC

Status

Status of the controller

Step 2: Select Files

From Server Path

Display of selected files

_cas_icon_folder_open.png

Opens the Select Server File dialog

In the dialog, one or more files in the file directory of the server can be selected to be copied. It is also possible to navigate within the file directory of the server.

To PLC Path

File path on the respective controller

_cas_icon_folder_open.png

Opens the Select PLC Path dialog.

In the dialog, you can select a file or a folder from the file directory on the controllers to which the selected files should be copied. It is also possible to navigate within the file directory of the controllers.

_cds_icon_add.png

Inserts a new line.

Step 3: Overview

Overwrite files

_cas_icon_option_activated.png: If the file already exists on the controller, then it will be overwritten.

List of selected files and folders on the server and controller

cas_icon_delete_black.png

Deletes the line.

Copy Files

The files and folders are copied to the controllers.