‘Project’ ‘Compare’

This command is used to compare two projects or to compare the actual version of one project with that which was saved last.

Definitions:

  • actual project: Project, which you are currently working on.
  • reference project: Project, which should be compared with the actual project.
  • compare mode: in this mode the project will be displayed after the command ‘Project’ ‘Compare’ has been executed.
  • unit: Smallest unit which can be compared. Can be a line (declaration editor, ST editor, IL editor), a network (FBD editor, LD editor) or a element/POU (CFC editor, SFC editor).

In compare mode the actual project and the reference project will be presented in a bipartited window. The names of the POUs, for which differences have been found, are marked by color. For editor POUs also the content of the POUs is displayed in a vis-a-vis way. The results and the way of presenting in compare mode depend on: 1. what filters have been activated for the compare run, affecting the consideration of whitespaces and comments during comparison; 2. whether modification within lines or networks or elements are evaluated as a completely new inserting of a POU or not.

The version of the reference project can be accepted for single differences or for ‘all equally marked’ differences. To accept means that the version of the reference project is taken over to the actual project.

Note

In compare mode (see status bar: COMPARE) the project cannot get edited!

See also:

Execute comparison

Representation of the comparison result

e880c141437668080a33139018bd1ba8