Data manipulation- moving average

make an array[20 array size] and give a pointer
make pointer varying the every 30ms by addintion 1 to the pointer also move these input value into the array by pointer array tag when pointer goes to the 20 suppose then average this.or simply use 20*30=600ms then averaged this...
but remmeber flactuation is not good dont leave it in air get reason if this is only from noise then this method is good but if some other get there and look
 

Similar Topics

Hello Everyone, I am uploading a CSV from a Click PLC, doing so the rows are in groups of 10 cells (columns B-K), below that in the next row is...
Replies
12
Views
2,914
Knowledge of all, it indicates which hardware. To classify the adequate models of PLC and with evident capacity to: 1-Set of instrutions...
Replies
7
Views
4,168
Hello I have a s7-1200 and I would like to read the tags present in this controller with my controllogix controller. The two controllers don't use...
Replies
0
Views
11
Hi folks, I'm not as accustom with Siemens & WinCC, however I've been asked to increase the amount of data an existing application is logging...
Replies
2
Views
62
Has anyone migrated Proficy Historian data to a new server? I followed the guide to move all the data over, but when I run the utility, it stops...
Replies
0
Views
45
Back
Top Bottom