KB-133162: 4. Comparing blocks

4. Comparing blocks

A building block comparison can take place on component, project or block level.

Requirements for carrying out a block comparison:

  • A standard library is assigned to the component in the UserClient.
  • A supported device type is selected for comparison.
  • The following block types are supported:
    • |Siemens Simatic S|Siemens TIA Porta|RSLogix500|
  • |Data blocks (DB|Data blocks (DB|Routine that is not part of an Add-O|
  • |Function blocks (FB|Function blocks (FB|Add-On Instructio|
  • |Functions (FC|Functions (FC|User defined data typ|
  • |Organisation blocks (OB|Organisation blocks (OB||
  • |User-defined data types (UDT|User-defined data types (UDT||
  • |Variable tables (VAT|||

Note

Block types that are not supported are ignored in the comparison.

To run a block comparison, proceed as follows:

  1. Start the LibraryManagement.
  2. In the Project tree, click on the project for which you want to run a block comparison.
  3. versiondog searches the selected project for built-in standard library blocks and displays the results in a tabular overview.

  4. Image: Display of installed blocks

Note

Blocks shown here cannot be changed in the LibraryManagement. Once a standard library has been assigned to a

component, a new version of the component’s data must be created in the UserClient and subsequently checked in. Without versioning and check-in, no data will be displayed. If no data is displayed despite allocation, versioning and check-in, select Free Scan ResourcesImages_sharedIconsIcon_free_scan.png to execute a data determination.

Status

For each entry in the table, a Status is specified that indicates whether an installed block still matches its template from the standard library or whether changes have been made. The status can be either:- ResourcesImages_sharedIconsIcon_nav_plain_green.pngCurrent: A block used in a project is identical to its template from the standard library.ResourcesImages_sharedIconsIcon_nav_plain_yellow.pngOutdated: A block used in a project is no longer up to date. Its template in the standard library has been changed.ResourcesImages_sharedIconsIcon_nav_plain_red.pngInvalid: A block used in a project has been changed or deleted.ResourcesImages_sharedIconsIcon_not_compared.pngDeleted: A block has been deleted from the standard library.

Note

A block comparison always uses the most recent versions of the project and standard library.

If you want to view more information on a block, click on the block in the table. The tabs Log and Details, show information regarding the selected block:

The tab Log shows the current status of a selected block in relation to its template from the standard library. If the block previously had a different status, then this is also shown here. Information is displayed chronologically. The status will be either:

  • ResourcesImages_sharedIconsIcon_nav_plain_green.png Linked: The standard library module was installed in the project.
  • ResourcesImages_sharedIconsIcon_nav_plain_yellow.png Outdated: A more recent version of the block is available in the standard library.
  • ResourcesImages_sharedIconsIcon_nav_plain_red.png Unlinked: A block used in a project has been changed or deleted.
  • ResourcesImages_sharedIconsIcon_nav_plain_grey.png Standard library object removed: The block has been deleted from the standard library.

The Details tab shows information on the selected block such as name, version or author. The data for the block version in the standard library and the version of the block used in the project are shown side by side.


Last update: September 15, 2023

Related Articles

IMPRINT | PRIVACY POLICY | COOKIE POLICY

Privacy Preference Center