Jump to content

Infinity in real


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:


What exactly you did?

What do you store to MF?

With more detailed explanation help may be more detailed.



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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...