Issue
Bitwise operations in script behave differently in the AS-P compare to ES regarding negative values.
Product Line
EcoStruxure Building Operation
Environment
- Building Operation Workstation
- Building Operation Enterprise Server
- Building Operation Automation Server Premium
Cause
Bitwise operations in the script only defined for positive Integers.
Resolution
Enterprise Server processes negative operands as twos complement whereas Automation Server Premium does not handle negative operands. Behavior with negative integers is undefined.