AjaS Posted June 4, 2019 Report Share Posted June 4, 2019 Hi all, If I get the infinity in real data type, what could be the reason, please? (I have checked if I div by zero.) I also have tried to store the same exact value through the program into that variable. Still "infinity" in the last rung/DTI table when I am online. Thanks for any help. Link to comment Share on other sites More sharing options...
AlexUT Posted June 4, 2019 Report Share Posted June 4, 2019 Hi, What exactly you did? What do you store to MF? With more detailed explanation help may be more detailed. B.R. Link to comment Share on other sites More sharing options...
AjaS Posted June 4, 2019 Author Report Share Posted June 4, 2019 16 hours ago, AlexUT said: Hi, What exactly you did? What do you store to MF? With more detailed explanation help may be more detailed. B.R. Thanks. I solved it within few minutes after my question. I detected the rung via 'disable rung' and 'go online'. Then found that the calculated limit in global variable that supposed to be same for all devices, multiple for all devices in their functions (global variable A x variable B = global variable A, send A), so it was overflow, therefore I could either take the multiplication out from 'all devices functions' and perform it in the main calculation of the limit, or use additional variable in 'all devices functions' (global variable A x local variable B = local variable C, send C) Link to comment Share on other sites More sharing options...
AlexUT Posted June 5, 2019 Report Share Posted June 5, 2019 Thank you for update. Well done! B.R. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now