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,922
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,171
Hello Everyone, I am using a raC_Opr_NetModbusTCPClient AOI module, as below,. So, I need some assistance to restrict in reducing the poling...
Replies
2
Views
72
Hi everyone, I have a 505 workshop program with PLC type of 555- 1106 and I was wondering how can I download the data documentation window as a...
Replies
6
Views
163
Hello everybody, I'm currently working on a project where I need to implement an IoT platform based on Microsoft Azure Cloud. Communication is...
Replies
2
Views
72
Back
Top Bottom