Individual Components In the resulting dialog box for opening files select the desired export file. The data is imported into the current project. If an object with the same name already exists in the same project, then a dialog box appears with the question "Do you want to replace it?": If you answer Yes , then the object in the project is replaced by the object from the import file. If you answer No , then the name of the new objects receives as a supplement an underline and a digit ("_0", "_1", ..). With Yes , all or No , all this is carried out for all objects.
If the information is imported to link with a library, the library will be loaded and appended to the end of the list in the library manager. If the library was already loaded into the project, it will not be reloaded. If, however, the export file that is being imported shows a different storage time for the library, the library name is marked with a “*” in the library manager (e.g. standard.lib*30.3.99 11:30:14), similar to the loading of a project. If the library can not be found, then an information dialog appears: “Cannot find library { \} ”, as when a project is loaded. In the message window the import is registered.
'Project' 'Merge' With this command you can merge objects (POUs, data types, and ressources) as well as links to libraries from other projects into your project. When the command has been given, then at first the standard dialog box for opening files appears. When you have chosen a file there, then a dialog box appears in which you can choose the desired object. The selection takes place as described with "Project" "Document" .If an object with the same name already exists in the project, then the name of the new object receives the addition of an underline and a digit ("_1", "_2" ...).
'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. Overview: In the following the name 'actual project ' will be used for the project which is currently under way, the name 'reference project' will be used for that project which has been called to get compared with. After the command has been executed, the actual project and the reference project will be presented in 'compare mode' 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 diffences or for 'all equally marked' differences. To accept means that the version of the reference project is taken over to the actual project. A doubleclick on a message selects the first change in this object. In compare mode (see status bar: COMPARE) the project cannot get edited ! Execute comparison:
After executing the command 'Project' 'Compare' the dialog 'Project Comparison' opens: TwinCAT 2 PLC Control 80 Version: 1.0