-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FILTER_MAV_DW wrong calculation #71
Comments
Thank you @pldroit for the notification. We looked into it, and your initial guess about the problem cause seems right. |
Hi, many fieldbus systems don't support |
@LZimmermannLZI This is also interesting for the unit tests initial runs |
Hi @Maghnie, did you solve the problem and can we close this issue? |
Thanks @StGoebel for the reminder! Unfortunately, we didn't get to solve this bug when we looked into it the first time. And the person who was working on this issue already left the team. I did a little memory-refreshing now, and it appears that there was a similar bug in the WORD variant of this moving average function. However, it had been solved: For the next step, I'd suggest testing if the fix from |
What is the issue/what feature do you want to develop?
FILTER_MAV_DW calculates wrong moving average values when input value decreases
here a small example run with codesys 3.5 SP17
What are the requirements?
How do we want to solve it?
AixOCAT/OSCAT/OSCAT/OSCAT/oscat_basic/POUs/Engineering/signal processing/FILTER_MAV_DW.TcPOU
Line 45 in b34ffd6
The text was updated successfully, but these errors were encountered: