Skip to main content

Command: Placeholders

Function: The command opens the Placeholders dialog. The dialog notifies you about the selected placeholder library and allows for the assignment of a valid resolution especially for the project.

Note

The compile operation is always done for a specific application. For this, there has to be actual available libraries for the library entries which exist in a library manager. The resolution of placeholders in the various library managers of a project (applications, POUs pool) is a complex operation. The result of a resolution is visible only during the compile process and cannot be reliably read beforehand from the placeholder information in the library managers.

. Call:
  • Libraries Menu

  • _cds_icon_placeholders.png symbol in the top part of the toolbar of the Library Manager

  • Quickfix command in the case of an error message about an unresolved library.

    For more information, see: Messages

Note

In compiler version 3.5.18.0 and later, the library profile is ignored for placeholder resolution. The placeholders become "free placeholders".

Requirement: A placeholder library is selected in the Library Manager.

. To resolve a placeholder library, the following are searched for in succession:
  • Current placeholder definition in the Placeholders dialog of the library manager(s) of the application(s)

  • Device descriptions of the devices used

  • Installed add-ons

  • Placeholder table of the library manager in the POUsview

    The result is shown in the Library Manager below Effective version. Information about this can be found in the tooltip of the _cds_icon_info.png icon. If none of the resolution steps is successful, then the library is flagged as _cds_icon_unresolved_library.png(not resolved) and the library will not be included in the compile.

For more information about library placeholders see:

Dialog: Placeholders

Name

Identifier of the placeholder

Library

Current resolution for the project

Double-click the entry to edit the placeholder resolution. A list box of the available versions of the library opens. Moreover, the Other libraries command appears.

Command Other Library

The Browse Library dialog opens to search for and install libraries. Use this command to redirect to a special library, but not to switch to another version.

Info

. Type of placeholder resolution
  • Resolved by device description

  • Resolved by license mechanism

  • Resolved by add-ons

  • Free placeholder resolved by <special library with fixed version>

_cds_icon_libman_resolve_placeholder.pngSet all unresolved unbound placeholders to the newest available versions

For the resolution of still unresolved placeholder libraries in the Library Manager, the latest available version is specified.