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,920
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. I have a db which is 1000 INT, and this db is represented in WinCC as a raw data type set of 5x 400 Bytes. This set is read with a script...
Replies
1
Views
72
So i've been at this for a long while, i have Citect Scada 2018, i have full access to everything but i can't seem to find any option or...
Replies
0
Views
59
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
5
Views
167
Back
Top Bottom