Issue
A script program uses a calculation of the difference between event marker DateTime and the current time to trigger an alarm flag.
The alarm flag is initially set correctly but switches off again after 2147 seconds.
Product Line
EcoStruxure Building Operation
Environment
Building Operation Automation Server Premium Version 3.2.2
Cause
The result of the calculation Current Time - FailureTime returns a correct value until the difference exceeds 2147 seconds.
At that point the calculation returns a negative value and begins counting upward toward zero.
Resolution
The Script program was broken.
Once the program was deleted and reimported the same script code consistently calculated an increased time differential.
This behaviour is identical to a defect which was fixed in the EBO 3.0.4 release. In that case it was the controller rather than the program that was at fault.