Issue
Editing a script program can result in bindings being lost or unintentionally removed
Product Line
EcoStruxure Building Operation
Environment
- Building Operation Enterprise Server
- Building Operation Automation Server
- Script Program
Cause
If a script program line labeled as "Numeric Input", "Numeric Output", or "Numeric Public" is modified and the change includes a syntax error or reserved word when saved, the binding for that line may be lost.
For example, in the image below, all bindings remain intact
After editing the "Numeric Input" line and using a reserved word (e.g., allowed), the associated bindings are removed.
Resolution
Exercise caution when modifying script programs on an active site to avoid unintended disruptions. Always be especially careful when working with scripts running on a live plant.
In such cases, it is recommended to add a new "Numeric Input", "Numeric Output", or "Numeric Public" line rather than modifying an existing one. This approach helps preserve existing bindings and reduces the risk of introducing syntax errors or reserved words that could break functionality.
For example, the bindings shown below remain intact when a new line is added instead of modifying an existing one.
NOTE: This issue has been resolved starting from version 1.7.