Issue
A Plain English Script program that works correctly on an AS-P controller does not function as expected when used on a b3 or i2 controller.
Product Line
EcoStruxure Building Operation
Environment
- Building Operation Enterprise Server
- Building Operation Automation Server
- b3, i2 controller
- Script Program
Cause
Bindings are missing.
Resolution
To resolve this issue, ensure that all bindings are complete. The Script Editor provides a check that explicitly identifies this problem. For example, the Check may display the message Invalid Compilation:
Behavior Differences
-
Enterprise Server (ES) and Automation Server (AS) Programs
These programs can be saved and will function even if some bindings are incomplete. However, any logic relying on missing bindings may not behave as expected. -
b3 and i2 Script Programs
These programs will save successfully but will not function correctly unless all bindings are complete. This is because b3 and i2 devices execute scripts at the firmware level, requiring all inputs and outputs to be fully defined and bound for proper operation.