-

Which Project Parts are Compared?

The Project Comparer browses the following project items for differences:

Project partDetected differences
Project structure
  • Added, renamed, or deleted POUs
  • Added, renamed, or deleted code worksheets
  • Modified order of code worksheets within POUs
  • Added, renamed, or deleted Data Type worksheets
  • Modified POU settings (differences in POU 'Settings' editor).
FBD/LD Code
(also in NOLD/SNOLD worksheets)

SFC Code
Any code-relevant differences and comments.

What does "code-relevant" mean?
Each modification that affects the resulting application code is considered as code-relevant. Besides inserting, deleting, or modifying code objects, this also includes all modifications that influence the execution order, for example, moving an entire code network.
In contrast, moving single variables, LD objects, or functions/FBs to another worksheet position modifies the visible layout but does not affect the execution order on the controller. Therefore, such modifications are not considered as code-relevant and are not detected when comparing.

ST CodeAny differences.
Data typesAny differences.
PLANT objects (network structure)
  • Modified, added, or deleted devices
  • Differences in any 'Settings' editor
  • Differences in any device 'Parameters' editor
Data Lists, Port Lists and variables tablesDifferences in Data Lists, GDS Port Lists, and variables tables.
LibrariesAdded, deleted or modified libraries.

Referenced libraries are identified by their name and SignatureID. When detecting any differences in these criteria, the respective library is considered as "Deleted" or "Inserted", respectively.
If any of the libraries of both compared projects cannot be loaded, the comparison is done without considering the libraries.

In the current version, cascaded libraries are not considered by the comparison.

The comparison of referenced libraries from project archives is restricted to the libraries that are also contained in the archive under comparison.
Version information (description) of Project and POUs Any modification in the 'Description' editor on the 'Project' node (PLANT) or of any user POU type (COMPONENTS).
Resources for project string localizationAny added, deleted or modified entries in the 'Resources' editors.

Detected differences are displayed in the Project Comparer workspace which opens automatically after running a 'Project > Compare...' command.

Related topics