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,942
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,178
Hi, How to get data from multiple Mitsubishi Q03UDVCPU into master PLC Q03UDVCPU through QJ71E71-100 ?
Replies
1
Views
58
When i load my client a[plication the following error is recorded in factorytalk view studio log Failed to load data server...
Replies
0
Views
53
Hello, im quite new and still learning. I would like to ask is it possible for FATEK PLC to read data value more than 16k? I'm trying to move my...
Replies
0
Views
84
Back
Top Bottom