-

Dangling Library References

If an included library cannot be loaded for any reason (for example, the library file has been removed from the libraries folder, the library file has been renamed, or the provider of the library prevents the referencing), an error icon is shown at the 'Libraries' folder and at the referenced library as shown in the following figure. By hovering the mouse over the library node you will see the location where the library file is expected to be together with a corresponding error message.

In case of a missing library, the library content is not loaded and the contained elements cannot be used in the project.

To restore the library, right-click the library node and select 'Replace Library' from the context menu. In the appearing 'Open' dialog, browse for the library file (*.pcwlx) and click 'Open'. The library will be automatically restored (error icons are no longer visible). If the library content has not been changed, the project is now valid again and no rework of modified library objects (POUs or devices) is necessary.

Note
The name of the library file inside the library and the name of the library file stored on your disk must be equal. A corresponding error message is reported in the Error List (MESSAGES window) if the names do not match.