Add Change Time and Value to Points?
Posted 2025-05-27 오후 7:05:00 · 관리자
Dear Customer.
We have patched your request.
you can download patch file here
* Changes
1. we add dead band here
2. we added app.exitApp(). please refer sample project.
3. we added changed time. you can read changed time by script (refer to sample project)
can check from scada summary
4. we didn`t add previous value to point data. but you can read previous value when value is changed.
when point value changed, you can get changed value and old value. please refer below
If you have further question, please let us know.
Thanks
-------------------------------------------------------------
Dear Anygate,
Is it possible to implement an enhancement to how Analog and Status points are handled? Currently, the 'updateTime' changes every time a value is written to a point, even if the value remains the same. This makes it difficult to accurately track when a point's value *actually* changes.
It would be very useful if the following information for each Analog and Status point was also stored in the point's properties/database.
- Timestamp of last change: The time when the point's value was last *changed*. This should NOT update if the new value is the same as the old value.
- Previous Value: The previous value stored in the point. This should NOT update if the new is the same as the old value.
-- If a deadband is configured for the point, the timestamp and previous value should only be updated when the new value changes by more than the deadband amount. If no deadband is configured, the timestamp and previous value should be updated whenever the value changes, even by a small amount.
Thank you,
RPE