Reference, user interface Example of the status display after a comparison: Starting from this example, this would be: No contents, which are present on the left-hand side, but not on the right-hand side. One entry that is present on the right-hand side, but not (yet) on the left-hand side. Once change in an entry In the comparison editors, the changes are displayed in the same colors as the status bar, so that it can immediately be seen whether an addition, deletion or change is concerned. NOTE Unwanted deletion of contents when accepting additions Additions show changes that exist on the left-hand side, i.e. on the side on which merging is to take place.
Since this is the side that is currently being edited, the contents are mostly new contents of its own. How- ever, the merging (acceptance of changes) refers to the right-hand side of the comparison window. This may contain changes by third parties or in comparison with old project versions. Since merging takes place from the right-hand side to the left-hand side, the non-existence on the right-hand side of the comparison window is therefore accepted when accepting an addition. In other words, the content of an addition is deleted upon acceptance.
5.3.1 TwinCAT3 project comparison window A distinction is made in the comparison window of the TwinCAT3 project between logical (content) and formal changes. In the case of logical changes, the name of the item is displayed in red. These are changes that relate to the behavior of the machine/plant. Formal changes are indicated by a vertical red bar in front of the item name. These are changes that are important for the project handling, but have no meaning for the project in terms of content. One example of formal changes is the LineIDs. These are required to assign code lines within a POU to binary code positions of the generated runtime module.
They are required to display breakpoints set in a POU in the right positions, even after code changes that do not require recompilation (e.g. comment lines or empty lines). Formal changes cannot be displayed in the PLC comparison windows; therefore, they have to be compared (if need be) in the XML comparison windows. Toolbar in the comparison editor of the TwinCAT3 project: TwinCAT 3 21 Version: 1.0.1