Find and share HowTos to various installations / configurations!
3 posts • Page 1 of 1
3 posts
• Page 1 of 1
shokkul
Posts:37
Joined: Mon Feb 25, 2019 8:50 am
Smoothing Problem
Postby shokkul »
Hello All,
We encountered a problem about _smooth config. Long story short we use smooth config for one float dpe that is connected to plc by s7Plus (LReal), it is value dependent and the deadband value is absolute and 0,100. So when the connected plc value changes 0.100, sometimes smooth config discards value changes sometimes not. But when we change the deadband value to 0.099 change is always detected. It seems like its a floating point problem due to conversion. How can we solve this issue without changing deadband value? The config settings are attached below.
This is behaviour is possible related to the fact that a floating point value has a limited precision.
If you want to do a value based comparison you can possibly use a _msg_conv config to limit the number of digits which are used in WinCC OA. For a converted value possibly the value comparison works better.
Best Regards
Leopold Knipp
Senior Support Specialist