Well in the process of developing a time stamp push protocol on PLC S7-400, we are faced with a problem.
While storm system testing we get overflow of ET200M buffers accurate timestamps (1000 changes of DI period 100ms)
During overload ET200M behaves very strangely, it pushes timestamp oldest first, then new, then old.
While this case, S7 driver of WINCC OA drop out these timestamps and makes them invalid.
Tried bubble sort method on the controller but during a storm is very large number of signals an the controller simply does not have time to sort events by timestamp.
We made to assign a time stamp on the controller (accuracy 10ms).
My question is it possible to take all the time stamp, even if it goes out of order, the difference between them on 100-200ms
Is it possible to disable this check time or adjust it on WINCC OA?
S7 TSPP discard invalid time
- Gertjan van Schijndel
- Posts:634
- Joined: Mon Aug 02, 2010 10:37 am
Re: S7 TSPP discard invalid time
If these values do not trigger alerts, you could write them as correction values by setting an userbit on the datapoint element and set the 'histDataBits' driver config entry.
The time check does not apply to correction values.
The bubble sort method is one of the slowest sorting methods, so when you have a large number of items to sort you could better use a faster sort method like quicksort (unstable) or merge sort.
The time check does not apply to correction values.
The bubble sort method is one of the slowest sorting methods, so when you have a large number of items to sort you could better use a faster sort method like quicksort (unstable) or merge sort.
- Tmsoft
- Posts:2
- Joined: Sun May 31, 2015 8:21 am
Re: S7 TSPP discard invalid time
Do you really believe that the task of the controller to sort timestamps? Sorting and processing data, main task of WINCCOA. You can`t made stupid discard on WINCCOA s7 driver and tell invalid data, and we can say they are valid because they just came a little later ...
If you position yourself as a family SIMATI? see how this mechanism is implemented on SIMATI? WIN?? 7.3, they are written in the database all the data, and after that just sort by date, or by name or how you need. B)
If you position yourself as a family SIMATI? see how this mechanism is implemented on SIMATI? WIN?? 7.3, they are written in the database all the data, and after that just sort by date, or by name or how you need. B)