Comparison

Compare an active project to a saved project or to a PLC project.

This feature allows you to take snapshots of projects and to compare them against snapshots of other projects from file or PLC. A snapshot of a project comprises all project-related data in a folder and file structure similar to the navigator tree where all POUs, DUTs, user libraries, the global variable list, the task list, the PLC, the variable table with addresses and the program code objects are placed as readable (unless secured) and comparable text files. The snapshots are placed in a dedicated folder near the project file itself and can be used to be inspected, revised or compared also later. They can be deleted after use. The date and time of snapshots are saved as part of the parent folder’s name.

The Project > Comparison menu provides the following menu commands. Please note that for the menu commands Compare to project from PLC and Compare to project from file further settings are required:

Menu item

Description

Create snapshot

Stores a snapshot of the current project relative to the project path. No comparison is performed.

Compare to project from PLC

  • Starts a second instance of Control FPWIN Pro7 with a project uploaded from a PLC.

  • Stores one snapshot of the current project and one of the project uploaded from a PLC and starts the comparison tool on them, if the path and file name to the executable file of a comparison tool are specified under Project comparison.

Compare to project from file

  • Starts a second instance of Control FPWIN Pro7 with the project from a file.

  • Stores one snapshot of the current project and one of the project from a file and starts the comparison tool on them, if the path and file name to the executable file of a comparison tool are specified under Project comparison.

In all cases, Control FPWIN Pro7 creates a folder for snapshots and comparison files located relative to the project path. The folder name consists of the project name, snapshot type, and a time stamp (not necessarily in this order), e.g. <project name>_Snapshots\<snapshot type>_yyyy-mm-dd_hh-mm-ss.

The beginning of the comparison folder name indicates which menu command has been used for the snapshot:

Depending on the snapshot type, the created folder will contain different files:

Because the text files in a snapshot might reveal protected knowledge of objects with a security level or user libraries, such data is exported in an encrypted way when the current user does not have the appropriate user security level or user library access.

You are informed about encrypted data that cannot be compared in advance. To avoid data encryption, change the security level and open installed user libraries with the command Open read-only....

Related topics:

Modified on: 2022-08-22Feedback on this pagePanasonic hotline