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:
- Start the LibraryManagement.
- In the Project tree, click on the project for which you want to run a block comparison.
-
octoplant searches the selected project for built-in standard library blocks and displays the results in a tabular overview.
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 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:- Current: A block used in a project is identical to its template from the standard library.Outdated: A block used in a project is no longer up to date. Its template in the standard library has been changed.Invalid: A block used in a project has been changed or deleted.Deleted: 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:
- Linked: The standard library module was installed in the project.
- Outdated: A more recent version of the block is available in the standard library.
- Unlinked: A block used in a project has been changed or deleted.
- 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.