12/6/2017 5:33 PM | |
Posts: 2 Rating: (0) |
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 (31 Downloads) |
12/6/2017 7:27 PM | |
Joined: 12/18/2014 Last visit: 6/8/2024 Posts: 33164 Rating: (4097)
|
Here an example with a possible solution.
AttachmentAverage_(0BA6.Standard).zip (51 Downloads) |
This contribution was helpful to1 thankful Users |
Follow us on