(1)| 12/6/2017 5:33 PM | |
|
Posts: 2 Rating:
|
Need help. It has a system that reads an analog laser distance sensor 4..20mA and shows a calculated result of the tire diameter on a TD Logo. The problem that the analog sensor oscillates very few in small values, however this small oscillation causes many variations in the calculation presented to the user. I would like to know how I could do a stack of the last readings (example 10 last readings) for averaging and thus reduce the variations in the calculations. I am using a Siemens Logo Oab6 and an AM2 module. AttachmentMedidorCircunferencial.zip (144 Downloads) |
| 12/6/2017 7:27 PM | |
|
Joined: 12/18/2014 Last visit: 1/14/2026 Posts: 36446 Rating:
|
Here an example with a possible solution.
AttachmentAverage_(0BA6.Standard).zip (160 Downloads) |
This contribution was helpful to
|
|
Follow us on