Command ‘Library repository’

Symbol: 5230afbbe45c2ee4c0a8640e008206fd_6030b3dae46d30e6c0a8640e0027fb65

Function: This command opens the Library repository dialog box. In this dialog box you define which libraries are installed on the local system and are thus available for your application.

Call: Menu bar: Tools.

Dialog box ‘Library repository’

Storage location
Display of the directory on the local system in which the library files are located. The libraries in this location are listed in the Installed libraries area.
Edit Opens the dialog box Edit repository locations.

Note

1. You can only use empty directories for new repositories.

2. You can also use existing repositories as locations.

3. The ‘System’ repository is not editable; CODESYS indicates this by the italic lettering of the entry.

Edit repository locations
List of the repositories with location and name.
Add

Creates a new repository.

Opens the dialog box Location for repository. The selected directory (input field Place) must either be empty or an already existing valid repository. Name is the input field for a symbolic repository name.

Edit Opens the Location for repository dialog box (see Add)
Remove A query appears, asking whether only the entry is to be removed from the list of repositories, or whether the directory with the library files is to be deleted from the file system. If you wish to delete the directory, you must confirm this.
Installed libraries
List of the libraries in a tree structure. Display of each library with category, name, company and version.
Company: Selection list for filtering the displayed libraries.
install Opens the Select library dialog box. By default the filter is set to CODESYS libraries, which have the file extension \*.library by default. The filter “CODESYS libraries (before V3.0)” displays all libraries with the extension “\*.lib”.
Uninstall Uninstalls the selected library.
Export Opens the standard dialog box for saving the library project to the local file system. The data type is \*.library or \*.compiled-library.
Scan

Searches for libraries and function blocks.

Opens the Find library dialog box. If you enter a string in the input field, CODESYS displays the libraries that it finds with a corresponding string.

Details

Opens the Details dialog box with details from the project information of the library for the selected version of a library. You find the following information by clicking More in the Details dialog:

  • Size: Specified in bytes
  • Generated: Creation date
  • Changed: Date of the last change
  • Last access: Date
  • Attribute
  • Properties
Dependencies For the selected library the Dependencies dialog box opens, showing the dependencies on other libraries. Title, Version and Company are shown for each library reference. References that function via placeholders are displayed according to the syntax: #<placeholder name>.
Group by category
  • 5230afbbe45c2ee4c0a8640e008206fd_9a3f06830c0506c5c0a8640e012f0ace : Grouping according to library categories
  • 5230afbbe45c2ee4c0a8640e008206fd_4681610f0c058035c0a8640e0049916a : Alphabetical sorting

The categories are defined by external description files ‘*.libcat.xml’.

Library profiles
A library profile defines the library version with which CODESYS resolves a library placeholder if a certain compiler version is set in the project.
Import

Imports a \*.libraryprofile file.

If the import already contains existing placeholder entries, a query appears asking whether CODESYS should overwrite it.

Export Exports an xml file with the extension \*.libraryprofile with the assignments of the selected placeholder entries; you can only select a single entry of a compiler version.

Note

Placeholder resolutions can also be defined in the target device currently in use and even by a specific local specification in the Placeholders dialog box in the library manager.

See also