Dicrete alert_hdl not available for float in 3.17

Discussions about product bugs & problems!
Note: This is no replacement for the Official ETM Support!
Search

Post Reply
2 posts • Page 1 of 1
DmSilkin
Posts: 19
Joined: Wed Jun 03, 2020 9:26 am

Dicrete alert_hdl not available for float in 3.17

Post by DmSilkin »

Hello!
Recently we have updated our projects to WINCCOA 3.17 P010.
We've noticed that after update it is impossible to set discrete and impulse alert handling type on float DPE's. There are only continious and multiinstance entrances.
Why is disrete type for float DPE's not available anymore?
Thanks in advance!

User avatar
leoknipp
Posts: 2612
Joined: Tue Aug 24, 2010 7:28 pm

Re: Dicrete alert_hdl not available for float in 3.17

Post by leoknipp »

In previous version it was a bug that you can use a discrete alert handling also for DP elements of type float.
This functionality has been deactivated as it may lead to performance issues in the Event Manager.

In software in general a float value has a limited precision. A value comparison of float values may not be accurate and therefore a value comparison shall not be made, e.g. also a old/new comparison of float values within a driver without using a _msg_conv to limit the number of digits after the comma does not make sense.

Best Regards
Leopold Knipp
Senior Support Specialist

Post Reply
2 posts • Page 1 of 1