Skip to main content

Object: C Implemented Library

Symbol: _cds_icon_c_code_module.png

You add the object to a library project in the POUs view. A C Implemented Library can contain multiple precompiled modules, each of which is assigned to a specific device. The inserted modules are not visible in the Library Manager.

When you double-click the object in the POUs view, it opens in its editor.

Table 30. Compiled Components

Object files for devices

List of the devices with the assigned module with the following information:

Device, Version, File name, File size

Add

Opens the Select Device dialog for assigning a precompiled module to a device and adding it to the C-implemented library

Any number of modules can be added to such an object. When downloading a concrete project with this library to a device, only the respectively matching file is loaded to the device.

Remove

Removes the selected entry in Object files for devices



Table 31. Select device

Object file

Input of a file that matches the device and can be loaded by the operating system as a dynamic object

Example for Windows: *.dll

Example for Linux: *.so

Note: The *.dll file has to contain the title of the library project in its name. Example: If the library project is named XYlib, then the Object File has to be named: <name>_XYlib.dll

Device

  • Vendor

  • List of devices

  • Options

    • Group by category:

      standard icon: The available devices (newest version) are sorted by category. The category is defined in the device description file.

      _cds_icon_option_deactivated.png: The available devices alphabetically sorted in a flat structure.

    • Display all versions (for experts only)

      standard icon: In addition, all other available versions of the devices can also be selected.

      _cds_icon_option_deactivated.png: Only the newest version of each device is available for selection.

    • Display outdated versions

      standard icon: In addition, outdated versions of the devices can also be selected. For example, outdated versions result from updated plug-ins.

      _cds_icon_option_deactivated.png: Outdated device versions are not displayed.

  • Information about the device

Select Device

The runtime module precompiled in the object file is assigned to the selected device.