Issue
Bindings to PVB and PVR blocks in function block programs are lost after upgrading from 1.3 to 1.4.1.
Environment
StruxureWare Building Operation 1.4.1
Cause
Text from Release notes for 1.4.1, page 38
10.2.2 Bindings to Public Variables and Public Constants in Function Blocks
Bindings to Public Constants and Public Variables will be lost after upgrade from 1.3 to 1.4.1. The names of these Public Constants and Public Variables will be listed in the Conversion log produced by the 1.4.1 Device Administrator at the upgrade.
Resolution
After upgrade to 1.4.1 do the following:
- Locate the Public Constants and the Public Variables listed in the Conversion log.
-
Select the Function Block Program that includes Public Constants or the Public Variables listed in the Conversion log and open the Edit Bindings View. Lost bindings will be displayed with:
"Invalid- Variable not allowed to have a reference" - Make a note of these bindings. Quit the Bindings View.
- Select and Edit the Function Block Program(s) that include the Public Constants or Public Variables, move a Function Block slightly to enable an insignificant change of the program to be discovered by the compiler. Save the Function Block program (the program then compiles again).
- Open the Binding View and re-bind the lost bindings. You will now also be able to select in which direction the value should be transferred. Save the bindings.