Unrestored Links
Keep Unrestored Link Info
If not set otherwise, TwinCAT only saves the required information so that the project repository is not unnecessarily loaded. In association with this, TwinCAT also checks whether links are still valid. Any invalid links found are automatically deleted. This mechanism is obstructive when merging projects, since only the code and the links can be merged, but the updated process image is only available after recompiling the code that has now been merged. It is thus possible for the link information to be newer than the process image and the automatic optimization function would delete all links to the new variables in the process image. With the option Keep Unrestored Link Info, the link information marked for deletion is retained and automatically restored as soon as the variables show up in the process image.
The unrestored links are displayed in the Unrestored Links tab. They are grouped there according to the date of "disappearance".
Delete unrestored links permanently
If unrestored links are not needed, they can be permanently deleted. Proceed as follows:
- 1. Select the links you want to delete.
- 2. This selection can be done individually by placing a check mark in front of the variable name.
- 3. You can also select a whole group by checking the box in front of the "Delete" date or select all deleted links by pressing the Select All button.
- 4. Use the Remove Selected button to delete the selected links.
- The selected links will be permanently deleted.
Edit unrestored links
If the links could not be restored due to renaming, you can edit the unrestored links. Proceed as follows:
- 1. Use the context menu entry Edit to open the unrestored links in the Windows text editor.
- 2. Use the commands Search and Replace to perform renaming operations within the file.
- 3. Save the changes and close the text editor.
- The links will be restored during the next build process.