Editing projects 5
5.7 Comparing project data
5.7.1 Overview of the comparison editor
FunctionThe comparison editor allows you to make an online-offline comparison of your project data.
This allows you to display discrepancies and to react to them. Which project data you can compare, depends on the installed products.
Components of the comparison editor
The comparison editor is made up of the following components:
① Comparison editor toolbar
② Tabular comparison overview
5.7 Comparing project data 5.7.1 Overview of the comparison editor
5.7 Comparing project data
Comparison editor toolbar
With the toolbar, you can access the following comparison editor functions:
•
Filter for comparison resultsUsing the filter, you can display or hide the objects that are identical online and offline.
•
Start detailed comparisonYou can start a detailed comparison of the objects that differ online and offline. This function is, however, not available for every object.
•
Update comparison resultsAfter you have modified objects, you can update the view of the comparison editor with this function.
•
Synchronize comparison actionsYou can synchronize objects that differ online and offline with specific, customized comparison actions. The selected comparison action has an effect on all objects. After synchronization, the objects are identical online and offline.
Tabular comparison overview
The following table shows the meaning of the columns of the comparison overview:
Column Meaning
Object name Name of the objects or folder, for which the online-offline comparison is being conducted.
Status Status of the online-offline comparison, indicated by means of symbols Action Action for object synchronization
Description Description of the selected action
Symbols of the comparison overview
The status of the comparison is indicated by means of symbols. The following table shows the relevant symbols and their meaning:
Symbol Column Meaning
Status Folder contains objects whose online and offline versions differ
Status Online and offline versions of the object are identical
Status Online and offline versions of the object are different
Status Object only exists offline
Status Object only exists online
5.7 Comparing project data
Symbol Column Meaning Action No action
Action Load object on the device
Action Upload the object from the device to the programming device / PC
The status information is also shown in the project tree.
See also
Comparing online-offline (Page 150)
Using the filter for comparison results (Page 151) Updating comparison results (Page 152)
Specifying actions (Page 152)
Synchronizing comparison actions (Page 153)
5.7.2 Comparing online-offline
RequirementThe project tree is open.
Procedure
To obtain an overview of the comparison status of the project data, follow these steps:
1. Select a device in the project tree.
2. Select the "Compare offline/online" command in the shortcut menu.
If you have not yet established an online connection, the "Connect online" dialog opens. If the online connection has already been defined, the comparison editor opens.
Result
All objects that exist online and offline are displayed. You can see the status of the objects based on the icons. You can now define the actions you require for the objects.
See also
Overview of the comparison editor (Page 148) Using the filter for comparison results (Page 151) Updating comparison results (Page 152)
Specifying actions (Page 152)
Synchronizing comparison actions (Page 153)
5.7.2 Comparing online-offline
5.7 Comparing project data
5.7.3 Using the filter for comparison results
To make the comparison easier to view, you can show and hide objects whose online and offline versions are identical.
Requirement
The comparison editor is open.
Showing identical objects
To show identical objects again, follow these steps:
1. Click the "Filter for comparison results" button in the toolbar.
All elements are displayed again.
Hiding identical objects
To hide identical objects, follow these steps:
1. Click the "Filter for comparison results" button in the toolbar.
Only the elements that differ online and offline are displayed.
See also
Comparing online-offline (Page 150)
Overview of the comparison editor (Page 148) Updating comparison results (Page 152) Specifying actions (Page 152)
Synchronizing comparison actions (Page 153)
5.7.4 Running a detailed comparison
You can display a detailed comparison of the objects whose versions differ online and offline.
Note
This function is not available for every object.
Requirement
The comparison editor is open.
Procedure
To display a detailed comparison of an object, follow these steps:
1. Select the object in the comparison editor.
5.7.3 Using the filter for comparison results 5.7.4 Running a detailed comparison
5.7 Comparing project data
2. Click the "Start detailed comparison" button in the toolbar.
If a detailed comparison is possible for the selected object, the object is opened in the online and offline version and the differences are highlighted.
5.7.5 Updating comparison results
As soon as you change an object, the comparison results are no longer valid and must be updated.
Requirement
The comparison editor is open.
Procedure
To update the comparison results, follow these steps:
1. Click the "Update comparison results" button in the toolbar.
The comparison results are updated.
See also
Overview of the comparison editor (Page 148) Comparing online-offline (Page 150)
Using the filter for comparison results (Page 151) Specifying actions (Page 152)
Synchronizing comparison actions (Page 153)
5.7.6 Specifying actions
If you have performed a comparison, you can specify the actions to be performed for non-identical objects in the comparison editor. You cannot select any actions for non-identical objects.
Requirement
The comparison editor is open.
Procedure
To select an action for a non-identical object, follow these steps:
1. Right-click the icon in the "Action" column in the row of the object for which you want to select the action.
2. Select the action you require in the shortcut menu of the object.
See also
Overview of the comparison editor (Page 148) Comparing online-offline (Page 150)
5.7.5 Updating comparison results 5.7.6 Specifying actions
5.7 Comparing project data
Using the filter for comparison results (Page 151) Updating comparison results (Page 152)
Synchronizing comparison actions (Page 153)
5.7.7 Synchronizing comparison actions
When you synchronize, the actions you specified for objects that are not identical are executed.
See also: Specifying actions (Page 152) Requirement
•
The comparison editor is open.•
The desired actions have been selected.Procedure
To synchronize the comparison actions, follow these steps:
1. Click the "Synchronize online and offline" button in the toolbar.
Result
The actions you specified for the objects are performed.
See also
Overview of the comparison editor (Page 148) Comparing online-offline (Page 150)
Using the filter for comparison results (Page 151) Updating comparison results (Page 152)