Jump to content

Infinity in real


AjaS

Recommended Posts

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.