The dialog allows to:

  • compare two projects via Compare projects
  • load a file with saved comparison results via Load saved comparison results

Select the desired option via the radio button.

Compare two projects

Hint: The difference can be shown in %. It is mandatory to activate the property Create all differences on initial loading (may cause loading time) to use this functionality. To evaluate the difference, the lines with differences are compared with the total number of lines.

Example for % calculation: If 15 lines are different and the total numer of lines is 20, you will get a 75% difference rate (15/20).

Defines the settings to compare two projects:

  1. Go to the menu bar entry Tools and Compare projects or select the two projects which should be compared in the tree view and click on the right mouse button.
    The context menu will be opened.
  2. Click on Compare projects to open the dialog.
  3. Select the settings.
  4. Confirm the selected settings via a click on OK.
    The comparison view will be opened.
  5. Select the desired settings and click on OK to start the comparison.

The following settings are similar for Project 1 and Project 2:

Option

Description

Project

Settings for the first/second project which should be compared. Select the way how the project will be opened. This is possible via:

  • From Disk
  • From Target
  • From ZIP / XML

From Disk

Click on the arrow symbol to select the project path.

A click on ... opens the dialog to select the folder which contains the projects.

From Target

A click on Edit... opens the dialog Communication Settings with the options:

  • Ethernet TCP/IP: Enter the:
    • IP adress
    • Port number
  • Serial link: Enter the:
    • PC port: COM Port number
    • Baudrate:
      115200
      57600
      38400
      19200
      9600
      4800
      2400
      1200
      Default: 19200
    • Parity:
      None
      Even
      Odd
      Default: None
    • Stop bits:
      1
      2
      Default: 1

Hint: Only possible, if the project files have been stored on the target. Open the download procedure settings in the menu bar entry Project, Settings..., Debugging. Double-click on Edit... opens the dialog Download where you can activate the checkbox Send source code for later project upload.

From ZIP / XML

A click on ... opens the dialog to select a backup of the project in *.ZIP or *.XML format.

Options

Enable the checkbox of the choosen options via a click with the left mouse button.

Option

Description

Ignore case

Case sensitive differences will be ignored.

Ignore comments

Comments will be ignored.

Ignore white spaces

White spaces will be ignored.

Ignore diagram/chart presentation (logic only)

Differences in diagrams/chart presentations will be ignored.

Sort variables before comparison

Sorts all variables via the name before starting the comparison.

Format for variable description

Choose the format for the variable description.

Option

Description

IEC Syntax

Description in IEC Syntax.

XML

Description in XML-format.

CSV

Description in CSV-format.

Create all differences on initial loading (may cause loading time)

Option to create all differences during the initial loading.

Additional option

Option

Description

Create all differences on initial loading (may cause loading time)

Option to create all differences during the initial loading.

Load a file with comparison results

To open the *.K5D file:

  1. Select the radio button Load saved comparison results.
  2. Click on ... to open the dialog to select the folder which contains the file.
  3. Select the file and click on Open and Compare to open the file.

Navigation

Option

Description

Compare

Starts the comparison of the two projects.

Cancel

Closes the dialog without changes.

Help

Opens the corresponding Help topic.

Project Comparison dialog

IEC 61131-3 Automation platform > IEC 61131-3 Programming Environment > Tools > Comparing 61131-3 projects > Project Comparison dialog

Previous chapterNext chapter


Created with the Personal Edition of HelpNDoc: Effortlessly Spot and Fix Problems in Your Documentation with HelpNDoc's Project Analyzer