Object ‘External File’

An External File is any file that you add to the project in the POUs or Devices view. Click Project ‣ Add Object to open the Add External File dialog box and define how the file belongs to the project.

Dialog Box ‘Add External File’

File path The ellipsis button ( 7b2054b53d955bf7c0a8640e017bbd78_21d51bd0cd4519c1c0a8640e00abb4b7 ) opens a dialog box for selecting a file in the local file system.
Name Object name for the file in CODESYS. If you do not type anything, the file will have its previous name.
What do you want to do with the external file?
Remember the link The file is available only in the project as long as it is located in the defined file path.
Remember the link and embed into project CODESYS saves a copy of the file internally in the project and also the link to the defined file path. As long as the external file is found there, the update option selected below will apply. Otherwise CODESYS uses the version saved in the project.
Embed into project CODESYS saves only one copy of the file in the project. There is no more link to the external file.
When the external file changes, then
reload the file automatically If the external file changes, then CODESYS updates the file in the project.
prompt whether to reload the file If the external file changes, then a dialog box opens prompting whether CODESYS should also update the file in the project.
do nothing The file remains unchanged in the project, even if the external file changes.
Display file properties Clicking this button opens the default Properties of <file name> dialog box, which you can also open in the Windows file system by right-clicking the file.
Open The file object is inserted into the device tree (Devices or POUs view) and opened in the editor for the matching file format.

See also