Command Install Project Library (unknown versions)
Function: The libraries that are contained in the _Libraries folder at the file level of the PLC project and have not been part of the local library repository until now are installed in the local library repository. Subsequently, all libraries contained in the repository are known and can be used in projects. If a library was already known in the local repository before the execution of the command, it will not be re-installed.
Call: Context menu of the PLC project in the Solution Explorer
Requirement: The PLC project is selected.
Background information:
The _Libraries folder contains the libraries that are referenced directly or indirectly in the PLC project. Direct referencing means a library that is integrated at the highest level within a library manager. Indirect referencing means a library that is referenced within a different library.
The purpose of the folder is, for example, to archive the libraries used in a project within the scope of a project archive (you can configure whether this should be the case in the project settings, see Settings tab). This allows you to distribute the project archive to a colleague, for example, and if the project uses libraries that do not exist in the colleague's local library repository, the missing libraries can be installed by using the command Install project libraries or Install project libraries (unknown versions).
Recently used libraries are added to the _Libraries folder at the following times:
- when creating a file/email archive, if the file/e-mail archive is configured to contain libraries (see Settings tab).
- when activating the configuration or activating the boot project, if the target archive is configured to contain libraries (see Settings tab).
- when executing the command Update project library folder.
Libraries that are no longer in use are removed from the _Libraries folder at the following times:
- when executing the command Update project library folder.
See also:
- Command Install Project Library
- Command Update project library folder
- PLC documentation: Using libraries