How to update the version of a Function Block in a Control Expert Project.
Issue
With different versions of EcoStruxure™ Control Expert (formerly Unity Pro), some Function Blocks may be updated through newer library sets (LibSets).
When a project created with an older version of Control Expert or Unity Pro is opened in a newer version, the Function Block instances contained in the project may still reference an older block version, even though a newer version is available in the current LibSet.
This mismatch can lead to:
- Abnormal Function Block behavior at runtime
- Compilation errors
- Incompatibilities with the current Control Expert version
Solution
To update the Function Blocks used in your project to the latest versions available in the installed LibSet, follow these steps:
1. Open the Project with Library Update Enabled
When opening the project, ensure that the option "Update library with the latest available" is selected.
2. Compare the Project Library with Control Expert Libraries
- Open the Library Manager.
- Right-click Application.
- Select Compare project library with Control Expert.
Control Expert will analyze the libraries used by the project and identify Function Blocks that can be upgraded.
3. Upgrade the Function Blocks
- Follow the prompts to update the Function Blocks from their current versions to the latest versions available in the installed LibSet.
- Complete the upgrade process.
4. Rebuild the Project
After the update is completed, perform a rebuild all of the project.
Result
The project will now use the latest versions of the Function Blocks available in the current Control Expert LibSet, reducing the risk of compilation issues and ensuring compatibility with the installed Control Expert version.