Object: External File
An External File is any file that you add to the project in the POUs view or Devices view. Click to open the Add External File dialog and define how the file belongs to the project.
The Transfer with Download/Online Change option can be used to configure the transfer of external files.
When an external file is downloaded to the controller, it is not updated in the project.
For more information, see: Tab: Synchronized Files
Dialog: Add External File
File path | Path of the external file The |
Name | Object name for the file in CODESYS If you leave it blank, then the file revert to its previous name. |
File Handling | Determines how the external file is saved in the CODESYS project |
Remember the link |
Note: Access via the file link will fail if the external location of the file changes. The file is available in the project only as long as it exists in the defined storage location. |
Remember the link and embed into project |
Note about behavior on access:
|
Embed into project |
NoteThe copy is always accessed. If the external file changes, then the project-internal copy will not be updated. When the external file is opened in CODESYS Development System (Edit Objectcommand), a temporary file is created for editing. |
Change Tracking | Type of update for the copy saved in the project for which a file link was saved at the same time Requirement: The Remember the link and embed into project option is selected. |
Reload the file automatically |
|
Prompt whether to reload the file |
|
Do nothing |
|
Button: Display File Properties | Opens the default Properties of <file name> dialog of the external file in the Windows file system This dialog is identical with the Properties dialog which can be opened in Windows from the context menu of the file. |
Online handling | Handling of the file in online mode |
Transfer with Download/Online Change |
Note: External files which are inserted in the POUs view are transferred to all controllers in the project during the download. This option has no effect on external files in libraries. As a rule, these files are not transferred. |
Target path (relative to "$PlcLogic$" on the device) | The target path can be specified in the following way:
NoteWhen using available paths, pay attention to uppercase and lowercase. |
Button Add | Inserts a new For more information, see: Properties – External File |