Industry Online Support
Technical Forum
12/14/2012 6:00 AM | |
Joined: 1/28/2009 Last visit: 5/2/2024 Posts: 6838 Rating: (1359) |
Hello, First of all I suggest reading of the following Thread on calculating average in STEP7. S7 programming averagefor idea of filtering, you can search forum for adaptive filteringalgorithms provided and also ordinary first order filter.If you want to follow your idea my suggestion would be using OB3X,storing data in a Data block using indirect addressing plus a loop and calculate average when your loop counter reaches 25 and reset the process from beginning.It is also possible to execute codes in OB1. Best regards Hamid Hosseini |
Follow us on