Creating a Comparison View

Requirement: You have made changes in your current project and wish, for example, to compare it with the last-saved version. In the meantime, for example, you have added further POUs, removed a POU, changed single lines of code or the object properties in function blocks.

  1. Select the command Project ‣ Compare.

    The Project Comparison dialog box opens.

  2. Enter the path to the reference project, for example the path to the last-saved version of your current project.

  3. Leave the activation of the comparison option Ignore Spaces as it is.

  4. Click on OK.

    Automation Builder opens the comparison view. Title: Project Comparison – Differences. The Device trees of the current project and the reference project are displayed alongside each other and the changed objects are marked in color.

  5. Select an object marked in blue in the tree of the reference project (right). The current project no longer contains this object.

    Click on b0c4e94e1c113282c0a8640e00ea2d31_5403665b928694d7c0a8640e011e3988 Accept Single

    Automation Builder adds the object to the tree of the current project (left). The line has a yellow background. b0c4e94e1c113282c0a8640e00ea2d31_af7eef4092d59b20c0a8640e00276d6d appears in the middle column.

  6. Select an object marked in green in the tree of the current project (left). The reference project does not contain this object.

    Click on b0c4e94e1c113282c0a8640e00ea2d31_5403665b928694d7c0a8640e011e3988 Accept Single

    Automation Builder removes the object again from the tree of the current project (left). The line has a yellow background. b0c4e94e1c113282c0a8640e00ea2d31_cfb9c79b92d67bb7c0a8640e0129e833 appears in the middle column.

  7. If Automation Builder detects changes in the content of an object that is contained in both the current project and the reference project, this is indicated by red lettering. You can then switch to the detailed comparison view for the object by double-clicking on the object.

  8. Close the comparison view and answer the query whether the changes made are to be saved with Yes.

    The changes become effective in the project.