The zenon Logic I/O driver IEC61850 Server uses new TimeQuality (global setting) value also for already set values of t-attributes, i.a. for polled variables (not included in any Report) having t-attribute value from time before TimeQuality change.
In case of TimeQuality 'Clock not synchronized' and 'Leap Second Known' the driver should use current TimeQuality only to currently updated stVal, q or t-attribute values, as clock probably still delivers acceptable timestamps. In case of 'Clock Failure' is not possible to recognize if the timestamp is wrong or not. But even then a better solution is to affect only new value of t-attributes.
Driver should append current TimeQuality only to t-attribute value which changes, thus when:
- t-attribute variable is created in Logic program and its value changes
or
- there is no t-variable in Logic program and q or stVal value changes. So when driver automatically updates t-attribute in the Data Object.
The zenon Logic I/O driver IEC61850 Server uses new TimeQuality (global setting) value also for already set values of t-attributes, i.a. for polled variables (not included in any Report) having t-attribute value from time before TimeQuality change.
In case of TimeQuality 'Clock not synchronized' and 'Leap Second Known' the driver should use current TimeQuality only to currently updated stVal, q or t-attribute values, as clock probably still delivers acceptable timestamps. In case of 'Clock Failure' is not possible to recognize if the timestamp is wrong or not. But even then a better solution is to affect only new value of t-attributes.
Driver should append current TimeQuality only to t-attribute value which changes, thus when:
- t-attribute variable is created in Logic program and its value changes
or
- there is no t-variable in Logic program and q or stVal value changes. So when driver automatically updates t-attribute in the Data Object.
Timestamp quality is now updated only when the value of any of the allowed timestamp update attributes changes.